/packages/apps/Launcher3/tests/src/com/android/launcher3/touch/ |
H A D | SwipeDetectorTest.java | 49 private int mTouchSlop; field in class:SwipeDetectorTest 64 mDetector = new SwipeDetector(mTouchSlop, mMockListener, SwipeDetector.VERTICAL); 66 mTouchSlop = ViewConfiguration.get(InstrumentationRegistry.getTargetContext()) 68 L("mTouchSlop=", mTouchSlop); 74 mGenerator.move(0, 100, 100 + mTouchSlop); 82 mGenerator.move(0, 100 + mTouchSlop, 100); 89 mDetector = new SwipeDetector(mTouchSlop, mMockListener, SwipeDetector.HORIZONTAL); 93 mGenerator.move(0, 100 + mTouchSlop, 100); 101 mGenerator.move(0, 100, 100 + mTouchSlop); [all...] |
/packages/apps/Dialer/java/com/android/dialer/app/list/ |
H A D | PhoneFavoriteListView.java | 51 private float mTouchSlop; field in class:PhoneFavoriteListView 105 mTouchSlop = ViewConfiguration.get(context).getScaledPagingTouchSlop(); 112 mTouchSlop = ViewConfiguration.get(getContext()).getScaledPagingTouchSlop(); 153 (Math.abs(mLastDragY - mTouchDownForDragStartY) >= 4 * mTouchSlop)) {
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/ |
H A D | ConversationListSwipeHelper.java | 55 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 D | TouchInterceptor.java | 71 private final int mTouchSlop; field in class:TouchInterceptor 81 mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop(); 140 int touchSlop = mTouchSlop;
|
H A D | MediaPlaybackActivity.java | 86 private int mTouchSlop; field in class:MediaPlaybackActivity 150 mTouchSlop = ViewConfiguration.get(this).getScaledTouchSlop(); 208 if (Math.abs(delta) > mTouchSlop) {
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
H A D | PhotoTouchListener.java | 33 private final int mTouchSlop; field in class:PhotoTouchListener 58 mTouchSlop = configuration.getScaledTouchSlop(); 211 if (distance < mTouchSlop) { 221 distance < mTouchSlop) {
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
H A D | ConversationFastScroller.java | 93 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 D | MediaPickerPanel.java | 369 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/Launcher3/src/com/android/launcher3/touch/ |
H A D | SwipeDetector.java | 108 // IDLE -> (mDisplacement > mTouchSlop) -> DRAGGING 156 private final float mTouchSlop; field in class:SwipeDetector 184 mTouchSlop = touchSlope; 196 if (Math.max(mDir.getActiveTouchSlop(ev, pointerIndex, mDownPos), mTouchSlop) 284 mSubtractDisplacement = mTouchSlop; 286 mSubtractDisplacement = -mTouchSlop;
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
H A D | GalleryThumbnailView.java | 71 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 D | ConversationContainer.java | 115 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 D | MultiShrinkScroller.java | 154 private final int mTouchSlop; field in class:MultiShrinkScroller 256 mTouchSlop = configuration.getScaledTouchSlop(); 1274 return deltaY > mTouchSlop || deltaY < -mTouchSlop;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | PagedView.java | 120 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/PackageInstaller/src/android/support/wearable/view/ |
H A D | WearableListView.java | 107 private final int mTouchSlop; field in class:WearableListView 209 mTouchSlop = vc.getScaledTouchSlop(); 324 if (distance > (mTouchSlop * mTouchSlop)) { 351 if (Math.abs(mTapPositionX - (int) event.getX()) >= mTouchSlop || 352 Math.abs(mTapPositionY - (int) event.getY()) >= mTouchSlop) {
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | PagedView.java | 137 protected int mTouchSlop; field in class:PagedView 225 mTouchSlop = configuration.getScaledPagingTouchSlop(); 1188 final boolean finishedScrolling = (mScroller.isFinished() || xDist < mTouchSlop / 3); 1245 final int touchSlop = Math.round(touchSlopScale * mTouchSlop);
|