Searched refs:fromState (Results 1 – 5 of 5) sorted by relevance
/cts/tests/fragment/src/android/fragment/cts/ |
D | ReentrantFragment.java | 29 public static ReentrantFragment create(int fromState, int toState) { in create() argument 31 fragment.mFromState = fromState; in create() 38 public void onStateChanged(int fromState) { in onStateChanged() argument 39 super.onStateChanged(fromState); in onStateChanged() 41 if (fromState == mFromState && mState == mToState in onStateChanged()
|
D | StrictFragment.java | 55 public void onStateChanged(int fromState) { in onStateChanged() argument 121 int fromState = mState; in onActivityCreated() local 123 onStateChanged(fromState); in onActivityCreated() 187 int fromState = mState; in onDetach() local 189 onStateChanged(fromState); in onDetach()
|
D | FragmentLifecycleTest.java | 684 private void testLifecycleTransitionFailure(int fromState, int toState) throws Throwable { in testLifecycleTransitionFailure() argument 692 final Fragment reentrantFragment = ReentrantFragment.create(fromState, toState); in testLifecycleTransitionFailure() 708 if (fromState > toState) { in testLifecycleTransitionFailure() 710 + StrictFragment.stateToString(fromState) + " to " in testLifecycleTransitionFailure() 714 if (fromState < toState) { in testLifecycleTransitionFailure() 716 + StrictFragment.stateToString(fromState) + " to " in testLifecycleTransitionFailure() 732 + StrictFragment.stateToString(fromState) + " to " in testLifecycleTransitionFailure()
|
/cts/tests/tests/nativemedia/aaudio/jni/ |
D | utils.cpp | 189 StreamCommand cmd, aaudio_stream_state_t fromState, aaudio_stream_state_t toState) { in streamCommand() argument 193 AAudioStream_waitForStateChange(mStream, fromState, &state, DEFAULT_STATE_TIMEOUT)); in streamCommand()
|
D | utils.h | 92 StreamCommand cmd, aaudio_stream_state_t fromState, aaudio_stream_state_t toState);
|