/frameworks/base/core/java/android/view/ |
D | GestureDetector.java | 239 private static final int LONGPRESS_TIMEOUT = ViewConfiguration.getLongPressTimeout(); 240 private static final int TAP_TIMEOUT = ViewConfiguration.getTapTimeout(); 241 private static final int DOUBLE_TAP_TIMEOUT = ViewConfiguration.getDoubleTapTimeout(); 242 private static final int DOUBLE_TAP_MIN_TIME = ViewConfiguration.getDoubleTapMinTime(); 445 touchSlop = ViewConfiguration.getTouchSlop(); in init() 447 doubleTapSlop = ViewConfiguration.getDoubleTapSlop(); in init() 449 mMinimumFlingVelocity = ViewConfiguration.getMinimumFlingVelocity(); in init() 450 mMaximumFlingVelocity = ViewConfiguration.getMaximumFlingVelocity(); in init() 452 final ViewConfiguration configuration = ViewConfiguration.get(context); in init() 626 + ViewConfiguration.getLongPressTimeout()); in onTouchEvent() [all …]
|
D | ViewConfiguration.java | 36 public class ViewConfiguration { class 333 static final SparseArray<ViewConfiguration> sConfigurations = 334 new SparseArray<ViewConfiguration>(2); 340 public ViewConfiguration() { in ViewConfiguration() method in ViewConfiguration 380 private ViewConfiguration(Context context) { in ViewConfiguration() method in ViewConfiguration 480 public static ViewConfiguration get(Context context) { in get() 484 ViewConfiguration configuration = sConfigurations.get(density); in get() 486 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; 34 private ViewConfiguration mViewConfig; 47 mViewConfig = ViewConfiguration.get(context); in setUp() 68 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()
|
/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/core/tests/coretests/src/android/widget/espresso/ |
D | ViewClickAction.java | 20 import android.view.ViewConfiguration; 53 long doubleTapTimeout = ViewConfiguration.getDoubleTapTimeout(); in perform()
|
D | DragAction.java | 31 import android.view.ViewConfiguration; 184 long doubleTapMinimumTimeout = ViewConfiguration.getDoubleTapMinTime(); 374 long longPressTimeout = (long) (ViewConfiguration.getLongPressTimeout() * 1.5f); in performLongPress() 394 long doubleTapMinimumTimeout = ViewConfiguration.getDoubleTapMinTime(); in performDoubleTap() 474 int duration = ViewConfiguration.getPressedStateDuration(); in perform()
|
D | MouseClickAction.java | 22 import android.view.ViewConfiguration; 56 long doubleTapMinimumTimeout = ViewConfiguration.getDoubleTapMinTime(); in sendTap()
|
/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/core/tests/coretests/src/android/util/ |
D | KeyUtils.java | 23 import android.view.ViewConfiguration; 76 Thread.sleep((long)(ViewConfiguration.getLongPressTimeout() * 1.5f)); in longClick()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | HeadsUpTouchHelper.java | 21 import android.view.ViewConfiguration; 52 final ViewConfiguration configuration = ViewConfiguration.get(context); in HeadsUpTouchHelper()
|
D | DoubleTapHelper.java | 21 import android.view.ViewConfiguration; 54 mTouchSlop = ViewConfiguration.get(view.getContext()).getScaledTouchSlop(); in DoubleTapHelper()
|
D | SettingsButton.java | 26 import android.view.ViewConfiguration; 49 mSlop = ViewConfiguration.get(getContext()).getScaledTouchSlop(); in SettingsButton()
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | ViewConfiguration_Accessor.java | 26 ViewConfiguration.sConfigurations.clear(); in clearConfigurations()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | QuickStepContract.java | 26 import android.view.ViewConfiguration; 114 return QUICKSTEP_TOUCH_SLOP_RATIO * ViewConfiguration.get(context).getScaledTouchSlop(); in getQuickStepTouchSlopPx()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
D | PipTouchState.java | 24 import android.view.ViewConfiguration; 41 private final ViewConfiguration mViewConfig; 66 public PipTouchState(ViewConfiguration viewConfig, Handler handler, in PipTouchState()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
D | CropView.java | 27 import android.view.ViewConfiguration; 249 ViewConfiguration config = ViewConfiguration.get(getContext()); in onTouchEvent() 257 now < mTouchDownTime + ViewConfiguration.getTapTimeout()) { in onTouchEvent()
|
/frameworks/base/test-runner/src/android/test/ |
D | TouchUtils.java | 27 import android.view.ViewConfiguration; 267 final int touchSlop = ViewConfiguration.get(v.getContext()).getScaledTouchSlop(); in tapView() 307 final int touchSlop = ViewConfiguration.get(v.getContext()).getScaledTouchSlop(); in touchAndCancelView() 343 final int touchSlop = ViewConfiguration.get(v.getContext()).getScaledTouchSlop(); in clickView() 403 final int touchSlop = ViewConfiguration.get(v.getContext()).getScaledTouchSlop(); in longClickView() 410 Thread.sleep((long)(ViewConfiguration.getLongPressTimeout() * 1.5f)); in longClickView()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | NestedScrollingChild.java | 22 import android.view.ViewConfiguration;
|