Home
last modified time | relevance | path

Searched refs:STATE_HIDDEN (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DFastScroller.java43 @IntDef({STATE_HIDDEN, STATE_VISIBLE, STATE_DRAGGING})
47 private static final int STATE_HIDDEN = 0; field in FastScroller
113 @State private int mState = STATE_HIDDEN;
195 if (state == STATE_HIDDEN) { in setState()
223 return mState == STATE_HIDDEN; in isHidden()
280 setState(STATE_HIDDEN); in onDrawOver()
354 if (mState != STATE_HIDDEN) { in updateScrollPosition()
355 setState(STATE_HIDDEN); in updateScrollPosition()
376 if (mState == STATE_HIDDEN || mState == STATE_VISIBLE) { in updateScrollPosition()
412 if (mState == STATE_HIDDEN) { in onTouchEvent()
[all …]
/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
DBottomSheetWithFab.java42 if (mBehavior.getState() == BottomSheetBehavior.STATE_HIDDEN) {
45 mBehavior.setState(BottomSheetBehavior.STATE_HIDDEN);
66 case BottomSheetBehavior.STATE_HIDDEN: in onCreate()
DBottomSheetHideable.java55 case BottomSheetBehavior.STATE_HIDDEN: in onCreate()
79 if (mBehavior.getState() == BottomSheetBehavior.STATE_HIDDEN) {
82 mBehavior.setState(BottomSheetBehavior.STATE_HIDDEN);
DBottomSheetUsageBase.java50 state != BottomSheetBehavior.STATE_HIDDEN) { in onBackPressed()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationIconContainer.java241 if (icon.getVisibleState() != StatusBarIconView.STATE_HIDDEN in onViewRemoved()
254 icon.setVisibleState(StatusBarIconView.STATE_HIDDEN, true /* animate */, in onViewRemoved()
364 iconState.visibleState = StatusBarIconView.STATE_HIDDEN; in calculateIconTranslations()
543 icon.setVisibleState(StatusBarIconView.STATE_HIDDEN, in applyToView()
557 && (icon.getVisibleState() != StatusBarIconView.STATE_HIDDEN in applyToView()
558 || visibleState != StatusBarIconView.STATE_HIDDEN)) { in applyToView()
580 && (icon.getVisibleState() != StatusBarIconView.STATE_HIDDEN in applyToView()
581 || visibleState != StatusBarIconView.STATE_HIDDEN)) { in applyToView()
/frameworks/support/design/tests/src/android/support/design/widget/
DBottomSheetBehaviorInitialStateTest.java59 BottomSheetBehavior.STATE_HIDDEN); in testSetStateHidden()
62 assertThat(activity.mBehavior.getState(), is(BottomSheetBehavior.STATE_HIDDEN)); in testSetStateHidden()
DBottomSheetDialogTest.java223 .perform(setState(BottomSheetBehavior.STATE_HIDDEN)); in testHideBottomSheet()
249 .perform(setState(BottomSheetBehavior.STATE_HIDDEN)); in testHideThenShow()
DBottomSheetBehaviorTest.java295 checkSetState(BottomSheetBehavior.STATE_HIDDEN, not(ViewMatchers.isDisplayed())); in testSetStateHiddenToCollapsed()
358 assertThat(getBehavior().getState(), is(BottomSheetBehavior.STATE_HIDDEN)); in testSwipeDownToHide()
402 assertThat(getBehavior().getState(), is(BottomSheetBehavior.STATE_HIDDEN)); in testSkipCollapsed()
681 checkSetState(BottomSheetBehavior.STATE_HIDDEN, not(ViewMatchers.isDisplayed())); in testAutoPeekHeightHide()
/frameworks/support/design/src/android/support/design/widget/
DBottomSheetBehavior.java104 public static final int STATE_HIDDEN = 5; field in BottomSheetBehavior
108 @IntDef({STATE_EXPANDED, STATE_COLLAPSED, STATE_DRAGGING, STATE_SETTLING, STATE_HIDDEN})
239 } else if (mHideable && mState == STATE_HIDDEN) { in onLayoutChild()
396 targetState = STATE_HIDDEN; in onStopNestedScroll()
533 (mHideable && state == STATE_HIDDEN)) { in setState()
626 } else if (mHideable && state == STATE_HIDDEN) { in startSettlingAnimation()
680 targetState = STATE_HIDDEN;
DBottomSheetDialog.java220 if (newState == BottomSheetBehavior.STATE_HIDDEN) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarIconView.java64 public static final int STATE_HIDDEN = 2; field in StatusBarIconView
/frameworks/support/api/
D25.1.0.txt385 field public static final int STATE_HIDDEN = 5; // 0x5
D25.0.0.txt352 field public static final int STATE_HIDDEN = 5; // 0x5
D25.2.0.txt385 field public static final int STATE_HIDDEN = 5; // 0x5
D24.2.0.txt332 field public static final int STATE_HIDDEN = 5; // 0x5
D26.0.0-alpha1.txt423 field public static final int STATE_HIDDEN = 5; // 0x5
D23.2.1.txt182 field public static final int STATE_HIDDEN = 5; // 0x5
D25.3.0.txt495 field public static final int STATE_HIDDEN = 5; // 0x5
D23.2.0.txt182 field public static final int STATE_HIDDEN = 5; // 0x5
D25.4.0.txt525 field public static final int STATE_HIDDEN = 5; // 0x5
D23.4.0.txt183 field public static final int STATE_HIDDEN = 5; // 0x5
D24.0.0.txt193 field public static final int STATE_HIDDEN = 5; // 0x5
D26.0.0-beta1.txt523 field public static final int STATE_HIDDEN = 5; // 0x5
D26.0.0-SNAPSHOT.txt522 field public static final int STATE_HIDDEN = 5; // 0x5
D26.0.0-beta2.txt522 field public static final int STATE_HIDDEN = 5; // 0x5

12