/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/ |
H A D | StrictFragment.java | 30 public static final int CREATED = 2; field in class:StrictFragment 46 case CREATED: return "CREATED"; 110 mState = CREATED; 118 checkState("onActivityCreated", ATTACHED, CREATED); 149 // back stack, so fragments may be in the CREATED state. 150 checkStateAtLeast("onSaveInstanceState", CREATED); 167 mState = CREATED; 175 checkState("onDestroy", CREATED); 177 onStateChanged(CREATED); [all...] |
H A D | StrictViewFragment.java | 45 checkState("onCreateView", CREATED); 57 checkState("onViewCreated", CREATED); 68 checkState("onDestroyView", CREATED);
|
H A D | FragmentArchLifecycleTest.java | 62 assertEquals(Lifecycle.State.CREATED, first.getLifecycle().getCurrentState()); 63 assertEquals(Lifecycle.State.CREATED, second.getLifecycle().getCurrentState()); 64 Assert.assertEquals(Lifecycle.State.CREATED, activity.getLifecycle().getCurrentState());
|
H A D | TransitionFragment.java | 63 checkState("onCreateView", CREATED);
|
H A D | FragmentLifecycleTest.java | 499 * to at least the CREATED state by the time the parent fragment receives onCreateView. 623 testLifecycleTransitionFailure(StrictFragment.ATTACHED, StrictFragment.CREATED); 624 testLifecycleTransitionFailure(StrictFragment.CREATED, StrictFragment.ACTIVITY_CREATED); 629 testLifecycleTransitionFailure(StrictFragment.STARTED, StrictFragment.CREATED); 630 testLifecycleTransitionFailure(StrictFragment.CREATED, StrictFragment.ATTACHED);
|
/frameworks/support/lifecycle/common/src/main/java/androidx/lifecycle/ |
H A D | Lifecycle.java | 174 CREATED, enum constant in enum:Lifecycle.State
|
/frameworks/support/lifecycle/common/src/test/java/androidx/lifecycle/ |
H A D | FullLifecycleObserverTest.java | 25 import static androidx.lifecycle.Lifecycle.State.CREATED; 57 when(mLifecycle.getCurrentState()).thenReturn(CREATED); 79 when(mLifecycle.getCurrentState()).thenReturn(CREATED);
|
H A D | ReflectiveGenericLifecycleObserverTest.java | 26 import static androidx.lifecycle.Lifecycle.State.CREATED; 99 when(mLifecycle.getCurrentState()).thenReturn(CREATED); 121 when(mLifecycle.getCurrentState()).thenReturn(CREATED); 142 when(mLifecycle.getCurrentState()).thenReturn(CREATED);
|
/frameworks/base/core/java/android/app/ |
H A D | LocalActivityManager.java | 68 static final int CREATED = 2; // Created, not started or resumed. field in class:LocalActivityManager 172 // of our own (it is now STARTED, while we are only CREATED). 179 case CREATED: 188 mActivityThread.performResumeActivity(r, true, "moveToState-CREATED"); 201 if (desiredState == CREATED) { 204 r.curState = CREATED; 214 if (desiredState == CREATED) { 219 r.curState = CREATED; 492 mCurState = CREATED; 593 mCurState = CREATED; [all...] |
H A D | FragmentManager.java | 1167 if ((!f.mAdded || f.mDetached) && newState > Fragment.CREATED) { 1168 newState = Fragment.CREATED; 1173 newState = Fragment.CREATED; 1202 if (DEBUG) Log.v(TAG, "moveto CREATED: " + f); 1227 // If we have a target fragment, push it along to at least CREATED 1235 if (f.mTarget.mState < Fragment.CREATED) { 1236 moveToState(f.mTarget, Fragment.CREATED, 0, 0, true); 1260 f.mState = Fragment.CREATED; 1265 case Fragment.CREATED: 1267 // even if we do a moveToState from CREATED [all...] |
H A D | Fragment.java | 271 static final int CREATED = 1; // Created. field in class:Fragment 833 } else if (mState >= CREATED) { 1527 && !mChildFragmentManager.isStateAtLeast(Fragment.CREATED)) { 2501 mState = CREATED; 2762 mState = CREATED;
|
H A D | FragmentTransition.java | 90 if (fragmentManager.mCurState < Fragment.CREATED) { 1311 * Ensure that fragments that are entering are at least at the CREATED state 1315 if (fragment.mState < Fragment.CREATED && manager.mCurState >= Fragment.CREATED && 1319 manager.moveToState(fragment, Fragment.CREATED, 0, 0, false);
|
/frameworks/support/lifecycle/integration-tests/testapp/src/androidTest/java/androidx/lifecycle/ |
H A D | SimpleAppFullLifecycleTest.java | 19 import static androidx.lifecycle.Lifecycle.State.CREATED; 93 assertThat(currentState, is(CREATED));
|
H A D | TestUtils.java | 25 import static androidx.lifecycle.Lifecycle.State.CREATED; 86 waitTillState(owner, activityRule, CREATED);
|
/frameworks/support/compat/src/main/java/androidx/core/app/ |
H A D | ComponentActivity.java | 78 mLifecycleRegistry.markState(Lifecycle.State.CREATED);
|
/frameworks/support/lifecycle/runtime/src/main/java/androidx/lifecycle/ |
H A D | LifecycleRegistry.java | 25 import static androidx.lifecycle.Lifecycle.State.CREATED; 85 // newObserver should be brought only to CREATED state during the execution of 239 return CREATED; 257 case CREATED: 274 case CREATED:
|
/frameworks/support/lifecycle/livedata-core/src/test/java/androidx/lifecycle/ |
H A D | LiveDataTest.java | 611 when(mLifecycle3.getCurrentState()).thenReturn(Lifecycle.State.CREATED); 628 * observing was in the CREATED state and no event was dispatched). 644 when(mLifecycle3.getCurrentState()).thenReturn(Lifecycle.State.CREATED); 662 * Arrange: One of two Lifecycles enter the CREATED state without sending an event. 683 when(mLifecycle3.getCurrentState()).thenReturn(Lifecycle.State.CREATED); 701 * Arrange: Two observed Lifecycles enter the CREATED state without sending an event. 721 when(mLifecycle3.getCurrentState()).thenReturn(Lifecycle.State.CREATED); 722 when(mLifecycle4.getCurrentState()).thenReturn(Lifecycle.State.CREATED); 741 * observing were in the CREATED state and no event was dispatched). 762 when(mLifecycle3.getCurrentState()).thenReturn(Lifecycle.State.CREATED); [all...] |
/frameworks/support/fragment/src/main/java/androidx/fragment/app/ |
H A D | FragmentManager.java | 1321 if ((!f.mAdded || f.mDetached) && newState > Fragment.CREATED) { 1322 newState = Fragment.CREATED; 1327 newState = Fragment.CREATED; 1357 if (DEBUG) Log.v(TAG, "moveto CREATED: " + f); 1389 // If we have a target fragment, push it along to at least CREATED 1397 if (f.mTarget.mState < Fragment.CREATED) { 1398 moveToState(f.mTarget, Fragment.CREATED, 0, 0, true); 1422 f.mState = Fragment.CREATED; 1427 case Fragment.CREATED: 1429 // even if we do a moveToState from CREATED [all...] |
H A D | FragmentTransition.java | 105 if (fragmentManager.mCurState < Fragment.CREATED) { 1183 * Ensure that fragments that are entering are at least at the CREATED state 1187 if (fragment.mState < Fragment.CREATED && manager.mCurState >= Fragment.CREATED 1190 manager.moveToState(fragment, Fragment.CREATED, 0, 0, false);
|
H A D | Fragment.java | 93 static final int CREATED = 1; // Created. field in class:Fragment 836 } else if (mState >= CREATED) { 1483 && !mChildFragmentManager.isStateAtLeast(Fragment.CREATED)) { 1495 * the child FragmentManager will be instantiated and brought to the {@link #CREATED} state. 2398 mState = CREATED; 2656 mState = CREATED;
|
H A D | FragmentActivity.java | 1038 reiterate = markState(getSupportFragmentManager(), Lifecycle.State.CREATED);
|
/frameworks/base/core/java/android/provider/ |
H A D | Browser.java | 467 public static final String CREATED = "created"; field in class:Browser.BookmarkColumns
|
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/ |
H A D | WorkContinuationImplTest.java | 103 lifecycleOwner.mLifecycleRegistry.markState(Lifecycle.State.CREATED);
|
/frameworks/base/cmds/statsd/src/ |
H A D | atoms.proto | 1494 CREATED = 1;
|