Home
last modified time | relevance | path

Searched refs:STATE_CLOSED (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DShadeExpansionStateManager.kt41 @PanelState private var state: Int = STATE_CLOSED
65 fun isClosed(): Boolean = state == STATE_CLOSED in isClosed()
91 if (this.state == STATE_CLOSED) { in isClosed()
100 } else if (fullyClosed && !tracking && this.state != STATE_CLOSED) { in isClosed()
101 updateStateInternal(STATE_CLOSED) in isClosed()
155 @IntDef(value = [STATE_CLOSED, STATE_OPENING, STATE_OPEN])
158 const val STATE_CLOSED = 0 constant
165 STATE_CLOSED -> "CLOSED" in panelStateToString()
DNotificationPanelViewController.java41 import static com.android.systemui.shade.ShadeExpansionStateManagerKt.STATE_CLOSED;
506 private int mCurrentPanelState = STATE_CLOSED;
2032 getShadeExpansionStateManager().updateState(STATE_CLOSED); in collapse()
4806 if (state == STATE_CLOSED) {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DShadeExpansionStateManagerTest.kt124 assertThat(listener.state).isEqualTo(STATE_CLOSED) in onPEC_fractionLessThanOne_expandedFalse_trackingFalse_becomesStateClosed()
187 assertThat(listener.state).isEqualTo(STATE_CLOSED) in onPEC_fractionOne_expandedFalse_trackingFalse_becomesStateClosed()
221 @PanelState var previousState: Int = STATE_CLOSED
222 @PanelState var state: Int = STATE_CLOSED
DNotificationPanelViewControllerTest.java22 import static com.android.systemui.shade.ShadeExpansionStateManagerKt.STATE_CLOSED;
1052 mShadeExpansionStateManager.updateState(STATE_CLOSED); in testQsToBeImmediatelyExpandedWhenOpeningPanelInSplitShade()
1062 mShadeExpansionStateManager.updateState(STATE_CLOSED); in testQsNotToBeImmediatelyExpandedWhenGoingFromUnlockedToLocked()
1074 mShadeExpansionStateManager.updateState(STATE_CLOSED); in testQsImmediateResetsWhenPanelOpensOrCloses()
/frameworks/base/telephony/java/android/telephony/ims/
DSipDialogState.java38 @IntDef(prefix = "STATE_", value = {STATE_EARLY, STATE_CONFIRMED, STATE_CLOSED})
54 public static final int STATE_CLOSED = 2; field in SipDialogState
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFilter.java38 private static final int STATE_CLOSED = 4; field in Filter.State
395 return (mIsActive && !mState.check(State.STATE_CLOSED)); in inSchedulableState()
617 mState.current = State.STATE_CLOSED; in performClose()
626 if (mState.current == State.STATE_CLOSED) { in softReset()
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
DBlockingStateCallback.java85 public static final int STATE_CLOSED = 1; field in BlockingStateCallback
139 setCurrentState(STATE_CLOSED); in onClosed()
DBlockingOfflineSessionCallback.java93 public static final int STATE_CLOSED = 2; field in BlockingOfflineSessionCallback
156 setCurrentState(STATE_CLOSED); in onClosed()
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
DBlobStoreSession.java90 static final int STATE_CLOSED = 0; field in BlobStoreSession
118 private int mState = STATE_CLOSED;
411 closeSession(STATE_CLOSED, false /* sendCallback */); in close()
432 if (state == STATE_CLOSED) { in closeSession()
522 case STATE_CLOSED: in stateToString()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPageContentRepository.java66 private static final int STATE_CLOSED = 0; field in PageContentRepository
92 mState = STATE_CLOSED; in PageContentRepository()
110 mState = STATE_CLOSED; in close()
212 if (mState != STATE_CLOSED) { in throwIfNotClosed()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPageAdapter.java73 private static final int STATE_CLOSED = 0; field in PageAdapter
160 mState = STATE_CLOSED; in PageAdapter()
294 mState = STATE_CLOSED; in close()
832 if (mState != STATE_CLOSED) { in throwIfNotClosed()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DCamera2SurfaceViewTestCase.java19 import static com.android.ex.camera2.blocking.BlockingStateCallback.STATE_CLOSED;
638 mCameraListener.waitForState(STATE_CLOSED, CAMERA_CLOSE_TIMEOUT_MS); in closeDevice()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/fragment/
DCollapsedStatusBarFragmentTest.java20 import static com.android.systemui.shade.ShadeExpansionStateManagerKt.STATE_CLOSED;
353 mShadeExpansionStateManager.updateState(STATE_CLOSED); in disable_shadeOpenAndShouldHide_thenShadeNotOpenAndDozingUpdate_everythingShown()
/frameworks/proto_logging/stats/enums/telephony/
Denums.proto656 STATE_CLOSED = 1; enumerator
/frameworks/base/core/api/
Dsystem-current.txt17242 field public static final int STATE_CLOSED = 2; // 0x2