public class TaskStack extends Object implements BoundsAnimationController.AnimateBoundsUser
Modifier and Type | Method and Description |
---|---|
boolean |
dimFullscreen()
Returns true if the dim should be fullscreen.
|
void |
dump(String prefix,
PrintWriter pw) |
void |
getBounds(Rect out) |
boolean |
getBoundsAnimating() |
void |
getDimBounds(Rect out)
Bounds of the stack with other system factors taken into consideration.
|
DisplayInfo |
getDisplayInfo()
Returns the display info. of the dim layer user.
|
boolean |
getForceScaleToCrop() |
void |
getFullScreenBounds(Rect bounds) |
boolean |
hasMovementAnimations() |
void |
moveToFullscreen() |
void |
onAnimationEnd()
Callback for the target to inform it that the animation has ended, so it can do some
necessary cleanup.
|
void |
onAnimationStart() |
boolean |
setPinnedStackSize(Rect bounds,
Rect tempTaskBounds)
Behaves as setSize, but freezes the bounds of any tasks in the target at taskBounds,
to allow for more flexibility during resizing.
|
boolean |
setSize(Rect bounds)
Asks the target to directly (without any intermediate steps, like scheduling animation)
resize its bounds.
|
String |
toShortString() |
String |
toString()
Returns a string representation of the object.
|
public void getBounds(Rect out)
public void getDimBounds(Rect out)
public void dump(String prefix, PrintWriter pw)
public boolean dimFullscreen()
public DisplayInfo getDisplayInfo()
public String toString()
Object
toString
method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString
method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@
', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())
public String toShortString()
public boolean setSize(Rect bounds)
BoundsAnimationController.AnimateBoundsUser
setSize
in interface BoundsAnimationController.AnimateBoundsUser
public boolean setPinnedStackSize(Rect bounds, Rect tempTaskBounds)
BoundsAnimationController.AnimateBoundsUser
setPinnedStackSize
in interface BoundsAnimationController.AnimateBoundsUser
public void onAnimationStart()
onAnimationStart
in interface BoundsAnimationController.AnimateBoundsUser
public void onAnimationEnd()
BoundsAnimationController.AnimateBoundsUser
onAnimationEnd
in interface BoundsAnimationController.AnimateBoundsUser
public void moveToFullscreen()
moveToFullscreen
in interface BoundsAnimationController.AnimateBoundsUser
public void getFullScreenBounds(Rect bounds)
getFullScreenBounds
in interface BoundsAnimationController.AnimateBoundsUser
public boolean hasMovementAnimations()
public boolean getForceScaleToCrop()
public boolean getBoundsAnimating()