/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | DirectionEvaluator.java | 20 public static float evaluate(float xDiff, float yDiff, int type) { in evaluate() argument 22 boolean vertical = Math.abs(yDiff) >= Math.abs(xDiff); in evaluate() 43 if (xDiff < 0.0 && yDiff > 0.0) { in evaluate() 48 if (xDiff > 0.0 && yDiff > 0.0) { in evaluate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSAnimator.java | 226 final int xDiff = loc2[0] - loc1[0]; in updateAnimators() local 232 translationXBuilder.addFloat(quickTileView, "translationX", 0, xDiff); in updateAnimators() 241 translationXBuilder.addFloat(tileView, "translationX", -xDiff, 0); in updateAnimators() 249 final int translationX = mQsPanel.isLayoutRtl() ? xDiff - width : xDiff + width; in updateAnimators() 264 final int xDiff = loc2[0] - loc1[0]; in updateAnimators() local 268 translationXBuilder.addFloat(tileView, "translationX", -xDiff, 0); in updateAnimators()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
D | SimpleMirrorWindowControl.java | 159 int xDiff = (int) (event.getRawX() - mLastDrag.x); in handleDragState() local 161 move(xDiff, yDiff); in handleDragState()
|
D | WindowMagnificationController.java | 306 int xDiff = (int) (event.getRawX() - mLastDrag.x); in handleDragTouchEvent() local 308 moveMirrorWindow(xDiff, yDiff); in handleDragTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | EmergencyButton.java | 141 final int xDiff = Math.abs(x - mDownX); in onTouchEvent() local 144 if (Math.abs(yDiff) > touchSlop || Math.abs(xDiff) > touchSlop) { in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ExpandHelper.java | 314 final float xDiff = ev.getRawX() - mInitialTouchX; in onInterceptTouchEvent() local 315 if (yDiff > getTouchSlop(ev) && yDiff > Math.abs(xDiff)) { in onInterceptTouchEvent() 442 final float xDiff = ev.getRawX() - mInitialTouchX; in onTouchEvent() local 443 if (yDiff > getTouchSlop(ev) && yDiff > Math.abs(xDiff)) { in onTouchEvent()
|
/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/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) { 1986 final float xDiff = Math.abs(x - mLastMotionX); 1989 … if (DEBUG) Log.v(TAG, "Moved x to " + x + "," + y + " diff=" + xDiff + "," + yDiff); 1990 if (xDiff > mTouchSlop && xDiff > yDiff) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PanelViewController.java | 340 float xDiff = x - mInitialTouchX; in isDirectionUpwards() local 345 return Math.abs(yDiff) >= Math.abs(xDiff); in isDirectionUpwards()
|
/frameworks/base/core/java/android/widget/ |
D | HorizontalScrollView.java | 600 final int xDiff = (int) Math.abs(x - mLastMotionX); in onInterceptTouchEvent() local 601 if (xDiff > mTouchSlop) { in onInterceptTouchEvent()
|
D | Editor.java | 5794 final float xDiff = x - mPrevX; in updatePosition() local 5801 isExpanding |= xDiff > 0; in updatePosition() 5803 isExpanding |= xDiff < 0; in updatePosition()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackScrollLayout.java | 3983 final int xDiff = Math.abs(x - mDownX); 3986 if (!mIsBeingDragged && yDiff > touchSlop && yDiff > xDiff) { 4264 final int xDiff = Math.abs(x - mDownX); 4265 if (yDiff > getTouchSlop(ev) && yDiff > xDiff) {
|