Home
last modified time | relevance | path

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

12

/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
DFastScroller.java42 @IntDef({STATE_HIDDEN, STATE_VISIBLE, STATE_DRAGGING})
50 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()
398 setState(STATE_DRAGGING); in onInterceptTouchEvent()
403 } else if (mState == STATE_DRAGGING) { in onInterceptTouchEvent()
428 setState(STATE_DRAGGING); in onTouchEvent()
430 } else if (me.getAction() == MotionEvent.ACTION_UP && mState == STATE_DRAGGING) { in onTouchEvent()
435 } else if (me.getAction() == MotionEvent.ACTION_MOVE && mState == STATE_DRAGGING) { in onTouchEvent()
/frameworks/support/customview/src/main/java/androidx/customview/widget/
DViewDragHelper.java59 public static final int STATE_DRAGGING = 1; field in ViewDragHelper
479 setDragState(STATE_DRAGGING); in captureChildView()
783 if (mDragState == STATE_DRAGGING) { in dispatchViewReleased()
1061 if (mDragState == STATE_DRAGGING) { in shouldInterceptTouchEvent()
1087 return mDragState == STATE_DRAGGING; in shouldInterceptTouchEvent()
1161 if (mDragState == STATE_DRAGGING) { in processTouchEvent()
1189 if (mDragState == STATE_DRAGGING) { in processTouchEvent()
1207 if (mDragState == STATE_DRAGGING && pointerId == mActivePointerId) { in processTouchEvent()
1237 if (mDragState == STATE_DRAGGING) { in processTouchEvent()
1245 if (mDragState == STATE_DRAGGING) { in processTouchEvent()
/frameworks/support/wear/src/main/java/androidx/wear/widget/drawer/
DWearableDrawerView.java98 public static final int STATE_DRAGGING = ViewDragHelper.STATE_DRAGGING; field in WearableDrawerView
111 @IntDef({STATE_IDLE, STATE_DRAGGING, STATE_SETTLING})
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DMagnificationGestureHandlerTest.java91 public static final int STATE_DRAGGING = 7; field in MagnificationGestureHandlerTest
351 case STATE_DRAGGING: { in assertIn()
411 case STATE_DRAGGING: {
467 case STATE_DRAGGING: {
/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.java68 private static final int STATE_DRAGGING = 0x00000002; field in TouchExplorer
222 case STATE_DRAGGING: { in clear()
288 case STATE_DRAGGING: { in onMotionEvent()
581 mCurrentState = STATE_DRAGGING; in handleMotionEventStateTouchExploring()
1093 case STATE_DRAGGING: in getStateSymbolicName()
/frameworks/support/drawerlayout/src/main/java/androidx/drawerlayout/widget/
DDrawerLayout.java109 @IntDef({STATE_IDLE, STATE_DRAGGING, STATE_SETTLING})
121 public static final int STATE_DRAGGING = ViewDragHelper.STATE_DRAGGING; field in DrawerLayout
820 if (leftState == STATE_DRAGGING || rightState == STATE_DRAGGING) { in updateDrawerState()
821 state = STATE_DRAGGING; in updateDrawerState()
/frameworks/support/drawerlayout/api/
Dcurrent.txt44 field public static final int STATE_DRAGGING = 1; // 0x1
/frameworks/support/drawerlayout/api_legacy/
D28.0.0-alpha1.txt44 field public static final int STATE_DRAGGING = 1; // 0x1
Dcurrent.txt44 field public static final int STATE_DRAGGING = 1; // 0x1
D0.0.0.txt44 field public static final int STATE_DRAGGING = 1; // 0x1
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/app/
DDrawerLayoutTest.java479 inOrder.verify(mockedListener).onDrawerStateChanged(DrawerLayout.STATE_DRAGGING); in testDrawerListenerCallbacksOnOpeningViaSwipes()
527 inOrder.verify(mockedListener).onDrawerStateChanged(DrawerLayout.STATE_DRAGGING); in testDrawerListenerCallbacksOnClosingViaSwipes()
/frameworks/support/customview/api/
Dcurrent.txt82 field public static final int STATE_DRAGGING = 1; // 0x1
/frameworks/support/customview/api_legacy/
D0.0.0.txt82 field public static final int STATE_DRAGGING = 1; // 0x1
D28.0.0-alpha1.txt82 field public static final int STATE_DRAGGING = 1; // 0x1
Dcurrent.txt82 field public static final int STATE_DRAGGING = 1; // 0x1
/frameworks/support/wear/api_legacy/
D26.0.0.txt186 field public static final int STATE_DRAGGING = 1; // 0x1
D26.1.0.txt186 field public static final int STATE_DRAGGING = 1; // 0x1
D27.0.0.txt229 field public static final int STATE_DRAGGING = 1; // 0x1
D27.1.0.txt251 field public static final int STATE_DRAGGING = 1; // 0x1
D28.0.0-alpha1.txt251 field public static final int STATE_DRAGGING = 1; // 0x1
Dcurrent.txt251 field public static final int STATE_DRAGGING = 1; // 0x1
/frameworks/support/wear/api/
Dcurrent.txt287 field public static final int STATE_DRAGGING = 1; // 0x1
/frameworks/support/legacy/core-ui/api_legacy/
D26.1.0.txt369 field public static final int STATE_DRAGGING = 1; // 0x1
632 field public static final int STATE_DRAGGING = 1; // 0x1
D26.0.0.txt369 field public static final int STATE_DRAGGING = 1; // 0x1
632 field public static final int STATE_DRAGGING = 1; // 0x1

12