/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 242 static final SparseArray<ViewConfiguration> sConfigurations = 243 new SparseArray<ViewConfiguration>(2); 249 public ViewConfiguration() { in ViewConfiguration() method in ViewConfiguration 278 private ViewConfiguration(Context context) { in ViewConfiguration() method in ViewConfiguration 358 public static ViewConfiguration get(Context context) { in get() 362 ViewConfiguration configuration = sConfigurations.get(density); in get() 364 configuration = new ViewConfiguration(context); in get()
|
D | GestureDetector.java | 201 private static final int LONGPRESS_TIMEOUT = ViewConfiguration.getLongPressTimeout(); 202 private static final int TAP_TIMEOUT = ViewConfiguration.getTapTimeout(); 203 private static final int DOUBLE_TAP_TIMEOUT = ViewConfiguration.getDoubleTapTimeout(); 204 private static final int DOUBLE_TAP_MIN_TIME = ViewConfiguration.getDoubleTapMinTime(); 392 touchSlop = ViewConfiguration.getTouchSlop(); in init() 394 doubleTapSlop = ViewConfiguration.getDoubleTapSlop(); in init() 396 mMinimumFlingVelocity = ViewConfiguration.getMinimumFlingVelocity(); in init() 397 mMaximumFlingVelocity = ViewConfiguration.getMaximumFlingVelocity(); in init() 399 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/packages/Keyguard/src/com/android/keyguard/ |
D | CheckLongPressHelper.java | 21 import android.view.ViewConfiguration; 44 mScaledTouchSlop = ViewConfiguration.get(v.getContext()).getScaledTouchSlop(); in CheckLongPressHelper() 45 mLongPressTimeout = ViewConfiguration.getLongPressTimeout(); in CheckLongPressHelper()
|
/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/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/support/v4/ics/android/support/v4/view/ |
D | ViewConfigurationCompatICS.java | 19 import android.view.ViewConfiguration; 25 static boolean hasPermanentMenuKey(ViewConfiguration config) { in hasPermanentMenuKey()
|
/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/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NavigationBarViewTaskSwitchHelper.java | 23 import android.view.ViewConfiguration; 40 ViewConfiguration configuration = ViewConfiguration.get(context); in NavigationBarViewTaskSwitchHelper()
|
/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/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/internal/view/ |
D | ActionBarPolicy.java | 25 import android.view.ViewConfiguration; 53 return !ViewConfigurationCompat.hasPermanentMenuKey(ViewConfiguration.get(mContext)); in showsOverflowMenuButton()
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
D | ViewConfiguration_Accessor.java | 26 ViewConfiguration.sConfigurations.clear(); in clearConfigurations()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
D | CropView.java | 28 import android.view.ViewConfiguration; 250 ViewConfiguration config = ViewConfiguration.get(getContext()); in onTouchEvent() 258 now < mTouchDownTime + ViewConfiguration.getTapTimeout()) { in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | KeyButtonView.java | 37 import android.view.ViewConfiguration; 98 mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop(); in KeyButtonView() 188 postDelayed(mCheckLongPress, ViewConfiguration.getLongPressTimeout()); in onTouchEvent()
|
/frameworks/base/test-runner/src/android/test/ |
D | TouchUtils.java | 27 import android.view.ViewConfiguration; 261 final int touchSlop = ViewConfiguration.get(v.getContext()).getScaledTouchSlop(); in tapView() 301 final int touchSlop = ViewConfiguration.get(v.getContext()).getScaledTouchSlop(); in touchAndCancelView() 337 final int touchSlop = ViewConfiguration.get(v.getContext()).getScaledTouchSlop(); in clickView() 397 final int touchSlop = ViewConfiguration.get(v.getContext()).getScaledTouchSlop(); in longClickView() 404 Thread.sleep((long)(ViewConfiguration.getLongPressTimeout() * 1.5f)); in longClickView()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | SwipeDismissLayout.java | 27 import android.view.ViewConfiguration; 112 ViewConfiguration vc = ViewConfiguration.get(getContext()); in init()
|