Home
last modified time | relevance | path

Searched refs:ViewConfiguration (Results 1 – 25 of 146) sorted by relevance

123456

/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/
DMultiTap.java22 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()
DSecondFingerMultiTap.java26 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()
DGestureMatcher.java26 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/
DGestureDetector.java245 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 …]
DViewConfiguration.java41 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/
DListTouchManyTest.java23 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()
DListOfTouchablesTest.java23 import android.view.ViewConfiguration;
63 0, -(ViewConfiguration.getTouchSlop() + 1 + 10)); in testShortScroll()
82 lastTop - (distance - ViewConfiguration.getTouchSlop() - 1), lastChild.getTop()); in testLongScroll()
DListTouchBottomGravityManyTest.java23 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/
DConsecutiveTapsGestureDetector.java22 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/
DGridTouchVerticalSpacingTest.java23 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()
DGridTouchVerticalSpacingStackFromBottomTest.java24 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/
DEditorTouchState.java26 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()
DForwardingListener.java22 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/
DInstrumentationUiAutomatorBridge.java24 import android.view.ViewConfiguration;
58 return ViewConfiguration.getLongPressTimeout(); in getSystemLongPressTime()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DRelativeTouchListener.kt25 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/
DTwoFingersDownOrSwipe.java24 import android.view.ViewConfiguration;
46 mDoubleTapTimeout = ViewConfiguration.getDoubleTapTimeout(); in TwoFingersDownOrSwipe()
47 mSwipeMinDistance = ViewConfiguration.get(context).getScaledTouchSlop(); in TwoFingersDownOrSwipe()
DMagnificationGestureMatcher.java21 import android.view.ViewConfiguration;
81 return ViewConfiguration.getDoubleTapTimeout() + context.getResources().getInteger( in getMagnificationMultiTapTimeout()
DMotionEventDispatcherDelegate.java25 import android.view.ViewConfiguration;
50 mMultiTapMaxDelay = ViewConfiguration.getDoubleTapTimeout() in MotionEventDispatcherDelegate()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/gesture/
DConsecutiveTapsGestureDetectorTest.java25 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/
DViewClickAction.java20 import android.view.ViewConfiguration;
53 long doubleTapTimeout = ViewConfiguration.getDoubleTapTimeout(); in perform()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DMagnificationGestureDetector.java26 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/
DInlineSuggestionRoot.java26 import android.view.ViewConfiguration;
50 mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop(); in InlineSuggestionRoot()
/frameworks/base/core/tests/coretests/src/android/view/
DBigCacheTest.java56 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/
DFalsingModule.java20 import android.view.ViewConfiguration;
81 static float providesSingleTapTouchSlop(ViewConfiguration viewConfiguration) { in providesSingleTapTouchSlop()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DNonInterceptingScrollView.java21 import android.view.ViewConfiguration;
36 mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop(); in NonInterceptingScrollView()

123456