Searched refs:yDiff (Results 1 - 11 of 11) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | NavigationBarViewTaskSwitchHelper.java | 72 int yDiff = Math.abs(y - mTouchDownY); 74 ? xDiff > mScrollTouchSlop && xDiff > yDiff 75 : yDiff > mScrollTouchSlop && yDiff > xDiff;
|
H A D | PanelView.java | 347 float yDiff = y - mInitialTouchY; 348 if (yDiff >= 0) { 351 return Math.abs(yDiff) >= Math.abs(xDiff);
|
H A D | NotificationPanelView.java | 920 -1 /* yDiff: Not relevant here */)) { 1465 private boolean shouldQuickSettingsIntercept(float x, float y, float yDiff) { argument 1473 return onHeader || (mScrollView.isScrolledToBottom() && yDiff < 0) && isInQsArea(x, y);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ExpandHelper.java | 295 final float yDiff = ev.getRawY() - mInitialTouchY; 296 if (yDiff > mTouchSlop) { 297 if (DEBUG) Log.v(TAG, "got venetian gesture (dy=" + yDiff + "px)"); 418 final float yDiff = ev.getRawY() - mInitialTouchY; 419 if (yDiff > mTouchSlop) { 420 if (DEBUG) Log.v(TAG, "got venetian gesture (dy=" + yDiff + "px)");
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ViewPager.java | 1867 final float yDiff = Math.abs(y - mInitialMotionY); 1868 if (DEBUG) Log.v(TAG, "Moved x to " + x + "," + y + " diff=" + xDiff + "," + yDiff); 1878 if (xDiff > mTouchSlop && xDiff * 0.5f > yDiff) { 1887 } else if (yDiff > mTouchSlop) { 1991 final float yDiff = Math.abs(y - mLastMotionY); 1992 if (DEBUG) Log.v(TAG, "Moved x to " + x + "," + y + " diff=" + xDiff + "," + yDiff); 1993 if (xDiff > mTouchSlop && xDiff > yDiff) {
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | ViewPager.java | 1926 final float yDiff = Math.abs(y - mInitialMotionY); 1927 if (DEBUG) Log.v(TAG, "Moved x to " + x + "," + y + " diff=" + xDiff + "," + yDiff); 1937 if (xDiff > mTouchSlop && xDiff * 0.5f > yDiff) { 1946 } else if (yDiff > mTouchSlop) { 2057 final float yDiff = Math.abs(y - mLastMotionY); 2058 if (DEBUG) Log.v(TAG, "Moved x to " + x + "," + y + " diff=" + xDiff + "," + yDiff); 2059 if (xDiff > mTouchSlop && xDiff > yDiff) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
H A D | NotificationStackScrollLayout.java | 894 final int yDiff = Math.abs(deltaY); 895 if (!mIsBeingDragged && yDiff > mTouchSlop && yDiff > xDiff) { 2135 final int yDiff = Math.abs(y - mLastMotionY); 2137 if (yDiff > mTouchSlop && yDiff > xDiff) {
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | AppBarLayout.java | 749 final int yDiff = Math.abs(y - mLastMotionY); 750 if (yDiff > mTouchSlop) {
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | SwipeRefreshLayout.java | 684 final float yDiff = y - mInitialDownY; 685 if (yDiff > mTouchSlop && !mIsBeingDragged) {
|
H A D | NestedScrollView.java | 611 final int yDiff = Math.abs(y - mLastMotionY); 612 if (yDiff > mTouchSlop
|
/frameworks/base/core/java/android/widget/ |
H A D | ScrollView.java | 524 final int yDiff = Math.abs(y - mLastMotionY); 525 if (yDiff > mTouchSlop && (getNestedScrollAxes() & SCROLL_AXIS_VERTICAL) == 0) {
|
Completed in 283 milliseconds