/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 | 125 int yDiff = Math.abs(y - mTouchDownY); in onInterceptTouchEvent() local 127 ? xDiff > mScrollTouchSlop && xDiff > yDiff in onInterceptTouchEvent() 128 : yDiff > mScrollTouchSlop && yDiff > xDiff; in onInterceptTouchEvent() 197 int yDiff = Math.abs(y - mTouchDownY); in handleDragActionMoveEvent() local 203 ? yDiff > mScrollTouchSlop && yDiff > xDiff in handleDragActionMoveEvent() 204 : xDiff > mScrollTouchSlop && xDiff > yDiff; in handleDragActionMoveEvent()
|
D | PanelView.java | 402 float yDiff = y - mInitialTouchY; in isDirectionUpwards() local 403 if (yDiff >= 0) { in isDirectionUpwards() 406 return Math.abs(yDiff) >= Math.abs(xDiff); in isDirectionUpwards()
|
D | NotificationPanelView.java | 1415 private boolean shouldQuickSettingsIntercept(float x, float y, float yDiff) { in shouldQuickSettingsIntercept() argument 1424 return onHeader || (yDiff < 0 && isInQsArea(x, y)); in shouldQuickSettingsIntercept()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSAnimator.java | 186 final int yDiff = loc2[1] - loc1[1]; in updateAnimators() local 190 translationYBuilder.addFloat(quickTileView, "translationY", 0, yDiff); in updateAnimators() 199 translationYBuilder.addFloat(tileView, "translationY", -yDiff, 0); in updateAnimators() 212 final int yDiff = loc2[1] - loc1[1]; in updateAnimators() local 216 translationYBuilder.addFloat(tileView, "translationY", -yDiff, 0); in updateAnimators() 217 translationYBuilder.addFloat(tileIcon, "translationY", -yDiff, 0); in updateAnimators()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ExpandHelper.java | 303 final float yDiff = ev.getRawY() - mInitialTouchY; in onInterceptTouchEvent() local 305 if (yDiff > mTouchSlop && yDiff > Math.abs(xDiff)) { in onInterceptTouchEvent() 306 if (DEBUG) Log.v(TAG, "got venetian gesture (dy=" + yDiff + "px)"); in onInterceptTouchEvent() 431 final float yDiff = ev.getRawY() - mInitialTouchY; in onTouchEvent() local 433 if (yDiff > mTouchSlop && yDiff > Math.abs(xDiff)) { in onTouchEvent() 434 if (DEBUG) Log.v(TAG, "got venetian gesture (dy=" + yDiff + "px)"); in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | EmergencyButton.java | 145 final int yDiff = Math.abs(y - mDownY); in onTouchEvent() local 147 if (Math.abs(yDiff) > touchSlop || Math.abs(xDiff) > touchSlop) { in onTouchEvent()
|
/frameworks/support/design/src/android/support/design/widget/ |
D | HeaderBehavior.java | 91 final int yDiff = Math.abs(y - mLastMotionY); in onInterceptTouchEvent() local 92 if (yDiff > mTouchSlop) { in onInterceptTouchEvent()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ViewPager.java | 1856 final float yDiff = Math.abs(y - mInitialMotionY); 1857 if (DEBUG) Log.v(TAG, "Moved x to " + x + "," + y + " diff=" + xDiff + "," + yDiff); 1867 if (xDiff > mTouchSlop && xDiff * 0.5f > yDiff) { 1876 } else if (yDiff > mTouchSlop) { 1980 final float yDiff = Math.abs(y - mLastMotionY); 1981 … if (DEBUG) Log.v(TAG, "Moved x to " + x + "," + y + " diff=" + xDiff + "," + yDiff); 1982 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/core-ui/java/android/support/v4/view/ |
D | ViewPager.java | 2068 final float yDiff = Math.abs(y - mInitialMotionY); 2069 if (DEBUG) Log.v(TAG, "Moved x to " + x + "," + y + " diff=" + xDiff + "," + yDiff); 2079 if (xDiff > mTouchSlop && xDiff * 0.5f > yDiff) { 2088 } else if (yDiff > mTouchSlop) { 2208 final float yDiff = Math.abs(y - mLastMotionY); 2210 Log.v(TAG, "Moved x to " + x + "," + y + " diff=" + xDiff + "," + yDiff); 2212 if (xDiff > mTouchSlop && xDiff > yDiff) {
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
D | SwipeRefreshLayout.java | 1063 final float yDiff = y - mInitialDownY; in startDragging() local 1064 if (yDiff > mTouchSlop && !mIsBeingDragged) { in startDragging()
|
D | NestedScrollView.java | 681 final int yDiff = Math.abs(y - mLastMotionY); in onInterceptTouchEvent() local 682 if (yDiff > mTouchSlop in onInterceptTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
D | NotificationStackScrollLayout.java | 1421 final int yDiff = Math.abs(deltaY); in onScrollTouch() local 1422 if (!mIsBeingDragged && yDiff > mTouchSlop && yDiff > xDiff) { in onScrollTouch() 3192 final int yDiff = Math.abs(y - mLastMotionY); in onInterceptTouchEventScroll() local 3194 if (yDiff > mTouchSlop && yDiff > xDiff) { in onInterceptTouchEventScroll()
|
/frameworks/base/core/java/android/widget/ |
D | ScrollView.java | 538 final int yDiff = Math.abs(y - mLastMotionY); in onInterceptTouchEvent() local 539 if (yDiff > mTouchSlop && (getNestedScrollAxes() & SCROLL_AXIS_VERTICAL) == 0) { in onInterceptTouchEvent()
|