/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
TouchUtils.java | 50 final int touchSlop = ViewConfiguration.get(v.getContext()).getScaledTouchSlop(); 52 x + (touchSlop / 2.0f), y + (touchSlop / 2.0f), 0); 81 final int touchSlop = ViewConfiguration.get(v.getContext()).getScaledTouchSlop(); 83 x + (touchSlop / 2.0f), y + (touchSlop / 2.0f), 0); 108 final int touchSlop = ViewConfiguration.get(v.getContext()).getScaledTouchSlop(); 110 x + (touchSlop / 2.0f), y + (touchSlop / 2.0f), 0);
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowViewConfiguration.java | 65 private int touchSlop; 82 touchSlop = (int) (density * TOUCH_SLOP + 0.5f); 167 return touchSlop;
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowViewConfiguration.java | 64 private int touchSlop; 82 touchSlop = (int) (density * TOUCH_SLOP + 0.5f); 167 return touchSlop;
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
CtsTouchUtils.java | 83 final int touchSlop = ViewConfiguration.get(anchorView.getContext()).getScaledTouchSlop(); 93 injectMoveEventForTap(uiAutomation, downTime, touchSlop, xOnScreen, yOnScreen); 121 final int touchSlop = ViewConfiguration.get(anchorView.getContext()).getScaledTouchSlop(); 131 injectMoveEventForTap(uiAutomation, downTime, touchSlop, xOnScreen, yOnScreen); 134 injectMoveEventForTap(uiAutomation, downTime, touchSlop, xOnScreen, yOnScreen); 254 int touchSlop, int xOnScreen, int yOnScreen) { 256 xOnScreen + (touchSlop / 2.0f), yOnScreen + (touchSlop / 2.0f), 1); 494 final int touchSlop = ViewConfiguration.get(view.getContext()).getScaledTouchSlop(); 502 instrumentation, xOnScreen, yOnScreen, touchSlop, extraWaitMs, true) [all...] |
/development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/ |
FoldingLayoutActivity.java | 381 int touchSlop = 0; 390 touchSlop = distanceY < 0 ? -mTouchSlop : mTouchSlop; 393 touchSlop = distanceY < 0 ? mTouchSlop : -mTouchSlop; 395 mTranslation = mDidNotStartScroll ? mTranslation + touchSlop : mTranslation; 406 touchSlop = distanceX < 0 ? -mTouchSlop : mTouchSlop; 409 touchSlop = distanceX < 0 ? mTouchSlop : -mTouchSlop; 411 mTranslation = mDidNotStartScroll ? mTranslation + touchSlop : mTranslation;
|
/frameworks/base/test-runner/src/android/test/ |
TouchUtils.java | 267 final int touchSlop = ViewConfiguration.get(v.getContext()).getScaledTouchSlop(); 269 x + (touchSlop / 2.0f), y + (touchSlop / 2.0f), 0); 307 final int touchSlop = ViewConfiguration.get(v.getContext()).getScaledTouchSlop(); 309 x + (touchSlop / 2.0f), y + (touchSlop / 2.0f), 0); 343 final int touchSlop = ViewConfiguration.get(v.getContext()).getScaledTouchSlop(); 345 x + (touchSlop / 2.0f), y + (touchSlop / 2.0f), 0); 403 final int touchSlop = ViewConfiguration.get(v.getContext()).getScaledTouchSlop() [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
MessageScrollView.java | 114 final int touchSlop = ViewConfiguration.get(c).getScaledTouchSlop(); 115 mTouchSlopSquared = touchSlop * touchSlop;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
PagedViewWithDraggableItems.java | 139 final int touchSlop = mTouchSlop; 140 boolean yMoved = yDiff > touchSlop;
|
PagedView.java | 161 // It true, use a different slop parameter (pagingTouchSlop = 2 * touchSlop) for deciding [all...] |
/packages/apps/Dialer/java/com/android/dialer/app/list/ |
PhoneFavoriteListView.java | 51 private float touchSlop; 105 touchSlop = ViewConfiguration.get(context).getScaledPagingTouchSlop(); 112 touchSlop = ViewConfiguration.get(getContext()).getScaledPagingTouchSlop(); 153 (Math.abs(lastDragY - touchDownForDragStartY) >= 4 * touchSlop)) {
|
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/testutils/ |
TestUtils.java | 299 final int touchSlop = ViewConfiguration.get(anchorView.getContext()).getScaledTouchSlop(); 308 injectMoveEventForTap(instrumentation, downTime, touchSlop, xOnScreen, yOnScreen); 326 int touchSlop, int xOnScreen, int yOnScreen) { 328 xOnScreen + (touchSlop / 2.0f), yOnScreen + (touchSlop / 2.0f), 1);
|
/frameworks/base/core/java/android/view/ |
GestureDetector.java | 419 int touchSlop, doubleTapSlop, doubleTapTouchSlop; 422 touchSlop = ViewConfiguration.getTouchSlop(); 423 doubleTapTouchSlop = touchSlop; // Hack rather than adding a hiden method for this 430 touchSlop = configuration.getScaledTouchSlop(); 436 mTouchSlopSquare = touchSlop * touchSlop;
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
EmergencyButton.java | 146 int touchSlop = ViewConfiguration.get(mContext).getScaledTouchSlop(); 147 if (Math.abs(yDiff) > touchSlop || Math.abs(xDiff) > touchSlop) {
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/affordance/ |
SwipeButtonHelper.java | 50 private int touchSlop; 114 touchSlop = configuration.getScaledPagingTouchSlop(); 182 if (!touchSlopExeeded && distance > touchSlop) { 486 return translation > 0.0f ? translation + touchSlop : 0.0f; 490 if (translation <= touchSlop) { 493 return (translation - touchSlop) * BACKGROUND_RADIUS_SCALE_FACTOR + minBackgroundRadius;
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/ |
FlingUpDownTouchHandler.java | 156 private float touchSlop; 179 touchSlop = ViewConfiguration.get(context).getScaledTouchSlop(); 274 if (Math.abs(deltaY) > touchSlop) { 295 || Math.abs(pointerY - initialTouchY) > touchSlop
|
/frameworks/support/compat/src/main/java/androidx/core/view/ |
GestureDetectorCompat.java | 175 final int touchSlop = configuration.getScaledTouchSlop(); 180 mTouchSlopSquare = touchSlop * touchSlop;
|
/packages/apps/Music/src/com/android/music/ |
TouchInterceptor.java | 140 int touchSlop = mTouchSlop; 141 mUpperBound = Math.min(y - touchSlop, mHeight / 3); 142 mLowerBound = Math.max(y + touchSlop, mHeight * 2 / 3);
|
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/ |
ConsoleActivity.java | 346 int touchSlop = configuration.getScaledTouchSlop(); 347 mTouchSlopSquare = touchSlop * touchSlop; [all...] |
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
TwoWayBindingAdapterTest.java | 111 final int touchSlop = ViewConfiguration.get(view.getContext()).getScaledTouchSlop(); 113 x + (touchSlop / 2.0f), y + (touchSlop / 2.0f), 0);
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
PhotoView.java | [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
PagedView.java | [all...] |
/frameworks/base/core/java/android/widget/ |
Editor.java | [all...] |
/development/samples/ControllerSample/libs/ |
android-support-v4.jar | |
/development/samples/training/ContactsList/libs/ |
android-support-v4.jar | |
/development/samples/training/EffectiveNavigation/libs/ |
android-support-v4.jar | |