Home
last modified time | relevance | path

Searched refs:distanceX (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DPanningScalingHandler.java50 boolean processScroll(int displayId, float distanceX, float distanceY); in processScroll() argument
105 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) { in onScroll() argument
109 return mMagnificationDelegate.processScroll(mDisplayId, distanceX, distanceY); in onScroll()
DFullScreenMagnificationGestureHandler.java608 float distanceX, float distanceY) { in onScroll() argument
613 Slog.i(mLogTag, "Panned content by scrollX: " + distanceX in onScroll()
617 mFullScreenMagnificationController.offsetMagnifiedRegion(mDisplayId, distanceX, in onScroll()
1900 MotionEvent first, MotionEvent second, float distanceX, float distanceY) { in onScroll() argument
1907 distanceX, in onScroll()
1914 + distanceX in onScroll()
DWindowMagnificationGestureHandler.java129 public boolean processScroll(int displayId, float distanceX, in WindowMagnificationGestureHandler()
132 displayId, distanceX, distanceY); in WindowMagnificationGestureHandler()
DMagnificationConnectionManager.java516 public boolean processScroll(int displayId, float distanceX, float distanceY) { in processScroll() argument
517 moveWindowMagnification(displayId, -distanceX, -distanceY); in processScroll()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/view/
DMediaCarouselScrollHandler.kt146 distanceX: Float, in onFling()
148 ) = onScroll(down!!, lastMotion, distanceX) in onFling()
350 fun onScroll(down: MotionEvent, lastMotion: MotionEvent, distanceX: Float): Boolean { in onScroll()
354 var newTranslation = currentTranslation - distanceX in onScroll()
358 if (Math.signum(distanceX) != Math.signum(currentTranslation)) { in onScroll()
364 newTranslation = currentTranslation - distanceX * RUBBERBAND_FACTOR in onScroll()
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/touch/
DShadeTouchHandler.java86 public boolean onScroll(MotionEvent e1, @NonNull MotionEvent e2, float distanceX, in onSessionStart()
90 mCapture = Math.abs(distanceY) > Math.abs(distanceX) && distanceY < 0; in onSessionStart()
DBouncerSwipeTouchHandler.java120 public boolean onScroll(MotionEvent e1, @NonNull MotionEvent e2, float distanceX,
124 mCapture = Math.abs(distanceY) > Math.abs(distanceX)
129 mCapture = Math.abs(distanceY) > Math.abs(distanceX);
DTouchMonitor.java480 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX,
482 return evaluate(listener -> listener.onScroll(e1, e2, distanceX, distanceY));
/frameworks/base/core/java/android/widget/
DZoomButtonsController.java635 int distanceX; in findViewForTouch() local
637 distanceX = 0; in findViewForTouch()
639 distanceX = Math.min(Math.abs(frame.left - containerCoordsX), 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
1071 trackMotionScroll(-1 * (int) distanceX); in onScroll()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DDraggableConstraintLayout.java106 MotionEvent ev1, MotionEvent ev2, float distanceX, float distanceY) { in DraggableConstraintLayout()
111 || !mActionsContainer.canScrollHorizontally((int) distanceX); in DraggableConstraintLayout()
262 MotionEvent ev1, MotionEvent ev2, float distanceX, float distanceY) { in onScroll() argument
DScreenshotView.java222 MotionEvent ev1, MotionEvent ev2, float distanceX, float distanceY) { in ScreenshotView()
227 || !mActionsContainer.canScrollHorizontally((int) distanceX); in ScreenshotView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ui/
DScreenshotShelfView.kt61 distanceX: Float, in <lambda>()
69 && actionsContainer.canScrollHorizontally(distanceX.toInt()) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/touch/
DCommunalTouchHandler.java109 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, in handleSessionStart()
/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayWindow.java373 float distanceX, float distanceY) {
374 mLiveTranslationX -= distanceX;
/frameworks/base/core/java/android/view/
DGestureDetector.java112 boolean onScroll(@Nullable MotionEvent e1, @NonNull MotionEvent e2, float distanceX, in onScroll() argument
209 float distanceX, float distanceY) { in onScroll() argument
DViewRootImpl.java8754 float distanceX, float distanceY) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/viewmodel/
DSeekBarViewModel.kt530 distanceX: Float, in onScroll()
/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/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DMagnificationConnectionManagerTest.java347 final float distanceX = 10f; in onRectangleOnScreenRequested_trackingDisabledByScroll_withoutMovingMagnifier() local
356 mMagnificationConnectionManager.processScroll(TEST_DISPLAY, distanceX, distanceY); in onRectangleOnScreenRequested_trackingDisabledByScroll_withoutMovingMagnifier()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialogLite.java2318 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX,
2320 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