/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | DirectionEvaluator.java | 20 public static float evaluate(float xDiff, float yDiff, int type) { in evaluate() argument 22 boolean vertical = Math.abs(yDiff) >= Math.abs(xDiff); in evaluate() 26 if (!vertical || yDiff <= 0.0) { in evaluate() 36 if (!vertical || yDiff >= 0.0) { in evaluate() 41 if (xDiff < 0.0 && yDiff > 0.0) { in evaluate() 46 if (xDiff > 0.0 && yDiff > 0.0) { in evaluate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NavigationBarGestureHelper.java | 119 int yDiff = Math.abs(y - mTouchDownY); in onInterceptTouchEvent() local 121 ? xDiff > mScrollTouchSlop && xDiff > yDiff in onInterceptTouchEvent() 122 : yDiff > mScrollTouchSlop && yDiff > xDiff; in onInterceptTouchEvent() 191 int yDiff = Math.abs(y - mTouchDownY); in handleDragActionMoveEvent() local 197 ? yDiff > mScrollTouchSlop && yDiff > xDiff in handleDragActionMoveEvent() 198 : xDiff > mScrollTouchSlop && xDiff > yDiff; in handleDragActionMoveEvent()
|
D | PanelView.java | 351 float yDiff = y - mInitialTouchY; in isDirectionUpwards() local 352 if (yDiff >= 0) { in isDirectionUpwards() 355 return Math.abs(yDiff) >= Math.abs(xDiff); in isDirectionUpwards()
|
D | NotificationPanelView.java | 1349 private boolean shouldQuickSettingsIntercept(float x, float y, float yDiff) { in shouldQuickSettingsIntercept() argument 1358 return onHeader || (yDiff < 0 && isInQsArea(x, y)); in shouldQuickSettingsIntercept()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSAnimator.java | 176 final int yDiff = loc2[1] - loc1[1]; in updateAnimators() local 178 lastYDiff = yDiff; in updateAnimators() 181 translationYBuilder.addFloat(quickTileView, "translationY", 0, yDiff); in updateAnimators() 190 translationYBuilder.addFloat(label, "translationY", -yDiff, 0); in updateAnimators() 203 final int yDiff = loc2[1] - loc1[1]; in updateAnimators() local 207 translationYBuilder.addFloat(label, "translationY", -yDiff, 0); in updateAnimators() 208 translationYBuilder.addFloat(tileIcon, "translationY", -yDiff, 0); in updateAnimators()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ExpandHelper.java | 296 final float yDiff = ev.getRawY() - mInitialTouchY; in onInterceptTouchEvent() local 298 if (yDiff > mTouchSlop && yDiff > Math.abs(xDiff)) { in onInterceptTouchEvent() 299 if (DEBUG) Log.v(TAG, "got venetian gesture (dy=" + yDiff + "px)"); in onInterceptTouchEvent() 422 final float yDiff = ev.getRawY() - mInitialTouchY; in onTouchEvent() local 424 if (yDiff > mTouchSlop && yDiff > Math.abs(xDiff)) { in onTouchEvent() 425 if (DEBUG) Log.v(TAG, "got venetian gesture (dy=" + yDiff + "px)"); in onTouchEvent()
|
/frameworks/support/design/src/android/support/design/widget/ |
D | HeaderBehavior.java | 92 final int yDiff = Math.abs(y - mLastMotionY); in onInterceptTouchEvent() local 93 if (yDiff > mTouchSlop) { in onInterceptTouchEvent()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ViewPager.java | 1883 final float yDiff = Math.abs(y - mInitialMotionY); 1884 if (DEBUG) Log.v(TAG, "Moved x to " + x + "," + y + " diff=" + xDiff + "," + yDiff); 1894 if (xDiff > mTouchSlop && xDiff * 0.5f > yDiff) { 1903 } else if (yDiff > mTouchSlop) { 2007 final float yDiff = Math.abs(y - mLastMotionY); 2008 … if (DEBUG) Log.v(TAG, "Moved x to " + x + "," + y + " diff=" + xDiff + "," + yDiff); 2009 if (xDiff > mTouchSlop && xDiff > yDiff) {
|
/frameworks/support/v4/java/android/support/v4/view/ |
D | ViewPager.java | 2060 final float yDiff = Math.abs(y - mInitialMotionY); 2061 if (DEBUG) Log.v(TAG, "Moved x to " + x + "," + y + " diff=" + xDiff + "," + yDiff); 2071 if (xDiff > mTouchSlop && xDiff * 0.5f > yDiff) { 2080 } else if (yDiff > mTouchSlop) { 2197 final float yDiff = Math.abs(y - mLastMotionY); 2198 … if (DEBUG) Log.v(TAG, "Moved x to " + x + "," + y + " diff=" + xDiff + "," + yDiff); 2199 if (xDiff > mTouchSlop && xDiff > yDiff) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
D | TaskStackViewTouchHandler.java | 263 int yDiff = Math.abs(y - mDownY); in handleTouchEvent() local 265 if (Math.abs(y - mDownY) > mScrollTouchSlop && yDiff > xDiff) { in handleTouchEvent()
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | SwipeRefreshLayout.java | 702 final float yDiff = y - mInitialDownY; in onInterceptTouchEvent() local 703 if (yDiff > mTouchSlop && !mIsBeingDragged) { in onInterceptTouchEvent()
|
D | NestedScrollView.java | 650 final int yDiff = Math.abs(y - mLastMotionY); in onInterceptTouchEvent() local 651 if (yDiff > mTouchSlop in onInterceptTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
D | NotificationStackScrollLayout.java | 1231 final int yDiff = Math.abs(deltaY); in onScrollTouch() local 1232 if (!mIsBeingDragged && yDiff > mTouchSlop && yDiff > xDiff) { in onScrollTouch() 2821 final int yDiff = Math.abs(y - mLastMotionY); in onInterceptTouchEventScroll() local 2823 if (yDiff > mTouchSlop && yDiff > xDiff) { in onInterceptTouchEventScroll()
|
/frameworks/base/core/java/android/widget/ |
D | ScrollView.java | 528 final int yDiff = Math.abs(y - mLastMotionY); in onInterceptTouchEvent() local 529 if (yDiff > mTouchSlop && (getNestedScrollAxes() & SCROLL_AXIS_VERTICAL) == 0) { in onInterceptTouchEvent()
|