public static interface KeyguardAffordanceHelper.Callback
Modifier and Type | Method and Description |
---|---|
float |
getAffordanceFalsingFactor() |
com.android.systemui.statusbar.KeyguardAffordanceView |
getCenterIcon() |
com.android.systemui.statusbar.KeyguardAffordanceView |
getLeftIcon() |
View |
getLeftPreview() |
float |
getMaxTranslationDistance() |
com.android.systemui.statusbar.KeyguardAffordanceView |
getRightIcon() |
View |
getRightPreview() |
boolean |
needsAntiFalsing() |
void |
onAnimationToSideEnded()
Notifies the callback the animation to a side page has ended.
|
void |
onAnimationToSideStarted(boolean rightPage,
float translation,
float vel)
Notifies the callback when an animation to a side page was started.
|
void |
onIconClicked(boolean rightIcon) |
void |
onSwipingAborted() |
void |
onSwipingStarted(boolean rightIcon) |
void onAnimationToSideStarted(boolean rightPage, float translation, float vel)
rightPage
- Is the page animated to the right page?void onAnimationToSideEnded()
float getMaxTranslationDistance()
void onSwipingStarted(boolean rightIcon)
void onSwipingAborted()
void onIconClicked(boolean rightIcon)
com.android.systemui.statusbar.KeyguardAffordanceView getLeftIcon()
com.android.systemui.statusbar.KeyguardAffordanceView getCenterIcon()
com.android.systemui.statusbar.KeyguardAffordanceView getRightIcon()
View getLeftPreview()
View getRightPreview()
float getAffordanceFalsingFactor()
boolean needsAntiFalsing()