public class

GestureTracker.GestureHandler

extends SimpleOnGestureListener

 java.lang.Object

↳SimpleOnGestureListener

↳androidx.pdf.util.GestureTracker.GestureHandler

Subclasses:

ZoomView.ZoomGestureHandler

Overview

A recipient for all gesture handling.

Summary

Constructors
publicGestureHandler()

Methods
protected voidonGestureEnd(GestureTracker.Gesture gesture)

Called at the end of any gesture, after any other callback.

protected voidonGestureStart()

Called at the start of any gesture, before any other callback.

public booleanonScale(ScaleGestureDetector detector)

public booleanonScaleBegin(ScaleGestureDetector detector)

public voidonScaleEnd(ScaleGestureDetector detector)

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public GestureHandler()

Methods

public boolean onScale(ScaleGestureDetector detector)

public boolean onScaleBegin(ScaleGestureDetector detector)

public void onScaleEnd(ScaleGestureDetector detector)

protected void onGestureStart()

Called at the start of any gesture, before any other callback.

protected void onGestureEnd(GestureTracker.Gesture gesture)

Called at the end of any gesture, after any other callback.

Parameters:

gesture: The detected gesture that just ended.