Home
last modified time | relevance | path

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

/packages/apps/Dialer/src/com/android/dialer/widget/
DOverlappingPaneLayout.java154 private final ViewDragHelper mDragHelper;
234 mDragHelper = ViewDragHelper.create(this, 0.5f, new DragHelperCallback()); in OverlappingPaneLayout()
555 if (mDragHelper.getViewDragState() != ViewDragHelper.STATE_IDLE && !canSlide) { in onMeasure()
563 mDragHelper.setEdgeTrackingEnabled(ViewDragHelper.EDGE_TOP); in onLayout()
1014 private class DragHelperCallback extends ViewDragHelper.Callback {
1031 if (mDragHelper.getViewDragState() == ViewDragHelper.STATE_IDLE) { in onViewDragStateChanged()
1042 if (state == ViewDragHelper.STATE_IDLE in onViewDragStateChanged()
DViewDragHelper.java39 public class ViewDragHelper { class
353 public static ViewDragHelper create(ViewGroup forParent, Callback cb) { in create()
354 return new ViewDragHelper(forParent.getContext(), forParent, cb); in create()
366 public static ViewDragHelper create(ViewGroup forParent, float sensitivity, Callback cb) { in create()
367 final ViewDragHelper helper = create(forParent, cb); in create()
380 private ViewDragHelper(Context context, ViewGroup forParent, Callback cb) { in ViewDragHelper() method in ViewDragHelper