Searched refs:STATE_COLLAPSED (Results 1 – 4 of 4) sorted by relevance
/frameworks/support/design/src/android/support/design/widget/ |
D | BottomSheetBehavior.java | 95 public static final int STATE_COLLAPSED = 4; field in BottomSheetBehavior 103 @IntDef({STATE_EXPANDED, STATE_COLLAPSED, STATE_DRAGGING, STATE_SETTLING, STATE_HIDDEN}) 124 private int mState = STATE_COLLAPSED; 187 mState = STATE_COLLAPSED; in onRestoreInstanceState() 209 } else if (mState == STATE_COLLAPSED) { in onLayoutChild() 336 setStateInternal(STATE_COLLAPSED); in onNestedPreScroll() 369 targetState = STATE_COLLAPSED; in onStopNestedScroll() 373 targetState = STATE_COLLAPSED; in onStopNestedScroll() 478 if (state == STATE_COLLAPSED || state == STATE_EXPANDED || in setState() 489 if (state == STATE_COLLAPSED) { in setState() [all …]
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
D | BottomSheetBehaviorTest.java | 222 assertThat(behavior.getState(), is(BottomSheetBehavior.STATE_COLLAPSED)); in testInitialSetup() 233 checkSetState(BottomSheetBehavior.STATE_COLLAPSED, ViewMatchers.isDisplayed()); in testSetStateExpandedToCollapsed() 240 checkSetState(BottomSheetBehavior.STATE_COLLAPSED, ViewMatchers.isDisplayed()); in testSetStateHiddenToCollapsed() 246 checkSetState(BottomSheetBehavior.STATE_COLLAPSED, ViewMatchers.isDisplayed()); in testSetStateCollapsedToCollapsed() 287 assertThat(getBehavior().getState(), is(BottomSheetBehavior.STATE_COLLAPSED)); in testSwipeDownToCollapse() 385 assertThat(getBehavior().getState(), is(BottomSheetBehavior.STATE_COLLAPSED)); in testInvisible() 403 assertThat(getBehavior().getState(), is(BottomSheetBehavior.STATE_COLLAPSED)); in testInvisible() 433 assertThat(behavior.getState(), is(BottomSheetBehavior.STATE_COLLAPSED)); in testNestedScroll() 503 assertThat(getBehavior().getState(), is(BottomSheetBehavior.STATE_COLLAPSED)); in testDragOutside()
|
D | BottomSheetBehaviorWithInsetsTest.java | 40 assertThat(activity.mBehavior.getState(), is(BottomSheetBehavior.STATE_COLLAPSED)); in testFitsSystemWindows()
|
/frameworks/support/design/api/ |
D | current.txt | 84 field public static final int STATE_COLLAPSED = 4; // 0x4
|