Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DInsetsPolicy.java212 final InsetsState originalState = mStateController.getInsetsForWindow(target); in getInsetsForWindow() local
213 final InsetsState state = adjustVisibilityForTransientTypes(originalState); in getInsetsForWindow()
214 return target.mIsImWindow ? adjustVisibilityForIme(state, state == originalState) : state; in getInsetsForWindow()
221 final InsetsState originalState = mStateController.getInsetsForWindowMetrics(attrs); in getInsetsForWindowMetrics() local
222 return adjustVisibilityForTransientTypes(originalState); in getInsetsForWindowMetrics()
225 private InsetsState adjustVisibilityForTransientTypes(InsetsState originalState) { in adjustVisibilityForTransientTypes() argument
226 InsetsState state = originalState; in adjustVisibilityForTransientTypes()
231 if (state == originalState) { in adjustVisibilityForTransientTypes()
233 state = new InsetsState(originalState); in adjustVisibilityForTransientTypes()
245 private static InsetsState adjustVisibilityForIme(InsetsState originalState, in adjustVisibilityForIme() argument
[all …]
/frameworks/av/media/libaaudio/tests/
Dtest_various.cpp174 aaudio_stream_state_t originalState, in checkStateTransition() argument
201 if (originalState != AAUDIO_STREAM_STATE_OPEN) { in checkStateTransition()
205 if (originalState != AAUDIO_STREAM_STATE_STARTING) { in checkStateTransition()
213 if (originalState == AAUDIO_STREAM_STATE_STOPPING) { in checkStateTransition()
215 } else if (originalState == AAUDIO_STREAM_STATE_STOPPED) { in checkStateTransition()
218 } else if (originalState == AAUDIO_STREAM_STATE_PAUSING) { in checkStateTransition()
220 } else if (originalState == AAUDIO_STREAM_STATE_PAUSED) { in checkStateTransition()
223 } else if (originalState == AAUDIO_STREAM_STATE_FLUSHING) { in checkStateTransition()
237 } else if (originalState == AAUDIO_STREAM_STATE_CLOSING) { in checkStateTransition()
249 ASSERT_EQ(originalState, state); in checkStateTransition()
[all …]
/frameworks/base/core/java/android/app/
DActivityTransitionCoordinator.java617 SharedElementOriginalState originalState = getOldSharedElementState(sharedElement, in setSharedElementState() local
619 originalImageState.add(originalState); in setSharedElementState()
709 ArrayList<SharedElementOriginalState> originalState) { in setOriginalSharedElementState() argument
710 for (int i = 0; i < originalState.size(); i++) { in setOriginalSharedElementState()
712 SharedElementOriginalState state = originalState.get(i); in setOriginalSharedElementState()
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternal.cpp365 aaudio_stream_state_t originalState = getState(); in requestStart_l() local
366 if (originalState == AAUDIO_STREAM_STATE_DISCONNECTED) { in requestStart_l()
399 setState(originalState); in requestStart_l()
/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamRecord.cpp380 aaudio_stream_state_t originalState = getState(); in requestStart_l() local
389 setState(originalState); in requestStart_l()
DAudioStreamTrack.cpp326 aaudio_stream_state_t originalState = getState(); in requestStart_l() local
333 setState(originalState); in requestStart_l()