Home
last modified time | relevance | path

Searched refs:xDiff (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DDirectionEvaluator.java20 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/
DNavigationBarGestureHelper.java124 int xDiff = Math.abs(x - mTouchDownX); in onInterceptTouchEvent() local
127 ? xDiff > mScrollTouchSlop && xDiff > yDiff in onInterceptTouchEvent()
128 : yDiff > mScrollTouchSlop && yDiff > xDiff; in onInterceptTouchEvent()
196 int xDiff = Math.abs(x - mTouchDownX); in handleDragActionMoveEvent() local
203 ? yDiff > mScrollTouchSlop && yDiff > xDiff in handleDragActionMoveEvent()
204 : xDiff > mScrollTouchSlop && xDiff > yDiff; in handleDragActionMoveEvent()
DPanelView.java401 float xDiff = x - mInitialTouchX; in isDirectionUpwards() local
406 return Math.abs(yDiff) >= Math.abs(xDiff); in isDirectionUpwards()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSAnimator.java185 final int xDiff = loc2[0] - loc1[0]; in updateAnimators() local
189 translationXBuilder.addFloat(quickTileView, "translationX", 0, xDiff); in updateAnimators()
198 translationXBuilder.addFloat(tileView, "translationX", -xDiff, 0); in updateAnimators()
211 final int xDiff = loc2[0] - loc1[0]; in updateAnimators() local
215 translationXBuilder.addFloat(tileView, "translationX", -xDiff, 0); in updateAnimators()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DEmergencyButton.java144 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/
DExpandHelper.java304 final float xDiff = ev.getRawX() - mInitialTouchX; in onInterceptTouchEvent() local
305 if (yDiff > mTouchSlop && yDiff > Math.abs(xDiff)) { in onInterceptTouchEvent()
432 final float xDiff = ev.getRawX() - mInitialTouchX; in onTouchEvent() local
433 if (yDiff > mTouchSlop && yDiff > Math.abs(xDiff)) { in onTouchEvent()
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java1854 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/
DViewPager.java2066 final float xDiff = Math.abs(dx);
2069 if (DEBUG) Log.v(TAG, "Moved x to " + x + "," + y + " diff=" + xDiff + "," + yDiff);
2079 if (xDiff > mTouchSlop && xDiff * 0.5f > yDiff) {
2206 final float xDiff = Math.abs(x - mLastMotionX);
2210 Log.v(TAG, "Moved x to " + x + "," + y + " diff=" + xDiff + "," + yDiff);
2212 if (xDiff > mTouchSlop && xDiff > yDiff) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackViewTouchHandler.java264 int xDiff = Math.abs(x - mDownX); in handleTouchEvent() local
265 if (Math.abs(y - mDownY) > mScrollTouchSlop && yDiff > xDiff) { in handleTouchEvent()
/frameworks/base/core/java/android/widget/
DHorizontalScrollView.java502 final int xDiff = (int) Math.abs(x - mLastMotionX); in onInterceptTouchEvent() local
503 if (xDiff > mTouchSlop) { in onInterceptTouchEvent()
DEditor.java4869 final float xDiff = x - mPrevX; in updatePosition() local
4876 isExpanding |= xDiff > 0; in updatePosition()
4878 isExpanding |= xDiff < 0; in updatePosition()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DNotificationStackScrollLayout.java1420 final int xDiff = Math.abs(x - mDownX); in onScrollTouch() local
1422 if (!mIsBeingDragged && yDiff > mTouchSlop && yDiff > xDiff) { in onScrollTouch()
3193 final int xDiff = Math.abs(x - mDownX); in onInterceptTouchEventScroll() local
3194 if (yDiff > mTouchSlop && yDiff > xDiff) { in onInterceptTouchEventScroll()