/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() 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 | 118 int xDiff = Math.abs(x - mTouchDownX); in onInterceptTouchEvent() local 121 ? xDiff > mScrollTouchSlop && xDiff > yDiff in onInterceptTouchEvent() 122 : yDiff > mScrollTouchSlop && yDiff > xDiff; in onInterceptTouchEvent() 190 int xDiff = Math.abs(x - mTouchDownX); in handleDragActionMoveEvent() local 197 ? yDiff > mScrollTouchSlop && yDiff > xDiff in handleDragActionMoveEvent() 198 : xDiff > mScrollTouchSlop && xDiff > yDiff; in handleDragActionMoveEvent()
|
D | PanelView.java | 350 float xDiff = x - mInitialTouchX; in isDirectionUpwards() local 355 return Math.abs(yDiff) >= Math.abs(xDiff); in isDirectionUpwards()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSAnimator.java | 175 final int xDiff = loc2[0] - loc1[0]; in updateAnimators() local 180 translationXBuilder.addFloat(quickTileView, "translationX", 0, xDiff); in updateAnimators() 189 translationXBuilder.addFloat(label, "translationX", -xDiff, 0); in updateAnimators() 202 final int xDiff = loc2[0] - loc1[0]; in updateAnimators() local 206 translationXBuilder.addFloat(tileView, "translationX", -xDiff, 0); in updateAnimators()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ExpandHelper.java | 297 final float xDiff = ev.getRawX() - mInitialTouchX; in onInterceptTouchEvent() local 298 if (yDiff > mTouchSlop && yDiff > Math.abs(xDiff)) { in onInterceptTouchEvent() 423 final float xDiff = ev.getRawX() - mInitialTouchX; in onTouchEvent() local 424 if (yDiff > mTouchSlop && yDiff > Math.abs(xDiff)) { in onTouchEvent()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ViewPager.java | 1881 final float xDiff = Math.abs(dx); 1884 if (DEBUG) Log.v(TAG, "Moved x to " + x + "," + y + " diff=" + xDiff + "," + yDiff); 1894 if (xDiff > mTouchSlop && xDiff * 0.5f > yDiff) { 2005 final float xDiff = Math.abs(x - mLastMotionX); 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 | 2058 final float xDiff = Math.abs(dx); 2061 if (DEBUG) Log.v(TAG, "Moved x to " + x + "," + y + " diff=" + xDiff + "," + yDiff); 2071 if (xDiff > mTouchSlop && xDiff * 0.5f > yDiff) { 2195 final float xDiff = Math.abs(x - mLastMotionX); 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 | 264 int xDiff = Math.abs(x - mDownX); in handleTouchEvent() local 265 if (Math.abs(y - mDownY) > mScrollTouchSlop && yDiff > xDiff) { in handleTouchEvent()
|
/frameworks/base/docs/html/training/gestures/ |
D | viewgroup.jd | 130 final int xDiff = calculateDistanceX(ev); 134 if (xDiff > mTouchSlop) {
|
/frameworks/base/core/java/android/widget/ |
D | HorizontalScrollView.java | 494 final int xDiff = (int) Math.abs(x - mLastMotionX); in onInterceptTouchEvent() local 495 if (xDiff > mTouchSlop) { in onInterceptTouchEvent()
|
D | Editor.java | 4757 final float xDiff = x - mPrevX; in updatePosition() local 4764 isExpanding |= xDiff > 0; in updatePosition() 4766 isExpanding |= xDiff < 0; in updatePosition()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
D | NotificationStackScrollLayout.java | 1230 final int xDiff = Math.abs(x - mDownX); in onScrollTouch() local 1232 if (!mIsBeingDragged && yDiff > mTouchSlop && yDiff > xDiff) { in onScrollTouch() 2822 final int xDiff = Math.abs(x - mDownX); in onInterceptTouchEventScroll() local 2823 if (yDiff > mTouchSlop && yDiff > xDiff) { in onInterceptTouchEventScroll()
|