Java Code Examples for androidx.customview.widget.ViewDragHelper#INVALID_POINTER
The following examples show how to use
androidx.customview.widget.ViewDragHelper#INVALID_POINTER .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: BottomSheetBehavior.java From bottomsheetrecycler with Apache License 2.0 | 5 votes |
private void reset() { activePointerId = ViewDragHelper.INVALID_POINTER; if (velocityTracker != null) { velocityTracker.recycle(); velocityTracker = null; } }
Example 2
Source File: BottomSheetBehavior.java From material-components-android with Apache License 2.0 | 5 votes |
private void reset() { activePointerId = ViewDragHelper.INVALID_POINTER; if (velocityTracker != null) { velocityTracker.recycle(); velocityTracker = null; } }
Example 3
Source File: BottomSheetBehavior.java From Mysplash with GNU Lesser General Public License v3.0 | 5 votes |
private void reset() { activePointerId = ViewDragHelper.INVALID_POINTER; if (velocityTracker != null) { velocityTracker.recycle(); velocityTracker = null; } }
Example 4
Source File: BottomSheetBehaviorGoogleMapsLike.java From CustomBottomSheetBehavior with Apache License 2.0 | 4 votes |
private void reset() { mActivePointerId = ViewDragHelper.INVALID_POINTER; }