Searched refs:ViewDragHelper (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Dialer/src/com/android/dialer/widget/ |
D | OverlappingPaneLayout.java | 154 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()
|
D | ViewDragHelper.java | 39 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
|