public static interface PhotoViewCallbacks.OnScreenListener
Modifier and Type | Method and Description |
---|---|
void |
onFullScreenChanged(boolean fullScreen)
The full screen state has changed.
|
boolean |
onInterceptMoveLeft(float origX,
float origY)
Called when a right-to-left touch move intercept is about to occur.
|
boolean |
onInterceptMoveRight(float origX,
float origY)
Called when a left-to-right touch move intercept is about to occur.
|
void |
onViewActivated()
A new view has been activated and the previous view de-activated.
|
void |
onViewUpNext()
This view is a candidate for being the next view.
|
void onFullScreenChanged(boolean fullScreen)
void onViewActivated()
void onViewUpNext()
boolean onInterceptMoveLeft(float origX, float origY)
origX
- the raw x coordinate of the initial touchorigY
- the raw y coordinate of the initial touchtrue
if the touch should be intercepted.boolean onInterceptMoveRight(float origX, float origY)
origX
- the raw x coordinate of the initial touchorigY
- the raw y coordinate of the initial touchtrue
if the touch should be intercepted.