/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 | 354 float xDiff = x - mInitialTouchX; in isDirectionUpwards() local 359 return Math.abs(yDiff) >= Math.abs(xDiff); in isDirectionUpwards()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSAnimator.java | 176 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/Keyguard/src/com/android/keyguard/ |
D | EmergencyButton.java | 144 final int xDiff = Math.abs(x - mDownX); in onTouchEvent() local 147 if (Math.abs(yDiff) > touchSlop || Math.abs(xDiff) > touchSlop) { in onTouchEvent()
|
/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() 425 final float xDiff = ev.getRawX() - mInitialTouchX; in onTouchEvent() local 426 if (yDiff > mTouchSlop && yDiff > Math.abs(xDiff)) { in onTouchEvent()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ViewPager.java | 1854 final float xDiff = Math.abs(dx); 1857 if (DEBUG) Log.v(TAG, "Moved x to " + x + "," + y + " diff=" + xDiff + "," + yDiff); 1867 if (xDiff > mTouchSlop && xDiff * 0.5f > yDiff) { 1978 final float xDiff = Math.abs(x - mLastMotionX); 1981 … if (DEBUG) Log.v(TAG, "Moved x to " + x + "," + y + " diff=" + xDiff + "," + yDiff); 1982 if (xDiff > mTouchSlop && xDiff > yDiff) {
|
/frameworks/support/core-ui/java/android/support/v4/view/ |
D | ViewPager.java | 2098 final float xDiff = Math.abs(dx); 2101 if (DEBUG) Log.v(TAG, "Moved x to " + x + "," + y + " diff=" + xDiff + "," + yDiff); 2111 if (xDiff > mTouchSlop && xDiff * 0.5f > yDiff) { 2238 final float xDiff = Math.abs(x - mLastMotionX); 2242 Log.v(TAG, "Moved x to " + x + "," + y + " diff=" + xDiff + "," + yDiff); 2244 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 | 502 final int xDiff = (int) Math.abs(x - mLastMotionX); in onInterceptTouchEvent() local 503 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 | 1300 final int xDiff = Math.abs(x - mDownX); in onScrollTouch() local 1302 if (!mIsBeingDragged && yDiff > mTouchSlop && yDiff > xDiff) { in onScrollTouch() 2923 final int xDiff = Math.abs(x - mDownX); in onInterceptTouchEventScroll() local 2924 if (yDiff > mTouchSlop && yDiff > xDiff) { in onInterceptTouchEventScroll()
|