Home
last modified time | relevance | path

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

/frameworks/support/design/src/android/support/design/widget/
DBottomSheetBehavior.java80 public static final int STATE_DRAGGING = 1; field in BottomSheetBehavior
103 @IntDef({STATE_EXPANDED, STATE_COLLAPSED, STATE_DRAGGING, STATE_SETTLING, STATE_HIDDEN})
186 if (ss.state == STATE_DRAGGING || ss.state == STATE_SETTLING) { in onRestoreInstanceState()
211 } else if (mState == STATE_DRAGGING || mState == STATE_SETTLING) { in onLayoutChild()
267 !mIgnoreEvents && mState != STATE_DRAGGING && in onInterceptTouchEvent()
278 if (mState == STATE_DRAGGING && action == MotionEvent.ACTION_DOWN) { in onTouchEvent()
325 setStateInternal(STATE_DRAGGING); in onNestedPreScroll()
332 setStateInternal(STATE_DRAGGING); in onNestedPreScroll()
571 if (mState == STATE_DRAGGING) {
594 if (state == ViewDragHelper.STATE_DRAGGING) {
[all …]
DSwipeDismissBehavior.java47 public static final int STATE_DRAGGING = ViewDragHelper.STATE_DRAGGING; field in SwipeDismissBehavior
DSnackbar.java462 case SwipeDismissBehavior.STATE_DRAGGING: in showView()
/frameworks/support/v4/java/android/support/v4/widget/
DViewDragHelper.java56 public static final int STATE_DRAGGING = 1; field in ViewDragHelper
469 setDragState(STATE_DRAGGING); in captureChildView()
771 if (mDragState == STATE_DRAGGING) { in dispatchViewReleased()
1052 if (mDragState == STATE_DRAGGING) { in shouldInterceptTouchEvent()
1078 return mDragState == STATE_DRAGGING; in shouldInterceptTouchEvent()
1152 if (mDragState == STATE_DRAGGING) { in processTouchEvent()
1180 if (mDragState == STATE_DRAGGING) { in processTouchEvent()
1198 if (mDragState == STATE_DRAGGING && pointerId == mActivePointerId) { in processTouchEvent()
1228 if (mDragState == STATE_DRAGGING) { in processTouchEvent()
1236 if (mDragState == STATE_DRAGGING) { in processTouchEvent()
DDrawerLayout.java100 @IntDef({STATE_IDLE, STATE_DRAGGING, STATE_SETTLING})
112 public static final int STATE_DRAGGING = ViewDragHelper.STATE_DRAGGING; field in DrawerLayout
802 if (leftState == STATE_DRAGGING || rightState == STATE_DRAGGING) { in updateDrawerState()
803 state = STATE_DRAGGING; in updateDrawerState()
/frameworks/base/core/java/android/widget/
DFastScroller.java80 private static final int STATE_DRAGGING = 2; field in FastScroller
519 if (hasMoreItems && mState != STATE_DRAGGING) { in onItemCountChanged()
836 case STATE_DRAGGING: in setState()
851 final boolean isPressed = mState == STATE_DRAGGING; in refreshDrawablePressedState()
936 if (hasMoreItems && mState != STATE_DRAGGING) { in onScroll()
946 if (mState != STATE_DRAGGING) { in onScroll()
1368 setState(STATE_DRAGGING); in beginDrag()
1471 if (mState == STATE_DRAGGING) { in onTouchEvent()
1494 if (mState == STATE_DRAGGING) { in onTouchEvent()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DTouchExplorer.java66 private static final int STATE_DRAGGING = 0x00000002; field in TouchExplorer
225 case STATE_DRAGGING: { in clear()
298 case STATE_DRAGGING: { in onMotionEvent()
592 mCurrentState = STATE_DRAGGING; in handleMotionEventStateTouchExploring()
1097 case STATE_DRAGGING: in getStateSymbolicName()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DDrawerController.java198 if (newState == DrawerLayout.STATE_DRAGGING) { in onDrawerStateChanged()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DDrawerLayoutTest.java418 inOrder.verify(mockedListener).onDrawerStateChanged(DrawerLayout.STATE_DRAGGING); in testDrawerListenerCallbacksOnOpeningViaSwipes()
466 inOrder.verify(mockedListener).onDrawerStateChanged(DrawerLayout.STATE_DRAGGING); in testDrawerListenerCallbacksOnClosingViaSwipes()
/frameworks/support/design/tests/src/android/support/design/widget/
DBottomSheetBehaviorTest.java106 return state != BottomSheetBehavior.STATE_DRAGGING && in isIdleState()
524 assertThat(behavior.getState(), is(BottomSheetBehavior.STATE_DRAGGING)); in testLayoutWhileDragging()
/frameworks/support/design/api/
Dcurrent.txt85 field public static final int STATE_DRAGGING = 1; // 0x1
374 field public static final int STATE_DRAGGING = 1; // 0x1
D22.2.0.txt237 field public static final int STATE_DRAGGING = 1; // 0x1
D22.2.1.txt245 field public static final int STATE_DRAGGING = 1; // 0x1
D23.0.0.txt271 field public static final int STATE_DRAGGING = 1; // 0x1
D23.1.1.txt304 field public static final int STATE_DRAGGING = 1; // 0x1
D23.1.0.txt301 field public static final int STATE_DRAGGING = 1; // 0x1
/frameworks/support/v4/api/
D22.1.0.txt2777 field public static final int STATE_DRAGGING = 1; // 0x1
3092 field public static final int STATE_DRAGGING = 1; // 0x1
D22.0.0.txt2544 field public static final int STATE_DRAGGING = 1; // 0x1
2826 field public static final int STATE_DRAGGING = 1; // 0x1
D22.2.1.txt2853 field public static final int STATE_DRAGGING = 1; // 0x1
3168 field public static final int STATE_DRAGGING = 1; // 0x1
D22.2.0.txt2852 field public static final int STATE_DRAGGING = 1; // 0x1
3167 field public static final int STATE_DRAGGING = 1; // 0x1
D23.0.0.txt3136 field public static final int STATE_DRAGGING = 1; // 0x1
3457 field public static final int STATE_DRAGGING = 1; // 0x1
D23.1.0.txt3168 field public static final int STATE_DRAGGING = 1; // 0x1
3497 field public static final int STATE_DRAGGING = 1; // 0x1
D23.1.1.txt3128 field public static final int STATE_DRAGGING = 1; // 0x1
3464 field public static final int STATE_DRAGGING = 1; // 0x1
Dcurrent.txt3388 field public static final int STATE_DRAGGING = 1; // 0x1
3738 field public static final int STATE_DRAGGING = 1; // 0x1