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

/frameworks/base/core/java/android/view/
H A DViewConfiguration.java213 private final int mTouchSlop; field in class:ViewConfiguration
239 mTouchSlop = TOUCH_SLOP;
303 mTouchSlop = res.getDimensionPixelSize(
305 mPagingTouchSlop = mTouchSlop * 2;
307 mDoubleTapTouchSlop = mTouchSlop;
491 return mTouchSlop;
H A DView.java3081 private int mTouchSlop; field in class:View
3234 mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop();
8264 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
100 mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop();
233 setPressed(x >= -mTouchSlop
234 && x < getWidth() + mTouchSlop
235 && y >= -mTouchSlop
236 && y < getHeight() + 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.java160 private int mTouchSlop; field in class:ViewPager
353 mTouchSlop = ViewConfigurationCompat.getScaledPagingTouchSlop(configuration);
1783 if (xDiff > mTouchSlop && xDiff > yDiff) {
1787 mLastMotionX = dx > 0 ? mInitialMotionX + mTouchSlop :
1788 mInitialMotionX - mTouchSlop;
1791 if (yDiff > mTouchSlop) {
1905 if (xDiff > mTouchSlop && xDiff > yDiff) {
1908 mLastMotionX = x - mInitialMotionX > 0 ? mInitialMotionX + mTouchSlop :
1909 mInitialMotionX - 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/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.java117 private int mTouchSlop; field in class:HorizontalScrollView
201 mTouchSlop = configuration.getScaledTouchSlop();
469 if (xDiff > mTouchSlop) {
575 if (!mIsBeingDragged && Math.abs(deltaX) > mTouchSlop) {
582 deltaX -= mTouchSlop;
584 deltaX += mTouchSlop;
H A DScrollView.java124 private int mTouchSlop; field in class:ScrollView
222 mTouchSlop = configuration.getScaledTouchSlop();
499 if (yDiff > mTouchSlop) {
611 if (!mIsBeingDragged && Math.abs(deltaY) > mTouchSlop) {
618 deltaY -= mTouchSlop;
620 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
690 mTouchSlop = configuration.getScaledTouchSlop();
865 if (deltaDownY > mTouchSlop) {
890 if (deltaMoveY <= mTouchSlop && deltaTime < ViewConfiguration.getTapTimeout()) {
H A DAbsListView.java574 private int mTouchSlop; field in class:AbsListView
818 mTouchSlop = configuration.getScaledTouchSlop();
3004 if (overscroll || distance > mTouchSlop) {
3011 mMotionCorrection = deltaY > 0 ? mTouchSlop : -mTouchSlop;
3062 Math.abs(rawDeltaY) > mTouchSlop) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DExpandHelper.java90 private int mTouchSlop; field in class:ExpandHelper
227 mTouchSlop = configuration.getScaledTouchSlop();
395 if (yDiff > mTouchSlop) {
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DSlidingChallengeLayout.java120 private int mTouchSlop; field in class:SlidingChallengeLayout
247 mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop();
248 mTouchSlopSquare = mTouchSlop * mTouchSlop;
H A DPagedView.java141 protected int mTouchSlop; field in class:PagedView
298 mTouchSlop = configuration.getScaledTouchSlop();
1106 final boolean finishedScrolling = (mScroller.isFinished() || xDist < mTouchSlop);
1181 final int touchSlop = Math.round(touchSlopScale * mTouchSlop);
/frameworks/base/services/java/com/android/server/accessibility/
H A DTouchExplorer.java118 private final int mTouchSlop; field in class:TouchExplorer
228 mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop();
534 if (moveDelta > mTouchSlop) {
1179 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) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
H A DTabletStatusBar.java1249 int mTouchSlop; field in class:TabletStatusBar.NotificationTriggerTouchListener
1252 mTouchSlop = ViewConfiguration.get(getContext()).getScaledTouchSlop();
1309 && Math.abs(event.getX() - mInitialTouchX) < mTouchSlop
1310 && Math.abs(event.getY() - mInitialTouchY) < (mTouchSlop / 3)

Completed in 1163 milliseconds