Searched refs:yDiff (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNavigationBarViewTaskSwitchHelper.java72 int yDiff = Math.abs(y - mTouchDownY);
74 ? xDiff > mScrollTouchSlop && xDiff > yDiff
75 : yDiff > mScrollTouchSlop && yDiff > xDiff;
H A DPanelView.java347 float yDiff = y - mInitialTouchY;
348 if (yDiff >= 0) {
351 return Math.abs(yDiff) >= Math.abs(xDiff);
H A DNotificationPanelView.java920 -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 DExpandHelper.java295 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 DViewPager.java1867 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 DViewPager.java1926 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 DNotificationStackScrollLayout.java894 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 DAppBarLayout.java749 final int yDiff = Math.abs(y - mLastMotionY);
750 if (yDiff > mTouchSlop) {
/frameworks/support/v4/java/android/support/v4/widget/
H A DSwipeRefreshLayout.java684 final float yDiff = y - mInitialDownY;
685 if (yDiff > mTouchSlop && !mIsBeingDragged) {
H A DNestedScrollView.java611 final int yDiff = Math.abs(y - mLastMotionY);
612 if (yDiff > mTouchSlop
/frameworks/base/core/java/android/widget/
H A DScrollView.java524 final int yDiff = Math.abs(y - mLastMotionY);
525 if (yDiff > mTouchSlop && (getNestedScrollAxes() & SCROLL_AXIS_VERTICAL) == 0) {

Completed in 283 milliseconds