Searched refs:OnItemTouchListener (Results 1 - 11 of 11) sorted by relevance

/frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/
H A DTouchEventRouter.java26 import androidx.recyclerview.widget.RecyclerView.OnItemTouchListener;
35 * {@link RecyclerView#addOnItemTouchListener(OnItemTouchListener)}. Despite "Touch"
38 final class TouchEventRouter implements OnItemTouchListener {
43 private final ToolHandlerRegistry<OnItemTouchListener> mDelegates;
46 @NonNull GestureDetector detector, @NonNull OnItemTouchListener defaultDelegate) {
60 new OnItemTouchListener() {
81 * @param delegate An {@link OnItemTouchListener} to receive events
84 void register(int toolType, @NonNull OnItemTouchListener delegate) {
H A DPointerDragEventInterceptor.java25 import androidx.recyclerview.widget.RecyclerView.OnItemTouchListener;
28 * OnItemTouchListener that delegates drag events to a drag listener,
29 * else sends event to fallback {@link OnItemTouchListener}.
33 final class PointerDragEventInterceptor implements OnItemTouchListener {
37 private @Nullable OnItemTouchListener mDelegate;
42 @Nullable OnItemTouchListener delegate) {
H A DBandSelectionHelper.java34 import androidx.recyclerview.widget.RecyclerView.OnItemTouchListener;
56 class BandSelectionHelper<K> implements OnItemTouchListener {
H A DGestureSelectionHelper.java31 import androidx.recyclerview.widget.RecyclerView.OnItemTouchListener;
39 final class GestureSelectionHelper implements OnItemTouchListener {
H A DSelectionTracker.java33 import androidx.recyclerview.widget.RecyclerView.OnItemTouchListener;
682 // TouchEventRouter takes its name from RecyclerView#OnItemTouchListener.
803 OnItemTouchListener pointerEventHandler = new PointerDragEventInterceptor(
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DFastScroller.java41 class FastScroller extends RecyclerView.ItemDecoration implements RecyclerView.OnItemTouchListener {
H A DItemTouchHelper.java40 import androidx.recyclerview.widget.RecyclerView.OnItemTouchListener;
306 private final OnItemTouchListener mOnItemTouchListener = new OnItemTouchListener() {
H A DRecyclerView.java372 private final ArrayList<OnItemTouchListener> mOnItemTouchListeners =
374 private OnItemTouchListener mActiveOnItemTouchListener;
2849 * Add an {@link OnItemTouchListener} to intercept touch events before they are dispatched
2854 * {@link OnItemTouchListener#onInterceptTouchEvent(RecyclerView, MotionEvent)} its
2855 * {@link OnItemTouchListener#onTouchEvent(RecyclerView, MotionEvent)} method will be called
2861 public void addOnItemTouchListener(@NonNull OnItemTouchListener listener) {
2866 * Remove an {@link OnItemTouchListener}. It will no longer be able to intercept touch events.
2870 public void removeOnItemTouchListener(@NonNull OnItemTouchListener listener) {
2885 final OnItemTouchListener listener = mOnItemTouchListeners.get(i);
2915 final OnItemTouchListener listene
10492 public interface OnItemTouchListener { interface in class:RecyclerView
[all...]
/frameworks/support/car/src/main/java/androidx/car/widget/
H A DPagedListView.java745 * Adds an {@link RecyclerView.OnItemTouchListener} to this
751 * @see RecyclerView#addOnItemTouchListener(RecyclerView.OnItemTouchListener)
753 public void addOnItemTouchListener(@NonNull RecyclerView.OnItemTouchListener touchListener) {
758 * Removes the given {@link RecyclerView.OnItemTouchListener} from
762 * @see RecyclerView#removeOnItemTouchListener(RecyclerView.OnItemTouchListener)
764 public void removeOnItemTouchListener(@NonNull RecyclerView.OnItemTouchListener touchListener) {
/frameworks/base/core/java/com/android/internal/widget/helper/
H A DItemTouchHelper.java39 import com.android.internal.widget.RecyclerView.OnItemTouchListener;
297 private final OnItemTouchListener mOnItemTouchListener = new OnItemTouchListener() {
/frameworks/base/core/java/com/android/internal/widget/
H A DRecyclerView.java336 private final ArrayList<OnItemTouchListener> mOnItemTouchListeners =
338 private OnItemTouchListener mActiveOnItemTouchListener;
2539 * Add an {@link OnItemTouchListener} to intercept touch events before they are dispatched
2544 * {@link OnItemTouchListener#onInterceptTouchEvent(RecyclerView, MotionEvent)} its
2545 * {@link OnItemTouchListener#onTouchEvent(RecyclerView, MotionEvent)} method will be called
2551 public void addOnItemTouchListener(OnItemTouchListener listener) {
2556 * Remove an {@link OnItemTouchListener}. It will no longer be able to intercept touch events.
2560 public void removeOnItemTouchListener(OnItemTouchListener listener) {
2575 final OnItemTouchListener listener = mOnItemTouchListeners.get(i);
2605 final OnItemTouchListener listene
9756 public interface OnItemTouchListener { interface in class:RecyclerView
[all...]

Completed in 42 milliseconds