java.lang.Object |
↳ |
com.samsung.android.knox.lockscreen.LockscreenOverlay.LSOImage |
Class Overview
This class defines the Lock Screen Overlay image and is given as an input
parameter when configuring Lockscreen Overlay.
Summary
Public Constructors |
|
LSOImage()
Default Constructor.
|
|
LSOImage(String imagePath)
Overloaded Constructor with image file path as parameter.
|
|
LSOImage(int topPos, String imagePath, int bottomPos)
Overloaded Constructor with top position, bottom position, and image
file path as parameter.
|
|
LSOImage(int topPos, String imagePath, int bottomPos, ImageView.ScaleType scaleType)
Overloaded Constructor with top position, bottom position, scale type
and image file path as parameter.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Fields
public
int
bottomPosition
Since: API level 6
Image bottom position (in percent) with respect to lock screen.
public
String
filePath
Since: API level 6
Since: API level 6
Image scale type (optional). Default value is ScaleType.FIT_CENTER.
public
int
topPosition
Since: API level 6
Image starting/top position (in percent) with respect to lock screen.
Public Constructors
public
LSOImage
()
Default Constructor. This constructor initializes top position,
bottom position and scale type to its default value.
public
LSOImage
(String imagePath)
Overloaded Constructor with image file path as parameter. This
constructor initializes top position, bottom position, and scale type
to its default value.
Parameters
imagePath
| Image file path. The value of this parameter is
assigned to filePath . |
public
LSOImage
(int topPos, String imagePath, int bottomPos)
Overloaded Constructor with top position, bottom position, and image
file path as parameter. This constructor initializes scale type to
its default value.
Parameters
topPos
| Image top position (in percent). The value of this
parameter is assigned to topPosition . |
imagePath
| Image file path. The value of this parameter is
assigned to filePath . |
bottomPos
| Image bottom position (in percent). The value of
this parameter is assigned to bottomPosition . |
public
LSOImage
(int topPos, String imagePath, int bottomPos, ImageView.ScaleType scaleType)
Overloaded Constructor with top position, bottom position, scale type
and image file path as parameter.
Parameters
topPos
| Image top position (in percent). The value of this
parameter is assigned to topPosition . |
imagePath
| Image file path. The value of this parameter is
assigned to filePath . |
bottomPos
| Image bottom position (in percent). The value of
this parameter is assigned to bottomPosition . |
scaleType
| Image scaling option. The value of this parameter is
assigned to scaleType . |