Searched defs:mTouchSlop (Results 1 - 17 of 17) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/
H A DVerticalViewPager.java33 private float mTouchSlop; field in class:VerticalViewPager
67 mTouchSlop = ViewConfigurationCompat.getScaledPagingTouchSlop(configuration);
96 if (xDiff > mTouchSlop && xDiff > yDiff) { // Swiping left and right
98 } else if (yDiff > mTouchSlop && yDiff > xDiff) { //Swiping up and down
/packages/apps/Dialer/src/com/android/dialer/list/
H A DPhoneFavoriteListView.java47 private float mTouchSlop; field in class:PhoneFavoriteListView
122 mTouchSlop = ViewConfiguration.get(context).getScaledPagingTouchSlop();
129 mTouchSlop = ViewConfiguration.get(getContext()).getScaledPagingTouchSlop();
169 (Math.abs(mLastDragY - mTouchDownForDragStartY) >= 4 * mTouchSlop)) {
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
H A DConversationListSwipeHelper.java55 private final int mTouchSlop; field in class:ConversationListSwipeHelper
76 mTouchSlop = viewConfiguration.getScaledPagingTouchSlop();
137 if (!mIsSwiping && absDeltaY > mTouchSlop
144 if (absDeltaX > mTouchSlop) {
/packages/apps/Music/src/com/android/music/
H A DTouchInterceptor.java72 private final int mTouchSlop; field in class:TouchInterceptor
82 mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop();
140 int touchSlop = mTouchSlop;
H A DMediaPlaybackActivity.java88 private int mTouchSlop; field in class:MediaPlaybackActivity
155 mTouchSlop = ViewConfiguration.get(this).getScaledTouchSlop();
214 if (Math.abs(delta) > mTouchSlop) {
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
H A DPhotoTouchListener.java33 private final int mTouchSlop; field in class:PhotoTouchListener
58 mTouchSlop = configuration.getScaledTouchSlop();
211 if (distance < mTouchSlop) {
221 distance < mTouchSlop) {
/packages/apps/Camera/src/com/android/camera/ui/
H A DSwitch.java70 private int mTouchSlop; field in class:Switch
136 mTouchSlop = config.getScaledTouchSlop();
214 final int thumbTop = mSwitchTop - mTouchSlop;
215 final int thumbLeft = mSwitchLeft + (int) (mThumbPosition + 0.5f) - mTouchSlop;
217 mTempRect.left + mTempRect.right + mTouchSlop;
218 final int thumbBottom = mSwitchBottom + mTouchSlop;
247 if (Math.abs(x - mTouchX) > mTouchSlop ||
248 Math.abs(y - mTouchY) > mTouchSlop) {
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
H A DConversationFastScroller.java93 private final int mTouchSlop; field in class:ConversationFastScroller
145 mTouchSlop = res.getDimensionPixelOffset(R.dimen.fastscroll_touch_slop);
359 final int hitTargetLeft = mThumbImageView.getLeft() - mTouchSlop;
360 final int hitTargetRight = mThumbImageView.getRight() + mTouchSlop;
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
H A DMediaPickerPanel.java369 private final int mTouchSlop; field in class:MediaPickerPanel.TouchHandler
403 mTouchSlop = configuration.getScaledTouchSlop();
538 if (Math.abs(dy) > mTouchSlop &&
542 if (dy < -mTouchSlop) {
/packages/apps/Browser/src/com/android/browser/view/
H A DScrollerView.java117 private int mTouchSlop; field in class:ScrollerView
182 mTouchSlop = configuration.getScaledTouchSlop();
535 if (yDiff > mTouchSlop) {
547 if (Math.abs(ocoord - mLastOrthoCoord) > mTouchSlop) {
/packages/apps/Gallery2/src/com/android/photos/views/
H A DGalleryThumbnailView.java71 private int mTouchSlop; field in class:GalleryThumbnailView
106 mTouchSlop = vc.getScaledTouchSlop();
310 if (Math.abs(dx) > mTouchSlop) {
346 if (Math.abs(dx) > mTouchSlop) {
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DConversationContainer.java115 private final int mTouchSlop; field in class:ConversationContainer
241 mTouchSlop = ViewConfiguration.get(c).getScaledTouchSlop();
405 if (yDiff > mTouchSlop) {
/packages/apps/Contacts/src/com/android/contacts/widget/
H A DMultiShrinkScroller.java147 private final int mTouchSlop; field in class:MultiShrinkScroller
249 mTouchSlop = configuration.getScaledTouchSlop();
1208 return deltaY > mTouchSlop || deltaY < -mTouchSlop;
/packages/apps/FMRadio/src/com/android/fmradio/views/
H A DFmScroller.java114 private final int mTouchSlop; field in class:FmScroller
179 mTouchSlop = configuration.getScaledTouchSlop();
664 final boolean draggedX = (deltaX > mTouchSlop || deltaX < -mTouchSlop);
665 final boolean draggedY = (deltaY > mTouchSlop || deltaY < -mTouchSlop);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DPagedView.java120 protected int mTouchSlop; field in class:PagedView
241 mTouchSlop = configuration.getScaledTouchSlop();
1042 final boolean finishedScrolling = (mScroller.isFinished() || xDist < mTouchSlop);
1107 final int touchSlop = Math.round(touchSlopScale * mTouchSlop);
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
H A DStaggeredGridView.java193 private final int mTouchSlop; field in class:StaggeredGridView
399 mTouchSlop = vc.getScaledTouchSlop();
612 mUpperScrollBound = Math.min(y - mTouchSlop, mHeight / 5);
613 mLowerScrollBound = Math.max(y + mTouchSlop, mHeight * 4 / 5);
934 if (Math.abs(dy) > mTouchSlop) {
972 if (Math.abs(dy) > mTouchSlop) {
1092 ((Math.abs(x - mTouchDownForDragStartX) >= 4 * mTouchSlop) ||
1093 (Math.abs(y - mTouchDownForDragStartY) >= 4 * mTouchSlop))) {
/packages/apps/Launcher3/src/com/android/launcher3/
H A DPagedView.java143 protected int mTouchSlop; field in class:PagedView
249 mTouchSlop = configuration.getScaledPagingTouchSlop();
1387 final boolean finishedScrolling = (mScroller.isFinished() || xDist < mTouchSlop / 3);
1444 final int touchSlop = Math.round(touchSlopScale * mTouchSlop);

Completed in 297 milliseconds