Searched refs:yDiff (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NavigationBarViewTaskSwitchHelper.java | 72 int yDiff = Math.abs(y - mTouchDownY); in onInterceptTouchEvent() local 74 ? xDiff > mScrollTouchSlop && xDiff > yDiff in onInterceptTouchEvent() 75 : yDiff > mScrollTouchSlop && yDiff > xDiff; in onInterceptTouchEvent()
|
D | NotificationPanelView.java | 1290 private boolean shouldQuickSettingsIntercept(float x, float y, float yDiff) { in shouldQuickSettingsIntercept() argument 1298 return onHeader || (mScrollView.isScrolledToBottom() && yDiff < 0) && isInQsArea(x, y); in shouldQuickSettingsIntercept()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ExpandHelper.java | 305 final float yDiff = ev.getRawY() - mInitialTouchY; in onInterceptTouchEvent() local 306 if (yDiff > mTouchSlop) { in onInterceptTouchEvent() 307 if (DEBUG) Log.v(TAG, "got venetian gesture (dy=" + yDiff + "px)"); in onInterceptTouchEvent() 423 final float yDiff = ev.getRawY() - mInitialTouchY; in onTouchEvent() local 424 if (yDiff > mTouchSlop) { in onTouchEvent() 425 if (DEBUG) Log.v(TAG, "got venetian gesture (dy=" + yDiff + "px)"); in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
D | NotificationStackScrollLayout.java | 817 final int yDiff = Math.abs(deltaY); in onScrollTouch() local 818 if (!mIsBeingDragged && yDiff > mTouchSlop && yDiff > xDiff) { in onScrollTouch() 1914 final int yDiff = Math.abs(y - mLastMotionY); in onInterceptTouchEventScroll() local 1916 if (yDiff > mTouchSlop && yDiff > xDiff) { in onInterceptTouchEventScroll()
|
/frameworks/support/v4/java/android/support/v4/view/ |
D | ViewPager.java | 1843 final float yDiff = Math.abs(y - mInitialMotionY); 1844 if (DEBUG) Log.v(TAG, "Moved x to " + x + "," + y + " diff=" + xDiff + "," + yDiff); 1854 if (xDiff > mTouchSlop && xDiff * 0.5f > yDiff) { 1863 } else if (yDiff > mTouchSlop) { 1974 final float yDiff = Math.abs(y - mLastMotionY); 1975 … if (DEBUG) Log.v(TAG, "Moved x to " + x + "," + y + " diff=" + xDiff + "," + yDiff); 1976 if (xDiff > mTouchSlop && xDiff > yDiff) {
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | SwipeRefreshLayout.java | 664 final float yDiff = y - mInitialDownY; in onInterceptTouchEvent() local 665 if (yDiff > mTouchSlop && !mIsBeingDragged) { in onInterceptTouchEvent()
|
/frameworks/base/core/java/android/widget/ |
D | ScrollView.java | 514 final int yDiff = Math.abs(y - mLastMotionY); in onInterceptTouchEvent() local 515 if (yDiff > mTouchSlop && (getNestedScrollAxes() & SCROLL_AXIS_VERTICAL) == 0) { in onInterceptTouchEvent()
|