/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | EnableAccessibilityController.java | 91 private final float mTouchSlop; field in class:EnableAccessibilityController 115 mTouchSlop = context.getResources().getDimensionPixelSize( 188 if (Math.abs(firstPointerMove) > mTouchSlop) { 193 if (Math.abs(secondPointerMove) > mTouchSlop) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | DragDownHelper.java | 49 private float mTouchSlop; field in class:DragDownHelper 64 mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop(); 86 if (h > mTouchSlop && h > Math.abs(x - mInitialTouchX)) {
|
H A D | ActivatableNotificationView.java | 110 private final float mTouchSlop; field in class:ActivatableNotificationView 141 mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop(); 327 return Math.abs(event.getX() - mDownX) < mTouchSlop 328 && Math.abs(event.getY() - mDownY) < mTouchSlop;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | KeyButtonView.java | 67 private int mTouchSlop; field in class:KeyButtonView 109 mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop(); 197 setPressed(x >= -mTouchSlop 198 && x < getWidth() + mTouchSlop 199 && y >= -mTouchSlop 200 && y < getHeight() + mTouchSlop);
|
H A D | HeadsUpNotificationView.java | 378 private final float mTouchSlop; field in class:HeadsUpNotificationView.EdgeSwipeHelper 384 mTouchSlop = touchSlop; 402 if (!mConsuming && (4f * daX) < daY && daY > mTouchSlop) {
|
/frameworks/base/tests/SystemUIDemoModeController/src/com/example/android/demomodecontroller/ |
H A D | DemoModeController.java | 46 private int mTouchSlop; field in class:DemoModeController 65 mTouchSlop = ViewConfiguration.get(mContext).getScaledTouchSlop(); 115 if (Math.abs(mLastDown.x - x) > mTouchSlop || Math.abs(mLastDown.y - y) > mTouchSlop) {
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | PagerTabStrip.java | 75 private int mTouchSlop; field in class:PagerTabStrip 96 mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop(); 239 if (Math.abs(x - mInitialMotionX) > mTouchSlop || 240 Math.abs(y - mInitialMotionY) > mTouchSlop) {
|
H A D | ViewPager.java | 173 private int mTouchSlop; field in class:ViewPager 367 mTouchSlop = ViewConfigurationCompat.getScaledPagingTouchSlop(configuration); 1854 if (xDiff > mTouchSlop && xDiff * 0.5f > yDiff) { 1859 mLastMotionX = dx > 0 ? mInitialMotionX + mTouchSlop : 1860 mInitialMotionX - mTouchSlop; 1863 } else if (yDiff > mTouchSlop) { 1976 if (xDiff > mTouchSlop && xDiff > yDiff) { 1980 mLastMotionX = x - mInitialMotionX > 0 ? mInitialMotionX + mTouchSlop : 1981 mInitialMotionX - mTouchSlop;
|
/frameworks/base/core/java/android/view/ |
H A D | ViewConfiguration.java | 228 private final int mTouchSlop; field in class:ViewConfiguration 255 mTouchSlop = TOUCH_SLOP; 337 mTouchSlop = res.getDimensionPixelSize( 339 mPagingTouchSlop = mTouchSlop * 2; 341 mDoubleTapTouchSlop = mTouchSlop; 543 return mTouchSlop;
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ResolverDrawerLayout.java | 72 private final int mTouchSlop; field in class:ResolverDrawerLayout 121 mTouchSlop = vc.getScaledTouchSlop(); 174 if (Math.abs(dy) > mTouchSlop && findChildUnder(x, y) != null && 178 mLastTouchY = Math.max(mLastTouchY - mTouchSlop, 179 Math.min(mLastTouchY + dy, mLastTouchY + mTouchSlop)); 238 if (Math.abs(dy) > mTouchSlop && findChildUnder(x, y) != null) { 240 mLastTouchY = Math.max(mLastTouchY - mTouchSlop, 241 Math.min(mLastTouchY + dy, mLastTouchY + mTouchSlop)); 276 if (mOpenOnClick && Math.abs(ev.getX() - mInitialTouchX) < mTouchSlop && 277 Math.abs(ev.getY() - mInitialTouchY) < mTouchSlop) { [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ExpandHelper.java | 96 private int mTouchSlop; field in class:ExpandHelper 182 mTouchSlop = configuration.getScaledTouchSlop(); 306 if (yDiff > mTouchSlop) { 421 if (yDiff > mTouchSlop) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | KeyguardAffordanceHelper.java | 56 private int mTouchSlop; field in class:KeyguardAffordanceHelper 94 mTouchSlop = configuration.getScaledPagingTouchSlop(); 159 if (((leftSwipePossible() && w > mTouchSlop) 160 || (rightSwipePossible() && w < -mTouchSlop))
|
H A D | PanelView.java | 68 protected int mTouchSlop; field in class:PanelView 187 mTouchSlop = configuration.getScaledTouchSlop(); 285 if (Math.abs(h) > mTouchSlop 326 || Math.abs(x - mInitialTouchX) > mTouchSlop 327 || Math.abs(y - mInitialTouchY) > mTouchSlop 443 if (h < -mTouchSlop && h < -Math.abs(x - mInitialTouchX)) {
|
/frameworks/base/core/java/android/widget/ |
H A D | HorizontalScrollView.java | 120 private int mTouchSlop; field in class:HorizontalScrollView 211 mTouchSlop = configuration.getScaledTouchSlop(); 479 if (xDiff > mTouchSlop) { 585 if (!mIsBeingDragged && Math.abs(deltaX) > mTouchSlop) { 592 deltaX -= mTouchSlop; 594 deltaX += mTouchSlop;
|
H A D | Switch.java | 96 private int mTouchSlop; field in class:Switch 237 mTouchSlop = config.getScaledTouchSlop(); 695 final int thumbTop = mSwitchTop - mTouchSlop; 696 final int thumbLeft = mSwitchLeft + thumbOffset - mTouchSlop; 698 mTempRect.left + mTempRect.right + mTouchSlop; 699 final int thumbBottom = mSwitchBottom + mTouchSlop; 728 if (Math.abs(x - mTouchX) > mTouchSlop || 729 Math.abs(y - mTouchY) > mTouchSlop) {
|
H A D | ScrollView.java | 127 private int mTouchSlop; field in class:ScrollView 238 mTouchSlop = configuration.getScaledTouchSlop(); 515 if (yDiff > mTouchSlop && (getNestedScrollAxes() & SCROLL_AXIS_VERTICAL) == 0) { 642 if (!mIsBeingDragged && Math.abs(deltaY) > mTouchSlop) { 649 deltaY -= mTouchSlop; 651 deltaY += mTouchSlop;
|
H A D | StackView.java | 134 private int mTouchSlop; field in class:StackView 195 mTouchSlop = configuration.getScaledTouchSlop(); 659 if ((int) Math.abs(deltaY) > mTouchSlop && mSwipeGestureType == GESTURE_NONE) { 736 float r = (deltaY - mTouchSlop * 1.0f) / mSlideAmount * 1.0f; 742 float r = -(deltaY + mTouchSlop * 1.0f) / mSlideAmount * 1.0f;
|
H A D | NumberPicker.java | 387 private int mTouchSlop; field in class:NumberPicker 729 mTouchSlop = configuration.getScaledTouchSlop(); 904 if (deltaDownY > mTouchSlop) { 929 if (deltaMoveY <= mTouchSlop && deltaTime < ViewConfiguration.getTapTimeout()) {
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | TouchExplorer.java | 115 private final int mTouchSlop; field in class:TouchExplorer 228 mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop(); 527 if (moveDelta > mTouchSlop) { 1104 if (GestureUtils.isTap(mDownEvent, event, mTapTimeout, mTouchSlop,
|
/frameworks/ex/widget/java/com/android/ex/widget/ |
H A D | StaggeredGridView.java | 117 private int mTouchSlop; field in class:StaggeredGridView 209 mTouchSlop = vc.getScaledTouchSlop(); 309 if (Math.abs(dy) > mTouchSlop) { 345 if (Math.abs(dy) > mTouchSlop) {
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | SwipeRefreshLayout.java | 96 private int mTouchSlop; field in class:SwipeRefreshLayout 270 mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop(); 635 if (yDiff > mTouchSlop && !mIsBeingDragged) {
|
H A D | ViewDragHelper.java | 112 private int mTouchSlop; field in class:ViewDragHelper 361 helper.mTouchSlop = (int) (helper.mTouchSlop * (1 / sensitivity)); 388 mTouchSlop = vc.getScaledTouchSlop(); 490 return mTouchSlop; 1254 (absDelta <= mTouchSlop && absODelta <= mTouchSlop)) { 1261 return (mEdgeDragsInProgress[pointerId] & edge) == 0 && absDelta > mTouchSlop; 1282 return dx * dx + dy * dy > mTouchSlop * mTouchSlop; [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | SwitchCompat.java | 100 private int mTouchSlop; field in class:SwitchCompat 218 mTouchSlop = config.getScaledTouchSlop(); 583 final int thumbTop = mSwitchTop - mTouchSlop; 584 final int thumbLeft = mSwitchLeft + thumbOffset - mTouchSlop; 586 mTempRect.left + mTempRect.right + mTouchSlop; 587 final int thumbBottom = mSwitchBottom + mTouchSlop; 616 if (Math.abs(x - mTouchX) > mTouchSlop || 617 Math.abs(y - mTouchY) > mTouchSlop) {
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | SlidingChallengeLayout.java | 120 private int mTouchSlop; field in class:SlidingChallengeLayout 248 mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop(); 249 mTouchSlopSquare = mTouchSlop * mTouchSlop;
|
H A D | PagedView.java | 140 protected int mTouchSlop; field in class:PagedView 309 mTouchSlop = configuration.getScaledTouchSlop(); 1139 final boolean finishedScrolling = (mScroller.isFinished() || xDist < mTouchSlop); 1243 final int touchSlop = Math.round(TOUCH_SLOP_SCALE * mTouchSlop); 1270 final int touchSlop = Math.round(TOUCH_SLOP_SCALE * mTouchSlop);
|