Home
last modified time | relevance | path

Searched refs:mTouchSlop (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonView.java53 int mTouchSlop; field in KeyButtonView
99 mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop(); in KeyButtonView()
226 setPressed(x >= -mTouchSlop in onTouchEvent()
227 && x < getWidth() + mTouchSlop in onTouchEvent()
228 && y >= -mTouchSlop in onTouchEvent()
229 && y < getHeight() + mTouchSlop); in onTouchEvent()
/frameworks/base/core/java/android/view/
DViewConfiguration.java215 private final int mTouchSlop; field in ViewConfiguration
241 mTouchSlop = TOUCH_SLOP; in ViewConfiguration()
280 mTouchSlop = (int) (sizeAndDensity * TOUCH_SLOP + 0.5f); in ViewConfiguration()
487 return mTouchSlop; in getScaledTouchSlop()
DView.java2474 private int mTouchSlop; field in View
2693 mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop(); in View()
6488 if (!pointInView(x, y, mTouchSlop)) {
/frameworks/base/core/java/android/widget/
DSwitch.java73 private int mTouchSlop; field in Switch
160 mTouchSlop = config.getScaledTouchSlop(); in Switch()
395 final int thumbTop = mSwitchTop - mTouchSlop; in hitThumb()
396 final int thumbLeft = mSwitchLeft + (int) (mThumbPosition + 0.5f) - mTouchSlop; in hitThumb()
398 mTempRect.left + mTempRect.right + mTouchSlop; in hitThumb()
399 final int thumbBottom = mSwitchBottom + mTouchSlop; in hitThumb()
428 if (Math.abs(x - mTouchX) > mTouchSlop || in onTouchEvent()
429 Math.abs(y - mTouchY) > mTouchSlop) { in onTouchEvent()
DNumberPicker.java362 private int mTouchSlop; field in NumberPicker
597 mTouchSlop = ViewConfiguration.getTapTimeout(); in NumberPicker()
599 mTouchSlop = configuration.getScaledTouchSlop(); in NumberPicker()
717 if (deltaDownY > mTouchSlop) { in onInterceptTouchEvent()
745 if (deltaDownY > mTouchSlop) { in onTouchEvent()
DStackView.java131 private int mTouchSlop; field in StackView
185 mTouchSlop = configuration.getScaledTouchSlop(); in initStackView()
649 if ((int) Math.abs(deltaY) > mTouchSlop && mSwipeGestureType == GESTURE_NONE) { in beginGestureIfNeeded()
726 float r = (deltaY - mTouchSlop * 1.0f) / mSlideAmount * 1.0f;
732 float r = -(deltaY + mTouchSlop * 1.0f) / mSlideAmount * 1.0f;
DScrollView.java115 private int mTouchSlop; field in ScrollView
213 mTouchSlop = configuration.getScaledTouchSlop(); in initScrollView()
477 if (yDiff > mTouchSlop) { in onInterceptTouchEvent()
DHorizontalScrollView.java119 private int mTouchSlop; field in HorizontalScrollView
203 mTouchSlop = configuration.getScaledTouchSlop(); in initScrollView()
465 if (xDiff > mTouchSlop) { in onInterceptTouchEvent()
DAbsListView.java561 private int mTouchSlop; field in AbsListView
786 mTouchSlop = configuration.getScaledTouchSlop(); in initAbsListView()
2769 if (overscroll || distance > mTouchSlop) { in startScrollIfNeeded()
2776 mMotionCorrection = deltaY > 0 ? mTouchSlop : -mTouchSlop; in startScrollIfNeeded()
2827 Math.abs(rawDeltaY) > mTouchSlop) { in scrollIfNeeded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
DTabletStatusBar.java1377 int mTouchSlop; field in TabletStatusBar.NotificationTriggerTouchListener
1380 mTouchSlop = ViewConfiguration.get(getContext()).getScaledTouchSlop(); in NotificationTriggerTouchListener()
1437 && Math.abs(event.getX() - mInitialTouchX) < mTouchSlop in onTouch()
1438 && Math.abs(event.getY() - mInitialTouchY) < (mTouchSlop / 3) in onTouch()
1470 int mTouchSlop; field in TabletStatusBar.NotificationIconTouchListener
1473 mTouchSlop = ViewConfiguration.get(getContext()).getScaledTouchSlop(); in NotificationIconTouchListener()
1538 && Math.abs(event.getX() - mInitialTouchX) < mTouchSlop in onTouch()
1539 && Math.abs(event.getY() - mInitialTouchY) < (mTouchSlop / 3) in onTouch()
/frameworks/support/v4/java/android/support/v4/view/
DViewPager.java113 private int mTouchSlop; field in ViewPager
244 mTouchSlop = ViewConfigurationCompat.getScaledPagingTouchSlop(configuration); in initViewPager()
1055 if (xDiff > mTouchSlop && xDiff > yDiff) {
1062 if (yDiff > mTouchSlop) {
1161 if (xDiff > mTouchSlop && xDiff > yDiff) {