Home
last modified time | relevance | path

Searched refs:STATE_DRAGGING (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DFastScroller.java43 @IntDef({STATE_HIDDEN, STATE_VISIBLE, STATE_DRAGGING})
51 private static final int STATE_DRAGGING = 2; field in FastScroller
190 if (state == STATE_DRAGGING && mState != STATE_DRAGGING) { in setState()
201 if (mState == STATE_DRAGGING && state != STATE_DRAGGING) { in setState()
215 return mState == STATE_DRAGGING; in isDragging()
397 setState(STATE_DRAGGING); in onInterceptTouchEvent()
402 } else if (mState == STATE_DRAGGING) { in onInterceptTouchEvent()
427 setState(STATE_DRAGGING); in onTouchEvent()
429 } else if (me.getAction() == MotionEvent.ACTION_UP && mState == STATE_DRAGGING) { in onTouchEvent()
434 } else if (me.getAction() == MotionEvent.ACTION_MOVE && mState == STATE_DRAGGING) { in onTouchEvent()
/frameworks/support/design/src/android/support/design/widget/
DBottomSheetBehavior.java84 public static final int STATE_DRAGGING = 1; field in BottomSheetBehavior
108 @IntDef({STATE_EXPANDED, STATE_COLLAPSED, STATE_DRAGGING, STATE_SETTLING, STATE_HIDDEN})
208 if (ss.state == STATE_DRAGGING || ss.state == STATE_SETTLING) { in onRestoreInstanceState()
243 } else if (mState == STATE_DRAGGING || mState == STATE_SETTLING) { in onLayoutChild()
301 !mIgnoreEvents && mState != STATE_DRAGGING && in onInterceptTouchEvent()
312 if (mState == STATE_DRAGGING && action == MotionEvent.ACTION_DOWN) { in onTouchEvent()
359 setStateInternal(STATE_DRAGGING); in onNestedPreScroll()
366 setStateInternal(STATE_DRAGGING); in onNestedPreScroll()
643 if (mState == STATE_DRAGGING) {
666 if (state == ViewDragHelper.STATE_DRAGGING) {
[all …]
DSwipeDismissBehavior.java49 public static final int STATE_DRAGGING = ViewDragHelper.STATE_DRAGGING; field in SwipeDismissBehavior
DBaseTransientBottomBar.java426 case SwipeDismissBehavior.STATE_DRAGGING: in showView()
/frameworks/support/core-ui/java/android/support/v4/widget/
DViewDragHelper.java55 public static final int STATE_DRAGGING = 1; field in ViewDragHelper
470 setDragState(STATE_DRAGGING); in captureChildView()
772 if (mDragState == STATE_DRAGGING) { in dispatchViewReleased()
1050 if (mDragState == STATE_DRAGGING) { in shouldInterceptTouchEvent()
1076 return mDragState == STATE_DRAGGING; in shouldInterceptTouchEvent()
1150 if (mDragState == STATE_DRAGGING) { in processTouchEvent()
1178 if (mDragState == STATE_DRAGGING) { in processTouchEvent()
1196 if (mDragState == STATE_DRAGGING && pointerId == mActivePointerId) { in processTouchEvent()
1226 if (mDragState == STATE_DRAGGING) { in processTouchEvent()
1234 if (mDragState == STATE_DRAGGING) { in processTouchEvent()
DDrawerLayout.java97 @IntDef({STATE_IDLE, STATE_DRAGGING, STATE_SETTLING})
109 public static final int STATE_DRAGGING = ViewDragHelper.STATE_DRAGGING; field in DrawerLayout
805 if (leftState == STATE_DRAGGING || rightState == STATE_DRAGGING) { in updateDrawerState()
806 state = STATE_DRAGGING; in updateDrawerState()
/frameworks/support/wear/src/android/support/wear/widget/drawer/
DWearableDrawerView.java100 public static final int STATE_DRAGGING = ViewDragHelper.STATE_DRAGGING; field in WearableDrawerView
113 @IntDef({STATE_IDLE, STATE_DRAGGING, STATE_SETTLING})
/frameworks/base/core/java/android/widget/
DFastScroller.java81 private static final int STATE_DRAGGING = 2; field in FastScroller
520 if (hasMoreItems && mState != STATE_DRAGGING) { in onItemCountChanged()
837 case STATE_DRAGGING: in setState()
852 final boolean isPressed = mState == STATE_DRAGGING; in refreshDrawablePressedState()
937 if (hasMoreItems && mState != STATE_DRAGGING) { in onScroll()
947 if (mState != STATE_DRAGGING) { in onScroll()
1369 setState(STATE_DRAGGING); in beginDrag()
1446 if (mState == STATE_DRAGGING || isPointInside(event.getX(), event.getY())) { in onResolvePointerIcon()
1479 if (mState == STATE_DRAGGING) { in onTouchEvent()
1502 if (mState == STATE_DRAGGING) { in onTouchEvent()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DTouchExplorer.java67 private static final int STATE_DRAGGING = 0x00000002; field in TouchExplorer
226 case STATE_DRAGGING: { in clear()
299 case STATE_DRAGGING: { in onMotionEvent()
600 mCurrentState = STATE_DRAGGING; in handleMotionEventStateTouchExploring()
1110 case STATE_DRAGGING: in getStateSymbolicName()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DDrawerLayoutTest.java472 inOrder.verify(mockedListener).onDrawerStateChanged(DrawerLayout.STATE_DRAGGING); in testDrawerListenerCallbacksOnOpeningViaSwipes()
520 inOrder.verify(mockedListener).onDrawerStateChanged(DrawerLayout.STATE_DRAGGING); in testDrawerListenerCallbacksOnClosingViaSwipes()
/frameworks/support/design/tests/src/android/support/design/widget/
DBottomSheetBehaviorTest.java110 return state != BottomSheetBehavior.STATE_DRAGGING && in isIdleState()
608 assertThat(behavior.getState(), is(BottomSheetBehavior.STATE_DRAGGING)); in testLayoutWhileDragging()
/frameworks/support/api/
D26.0.0-SNAPSHOT.txt520 field public static final int STATE_DRAGGING = 1; // 0x1
822 field public static final int STATE_DRAGGING = 1; // 0x1
9672 field public static final int STATE_DRAGGING = 1; // 0x1
10064 field public static final int STATE_DRAGGING = 1; // 0x1
13119 field public static final int STATE_DRAGGING = 1; // 0x1
D26.0.0-beta2.txt520 field public static final int STATE_DRAGGING = 1; // 0x1
822 field public static final int STATE_DRAGGING = 1; // 0x1
9661 field public static final int STATE_DRAGGING = 1; // 0x1
10053 field public static final int STATE_DRAGGING = 1; // 0x1
13108 field public static final int STATE_DRAGGING = 1; // 0x1
D25.1.0.txt383 field public static final int STATE_DRAGGING = 1; // 0x1
676 field public static final int STATE_DRAGGING = 1; // 0x1
7579 field public static final int STATE_DRAGGING = 1; // 0x1
7946 field public static final int STATE_DRAGGING = 1; // 0x1
D25.0.0.txt350 field public static final int STATE_DRAGGING = 1; // 0x1
650 field public static final int STATE_DRAGGING = 1; // 0x1
7168 field public static final int STATE_DRAGGING = 1; // 0x1
7535 field public static final int STATE_DRAGGING = 1; // 0x1
D25.2.0.txt383 field public static final int STATE_DRAGGING = 1; // 0x1
676 field public static final int STATE_DRAGGING = 1; // 0x1
7579 field public static final int STATE_DRAGGING = 1; // 0x1
7946 field public static final int STATE_DRAGGING = 1; // 0x1
D24.2.0.txt330 field public static final int STATE_DRAGGING = 1; // 0x1
629 field public static final int STATE_DRAGGING = 1; // 0x1
7100 field public static final int STATE_DRAGGING = 1; // 0x1
7465 field public static final int STATE_DRAGGING = 1; // 0x1
D22.2.0.txt237 field public static final int STATE_DRAGGING = 1; // 0x1
4775 field public static final int STATE_DRAGGING = 1; // 0x1
5090 field public static final int STATE_DRAGGING = 1; // 0x1
D22.2.1.txt245 field public static final int STATE_DRAGGING = 1; // 0x1
4804 field public static final int STATE_DRAGGING = 1; // 0x1
5119 field public static final int STATE_DRAGGING = 1; // 0x1
D26.0.0-alpha1.txt421 field public static final int STATE_DRAGGING = 1; // 0x1
713 field public static final int STATE_DRAGGING = 1; // 0x1
8484 field public static final int STATE_DRAGGING = 1; // 0x1
8851 field public static final int STATE_DRAGGING = 1; // 0x1
D23.2.1.txt180 field public static final int STATE_DRAGGING = 1; // 0x1
457 field public static final int STATE_DRAGGING = 1; // 0x1
6244 field public static final int STATE_DRAGGING = 1; // 0x1
6585 field public static final int STATE_DRAGGING = 1; // 0x1
D25.3.0.txt493 field public static final int STATE_DRAGGING = 1; // 0x1
786 field public static final int STATE_DRAGGING = 1; // 0x1
8011 field public static final int STATE_DRAGGING = 1; // 0x1
8378 field public static final int STATE_DRAGGING = 1; // 0x1
D23.2.0.txt180 field public static final int STATE_DRAGGING = 1; // 0x1
457 field public static final int STATE_DRAGGING = 1; // 0x1
6244 field public static final int STATE_DRAGGING = 1; // 0x1
6585 field public static final int STATE_DRAGGING = 1; // 0x1
D25.4.0.txt523 field public static final int STATE_DRAGGING = 1; // 0x1
816 field public static final int STATE_DRAGGING = 1; // 0x1
8082 field public static final int STATE_DRAGGING = 1; // 0x1
8456 field public static final int STATE_DRAGGING = 1; // 0x1
D23.4.0.txt181 field public static final int STATE_DRAGGING = 1; // 0x1
459 field public static final int STATE_DRAGGING = 1; // 0x1
6256 field public static final int STATE_DRAGGING = 1; // 0x1
6597 field public static final int STATE_DRAGGING = 1; // 0x1

12