Class Overview
A simple structure for a MediaItem that can be rendered.
Summary
Public Methods |
void
|
clearHiResImage()
|
void
|
clearScreennailImage()
|
void
|
clearThumbnail()
|
final
void
|
commit()
Commits all animations for the Display Item
|
Entry<DisplayItem>
|
getAnimatablesEntry()
|
final
boolean
|
getHasFocus()
|
final
Texture
|
getHiResImage(Context context)
|
float
|
getImageTheta()
|
Texture
|
getScreennailImage(Context context)
|
int
|
getStackIndex()
|
Texture
|
getThumbnailImage(Context context, MediaItemTexture.Config config)
|
boolean
|
isAlive()
|
boolean
|
isAnimating()
Use this function to query the animation state of the display item
|
final
void
|
rotateImageBy(float theta)
|
final
void
|
set(Vector3f position, int stackIndex, boolean performTransition)
|
final
void
|
setHasFocus(boolean hasFocus, boolean pushDown)
|
final
void
|
setOffset(boolean useOffset, boolean pushDown, float span, float dx1, float dy1, float dx2, float dy2)
|
final
void
|
setSingleOffset(boolean useOffset, boolean pushAway, float x, float y, float z, float spreadValue)
|
final
void
|
update(float timeElapsedInSec)
This function should be called every time the frame needs to be updated.
|
[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()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Fields
public
float
mAnimatedImageTheta
public
float
mAnimatedPlaceholderFade
public
float
mAnimatedTheta
public
int
mCurrentSlotIndex
Public Constructors
Public Methods
public
void
clearHiResImage
()
public
void
clearScreennailImage
()
public
void
clearThumbnail
()
public
final
void
commit
()
Commits all animations for the Display Item
public
final
boolean
getHasFocus
()
public
float
getImageTheta
()
public
int
getStackIndex
()
public
boolean
isAlive
()
public
boolean
isAnimating
()
Use this function to query the animation state of the display item
Returns
- true if the display item is animating
public
final
void
rotateImageBy
(float theta)
public
final
void
set
(Vector3f position, int stackIndex, boolean performTransition)
public
final
void
setHasFocus
(boolean hasFocus, boolean pushDown)
public
final
void
setOffset
(boolean useOffset, boolean pushDown, float span, float dx1, float dy1, float dx2, float dy2)
public
final
void
setSingleOffset
(boolean useOffset, boolean pushAway, float x, float y, float z, float spreadValue)
public
final
void
update
(float timeElapsedInSec)
This function should be called every time the frame needs to be updated.