@Test public void testBadStop_Move() { mIsActive = true; assertFalse(mBandController.shouldStop( mStopBuilder.action(MotionEvent.ACTION_MOVE).touch().build())); }
@VisibleForTesting boolean shouldStop(@NonNull MotionEvent e) { return isActive() && (MotionEvents.isActionUp(e) || MotionEvents.isActionPointerUp(e) || MotionEvents.isActionCancel(e)); }
BandSelectionHelper implements OnItemTouchListener { @VisibleForTesting boolean shouldStop(@NonNull MotionEvent e) { return isActive() && (MotionEvents.isActionUp(e) || MotionEvents.isActionPointerUp(e) || MotionEvents.isActionCancel(e)); } }
BandSelectionHelper implements OnItemTouchListener { @VisibleForTesting boolean shouldStop(@NonNull MotionEvent e) { return isActive() && (MotionEvents.isActionUp(e) || MotionEvents.isActionPointerUp(e) || MotionEvents.isActionCancel(e)); } BandSelectionHelper(
            @NonNull BandHost host,
            @NonNull AutoScroller scroller,
            @NonNull ItemKeyProvider<K> keyProvider,
            @NonNull SelectionTracker<K> selectionTracker,
            @NonNull BandPredicate bandPredicate,
            @NonNull FocusDelegate<K> focusDelegate,
            @NonNull OperationMonitor lock); }
BandSelectionHelper implements OnItemTouchListener { @VisibleForTesting boolean shouldStop(@NonNull MotionEvent e) { return isActive() && (MotionEvents.isActionUp(e) || MotionEvents.isActionPointerUp(e) || MotionEvents.isActionCancel(e)); } BandSelectionHelper(
            @NonNull BandHost host,
            @NonNull AutoScroller scroller,
            @NonNull ItemKeyProvider<K> keyProvider,
            @NonNull SelectionTracker<K> selectionTracker,
            @NonNull BandPredicate bandPredicate,
            @NonNull FocusDelegate<K> focusDelegate,
            @NonNull OperationMonitor lock); @Override boolean onInterceptTouchEvent(@NonNull RecyclerView unused, @NonNull MotionEvent e); @Override void onTouchEvent(@NonNull RecyclerView unused, @NonNull MotionEvent e); @Override void onRequestDisallowInterceptTouchEvent(boolean disallowIntercept); }
BandSelectionHelper implements OnItemTouchListener { @VisibleForTesting boolean shouldStop(@NonNull MotionEvent e) { return isActive() && (MotionEvents.isActionUp(e) || MotionEvents.isActionPointerUp(e) || MotionEvents.isActionCancel(e)); } BandSelectionHelper(
            @NonNull BandHost host,
            @NonNull AutoScroller scroller,
            @NonNull ItemKeyProvider<K> keyProvider,
            @NonNull SelectionTracker<K> selectionTracker,
            @NonNull BandPredicate bandPredicate,
            @NonNull FocusDelegate<K> focusDelegate,
            @NonNull OperationMonitor lock); @Override boolean onInterceptTouchEvent(@NonNull RecyclerView unused, @NonNull MotionEvent e); @Override void onTouchEvent(@NonNull RecyclerView unused, @NonNull MotionEvent e); @Override void onRequestDisallowInterceptTouchEvent(boolean disallowIntercept);  }