/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/ |
H A D | StrictFragment.java | 33 public static final int RESUMED = 5; field in class:StrictFragment 49 case RESUMED: return "RESUMED"; 138 mState = RESUMED; 157 checkState("onPause", RESUMED); 159 onStateChanged(RESUMED);
|
H A D | FragmentViewLifecycleTest.java | 65 assertEquals(Lifecycle.State.RESUMED, 114 assertEquals(Lifecycle.State.RESUMED, 169 assertEquals(Lifecycle.State.RESUMED, 171 assertTrue("LiveData should have active observers when RESUMED", 197 assertEquals(Lifecycle.State.RESUMED, 199 assertTrue("LiveData should have active observers when RESUMED", 212 assertEquals(Lifecycle.State.RESUMED, 214 assertTrue("LiveData should have active observers when RESUMED",
|
H A D | FragmentLifecycleTest.java | 626 testLifecycleTransitionFailure(StrictFragment.STARTED, StrictFragment.RESUMED); 628 testLifecycleTransitionFailure(StrictFragment.RESUMED, StrictFragment.STARTED);
|
/frameworks/support/lifecycle/common/src/main/java/androidx/lifecycle/ |
H A D | Lifecycle.java | 190 RESUMED; enum constant in enum:Lifecycle.State
|
/frameworks/base/core/java/android/app/ |
H A D | LocalActivityManager.java | 70 static final int RESUMED = 4; // Created started and resumed. field in class:LocalActivityManager 163 if (desiredState == RESUMED) { 166 r.curState = RESUMED; 185 if (desiredState == RESUMED) { 189 r.curState = RESUMED; 194 if (desiredState == RESUMED) { 199 r.curState = RESUMED; 208 case RESUMED: 218 mActivityThread.performStopActivity(r, false, "moveToState-RESUMED"); 314 if (old != null && old != r && mCurState == RESUMED) { [all...] |
H A D | Fragment.java | 275 static final int RESUMED = 5; // Created started and resumed. field in class:Fragment 827 if (mState >= RESUMED) { 889 return mState >= RESUMED; 2566 mState = RESUMED;
|
H A D | FragmentManager.java | 1340 if (DEBUG) Log.v(TAG, "moveto RESUMED: " + f); 1350 case Fragment.RESUMED: 1351 if (newState < Fragment.RESUMED) { 1352 if (DEBUG) Log.v(TAG, "movefrom RESUMED: " + f); 1660 if (mNeedMenuInvalidate && mHost != null && mCurState == Fragment.RESUMED) { 3008 dispatchMoveToState(Fragment.RESUMED); 3463 if (mHost != null && mCurState == Fragment.RESUMED) {
|
/frameworks/support/lifecycle/common/src/test/java/androidx/lifecycle/ |
H A D | FullLifecycleObserverTest.java | 27 import static androidx.lifecycle.Lifecycle.State.RESUMED; 69 when(mLifecycle.getCurrentState()).thenReturn(RESUMED);
|
H A D | ReflectiveGenericLifecycleObserverTest.java | 28 import static androidx.lifecycle.Lifecycle.State.RESUMED; 132 when(mLifecycle.getCurrentState()).thenReturn(RESUMED);
|
/frameworks/support/lifecycle/runtime/src/main/java/androidx/lifecycle/ |
H A D | LifecycleRegistry.java | 28 import static androidx.lifecycle.Lifecycle.State.RESUMED; 244 return RESUMED; 261 case RESUMED: 278 case RESUMED:
|
/frameworks/support/lifecycle/integration-tests/testapp/src/androidTest/java/androidx/lifecycle/ |
H A D | TestUtils.java | 27 import static androidx.lifecycle.Lifecycle.State.RESUMED; 96 waitTillState(owner, activityRule, RESUMED);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
H A D | ActivityStackTests.java | 28 import static com.android.server.am.ActivityStack.ActivityState.RESUMED; 102 r.setState(RESUMED, "testResumedActivity"); 112 r.setState(RESUMED, "testResumedActivityFromTaskReparenting"); 130 r.setState(RESUMED, "testResumedActivityFromActivityReparenting");
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActivityStack.java | 80 import static com.android.server.am.ActivityStack.ActivityState.RESUMED; 245 RESUMED, enum constant in enum:ActivityStack.ActivityState 490 if (record == mResumedActivity && state != RESUMED) { 494 if (state == RESUMED) { 1253 if (DEBUG_STATES) Slog.v(TAG_STATES, "Moving to RESUMED: " + r + " (starting new instance)" 1255 r.setState(RESUMED, "minimalResumeActivityLocked"); 2152 case RESUMED: 2363 if (mResumedActivity == next && next.isState(RESUMED) 2462 } else if (mResumedActivity == next && next.isState(RESUMED) 2616 if (DEBUG_STATES) Slog.v(TAG_STATES, "Moving to RESUMED [all...] |
H A D | ActivityRecord.java | 99 import static com.android.server.am.ActivityStack.ActivityState.RESUMED; 1309 case RESUMED: 1437 if ((mState == RESUMED || mState == PAUSED 1729 if (mState == RESUMED || this == starting) { 1789 // to RESUMED. Adding PAUSING in this scenario will lead to double lifecycles. 1822 return mState == RESUMED; 2191 return visible || nowVisible || mState == PAUSING || mState == RESUMED; 2319 mState.ordinal() >= RESUMED.ordinal() && mState.ordinal() <= STOPPED.ordinal(), 2625 } else if (mState == RESUMED) { 2758 "Moving to " + (andResume ? "RESUMED" [all...] |
H A D | ActivityStackSupervisor.java | 83 import static com.android.server.am.ActivityStack.ActivityState.RESUMED; 1036 if (r != null && !r.isState(RESUMED)) { 2226 if (r == null || !r.isState(RESUMED)) { 2228 } else if (r.isState(RESUMED)) { 3784 || r.isState(RESUMED, PAUSING, PAUSED, STOPPING)) { 3956 if (state != INITIALIZING && state != RESUMED) Slog.e(TAG, 3965 if (r != null && (state == INITIALIZING || state == RESUMED)) Slog.e(TAG,
|
H A D | ActivityStarter.java | 69 import static com.android.server.am.ActivityStack.ActivityState.RESUMED; 1150 if (r.nowVisible && r.isState(RESUMED)) { 1592 if (top != null && !top.isState(RESUMED)) {
|
H A D | ActivityManagerService.java | 5871 if (self.isState(ActivityState.RESUMED, ActivityState.PAUSING)) { [all...] |
/frameworks/support/fragment/src/main/java/androidx/fragment/app/ |
H A D | Fragment.java | 96 static final int RESUMED = 4; // Created started and resumed. field in class:Fragment 830 if (mState >= RESUMED) { 902 return mState >= RESUMED; 2482 mState = RESUMED;
|
H A D | FragmentManager.java | 1500 if (DEBUG) Log.v(TAG, "moveto RESUMED: " + f); 1509 case Fragment.RESUMED: 1510 if (newState < Fragment.RESUMED) { 1511 if (DEBUG) Log.v(TAG, "movefrom RESUMED: " + f); 1867 if (mNeedMenuInvalidate && mHost != null && mCurState == Fragment.RESUMED) { 3239 dispatchStateChange(Fragment.RESUMED);
|
/frameworks/base/tests/net/java/com/android/server/ |
H A D | ConnectivityServiceTest.java | 1420 RESUMED, enum constant in enum:ConnectivityServiceTest.CallbackState 1495 setLastCallback(CallbackState.RESUMED, network, null); 2735 cellNetworkCallback.expectCallback(CallbackState.RESUMED, mCellNetworkAgent);
|