/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | EmergencyButton.java | 83 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/ |
D | SimpleMirrorWindowControl.java | 158 int xDiff = (int) (event.getRawX() - mLastDrag.x); in handleDragState() local 160 move(xDiff, yDiff); in handleDragState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ExpandHelper.java | 335 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/ |
D | MagnetizedObject.kt | 501 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/ |
D | ToggleRangeBehavior.kt | 340 xDiff: Float, in <lambda>() 349 val ratioDiff = -xDiff / v.width in <lambda>()
|
/frameworks/native/services/inputflinger/tests/ |
D | TestEventMatchers.h | 638 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/ |
D | QSAnimator.java | 266 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/ |
D | ViewPager.java | 1862 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/ |
D | BubbleBarAnimationHelper.java | 377 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/ |
D | HorizontalScrollView.java | 617 final int xDiff = (int) Math.abs(x - mLastMotionX); in onInterceptTouchEvent() local 618 if (xDiff > mTouchSlop) { in onInterceptTouchEvent()
|
D | Editor.java | 6224 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/ |
D | NotificationStackScrollLayout.java | 3613 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/ |
D | NotificationPanelViewController.java | 3792 float xDiff = x - mInitialExpandX; 3797 return Math.abs(yDiff) >= Math.abs(xDiff);
|