FileDocCategorySizeDatePackage
ChallengeLayout.javaAPI DocAndroid 5.1 API3392Thu Mar 12 22:22:42 GMT 2015com.android.keyguard

ChallengeLayout

public interface ChallengeLayout
Interface implemented by ViewGroup-derived layouts that implement special logic for presenting security challenges to the user.

Fields Summary
Constructors Summary
Methods Summary
public intgetBouncerAnimationDuration()
Returns the duration of the bounce animation.

public voidhideBouncer()
Hide the bouncer challenge if it is currently showing. This may restore previously blocked access to other child views.

public booleanisBouncing()
Returns true if the challenge is currently in bouncer mode, potentially blocking access to other child views.

public booleanisChallengeOverlapping()

return
true if the challenge area significantly overlaps other content

public booleanisChallengeShowing()

return
true if the security challenge area of this layout is currently visible

public voidsetOnBouncerStateChangedListener(com.android.keyguard.ChallengeLayout$OnBouncerStateChangedListener listener)
Set a listener that will respond to changes in bouncer state.

param
listener listener to register

public voidshowBouncer()
Show the bouncer challenge. This may block access to other child views.

public voidshowChallenge(boolean show)
Show or hide the challenge layout. If you want to show the challenge layout in bouncer mode where applicable, use {@link #showBouncer()} instead.

param
b true to show, false to hide