/frameworks/support/v4/java/android/support/v4/view/ |
D | ViewConfigurationCompat.java | 19 import android.view.ViewConfiguration; 30 public int getScaledPagingTouchSlop(ViewConfiguration config); in getScaledPagingTouchSlop() 31 public boolean hasPermanentMenuKey(ViewConfiguration config); in hasPermanentMenuKey() 39 public int getScaledPagingTouchSlop(ViewConfiguration config) { in getScaledPagingTouchSlop() 44 public boolean hasPermanentMenuKey(ViewConfiguration config) { in hasPermanentMenuKey() 55 public int getScaledPagingTouchSlop(ViewConfiguration config) { in getScaledPagingTouchSlop() 65 public boolean hasPermanentMenuKey(ViewConfiguration config) { in hasPermanentMenuKey() 76 public boolean hasPermanentMenuKey(ViewConfiguration config) { in hasPermanentMenuKey() 104 public static int getScaledPagingTouchSlop(ViewConfiguration config) { in getScaledPagingTouchSlop() 112 public static boolean hasPermanentMenuKey(ViewConfiguration config) { in hasPermanentMenuKey()
|
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 | 32 public class ViewConfiguration { class 247 static final SparseArray<ViewConfiguration> sConfigurations = 248 new SparseArray<ViewConfiguration>(2); 254 public ViewConfiguration() { in ViewConfiguration() method in ViewConfiguration 283 private ViewConfiguration(Context context) { in ViewConfiguration() method in ViewConfiguration 363 public static ViewConfiguration get(Context context) { in get() 367 ViewConfiguration configuration = sConfigurations.get(density); in get() 369 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()
|
D | TouchDelegate.java | 22 import android.view.ViewConfiguration; 93 mSlop = ViewConfiguration.get(delegateView.getContext()).getScaledTouchSlop(); in TouchDelegate()
|
/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 | 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()
|
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()
|
/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/support/v4/ics/android/support/v4/view/ |
D | ViewConfigurationCompatICS.java | 19 import android.view.ViewConfiguration; 25 static boolean hasPermanentMenuKey(ViewConfiguration config) { in hasPermanentMenuKey()
|
/frameworks/support/v4/froyo/android/support/v4/view/ |
D | ViewConfigurationCompatFroyo.java | 19 import android.view.ViewConfiguration; 25 public static int getScaledPagingTouchSlop(ViewConfiguration config) { in getScaledPagingTouchSlop()
|
/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/base/core/java/android/widget/ |
D | ForwardingListener.java | 22 import android.view.ViewConfiguration; 61 mScaledTouchSlop = ViewConfiguration.get(src.getContext()).getScaledTouchSlop(); in ForwardingListener() 62 mTapTimeout = ViewConfiguration.getTapTimeout(); in ForwardingListener() 65 mLongPressTimeout = (mTapTimeout + ViewConfiguration.getLongPressTimeout()) / 2; in ForwardingListener()
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/ |
D | TouchUtils.java | 26 import android.view.ViewConfiguration; 52 final int touchSlop = ViewConfiguration.get(v.getContext()).getScaledTouchSlop(); in tapView() 83 final int touchSlop = ViewConfiguration.get(v.getContext()).getScaledTouchSlop(); in touchAndCancelView() 110 final int touchSlop = ViewConfiguration.get(v.getContext()).getScaledTouchSlop(); in clickView() 147 final int touchSlop = ViewConfiguration.get(v.getContext()).getScaledTouchSlop(); in longClickView() 154 Thread.sleep((long) (ViewConfiguration.getLongPressTimeout() * 1.5f)); in longClickView()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | ForwardingListener.java | 24 import android.view.ViewConfiguration; 65 mScaledTouchSlop = ViewConfiguration.get(src.getContext()).getScaledTouchSlop(); in ForwardingListener() 66 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/docs/html/training/gestures/ |
D | viewgroup.jd | 18 <li><a href="#vc">Use ViewConfiguration Constants</a></li> 95 ViewConfiguration vc = ViewConfiguration.get(view.getContext()); 132 // Touch slop should be calculated using ViewConfiguration 166 <h2 id="vc">Use ViewConfiguration Constants</h2> 168 <p>The above snippet uses the current {@link android.view.ViewConfiguration} to initialize 170 android.view.ViewConfiguration} class to access common distances, speeds, and 179 <p>Two other commonly used {@link android.view.ViewConfiguration} methods are 180 {@link android.view.ViewConfiguration#getScaledMinimumFlingVelocity getScaledMinimumFlingVelocity()… 181 and {@link android.view.ViewConfiguration#getScaledMaximumFlingVelocity getScaledMaximumFlingVeloci… 185 <pre>ViewConfiguration vc = ViewConfiguration.get(view.getContext());
|
/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/support/v7/appcompat/src/android/support/v7/view/ |
D | ActionBarPolicy.java | 28 import android.view.ViewConfiguration; 79 return !ViewConfigurationCompat.hasPermanentMenuKey(ViewConfiguration.get(mContext)); in showsOverflowMenuButton()
|