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.kt84 shadeExpansionStateManager.updateState(STATE_OPEN) in updateState_listenerNotified()
86 assertThat(listener.state).isEqualTo(STATE_OPEN) in updateState_listenerNotified()
128 shadeExpansionStateManager.updateState(STATE_OPEN) in onPEC_fractionLessThanOne_expandedFalse_trackingFalse_becomesStateClosed()
145 shadeExpansionStateManager.updateState(STATE_OPEN) in onPEC_fractionLessThanOne_expandedFalse_trackingTrue_doesNotBecomeStateClosed()
154 assertThat(listener.state).isEqualTo(STATE_OPEN) in onPEC_fractionLessThanOne_expandedFalse_trackingTrue_doesNotBecomeStateClosed()
172 assertThat(listener.state).isEqualTo(STATE_OPEN) in onPEC_fractionOne_expandedTrue_trackingFalse_becomesStateOpeningThenStateOpen()
195 shadeExpansionStateManager.updateState(STATE_OPEN) in onPEC_fractionOne_expandedFalse_trackingFalse_becomesStateClosed()
212 shadeExpansionStateManager.updateState(STATE_OPEN) in onPEC_fractionOne_expandedFalse_trackingTrue_doesNotBecomeStateClosed()
221 assertThat(listener.state).isEqualTo(STATE_OPEN) in onPEC_fractionOne_expandedFalse_trackingTrue_doesNotBecomeStateClosed()
DNotificationPanelViewControllerTest.java23 import static com.android.systemui.shade.ShadeExpansionStateManagerKt.STATE_OPEN;
778 mShadeExpansionStateManager.updateState(STATE_OPEN); in testQsToBeImmediatelyExpandedWhenOpeningPanelInSplitShade()
802 mShadeExpansionStateManager.updateState(STATE_OPEN); in testQsImmediateResetsWhenPanelOpensOrCloses()
/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/src/com/android/systemui/shade/
DShadeExpansionStateManager.kt139 updateStateInternal(STATE_OPEN) in isClosed()
218 @IntDef(value = [STATE_CLOSED, STATE_OPENING, STATE_OPEN])
223 const val STATE_OPEN = 2 constant
230 STATE_OPEN -> "OPEN" in panelStateToString()
DNotificationPanelViewController.java36 import static com.android.systemui.shade.ShadeExpansionStateManagerKt.STATE_OPEN;
4559 if (state == STATE_OPEN && mCurrentPanelState != state) { in onPanelStateChanged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/transition/
DScrimShadeTransitionControllerTest.kt11 import com.android.systemui.shade.STATE_OPEN
139 controller.onPanelStateChanged(STATE_OPEN) in onPanelExpansionChanged_inSplitShade_panelOpen_setsFractionEqualToEventFraction()