HomeSort by relevance Sort by last modified time
    Searched defs:viewConfiguration (Results 1 - 3 of 3) sorted by null

  /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/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/packages/SystemUI/src/com/android/systemui/statusbar/policy/
HeadsUpNotificationView.java 27 import android.view.ViewConfiguration;
200 final ViewConfiguration viewConfiguration = ViewConfiguration.get(getContext());
201 float touchSlop = viewConfiguration.getScaledTouchSlop();
266 float pagingTouchSlop = ViewConfiguration.get(getContext()).getScaledPagingTouchSlop();

Completed in 573 milliseconds