/frameworks/support/compat/java/android/support/v4/view/ |
D | ViewConfigurationCompat.java | 24 import android.view.ViewConfiguration; 43 ViewConfiguration.class.getDeclaredMethod("getScaledScrollFactor"); 57 public static int getScaledPagingTouchSlop(ViewConfiguration config) { in getScaledPagingTouchSlop() 68 public static boolean hasPermanentMenuKey(ViewConfiguration config) { in hasPermanentMenuKey() 80 public static float getScaledHorizontalScrollFactor(@NonNull ViewConfiguration config, in getScaledHorizontalScrollFactor() 97 public static float getScaledVerticalScrollFactor(@NonNull ViewConfiguration config, in getScaledVerticalScrollFactor() 106 private static float getLegacyScrollFactor(ViewConfiguration config, Context context) { in getLegacyScrollFactor()
|
D | GestureDetectorCompat.java | 29 import android.view.ViewConfiguration; 62 private static final int LONGPRESS_TIMEOUT = ViewConfiguration.getLongPressTimeout(); 63 private static final int TAP_TIMEOUT = ViewConfiguration.getTapTimeout(); 64 private static final int DOUBLE_TAP_TIMEOUT = ViewConfiguration.getDoubleTapTimeout(); 174 final ViewConfiguration configuration = ViewConfiguration.get(context); in init()
|
/frameworks/base/core/java/android/view/ |
D | ViewConfiguration.java | 33 public class ViewConfiguration { class 304 static final SparseArray<ViewConfiguration> sConfigurations = 305 new SparseArray<ViewConfiguration>(2); 311 public ViewConfiguration() { in ViewConfiguration() method in ViewConfiguration 343 private ViewConfiguration(Context context) { in ViewConfiguration() method in ViewConfiguration 430 public static ViewConfiguration get(Context context) { in get() 434 ViewConfiguration configuration = sConfigurations.get(density); in get() 436 configuration = new ViewConfiguration(context); in get()
|
D | GestureDetector.java | 225 private static final int LONGPRESS_TIMEOUT = ViewConfiguration.getLongPressTimeout(); 226 private static final int TAP_TIMEOUT = ViewConfiguration.getTapTimeout(); 227 private static final int DOUBLE_TAP_TIMEOUT = ViewConfiguration.getDoubleTapTimeout(); 228 private static final int DOUBLE_TAP_MIN_TIME = ViewConfiguration.getDoubleTapMinTime(); 422 touchSlop = ViewConfiguration.getTouchSlop(); in init() 424 doubleTapSlop = ViewConfiguration.getDoubleTapSlop(); in init() 426 mMinimumFlingVelocity = ViewConfiguration.getMinimumFlingVelocity(); in init() 427 mMaximumFlingVelocity = ViewConfiguration.getMaximumFlingVelocity(); in init() 429 final ViewConfiguration configuration = ViewConfiguration.get(context); in init()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/ |
D | ListTouchManyTest.java | 25 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 | 24 import android.view.ViewConfiguration; 64 0, -(ViewConfiguration.getTouchSlop() + 1 + 10)); in testShortScroll() 83 lastTop - (distance - ViewConfiguration.getTouchSlop() - 1), lastChild.getTop()); in testLongScroll()
|
D | ListTouchBottomGravityManyTest.java | 25 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/core/tests/coretests/src/android/view/ |
D | BigCacheTest.java | 25 import android.view.ViewConfiguration; 58 final int max = ViewConfiguration.get(getActivity()).getScaledMaximumDrawingCacheSize(); in testDrawingCacheBelowMaximumSize() 66 final int max = ViewConfiguration.get(getActivity()).getScaledMaximumDrawingCacheSize();
|
D | BigCache.java | 28 import android.view.ViewConfiguration; 44 final int cacheSize = ViewConfiguration.getMaximumDrawingCacheSize(); in onCreate()
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/ |
D | GridTouchVerticalSpacingTest.java | 25 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 | 26 import android.view.ViewConfiguration; 34 private ViewConfiguration mViewConfig; 47 mViewConfig = ViewConfiguration.get(context); in setUp() 68 ViewConfiguration.getTouchSlop()); in testNoScroll()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | TooltipCompatHandler.java | 30 import android.view.ViewConfiguration; 129 mAnchor.postDelayed(mShowRunnable, ViewConfiguration.getLongPressTimeout()); in onHover() 170 timeout = HOVER_HIDE_TIMEOUT_SHORT_MS - ViewConfiguration.getLongPressTimeout(); in show() 172 timeout = HOVER_HIDE_TIMEOUT_MS - ViewConfiguration.getLongPressTimeout(); in show()
|
D | ForwardingListener.java | 26 import android.view.ViewConfiguration; 72 mScaledTouchSlop = ViewConfiguration.get(src.getContext()).getScaledTouchSlop(); in ForwardingListener() 73 mTapTimeout = ViewConfiguration.getTapTimeout(); in ForwardingListener() 76 mLongPressTimeout = (mTapTimeout + ViewConfiguration.getLongPressTimeout()) / 2; in ForwardingListener()
|
/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/support/v7/recyclerview/tests/src/android/support/v7/util/ |
D | TouchUtils.java | 25 import android.view.ViewConfiguration; 51 final int touchSlop = ViewConfiguration.get(v.getContext()).getScaledTouchSlop(); in tapView() 82 final int touchSlop = ViewConfiguration.get(v.getContext()).getScaledTouchSlop(); in touchAndCancelView() 109 final int touchSlop = ViewConfiguration.get(v.getContext()).getScaledTouchSlop(); in clickView() 146 final int touchSlop = ViewConfiguration.get(v.getContext()).getScaledTouchSlop(); in longClickView() 153 Thread.sleep((long) (ViewConfiguration.getLongPressTimeout() * 1.5f)); in longClickView()
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
D | ViewClickAction.java | 28 import android.view.ViewConfiguration; 52 long doubleTapTimeout = ViewConfiguration.getDoubleTapTimeout(); in perform()
|
D | DragAction.java | 36 import android.view.ViewConfiguration; 181 long doubleTapMinimumTimeout = ViewConfiguration.getDoubleTapMinTime(); 371 long longPressTimeout = (long) (ViewConfiguration.getLongPressTimeout() * 1.5f); in performLongPress() 391 long doubleTapMinimumTimeout = ViewConfiguration.getDoubleTapMinTime(); in performDoubleTap() 471 int duration = ViewConfiguration.getPressedStateDuration(); in perform()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | HeadsUpTouchHelper.java | 21 import android.view.ViewConfiguration; 53 final ViewConfiguration configuration = ViewConfiguration.get(context); in HeadsUpTouchHelper()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/gesture/ |
D | ConsecutiveTapsGestureDetector.java | 22 import android.view.ViewConfiguration; 55 int doubleTapSlop = ViewConfiguration.get(mView.getContext()).getScaledDoubleTapSlop(); in ConsecutiveTapsGestureDetector()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | KeyUtils.java | 28 import android.view.ViewConfiguration; 82 Thread.sleep((long)(ViewConfiguration.getLongPressTimeout() * 1.5f)); in longClick()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
D | PipTouchState.java | 23 import android.view.ViewConfiguration; 34 private ViewConfiguration mViewConfig; 49 public PipTouchState(ViewConfiguration viewConfig) { in PipTouchState()
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/ |
D | ActionBarPolicy.java | 28 import android.view.ViewConfiguration; 80 return !ViewConfiguration.get(mContext).hasPermanentMenuKey(); in showsOverflowMenuButton()
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | RecyclerViewOnGenericMotionEventTest.java | 31 import android.view.ViewConfiguration; 136 ViewConfiguration.get(getContext()), getContext()); in getScaledVerticalScrollFactor() 141 ViewConfiguration.get(getContext()), getContext()); in getScaledHorizontalScrollFactor()
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
D | ViewConfiguration_Accessor.java | 26 ViewConfiguration.sConfigurations.clear(); in clearConfigurations()
|