protected class

GestureTrackingView.PatchedSimpleGestureHandler

extends java.lang.Object

 java.lang.Object

↳androidx.pdf.util.GestureTrackingView.PatchedSimpleGestureHandler

Overview

A wrapping that corrects the method GestureTrackingView.PatchedSimpleGestureHandler.onScroll(MotionEvent, MotionEvent, float, float) so that it's not called with absurd values for distanceX and distanceY.

Summary

Methods
public booleanonDown(MotionEvent e)

protected voidonEndGesture()

public booleanonFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY)

public voidonLongPress(MotionEvent e)

public booleanonScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY)

public voidonShowPress(MotionEvent e)

public booleanonSingleTapUp(MotionEvent e)

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

Methods

public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY)

protected void onEndGesture()

public boolean onDown(MotionEvent e)

public void onShowPress(MotionEvent e)

public boolean onSingleTapUp(MotionEvent e)

public void onLongPress(MotionEvent e)

public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY)