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.java260 InsetsState adjustInsetsForWindow(WindowState target, InsetsState originalState, in adjustInsetsForWindow() argument
264 state = adjustVisibilityForTransientTypes(originalState); in adjustInsetsForWindow()
266 state = originalState; in adjustInsetsForWindow()
268 state = adjustVisibilityForIme(target, state, state == originalState); in adjustInsetsForWindow()
269 return adjustInsetsForRoundedCorners(target.mToken, state, state == originalState); in adjustInsetsForWindow()
272 InsetsState adjustInsetsForWindow(WindowState target, InsetsState originalState) { in adjustInsetsForWindow() argument
273 return adjustInsetsForWindow(target, originalState, false); in adjustInsetsForWindow()
291 final InsetsState originalState = mDisplayContent.getInsetsPolicy() in getInsetsForWindowMetrics() local
294 InsetsState state = adjustVisibilityForTransientTypes(originalState); in getInsetsForWindowMetrics()
295 return adjustInsetsForRoundedCorners(token, state, state == originalState); in getInsetsForWindowMetrics()
[all …]
/frameworks/av/media/libaaudio/tests/
Dtest_various.cpp176 aaudio_stream_state_t originalState, in checkStateTransition() argument
203 if (originalState != AAUDIO_STREAM_STATE_OPEN) { in checkStateTransition()
207 if (originalState != AAUDIO_STREAM_STATE_STARTING) { in checkStateTransition()
215 if (originalState == AAUDIO_STREAM_STATE_STOPPING) { in checkStateTransition()
217 } else if (originalState == AAUDIO_STREAM_STATE_STOPPED) { in checkStateTransition()
220 } else if (originalState == AAUDIO_STREAM_STATE_PAUSING) { in checkStateTransition()
222 } else if (originalState == AAUDIO_STREAM_STATE_PAUSED) { in checkStateTransition()
225 } else if (originalState == AAUDIO_STREAM_STATE_FLUSHING) { in checkStateTransition()
239 } else if (originalState == AAUDIO_STREAM_STATE_CLOSING) { in checkStateTransition()
251 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/legacy/
DAudioStreamRecord.cpp338 aaudio_stream_state_t originalState = getState(); in requestStart_l() local
347 setState(originalState); in requestStart_l()
DAudioStreamTrack.cpp322 aaudio_stream_state_t originalState = getState(); in requestStart_l() local
329 setState(originalState); in requestStart_l()
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternal.cpp435 aaudio_stream_state_t originalState = getState(); in requestStart_l() local
436 if (originalState == AAUDIO_STREAM_STATE_DISCONNECTED) { in requestStart_l()
477 setState(originalState); in requestStart_l()