/frameworks/base/apct-tests/perftests/core/src/android/view/ |
D | ViewConfigurationPerfTest.java | 44 ViewConfiguration.resetCacheForTesting(); in testGet_newViewConfiguration() 47 ViewConfiguration.get(mContext); in testGet_newViewConfiguration() 55 ViewConfiguration.get(mContext); in testGet_cachedViewConfiguration() 58 ViewConfiguration.get(mContext); in testGet_cachedViewConfiguration()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/common/ui/view/ |
D | LongPressHandlingViewInteractionHandlerTest.kt | 20 import android.view.ViewConfiguration in <lambda>() 70 longPressDuration = { ViewConfiguration.getLongPressTimeout().toLong() } in <lambda>() 85 distanceMoved = ViewConfiguration.getTouchSlop() - 0.1f, in <lambda>() 132 distanceMoved = ViewConfiguration.getTouchSlop() + 0.1f, in <lambda>() 149 distanceMoved = ViewConfiguration.getTouchSlop().toFloat(), in <lambda>() 150 gestureDuration = ViewConfiguration.getLongPressTimeout() - 1L, in <lambda>()
|
/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/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/ |
D | QSTileView.java | 19 import android.view.ViewConfiguration; 81 return ViewConfiguration.getLongPressTimeout() - ViewConfiguration.getTapTimeout(); in getLongPressEffectDuration()
|
/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/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/ |
D | KeyguardQuickAffordanceOnTouchListener.kt | 23 import android.view.ViewConfiguration 42 private val longPressDurationMs = ViewConfiguration.getLongPressTimeout().toLong() 78 ) > ViewConfiguration.getTouchSlop() in onTouch() 93 ViewConfiguration.getTouchSlop() && in onTouch()
|
/frameworks/base/core/java/android/view/ |
D | GestureDetector.java | 253 private static final int LONGPRESS_TIMEOUT = ViewConfiguration.getLongPressTimeout(); 254 private static final int TAP_TIMEOUT = ViewConfiguration.getTapTimeout(); 255 private static final int DOUBLE_TAP_TIMEOUT = ViewConfiguration.getDoubleTapTimeout(); 256 private static final int DOUBLE_TAP_MIN_TIME = ViewConfiguration.getDoubleTapMinTime(); 498 touchSlop = ViewConfiguration.getTouchSlop(); in init() 500 doubleTapSlop = ViewConfiguration.getDoubleTapSlop(); in init() 502 mMinimumFlingVelocity = ViewConfiguration.getMinimumFlingVelocity(); in init() 503 mMaximumFlingVelocity = ViewConfiguration.getMaximumFlingVelocity(); in init() 504 mAmbiguousGestureMultiplier = ViewConfiguration.getAmbiguousGestureMultiplier(); in init() 507 final ViewConfiguration configuration = ViewConfiguration.get(context); in init() [all …]
|
D | HapticScrollFeedbackProvider.java | 43 private final ViewConfiguration mViewConfig; 68 this(view, ViewConfiguration.get(view.getContext()), in HapticScrollFeedbackProvider() 75 View view, ViewConfiguration viewConfig, boolean disabledIfViewPlaysScrollHaptics) { in HapticScrollFeedbackProvider()
|
D | ViewConfiguration.java | 47 public class ViewConfiguration { class 394 static final SparseArray<ViewConfiguration> sConfigurations = 395 new SparseArray<ViewConfiguration>(2); 401 public ViewConfiguration() { in ViewConfiguration() method in ViewConfiguration 454 private ViewConfiguration(@NonNull @UiContext Context context) { in ViewConfiguration() method in ViewConfiguration 603 public static ViewConfiguration get(@NonNull @UiContext Context context) { in get() 608 ViewConfiguration configuration = sConfigurations.get(density); in get() 610 configuration = new ViewConfiguration(context); in get() 635 public static void setInstanceForTesting(Context context, ViewConfiguration instance) { in setInstanceForTesting()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/common/ui/view/ |
D | LongPressHandlingViewInteractionHandler.kt | 20 import android.view.ViewConfiguration 73 if (event.distanceMoved > ViewConfiguration.getTouchSlop()) { in onTouchEvent() 81 event.distanceMoved <= ViewConfiguration.getTouchSlop() && in onTouchEvent()
|
/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 | 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()
|
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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | FalsingModule.java | 20 import android.view.ViewConfiguration; 93 static float providesSingleTapTouchSlop(ViewConfiguration viewConfiguration) { in providesSingleTapTouchSlop() 100 static float providesLongTapTouchSlop(ViewConfiguration viewConfiguration) { in providesLongTapTouchSlop()
|
/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/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/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()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | RotaryScrollHapticsTest.java | 56 @Mock ViewConfiguration mMockViewConfig; 63 mMockViewConfig = mock(ViewConfiguration.class); in setUp() 70 ViewConfiguration.setInstanceForTesting(context, mMockViewConfig); in setUp() 78 ViewConfiguration.resetCacheForTesting(); in tearDown()
|