Home
last modified time | relevance | path

Searched refs:xDiff (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DEmergencyButton.java83 final int xDiff = Math.abs(x - mDownX); in onTouchEvent() local
86 if (Math.abs(yDiff) > touchSlop || Math.abs(xDiff) > touchSlop) { in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DSimpleMirrorWindowControl.java158 int xDiff = (int) (event.getRawX() - mLastDrag.x); in handleDragState() local
160 move(xDiff, yDiff); in handleDragState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DExpandHelper.java335 final float xDiff = ev.getRawX() - mInitialTouchX; in onInterceptTouchEvent() local
336 if (yDiff > getTouchSlop(ev) && yDiff > Math.abs(xDiff)) { in onInterceptTouchEvent()
463 final float xDiff = ev.getRawX() - mInitialTouchX; in onTouchEvent() local
464 if (yDiff > getTouchSlop(ev) && yDiff > Math.abs(xDiff)) { in onTouchEvent()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/magnetictarget/
DMagnetizedObject.kt501 val xDiff = target.centerOnScreen.x - in <lambda>() constant
512 .spring(xProperty, xProperty.getValue(underlyingObject) + xDiff, velX, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DToggleRangeBehavior.kt340 xDiff: Float, in <lambda>()
349 val ratioDiff = -xDiff / v.width in <lambda>()
/frameworks/native/services/inputflinger/tests/
DTestEventMatchers.h638 const double xDiff = fabs(argGestureX - dx); variable
642 return xDiff <= epsilon && yDiff <= epsilon;
651 const double xDiff = fabs(argXDistance - x); variable
655 return xDiff <= epsilon && yDiff <= epsilon;
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSAnimator.java266 int xDiff = qsPosX - qqsPosX - xOffset; in translateContent() local
267 animatorBuilderX.addFloat(qqsView, "translationX", 0, xDiff); in translateContent()
268 animatorBuilderX.addFloat(qsView, "translationX", -xDiff, 0); in translateContent()
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java1862 final float xDiff = Math.abs(dx);
1865 if (DEBUG) Log.v(TAG, "Moved x to " + x + "," + y + " diff=" + xDiff + "," + yDiff);
1875 if (xDiff > mTouchSlop && xDiff * 0.5f > yDiff) {
1997 final float xDiff = Math.abs(x - mLastMotionX);
2000 … if (DEBUG) Log.v(TAG, "Moved x to " + x + "," + y + " diff=" + xDiff + "," + yDiff);
2001 if (xDiff > mTouchSlop && xDiff > yDiff) {
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/
DBubbleBarAnimationHelper.java377 float xDiff = target.getCenterOnScreen().x - mTmpLocation[0]; in animateIntoTarget() local
386 ObjectAnimator.ofFloat(bbev, TRANSLATION_X, bbev.getTranslationX() + xDiff), in animateIntoTarget()
/frameworks/base/core/java/android/widget/
DHorizontalScrollView.java617 final int xDiff = (int) Math.abs(x - mLastMotionX); in onInterceptTouchEvent() local
618 if (xDiff > mTouchSlop) { in onInterceptTouchEvent()
DEditor.java6224 final float xDiff = x - mPrevX; in updatePosition() local
6231 isExpanding |= xDiff > 0; in updatePosition()
6233 isExpanding |= xDiff < 0; in updatePosition()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java3613 final int xDiff = Math.abs(x - mDownX); in onScrollTouch() local
3616 if (!mIsBeingDragged && yDiff > touchSlop && yDiff > xDiff) { in onScrollTouch()
3899 final int xDiff = Math.abs(x - mDownX); in onInterceptTouchEventScroll() local
3900 if (yDiff > getTouchSlop(ev) && yDiff > xDiff) { in onInterceptTouchEventScroll()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DNotificationPanelViewController.java3792 float xDiff = x - mInitialExpandX;
3797 return Math.abs(yDiff) >= Math.abs(xDiff);