Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DNonInterceptingScrollView.java78 final float yDiff = y - mDownY; in onInterceptTouchEvent() local
79 if (yDiff < -mTouchSlop && !canScrollVertically(1)) { in onInterceptTouchEvent()
DQSAnimator.java245 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/
DExpandHelper.java313 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/
DEmergencyButton.java85 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/
DSimpleMirrorWindowControl.java160 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/
DMagnetizedObject.kt496 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/
DViewPager.java1864 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/
DPanelViewController.java346 float yDiff = y - mInitialTouchY; in isDirectionUpwards() local
347 if (yDiff >= 0) { in isDirectionUpwards()
350 return Math.abs(yDiff) >= Math.abs(xDiff); in isDirectionUpwards()
DNotificationPanelViewController.java2731 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/
DToggleRangeBehavior.kt341 yDiff: Float in <lambda>()
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java3902 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/
DScrollView.java646 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/
DNotificationStackScrollLayout.java3453 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()