Searched refs:STATE_EXPANDED (Results 1 – 4 of 4) sorted by relevance
/frameworks/support/design/src/android/support/design/widget/ |
D | BottomSheetBehavior.java | 90 public static final int STATE_EXPANDED = 3; field in BottomSheetBehavior 103 @IntDef({STATE_EXPANDED, STATE_COLLAPSED, STATE_DRAGGING, STATE_SETTLING, STATE_HIDDEN}) 205 if (mState == STATE_EXPANDED) { in onLayoutChild() 321 setStateInternal(STATE_EXPANDED); in onNestedPreScroll() 348 setStateInternal(STATE_EXPANDED); in onStopNestedScroll() 358 targetState = STATE_EXPANDED; in onStopNestedScroll() 366 targetState = STATE_EXPANDED; in onStopNestedScroll() 388 (mState != STATE_EXPANDED || in onNestedPreFling() 478 if (state == STATE_COLLAPSED || state == STATE_EXPANDED || in setState() 491 } else if (state == STATE_EXPANDED) { in setState() [all …]
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
D | BottomSheetBehaviorInitialStateTest.java | 44 BottomSheetBehavior.STATE_EXPANDED); in testSetStateExpanded() 47 assertThat(activity.mBehavior.getState(), is(BottomSheetBehavior.STATE_EXPANDED)); in testSetStateExpanded()
|
D | BottomSheetBehaviorTest.java | 232 checkSetState(BottomSheetBehavior.STATE_EXPANDED, ViewMatchers.isDisplayed()); in testSetStateExpandedToCollapsed() 252 checkSetState(BottomSheetBehavior.STATE_EXPANDED, ViewMatchers.isDisplayed()); in testSwipeDownToCollapse() 313 checkSetState(BottomSheetBehavior.STATE_EXPANDED, ViewMatchers.isDisplayed()); in testSkipCollapsed() 371 assertThat(getBehavior().getState(), is(BottomSheetBehavior.STATE_EXPANDED)); in testSwipeUpToExpand() 461 assertThat(behavior.getState(), is(BottomSheetBehavior.STATE_EXPANDED)); in testNestedScroll()
|
/frameworks/support/design/api/ |
D | current.txt | 86 field public static final int STATE_EXPANDED = 3; // 0x3
|