Home
last modified time | relevance | path

Searched refs:ViewDragHelper (Results 1 – 15 of 15) sorted by relevance

/frameworks/support/design/src/android/support/design/widget/
DSwipeDismissBehavior.java23 import android.support.v4.widget.ViewDragHelper;
41 public static final int STATE_IDLE = ViewDragHelper.STATE_IDLE;
47 public static final int STATE_DRAGGING = ViewDragHelper.STATE_DRAGGING;
53 public static final int STATE_SETTLING = ViewDragHelper.STATE_SETTLING;
81 private ViewDragHelper mViewDragHelper;
213 private final ViewDragHelper.Callback mDragCallback = new ViewDragHelper.Callback() {
359 ? ViewDragHelper.create(parent, mSensitivity, mDragCallback) in ensureViewDragHelper()
360 : ViewDragHelper.create(parent, mDragCallback); in ensureViewDragHelper()
DBottomSheetBehavior.java33 import android.support.v4.widget.ViewDragHelper;
126 private ViewDragHelper mViewDragHelper;
215 mViewDragHelper = ViewDragHelper.create(parent, mDragCallback); in onLayoutChild()
527 mActivePointerId = ViewDragHelper.INVALID_POINTER; in reset()
567 private final ViewDragHelper.Callback mDragCallback = new ViewDragHelper.Callback() {
594 if (state == ViewDragHelper.STATE_DRAGGING) {
/frameworks/support/v4/java/android/support/v4/widget/
DDrawerLayout.java107 public static final int STATE_IDLE = ViewDragHelper.STATE_IDLE;
112 public static final int STATE_DRAGGING = ViewDragHelper.STATE_DRAGGING;
117 public static final int STATE_SETTLING = ViewDragHelper.STATE_SETTLING;
198 private final ViewDragHelper mLeftDragger;
199 private final ViewDragHelper mRightDragger;
378 mLeftDragger = ViewDragHelper.create(this, TOUCH_SLOP_SENSITIVITY, mLeftCallback); in DrawerLayout()
379 mLeftDragger.setEdgeTrackingEnabled(ViewDragHelper.EDGE_LEFT); in DrawerLayout()
383 mRightDragger = ViewDragHelper.create(this, TOUCH_SLOP_SENSITIVITY, mRightCallback); in DrawerLayout()
384 mRightDragger.setEdgeTrackingEnabled(ViewDragHelper.EDGE_RIGHT); in DrawerLayout()
633 final ViewDragHelper helper = absGravity == Gravity.LEFT ? mLeftDragger : mRightDragger; in setDrawerLockMode()
[all …]
DViewDragHelper.java39 public class ViewDragHelper { class
347 public static ViewDragHelper create(ViewGroup forParent, Callback cb) { in create()
348 return new ViewDragHelper(forParent.getContext(), forParent, cb); in create()
360 public static ViewDragHelper create(ViewGroup forParent, float sensitivity, Callback cb) { in create()
361 final ViewDragHelper helper = create(forParent, cb); in create()
374 private ViewDragHelper(Context context, ViewGroup forParent, Callback cb) { in ViewDragHelper() method in ViewDragHelper
DSlidingPaneLayout.java184 private final ViewDragHelper mDragHelper;
274 mDragHelper = ViewDragHelper.create(this, 0.5f, new DragHelperCallback()); in SlidingPaneLayout()
652 if (mDragHelper.getViewDragState() != ViewDragHelper.STATE_IDLE && !canSlide) { in onMeasure()
662 mDragHelper.setEdgeTrackingEnabled(ViewDragHelper.EDGE_RIGHT); in onLayout()
664 mDragHelper.setEdgeTrackingEnabled(ViewDragHelper.EDGE_LEFT); in onLayout()
1310 private class DragHelperCallback extends ViewDragHelper.Callback {
1323 if (mDragHelper.getViewDragState() == ViewDragHelper.STATE_IDLE) { in onViewDragStateChanged()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
DPrintContentView.java20 import android.support.v4.widget.ViewDragHelper;
46 private final ViewDragHelper mDragger;
88 mDragger = ViewDragHelper.create(this, new DragCallbacks()); in PrintContentView()
391 private final class DragCallbacks extends ViewDragHelper.Callback {
/frameworks/support/v4/api/
D22.1.0.txt3054 public class ViewDragHelper {
3062 …static android.support.v4.widget.ViewDragHelper create(android.view.ViewGroup, android.support.v4.…
3063 …tic android.support.v4.widget.ViewDragHelper create(android.view.ViewGroup, float, android.support…
3097 public static abstract class ViewDragHelper.Callback {
3098 ctor public ViewDragHelper.Callback();
D22.0.0.txt2788 public class ViewDragHelper {
2796 …static android.support.v4.widget.ViewDragHelper create(android.view.ViewGroup, android.support.v4.…
2797 …tic android.support.v4.widget.ViewDragHelper create(android.view.ViewGroup, float, android.support…
2831 public static abstract class ViewDragHelper.Callback {
2832 ctor public ViewDragHelper.Callback();
D22.2.1.txt3130 public class ViewDragHelper {
3138 …static android.support.v4.widget.ViewDragHelper create(android.view.ViewGroup, android.support.v4.…
3139 …tic android.support.v4.widget.ViewDragHelper create(android.view.ViewGroup, float, android.support…
3173 public static abstract class ViewDragHelper.Callback {
3174 ctor public ViewDragHelper.Callback();
D22.2.0.txt3129 public class ViewDragHelper {
3137 …static android.support.v4.widget.ViewDragHelper create(android.view.ViewGroup, android.support.v4.…
3138 …tic android.support.v4.widget.ViewDragHelper create(android.view.ViewGroup, float, android.support…
3172 public static abstract class ViewDragHelper.Callback {
3173 ctor public ViewDragHelper.Callback();
D23.0.0.txt3419 public class ViewDragHelper {
3427 …static android.support.v4.widget.ViewDragHelper create(android.view.ViewGroup, android.support.v4.…
3428 …tic android.support.v4.widget.ViewDragHelper create(android.view.ViewGroup, float, android.support…
3462 public static abstract class ViewDragHelper.Callback {
3463 ctor public ViewDragHelper.Callback();
D23.1.0.txt3459 public class ViewDragHelper {
3467 …static android.support.v4.widget.ViewDragHelper create(android.view.ViewGroup, android.support.v4.…
3468 …tic android.support.v4.widget.ViewDragHelper create(android.view.ViewGroup, float, android.support…
3502 public static abstract class ViewDragHelper.Callback {
3503 ctor public ViewDragHelper.Callback();
D23.1.1.txt3426 public class ViewDragHelper {
3434 …static android.support.v4.widget.ViewDragHelper create(android.view.ViewGroup, android.support.v4.…
3435 …tic android.support.v4.widget.ViewDragHelper create(android.view.ViewGroup, float, android.support…
3469 public static abstract class ViewDragHelper.Callback {
3470 ctor public ViewDragHelper.Callback();
Dcurrent.txt3700 public class ViewDragHelper {
3708 …static android.support.v4.widget.ViewDragHelper create(android.view.ViewGroup, android.support.v4.…
3709 …tic android.support.v4.widget.ViewDragHelper create(android.view.ViewGroup, float, android.support…
3743 public static abstract class ViewDragHelper.Callback {
3744 ctor public ViewDragHelper.Callback();
/frameworks/base/docs/html/topic/libraries/support-library/
Drevisions.jd491 android.support.v4.widget.ViewDragHelper#shouldInterceptTouchEvent
492 ViewDragHelper.shouldInterceptTouchEvent()}. (<a class="external-link"
2413 <li>Added {@link android.support.v4.widget.ViewDragHelper} as a new common component