/cts/tests/tests/view/src/android/view/cts/ |
ViewConfigurationTest.java | 21 import android.view.ViewConfiguration; 24 * Test {@link ViewConfiguration}. 35 ViewConfiguration.getScrollBarSize(); 36 ViewConfiguration.getFadingEdgeLength(); 37 ViewConfiguration.getPressedStateDuration(); 38 ViewConfiguration.getLongPressTimeout(); 39 ViewConfiguration.getTapTimeout(); 40 ViewConfiguration.getJumpTapTimeout(); 41 ViewConfiguration.getEdgeSlop(); 42 ViewConfiguration.getTouchSlop() [all...] |
/frameworks/support/v4/froyo/android/support/v4/view/ |
ViewConfigurationCompatFroyo.java | 19 import android.view.ViewConfiguration; 25 public static int getScaledPagingTouchSlop(ViewConfiguration config) {
|
/frameworks/support/v4/ics/android/support/v4/view/ |
ViewConfigurationCompatICS.java | 19 import android.view.ViewConfiguration; 25 static boolean hasPermanentMenuKey(ViewConfiguration config) {
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
ViewConfiguration_Accessor.java | 25 // clear the stored ViewConfiguration since the map is per density and not per context. 26 ViewConfiguration.sConfigurations.clear();
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ViewConfigurationTest.java | 4 import android.view.ViewConfiguration; 19 ViewConfiguration viewConfiguration = ViewConfiguration.get(context); 21 assertEquals(10, ViewConfiguration.getScrollBarSize()); 22 assertEquals(250, ViewConfiguration.getScrollBarFadeDuration()); 23 assertEquals(300, ViewConfiguration.getScrollDefaultDelay()); 24 assertEquals(12, ViewConfiguration.getFadingEdgeLength()); 25 assertEquals(125, ViewConfiguration.getPressedStateDuration()); 26 assertEquals(500, ViewConfiguration.getLongPressTimeout()) [all...] |
/external/chromium_org/ui/events/gesture_detection/ |
gesture_config_helper_android.cc | 10 using gfx::ViewConfiguration; 29 ViewConfiguration::GetLongPressTimeoutInMs()); 31 base::TimeDelta::FromMilliseconds(ViewConfiguration::GetTapTimeoutInMs()); 33 ViewConfiguration::GetDoubleTapTimeoutInMs()); 37 ViewConfiguration::GetTouchSlopInPixels() * px_to_dp; 39 ViewConfiguration::GetDoubleTapSlopInPixels() * px_to_dp; 41 ViewConfiguration::GetMinimumFlingVelocityInPixelsPerSecond() * px_to_dp; 43 ViewConfiguration::GetMaximumFlingVelocityInPixelsPerSecond() * px_to_dp; 53 config.span_slop = ViewConfiguration::GetTouchSlopInPixels() * 2.f * px_to_dp; 55 ViewConfiguration::GetMinScalingTouchMajorInPixels() * px_to_dp [all...] |
/frameworks/support/v4/java/android/support/v4/view/ |
ViewConfigurationCompat.java | 19 import android.view.ViewConfiguration; 22 * Helper for accessing features in {@link ViewConfiguration} 30 public int getScaledPagingTouchSlop(ViewConfiguration config); 31 public boolean hasPermanentMenuKey(ViewConfiguration config); 39 public int getScaledPagingTouchSlop(ViewConfiguration config) { 44 public boolean hasPermanentMenuKey(ViewConfiguration config) { 55 public int getScaledPagingTouchSlop(ViewConfiguration config) { 65 public boolean hasPermanentMenuKey(ViewConfiguration config) { 76 public boolean hasPermanentMenuKey(ViewConfiguration config) { 100 * Call {@link ViewConfiguration#getScaledPagingTouchSlop()} [all...] |
/external/chromium_org/ui/gfx/android/ |
gfx_jni_registrar.cc | 20 { "ViewConfiguration", ViewConfiguration::RegisterViewConfiguration }
|
view_configuration.h | 14 // Provides access to Android's ViewConfiguration for gesture-related constants. 16 class GFX_EXPORT ViewConfiguration {
|
view_configuration.cc | 166 int ViewConfiguration::GetDoubleTapTimeoutInMs() { 170 int ViewConfiguration::GetLongPressTimeoutInMs() { 174 int ViewConfiguration::GetTapTimeoutInMs() { 178 float ViewConfiguration::GetScrollFriction() { 182 int ViewConfiguration::GetMaximumFlingVelocityInPixelsPerSecond() { 186 int ViewConfiguration::GetMinimumFlingVelocityInPixelsPerSecond() { 190 int ViewConfiguration::GetTouchSlopInPixels() { 194 int ViewConfiguration::GetDoubleTapSlopInPixels() { 198 int ViewConfiguration::GetMinScalingSpanInPixels() { 202 int ViewConfiguration::GetMinScalingTouchMajorInPixels() [all...] |
/external/chromium_org/ui/android/java/src/org/chromium/ui/gfx/ |
ViewConfigurationHelper.java | 12 import android.view.ViewConfiguration; 19 * This class facilitates access to ViewConfiguration-related properties, also 32 private ViewConfiguration mViewConfiguration; 36 mViewConfiguration = ViewConfiguration.get(mAppContext); 54 // The ViewConfiguration will differ only if the density has changed. 55 ViewConfiguration configuration = ViewConfiguration.get(mAppContext); 70 return ViewConfiguration.getDoubleTapTimeout(); 75 return ViewConfiguration.getLongPressTimeout(); 80 return ViewConfiguration.getTapTimeout() [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
ConversationViewFrame.java | 24 import android.view.ViewConfiguration; 32 private final ViewConfiguration mConfiguration; 51 mConfiguration = ViewConfiguration.get(c); 84 if (timeDelta < ViewConfiguration.getTapTimeout()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowViewConfiguration.java | 2 * Portions of this code came from frameworks/base/core/java/android/view/ViewConfiguration.java, 25 import android.view.ViewConfiguration; 34 @Implements(ViewConfiguration.class) 71 private ViewConfiguration realViewConfiguration; 89 public static ViewConfiguration get(Context context) { 90 ViewConfiguration viewConfiguration = Robolectric.newInstanceOf(ViewConfiguration.class); 91 shadowOf(viewConfiguration).setup(context); 92 return viewConfiguration; [all...] |
/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/core/ |
InstrumentationUiAutomatorBridge.java | 24 import android.view.ViewConfiguration; 58 return ViewConfiguration.getLongPressTimeout();
|
/frameworks/base/core/tests/coretests/src/android/view/ |
BigCacheTest.java | 25 import android.view.ViewConfiguration; 58 final int max = ViewConfiguration.get(getActivity()).getScaledMaximumDrawingCacheSize(); 66 final int max = ViewConfiguration.get(getActivity()).getScaledMaximumDrawingCacheSize();
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/ |
ListOfTouchablesTest.java | 24 import android.view.ViewConfiguration; 64 0, -(ViewConfiguration.getTouchSlop() + 1 + 10)); 83 lastTop - (distance - ViewConfiguration.getTouchSlop() - 1), lastChild.getTop());
|
ListTouchManyTest.java | 25 import android.view.ViewConfiguration; 116 Thread.sleep((long)(ViewConfiguration.getLongPressTimeout() * 1.25f)); 154 0, -(ViewConfiguration.getTouchSlop())); 171 0, -(ViewConfiguration.getTouchSlop() + 1 + 10)); 190 lastTop - (distance - ViewConfiguration.getTouchSlop() - 1), lastChild.getTop());
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
CheckLongPressHelper.java | 21 import android.view.ViewConfiguration; 44 mScaledTouchSlop = ViewConfiguration.get(v.getContext()).getScaledTouchSlop(); 45 mLongPressTimeout = ViewConfiguration.getLongPressTimeout();
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
ScrollerHelper.java | 20 import android.view.ViewConfiguration; 32 ViewConfiguration configuration = ViewConfiguration.get(context);
|
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/ |
SwipePinchDetector.java | 9 import android.view.ViewConfiguration; 49 ViewConfiguration config = ViewConfiguration.get(context);
|
TapGestureDetector.java | 13 import android.view.ViewConfiguration; 73 ViewConfiguration config = ViewConfiguration.get(context); 85 mHandler.sendEmptyMessageDelayed(0, ViewConfiguration.getLongPressTimeout());
|
/developers/build/prebuilts/gradle/BatchStepSensor/Application/src/main/java/com/example/android/batchstepsensor/cardstream/ |
CardLayout.java | 22 import android.view.ViewConfiguration; 56 mTouchSlop = ViewConfiguration.get(getContext()).getScaledTouchSlop() * 2.f;
|
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/ |
CardLayout.java | 22 import android.view.ViewConfiguration; 56 mTouchSlop = ViewConfiguration.get(getContext()).getScaledTouchSlop() * 2.f;
|
/frameworks/base/core/java/android/view/ |
TouchDelegate.java | 22 import android.view.ViewConfiguration; 93 mSlop = ViewConfiguration.get(delegateView.getContext()).getScaledTouchSlop();
|
ViewConfiguration.java | 32 public class ViewConfiguration { 159 * config_viewConfigurationTouchSlop. ViewConfiguration will report a paging touch slop of 242 static final SparseArray<ViewConfiguration> sConfigurations = 243 new SparseArray<ViewConfiguration>(2); 246 * @deprecated Use {@link android.view.ViewConfiguration#get(android.content.Context)} instead. 249 public ViewConfiguration() { 278 private ViewConfiguration(Context context) { 358 public static ViewConfiguration get(Context context) { 362 ViewConfiguration configuration = sConfigurations.get(density); 364 configuration = new ViewConfiguration(context) [all...] |