/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | NonInterceptingScrollView.java | 78 final float yDiff = y - mDownY; in onInterceptTouchEvent() local 79 if (yDiff < -mTouchSlop && !canScrollVertically(1)) { in onInterceptTouchEvent()
|
D | QSAnimator.java | 245 int yDiff = qsPosY - qqsPosY - yOffset; in translateContent() local 246 animatorBuilderY.addFloat(qqsView, "translationY", 0, yDiff); in translateContent() 247 animatorBuilderY.addFloat(qsView, "translationY", -yDiff, 0); in translateContent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ExpandHelper.java | 313 final float yDiff = ev.getRawY() - mInitialTouchY; in onInterceptTouchEvent() local 315 if (yDiff > getTouchSlop(ev) && yDiff > Math.abs(xDiff)) { in onInterceptTouchEvent() 316 if (DEBUG) Log.v(TAG, "got venetian gesture (dy=" + yDiff + "px)"); in onInterceptTouchEvent() 441 final float yDiff = ev.getRawY() - mInitialTouchY; in onTouchEvent() local 443 if (yDiff > getTouchSlop(ev) && yDiff > Math.abs(xDiff)) { in onTouchEvent() 444 if (DEBUG) Log.v(TAG, "got venetian gesture (dy=" + yDiff + "px)"); in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | EmergencyButton.java | 85 final int yDiff = Math.abs(y - mDownY); in onTouchEvent() local 87 if (Math.abs(yDiff) > touchSlop || Math.abs(xDiff) > touchSlop) { in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
D | SimpleMirrorWindowControl.java | 160 int yDiff = (int) (event.getRawY() - mLastDrag.y); in handleDragState() local 161 move(xDiff, yDiff); in handleDragState()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/magnetictarget/ |
D | MagnetizedObject.kt | 496 val yDiff = target.centerOnScreen.y - in <lambda>() constant 507 .spring(yProperty, yProperty.getValue(underlyingObject) + yDiff, velY, in <lambda>()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ViewPager.java | 1864 final float yDiff = Math.abs(y - mInitialMotionY); 1865 if (DEBUG) Log.v(TAG, "Moved x to " + x + "," + y + " diff=" + xDiff + "," + yDiff); 1875 if (xDiff > mTouchSlop && xDiff * 0.5f > yDiff) { 1884 } else if (yDiff > mTouchSlop) { 1999 final float yDiff = Math.abs(y - mLastMotionY); 2000 … if (DEBUG) Log.v(TAG, "Moved x to " + x + "," + y + " diff=" + xDiff + "," + yDiff); 2001 if (xDiff > mTouchSlop && xDiff > yDiff) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PanelViewController.java | 346 float yDiff = y - mInitialTouchY; in isDirectionUpwards() local 347 if (yDiff >= 0) { in isDirectionUpwards() 350 return Math.abs(yDiff) >= Math.abs(xDiff); in isDirectionUpwards()
|
D | NotificationPanelViewController.java | 2731 private boolean shouldQuickSettingsIntercept(float x, float y, float yDiff) { in shouldQuickSettingsIntercept() argument 2748 return onHeader || (yDiff < 0 && isInQsArea(x, y)); in shouldQuickSettingsIntercept()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/ |
D | ToggleRangeBehavior.kt | 341 yDiff: Float in <lambda>()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ChooserActivity.java | 3902 int yDiff = (int) ((oldy - y) * DIRECT_SHARE_EXPANSION_RATE); 3905 int newHeight = Math.min(prevHeight + yDiff, mDirectShareMaxHeight); 3907 yDiff = newHeight - prevHeight; 3909 updateDirectShareRowHeight(view, yDiff, newHeight); 3922 private void updateDirectShareRowHeight(RecyclerView view, int yDiff, int newHeight) { 3923 if (view == null || view.getChildCount() == 0 || yDiff == 0) { 3933 child.offsetTopAndBottom(yDiff);
|
/frameworks/base/core/java/android/widget/ |
D | ScrollView.java | 646 final int yDiff = Math.abs(y - mLastMotionY); in onInterceptTouchEvent() local 647 if (yDiff > mTouchSlop && (getNestedScrollAxes() & SCROLL_AXIS_VERTICAL) == 0) { in onInterceptTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackScrollLayout.java | 3453 final int yDiff = Math.abs(deltaY); in onScrollTouch() local 3455 if (!mIsBeingDragged && yDiff > touchSlop && yDiff > xDiff) { in onScrollTouch() 3701 final int yDiff = Math.abs(y - mLastMotionY); in onInterceptTouchEventScroll() local 3703 if (yDiff > getTouchSlop(ev) && yDiff > xDiff) { in onInterceptTouchEventScroll()
|