Home
last modified time | relevance | path

Searched refs:STATE_OPEN (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DShadeExpansionStateManagerTest.kt74 shadeExpansionStateManager.updateState(STATE_OPEN) in updateState_listenerNotified()
76 assertThat(listener.state).isEqualTo(STATE_OPEN) in updateState_listenerNotified()
116 shadeExpansionStateManager.updateState(STATE_OPEN) in onPEC_fractionLessThanOne_expandedFalse_trackingFalse_becomesStateClosed()
132 shadeExpansionStateManager.updateState(STATE_OPEN) in onPEC_fractionLessThanOne_expandedFalse_trackingTrue_doesNotBecomeStateClosed()
140 assertThat(listener.state).isEqualTo(STATE_OPEN) in onPEC_fractionLessThanOne_expandedFalse_trackingTrue_doesNotBecomeStateClosed()
157 assertThat(listener.state).isEqualTo(STATE_OPEN) in onPEC_fractionOne_expandedTrue_trackingFalse_becomesStateOpeningThenStateOpen()
179 shadeExpansionStateManager.updateState(STATE_OPEN) in onPEC_fractionOne_expandedFalse_trackingFalse_becomesStateClosed()
195 shadeExpansionStateManager.updateState(STATE_OPEN) in onPEC_fractionOne_expandedFalse_trackingTrue_doesNotBecomeStateClosed()
203 assertThat(listener.state).isEqualTo(STATE_OPEN) in onPEC_fractionOne_expandedFalse_trackingTrue_doesNotBecomeStateClosed()
DNotificationPanelViewControllerTest.java23 import static com.android.systemui.shade.ShadeExpansionStateManagerKt.STATE_OPEN;
1049 mShadeExpansionStateManager.updateState(STATE_OPEN); in testQsToBeImmediatelyExpandedWhenOpeningPanelInSplitShade()
1073 mShadeExpansionStateManager.updateState(STATE_OPEN); in testQsImmediateResetsWhenPanelOpensOrCloses()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DShadeExpansionStateManager.kt99 updateStateInternal(STATE_OPEN) in isClosed()
155 @IntDef(value = [STATE_CLOSED, STATE_OPENING, STATE_OPEN])
160 const val STATE_OPEN = 2 constant
167 STATE_OPEN -> "OPEN" in panelStateToString()
DNotificationPanelViewController.java42 import static com.android.systemui.shade.ShadeExpansionStateManagerKt.STATE_OPEN;
4791 if (state == STATE_OPEN && mCurrentPanelState != state) {
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFilter.java37 private static final int STATE_OPEN = 3; field in Filter.State
274 return mState.check(State.STATE_OPEN); in isOpen()
443 if (mState.current == State.STATE_OPEN) { in performPreparation()
599 mState.current = State.STATE_OPEN; in execute()
601 if (mState.current == State.STATE_OPEN) { in execute()
614 if (mState.current == State.STATE_OPEN) { in performClose()
634 if (mState.current == State.STATE_OPEN) { in performTearDown()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/fragment/
DCollapsedStatusBarFragmentTest.java21 import static com.android.systemui.shade.ShadeExpansionStateManagerKt.STATE_OPEN;
309 mShadeExpansionStateManager.updateState(STATE_OPEN); in disable_shadeOpenAndShouldHide_everythingHidden()
325 mShadeExpansionStateManager.updateState(STATE_OPEN); in disable_shadeOpenButNotShouldHide_everythingShown()
342 mShadeExpansionStateManager.updateState(STATE_OPEN); in disable_shadeOpenAndShouldHide_thenShadeNotOpenAndDozingUpdate_everythingShown()