/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/ |
D | MultiTap.java | 22 import android.view.ViewConfiguration; 48 mDoubleTapSlop = ViewConfiguration.get(context).getScaledDoubleTapSlop(); in MultiTap() 49 mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop(); in MultiTap() 50 mTapTimeout = ViewConfiguration.getTapTimeout(); in MultiTap() 51 mDoubleTapTimeout = ViewConfiguration.getDoubleTapTimeout(); in MultiTap()
|
D | SecondFingerMultiTap.java | 26 import android.view.ViewConfiguration; 48 mDoubleTapSlop = ViewConfiguration.get(context).getScaledDoubleTapSlop(); in SecondFingerMultiTap() 49 mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop(); in SecondFingerMultiTap() 50 mTapTimeout = ViewConfiguration.getTapTimeout(); in SecondFingerMultiTap() 51 mDoubleTapTimeout = ViewConfiguration.getDoubleTapTimeout(); in SecondFingerMultiTap()
|
D | GestureMatcher.java | 26 import android.view.ViewConfiguration; 218 cancelAfter(ViewConfiguration.getTapTimeout(), event, rawEvent, policyFlags); in cancelAfterTapTimeout() 224 cancelAfter(ViewConfiguration.getDoubleTapTimeout(), event, rawEvent, policyFlags); in cancelAfterDoubleTapTimeout() 249 completeAfter(ViewConfiguration.getLongPressTimeout(), event, rawEvent, policyFlags); in completeAfterLongPressTimeout() 259 completeAfter(ViewConfiguration.getTapTimeout(), event, rawEvent, policyFlags); in completeAfterTapTimeout() 280 completeAfter(ViewConfiguration.getDoubleTapTimeout(), event, rawEvent, policyFlags); in completeAfterDoubleTapTimeout()
|
/frameworks/base/core/java/android/view/ |
D | GestureDetector.java | 245 private static final int LONGPRESS_TIMEOUT = ViewConfiguration.getLongPressTimeout(); 246 private static final int TAP_TIMEOUT = ViewConfiguration.getTapTimeout(); 247 private static final int DOUBLE_TAP_TIMEOUT = ViewConfiguration.getDoubleTapTimeout(); 248 private static final int DOUBLE_TAP_MIN_TIME = ViewConfiguration.getDoubleTapMinTime(); 460 touchSlop = ViewConfiguration.getTouchSlop(); in init() 462 doubleTapSlop = ViewConfiguration.getDoubleTapSlop(); in init() 464 mMinimumFlingVelocity = ViewConfiguration.getMinimumFlingVelocity(); in init() 465 mMaximumFlingVelocity = ViewConfiguration.getMaximumFlingVelocity(); in init() 466 mAmbiguousGestureMultiplier = ViewConfiguration.getAmbiguousGestureMultiplier(); in init() 469 final ViewConfiguration configuration = ViewConfiguration.get(context); in init() [all …]
|
D | ViewConfiguration.java | 41 public class ViewConfiguration { class 356 static final SparseArray<ViewConfiguration> sConfigurations = 357 new SparseArray<ViewConfiguration>(2); 363 public ViewConfiguration() { in ViewConfiguration() method in ViewConfiguration 408 private ViewConfiguration(@UiContext Context context) { in ViewConfiguration() method in ViewConfiguration 521 public static ViewConfiguration get(@UiContext Context context) { in get() 527 ViewConfiguration configuration = sConfigurations.get(density); in get() 529 configuration = new ViewConfiguration(context); in get()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/ |
D | ListTouchManyTest.java | 23 import android.view.ViewConfiguration; 116 Thread.sleep((long)(ViewConfiguration.getLongPressTimeout() * 1.25f)); in testPress() 154 0, -(ViewConfiguration.getTouchSlop())); in testNoScroll() 171 0, -(ViewConfiguration.getTouchSlop() + 1 + 10)); in testShortScroll() 190 lastTop - (distance - ViewConfiguration.getTouchSlop() - 1), lastChild.getTop()); in testLongScroll()
|
D | ListOfTouchablesTest.java | 23 import android.view.ViewConfiguration; 63 0, -(ViewConfiguration.getTouchSlop() + 1 + 10)); in testShortScroll() 82 lastTop - (distance - ViewConfiguration.getTouchSlop() - 1), lastChild.getTop()); in testLongScroll()
|
D | ListTouchBottomGravityManyTest.java | 23 import android.view.ViewConfiguration; 106 0, ViewConfiguration.getTouchSlop()); in testNoScroll() 128 0, ViewConfiguration.getTouchSlop() + 1 + 10); in testShortScroll() 152 + (distance - ViewConfiguration.getTouchSlop() - 1), firstChild.getTop()); in testLongScroll()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/gesture/ |
D | ConsecutiveTapsGestureDetector.java | 22 import android.view.ViewConfiguration; 52 int doubleTapSlop = ViewConfiguration.get(this.view.getContext()).getScaledDoubleTapSlop(); in ConsecutiveTapsGestureDetector() 54 consecutiveTapTimeout = ViewConfiguration.getDoubleTapTimeout(); in ConsecutiveTapsGestureDetector()
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/ |
D | GridTouchVerticalSpacingTest.java | 23 import android.view.ViewConfiguration; 62 0, -(ViewConfiguration.getTouchSlop())); in testNoScroll() 79 0, -(ViewConfiguration.getTouchSlop() + 1 + 10)); in testShortScroll() 98 lastTop - (distance - ViewConfiguration.getTouchSlop() - 1), lastChild.getTop()); in testLongScroll()
|
D | GridTouchVerticalSpacingStackFromBottomTest.java | 24 import android.view.ViewConfiguration; 35 private ViewConfiguration mViewConfig; 48 mViewConfig = ViewConfiguration.get(context); in setUp() 69 ViewConfiguration.getTouchSlop()); in testNoScroll()
|
/frameworks/base/core/java/android/widget/ |
D | EditorTouchState.java | 26 import android.view.ViewConfiguration; 131 public void update(MotionEvent event, ViewConfiguration config) { in update() 145 if (millisSinceLastUp <= ViewConfiguration.getDoubleTapTimeout() in update() 146 && millisBetweenLastDownAndLastUp <= ViewConfiguration.getDoubleTapTimeout() in update()
|
D | ForwardingListener.java | 22 import android.view.ViewConfiguration; 64 mScaledTouchSlop = ViewConfiguration.get(src.getContext()).getScaledTouchSlop(); in ForwardingListener() 65 mTapTimeout = ViewConfiguration.getTapTimeout(); in ForwardingListener() 68 mLongPressTimeout = (mTapTimeout + ViewConfiguration.getLongPressTimeout()) / 2; in ForwardingListener()
|
/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/core/ |
D | InstrumentationUiAutomatorBridge.java | 24 import android.view.ViewConfiguration; 58 return ViewConfiguration.getLongPressTimeout(); in getSystemLongPressTime()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
D | RelativeTouchListener.kt | 25 import android.view.ViewConfiguration 111 touchSlop = ViewConfiguration.get(v.context).scaledTouchSlop in onDown() 121 }, ViewConfiguration.getLongPressTimeout().toLong()) in onDown()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
D | TwoFingersDownOrSwipe.java | 24 import android.view.ViewConfiguration; 46 mDoubleTapTimeout = ViewConfiguration.getDoubleTapTimeout(); in TwoFingersDownOrSwipe() 47 mSwipeMinDistance = ViewConfiguration.get(context).getScaledTouchSlop(); in TwoFingersDownOrSwipe()
|
D | MagnificationGestureMatcher.java | 21 import android.view.ViewConfiguration; 81 return ViewConfiguration.getDoubleTapTimeout() + context.getResources().getInteger( in getMagnificationMultiTapTimeout()
|
D | MotionEventDispatcherDelegate.java | 25 import android.view.ViewConfiguration; 50 mMultiTapMaxDelay = ViewConfiguration.getDoubleTapTimeout() in MotionEventDispatcherDelegate()
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/gesture/ |
D | ConsecutiveTapsGestureDetectorTest.java | 25 import android.view.ViewConfiguration; 54 slop = ViewConfiguration.get(application).getScaledDoubleTapSlop(); in setUp() 55 tapTimeout = ViewConfiguration.getDoubleTapTimeout(); in setUp()
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
D | ViewClickAction.java | 20 import android.view.ViewConfiguration; 53 long doubleTapTimeout = ViewConfiguration.getDoubleTapTimeout(); in perform()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
D | MagnificationGestureDetector.java | 26 import android.view.ViewConfiguration; 98 final int touchSlop = ViewConfiguration.get(context).getScaledTouchSlop(); in MagnificationGestureDetector() 120 event.getDownTime() + ViewConfiguration.getLongPressTimeout()); in onTouch()
|
/frameworks/base/core/java/android/service/autofill/ |
D | InlineSuggestionRoot.java | 26 import android.view.ViewConfiguration; 50 mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop(); in InlineSuggestionRoot()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | BigCacheTest.java | 56 final int max = ViewConfiguration.get(getActivity()).getScaledMaximumDrawingCacheSize(); in testDrawingCacheBelowMaximumSize() 64 final int max = ViewConfiguration.get(getActivity()).getScaledMaximumDrawingCacheSize();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | FalsingModule.java | 20 import android.view.ViewConfiguration; 81 static float providesSingleTapTouchSlop(ViewConfiguration viewConfiguration) { in providesSingleTapTouchSlop()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | NonInterceptingScrollView.java | 21 import android.view.ViewConfiguration; 36 mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop(); in NonInterceptingScrollView()
|