Searched refs:mTouchSlop (Results 1 – 11 of 11) sorted by relevance
53 int mTouchSlop; field in KeyButtonView99 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()
215 private final int mTouchSlop; field in ViewConfiguration241 mTouchSlop = TOUCH_SLOP; in ViewConfiguration()280 mTouchSlop = (int) (sizeAndDensity * TOUCH_SLOP + 0.5f); in ViewConfiguration()487 return mTouchSlop; in getScaledTouchSlop()
2474 private int mTouchSlop; field in View2693 mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop(); in View()6488 if (!pointInView(x, y, mTouchSlop)) {
73 private int mTouchSlop; field in Switch160 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()
362 private int mTouchSlop; field in NumberPicker597 mTouchSlop = ViewConfiguration.getTapTimeout(); in NumberPicker()599 mTouchSlop = configuration.getScaledTouchSlop(); in NumberPicker()717 if (deltaDownY > mTouchSlop) { in onInterceptTouchEvent()745 if (deltaDownY > mTouchSlop) { in onTouchEvent()
131 private int mTouchSlop; field in StackView185 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;
115 private int mTouchSlop; field in ScrollView213 mTouchSlop = configuration.getScaledTouchSlop(); in initScrollView()477 if (yDiff > mTouchSlop) { in onInterceptTouchEvent()
119 private int mTouchSlop; field in HorizontalScrollView203 mTouchSlop = configuration.getScaledTouchSlop(); in initScrollView()465 if (xDiff > mTouchSlop) { in onInterceptTouchEvent()
561 private int mTouchSlop; field in AbsListView786 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()
1377 int mTouchSlop; field in TabletStatusBar.NotificationTriggerTouchListener1380 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.NotificationIconTouchListener1473 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()
113 private int mTouchSlop; field in ViewPager244 mTouchSlop = ViewConfigurationCompat.getScaledPagingTouchSlop(configuration); in initViewPager()1055 if (xDiff > mTouchSlop && xDiff > yDiff) {1062 if (yDiff > mTouchSlop) {1161 if (xDiff > mTouchSlop && xDiff > yDiff) {