Home
last modified time | relevance | path

Searched refs:distanceY (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dreams/touch/
DBouncerSwipeTouchHandlerTest.java185 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/
DPanningScalingHandler.java47 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()
DWindowMagnificationGestureHandler.java121 float distanceY) { in WindowMagnificationGestureHandler()
123 distanceY); in WindowMagnificationGestureHandler()
DFullScreenMagnificationGestureHandler.java357 float distanceX, float distanceY) { in onScroll() argument
363 + " scrollY: " + distanceY); in onScroll()
366 distanceY, AccessibilityManagerService.MAGNIFICATION_GESTURE_HANDLER_ID); in onScroll()
DWindowMagnificationManager.java509 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/
DZoomButtonsController.java642 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()
DGallery.java1039 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) { in onScroll() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/touch/
DShadeTouchHandler.java74 float distanceY) { in onSessionStart()
DBouncerSwipeTouchHandler.java119 float distanceY) {
123 mCapture = Math.abs(distanceY) > Math.abs(distanceX);
DDreamOverlayTouchMonitor.java391 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/
DDraggableConstraintLayout.java105 MotionEvent ev1, MotionEvent ev2, float distanceX, float distanceY) { in DraggableConstraintLayout()
256 MotionEvent ev1, MotionEvent ev2, float distanceX, float distanceY) { in onScroll() argument
DScreenshotView.java216 MotionEvent ev1, MotionEvent ev2, float distanceX, float distanceY) { in ScreenshotView()
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
DCameraView.java211 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/
DCameraView.java212 float distanceY = event.getY() - mDownY; in touchScreen() local
216 float yDistNorm = distanceY / height; in touchScreen()
/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayWindow.java370 float distanceX, float distanceY) {
372 mLiveTranslationY -= distanceY;
/frameworks/base/core/java/android/view/
DGestureDetector.java110 float distanceY); in onScroll() argument
205 float distanceX, float distanceY) { in onScroll() argument
/frameworks/base/core/java/com/android/internal/widget/
DDecorCaptionView.java393 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/
DSeekBarViewModel.kt484 distanceY: Float in onScroll()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DWindowMagnificationManagerTest.java332 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/
DPhotoView.java345 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/
DMediaCarouselScrollHandler.kt139 distanceY: Float in onFling()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialogLite.java2215 float distanceY) {
2216 if (distanceY < 0 && distanceY > distanceX
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java3424 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) { in onScroll() argument