Searched refs:mTouchSlop (Results 1 - 18 of 18) sorted by relevance

/frameworks/base/core/java/android/view/
H A DViewConfiguration.java220 private final int mTouchSlop; field in class:ViewConfiguration
246 mTouchSlop = TOUCH_SLOP;
310 mTouchSlop = res.getDimensionPixelSize(
312 mPagingTouchSlop = mTouchSlop * 2;
314 mDoubleTapTouchSlop = mTouchSlop;
509 return mTouchSlop;
H A DView.java3268 private int mTouchSlop; field in class:View
3439 mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop();
8717 if (!pointInView(x, y, mTouchSlop)) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyButtonView.java53 int mTouchSlop; field in class:KeyButtonView
102 mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop();
257 setPressed(x >= -mTouchSlop
258 && x < getWidth() + mTouchSlop
259 && y >= -mTouchSlop
260 && y < getHeight() + mTouchSlop);
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DEnableAccessibilityController.java90 private final float mTouchSlop; field in class:EnableAccessibilityController
113 mTouchSlop = context.getResources().getDimensionPixelSize(
186 if (Math.abs(firstPointerMove) > mTouchSlop) {
191 if (Math.abs(secondPointerMove) > mTouchSlop) {
/frameworks/support/v4/java/android/support/v4/view/
H A DPagerTabStrip.java73 private int mTouchSlop; field in class:PagerTabStrip
94 mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop();
237 if (Math.abs(x - mInitialMotionX) > mTouchSlop ||
238 Math.abs(y - mInitialMotionY) > mTouchSlop) {
H A DViewPager.java168 private int mTouchSlop; field in class:ViewPager
362 mTouchSlop = ViewConfigurationCompat.getScaledPagingTouchSlop(configuration);
1849 if (xDiff > mTouchSlop && xDiff * 0.5f > yDiff) {
1854 mLastMotionX = dx > 0 ? mInitialMotionX + mTouchSlop :
1855 mInitialMotionX - mTouchSlop;
1858 } else if (yDiff > mTouchSlop) {
1971 if (xDiff > mTouchSlop && xDiff > yDiff) {
1975 mLastMotionX = x - mInitialMotionX > 0 ? mInitialMotionX + mTouchSlop :
1976 mInitialMotionX - mTouchSlop;
/frameworks/support/v4/java/android/support/v4/widget/
H A DViewDragHelper.java112 private int mTouchSlop; field in class:ViewDragHelper
361 helper.mTouchSlop = (int) (helper.mTouchSlop * (1 / sensitivity));
388 mTouchSlop = vc.getScaledTouchSlop();
490 return mTouchSlop;
1224 (absDelta <= mTouchSlop && absODelta <= mTouchSlop)) {
1231 return (mEdgeDragsInProgress[pointerId] & edge) == 0 && absDelta > mTouchSlop;
1252 return dx * dx + dy * dy > mTouchSlop * mTouchSlop;
[all...]
/frameworks/base/core/java/android/widget/
H A DSwitch.java87 private int mTouchSlop; field in class:Switch
175 mTouchSlop = config.getScaledTouchSlop();
532 final int thumbTop = mSwitchTop - mTouchSlop;
533 final int thumbLeft = mSwitchLeft + (int) (mThumbPosition + 0.5f) - mTouchSlop;
535 mTempRect.left + mTempRect.right + mTouchSlop;
536 final int thumbBottom = mSwitchBottom + mTouchSlop;
565 if (Math.abs(x - mTouchX) > mTouchSlop ||
566 Math.abs(y - mTouchY) > mTouchSlop) {
H A DHorizontalScrollView.java120 private int mTouchSlop; field in class:HorizontalScrollView
206 mTouchSlop = configuration.getScaledTouchSlop();
474 if (xDiff > mTouchSlop) {
580 if (!mIsBeingDragged && Math.abs(deltaX) > mTouchSlop) {
587 deltaX -= mTouchSlop;
589 deltaX += mTouchSlop;
H A DScrollView.java127 private int mTouchSlop; field in class:ScrollView
227 mTouchSlop = configuration.getScaledTouchSlop();
504 if (yDiff > mTouchSlop) {
616 if (!mIsBeingDragged && Math.abs(deltaY) > mTouchSlop) {
623 deltaY -= mTouchSlop;
625 deltaY += mTouchSlop;
H A DStackView.java134 private int mTouchSlop; field in class:StackView
188 mTouchSlop = configuration.getScaledTouchSlop();
652 if ((int) Math.abs(deltaY) > mTouchSlop && mSwipeGestureType == GESTURE_NONE) {
729 float r = (deltaY - mTouchSlop * 1.0f) / mSlideAmount * 1.0f;
735 float r = -(deltaY + mTouchSlop * 1.0f) / mSlideAmount * 1.0f;
H A DNumberPicker.java384 private int mTouchSlop; field in class:NumberPicker
695 mTouchSlop = configuration.getScaledTouchSlop();
870 if (deltaDownY > mTouchSlop) {
895 if (deltaMoveY <= mTouchSlop && deltaTime < ViewConfiguration.getTapTimeout()) {
H A DAbsListView.java588 private int mTouchSlop; field in class:AbsListView
831 mTouchSlop = configuration.getScaledTouchSlop();
3159 if (overscroll || distance > mTouchSlop) {
3166 mMotionCorrection = deltaY > 0 ? mTouchSlop : -mTouchSlop;
3211 Math.abs(rawDeltaY) > mTouchSlop) {
3566 if (!pointInView(x, y, mTouchSlop)) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DExpandHelper.java90 private int mTouchSlop; field in class:ExpandHelper
226 mTouchSlop = configuration.getScaledTouchSlop();
394 if (yDiff > mTouchSlop) {
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DSlidingChallengeLayout.java120 private int mTouchSlop; field in class:SlidingChallengeLayout
248 mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop();
249 mTouchSlopSquare = mTouchSlop * mTouchSlop;
H A DPagedView.java148 protected int mTouchSlop; field in class:PagedView
314 mTouchSlop = configuration.getScaledTouchSlop();
1145 final boolean finishedScrolling = (mScroller.isFinished() || xDist < mTouchSlop);
1258 final int touchSlop = Math.round(TOUCH_SLOP_SCALE * mTouchSlop);
/frameworks/base/services/java/com/android/server/accessibility/
H A DTouchExplorer.java114 private final int mTouchSlop; field in class:TouchExplorer
224 mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop();
517 if (moveDelta > mTouchSlop) {
1067 if (GestureUtils.isTap(mDownEvent, event, mTapTimeout, mTouchSlop,
/frameworks/ex/widget/java/com/android/ex/widget/
H A DStaggeredGridView.java117 private int mTouchSlop; field in class:StaggeredGridView
209 mTouchSlop = vc.getScaledTouchSlop();
309 if (Math.abs(dy) > mTouchSlop) {
345 if (Math.abs(dy) > mTouchSlop) {

Completed in 426 milliseconds