/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dreams/touch/ |
D | BouncerSwipeTouchHandlerTest.java | 185 final float distanceY = SCREEN_HEIGHT_PX * percent; in testSwipeUp_whenBouncerInitiallyShowing_doesNotSetExpansion() local 189 0, distanceY, 0); in testSwipeUp_whenBouncerInitiallyShowing_doesNotSetExpansion() 193 assertThat(gestureListener.onScroll(event1, event2, 0, distanceY)) in testSwipeUp_whenBouncerInitiallyShowing_doesNotSetExpansion() 212 final float distanceY = SCREEN_HEIGHT_PX * percent; in testSwipeDown_whenBouncerInitiallyHidden_doesNotSetExpansion() local 216 0, SCREEN_HEIGHT_PX - distanceY, 0); in testSwipeDown_whenBouncerInitiallyHidden_doesNotSetExpansion() 220 assertThat(gestureListener.onScroll(event1, event2, 0, distanceY)) in testSwipeDown_whenBouncerInitiallyHidden_doesNotSetExpansion() 270 final float distanceY = SCREEN_HEIGHT_PX * percent; in verifyScroll() local 275 0, direction == Direction.UP ? SCREEN_HEIGHT_PX - distanceY : distanceY, 0); in verifyScroll() 278 assertThat(gestureListener.onScroll(event1, event2, 0, distanceY)) in verifyScroll() 470 final float distanceY = SCREEN_HEIGHT_PX * percent; in swipeToPosition() local [all …]
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
D | PanningScalingHandler.java | 47 boolean processScroll(int displayId, float distanceX, float distanceY); in processScroll() argument 96 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) { in onScroll() argument 100 return mMagnificationDelegate.processScroll(mDisplayId, distanceX, distanceY); in onScroll()
|
D | WindowMagnificationGestureHandler.java | 121 float distanceY) { in WindowMagnificationGestureHandler() 123 distanceY); in WindowMagnificationGestureHandler()
|
D | FullScreenMagnificationGestureHandler.java | 357 float distanceX, float distanceY) { in onScroll() argument 363 + " scrollY: " + distanceY); in onScroll() 366 distanceY, AccessibilityManagerService.MAGNIFICATION_GESTURE_HANDLER_ID); in onScroll()
|
D | WindowMagnificationManager.java | 509 public boolean processScroll(int displayId, float distanceX, float distanceY) { in processScroll() argument 510 moveWindowMagnification(displayId, -distanceX, -distanceY); in processScroll()
|
/frameworks/base/core/java/android/widget/ |
D | ZoomButtonsController.java | 642 int distanceY; in findViewForTouch() local 644 distanceY = 0; in findViewForTouch() 646 distanceY = Math.min(Math.abs(frame.top - containerCoordsY), in findViewForTouch() 649 int distanceSq = distanceX * distanceX + distanceY * distanceY; in findViewForTouch()
|
D | Gallery.java | 1039 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) { in onScroll() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/touch/ |
D | ShadeTouchHandler.java | 74 float distanceY) { in onSessionStart()
|
D | BouncerSwipeTouchHandler.java | 119 float distanceY) { 123 mCapture = Math.abs(distanceY) > Math.abs(distanceX);
|
D | DreamOverlayTouchMonitor.java | 391 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) { 392 return evaluate(listener -> listener.onScroll(e1, e2, distanceX, distanceY));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | DraggableConstraintLayout.java | 105 MotionEvent ev1, MotionEvent ev2, float distanceX, float distanceY) { in DraggableConstraintLayout() 256 MotionEvent ev1, MotionEvent ev2, float distanceX, float distanceY) { in onScroll() argument
|
D | ScreenshotView.java | 216 MotionEvent ev1, MotionEvent ev2, float distanceX, float distanceY) { in ScreenshotView()
|
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
D | CameraView.java | 211 float distanceY = event.getY() - mDownY; in touchScreen() local 215 float yDistNorm = distanceY / height; in touchScreen()
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | CameraView.java | 212 float distanceY = event.getY() - mDownY; in touchScreen() local 216 float yDistNorm = distanceY / height; in touchScreen()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | OverlayDisplayWindow.java | 370 float distanceX, float distanceY) { 372 mLiveTranslationY -= distanceY;
|
/frameworks/base/core/java/android/view/ |
D | GestureDetector.java | 110 float distanceY); in onScroll() argument 205 float distanceX, float distanceY) { in onScroll() argument
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | DecorCaptionView.java | 393 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) { in onScroll() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/models/player/ |
D | SeekBarViewModel.kt | 484 distanceY: Float in onScroll()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/ |
D | WindowMagnificationManagerTest.java | 332 final float distanceY = 10f; in onRectangleOnScreenRequested_trackingDisabledByScroll_withoutMovingMagnifier() local 340 mWindowMagnificationManager.processScroll(TEST_DISPLAY, distanceX, distanceY); in onRectangleOnScreenRequested_trackingDisabledByScroll_withoutMovingMagnifier()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
D | PhotoView.java | 345 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) { in onScroll() argument 347 translate(-distanceX, -distanceY); in onScroll()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/ |
D | MediaCarouselScrollHandler.kt | 139 distanceY: Float in onFling()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsDialogLite.java | 2215 float distanceY) { 2216 if (distanceY < 0 && distanceY > distanceX
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientEditTextView.java | 3424 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) { in onScroll() argument
|