Home
last modified time | relevance | path

Searched refs:mScaleDetector (Results 1 – 4 of 4) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DScaleHelper.java46 private @Nullable ScaleGestureDetector mScaleDetector; field in ScaleHelper
57 if (mFeatures.isGestureScaleEnabled() && mScaleDetector != null) { in onInterceptTouchEvent()
58 mScaleDetector.onTouchEvent(e); in onInterceptTouchEvent()
66 checkState(mScaleDetector == null); in attach()
68 mScaleDetector = new ScaleGestureDetector( in attach()
/packages/apps/Camera2/src/com/android/camera/ui/
DPreviewOverlay.java64 private final ZoomGestureDetector mScaleDetector; field in PreviewOverlay
112 mScaleDetector = new ZoomGestureDetector(); in PreviewOverlay()
185 mScaleDetector.onTouchEvent(m); in onTouchEvent()
386 mFingerAngle = mScaleDetector.getAngle(); in onScale()
400 mFingerAngle = mScaleDetector.getAngle(); in onScaleBegin()
423 mFingerAngle = mScaleDetector.getAngle(); in showZoomUI()
DFilmstripGestureRecognizer.java49 private final ScaleGestureDetector mScaleDetector; field in FilmstripGestureRecognizer
57 mScaleDetector = new ScaleGestureDetector( in FilmstripGestureRecognizer()
63 final boolean scaleProcessed = mScaleDetector.onTouchEvent(event); in onTouchEvent()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DGestureRecognizer.java44 private final ScaleGestureDetector mScaleDetector; field in GestureRecognizer
52 mScaleDetector = new ScaleGestureDetector( in GestureRecognizer()
59 mScaleDetector.onTouchEvent(event); in onTouchEvent()
71 mScaleDetector.onTouchEvent(cancelEvent); in cancelScale()