Home
last modified time | relevance | path

Searched refs:ON_START (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DTransactionExecutorTests.java24 import static android.app.servertransaction.ActivityLifecycleItem.ON_START;
127 assertArrayEquals(new int[] {ON_CREATE, ON_START}, path(ON_START)); in testLifecycleFromPreOnCreate()
128 assertArrayEquals(new int[] {ON_CREATE, ON_START, ON_RESUME}, path(ON_RESUME)); in testLifecycleFromPreOnCreate()
129 assertArrayEquals(new int[] {ON_CREATE, ON_START, ON_RESUME, ON_PAUSE}, path(ON_PAUSE)); in testLifecycleFromPreOnCreate()
130 assertArrayEquals(new int[] {ON_CREATE, ON_START, ON_RESUME, ON_PAUSE, ON_STOP}, in testLifecycleFromPreOnCreate()
132 assertArrayEquals(new int[] {ON_CREATE, ON_START, ON_RESUME, ON_PAUSE, ON_STOP, ON_DESTROY}, in testLifecycleFromPreOnCreate()
140 assertArrayEquals(new int[] {ON_START}, path(ON_START)); in testLifecycleFromOnCreate()
141 assertArrayEquals(new int[] {ON_START, ON_RESUME}, path(ON_RESUME)); in testLifecycleFromOnCreate()
142 assertArrayEquals(new int[] {ON_START, ON_RESUME, ON_PAUSE}, path(ON_PAUSE)); in testLifecycleFromOnCreate()
143 assertArrayEquals(new int[] {ON_START, ON_RESUME, ON_PAUSE, ON_STOP}, path(ON_STOP)); in testLifecycleFromOnCreate()
[all …]
/frameworks/base/core/java/android/app/servertransaction/
DTransactionExecutorHelper.java24 import static android.app.servertransaction.ActivityLifecycleItem.ON_START;
52 private static final int[] ON_RESUME_PRE_EXCUTION_STATES = new int[] { ON_START, ON_PAUSE };
81 if (start == ON_START && finish == ON_STOP) { in getLifecyclePath()
95 } else if (start <= ON_STOP && finish >= ON_START) { in getLifecyclePath()
105 for (int i = ON_START; i <= finish; i++) { in getLifecyclePath()
196 case ON_START: in getLifecycleRequestForCurrentState()
386 case ON_START: in getStateName()
DActivityLifecycleItem.java36 ON_START,
48 public static final int ON_START = 2; field in ActivityLifecycleItem
DStartActivityItem.java50 return ON_START; in getTargetState()
DTransactionExecutor.java24 import static android.app.servertransaction.ActivityLifecycleItem.ON_START;
269 case ON_START: in performLifecycleSequence()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DActionBarShadowControllerTest.java19 import static androidx.lifecycle.Lifecycle.Event.ON_START;
110 mLifecycle.handleLifecycleEvent(ON_START); in attachToView_lifecycleChange_shouldAttachDetach()
114 mLifecycle.handleLifecycleEvent(ON_START); in attachToView_lifecycleChange_shouldAttachDetach()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DLifecycleFragment.java23 import static androidx.lifecycle.Lifecycle.Event.ON_START;
55 mLifecycle.handleLifecycleEvent(ON_START); in onStart()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DLaunchpadActivity.java126 public static final String ON_START = "onStart"; field in LaunchpadActivity
175 setExpectedLifecycle(new String[]{ON_START, ON_RESUME, in onCreate()
178 setExpectedLifecycle(new String[]{ON_START, ON_RESUME, in onCreate()
180 ON_RESTART, ON_START, ON_RESUME, in onCreate()
183 setExpectedLifecycle(new String[]{ON_START, ON_RESUME, in onCreate()
191 setExpectedLifecycle(new String[]{ON_START, ON_STOP, ON_DESTROY}); in onCreate()
195 setExpectedLifecycle(new String[]{ON_START, DO_FINISH, in onCreate()
205 checkLifecycle(ON_START); in onStart()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/lifecycle/
DObservableDialogFragment.java22 import static androidx.lifecycle.Lifecycle.Event.ON_START;
60 mLifecycle.handleLifecycleEvent(ON_START); in onStart()
DObservableActivity.java22 import static androidx.lifecycle.Lifecycle.Event.ON_START;
65 mLifecycle.handleLifecycleEvent(ON_START); in onStart()
DObservableFragment.java23 import static androidx.lifecycle.Lifecycle.Event.ON_START;
69 mLifecycle.handleLifecycleEvent(ON_START); in onStart()
DObservablePreferenceFragment.java23 import static androidx.lifecycle.Lifecycle.Event.ON_START;
80 mLifecycle.handleLifecycleEvent(ON_START); in onStart()
DLifecycle.java221 case ON_START: in onLifecycleEvent()
/frameworks/base/packages/SettingsLib/ActionBarShadow/src/com/android/settingslib/widget/
DActionBarShadowController.java19 import static androidx.lifecycle.Lifecycle.Event.ON_START;
77 @OnLifecycleEvent(ON_START)
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/suggestions/
DSuggestionControllerMixinTest.java19 import static androidx.lifecycle.Lifecycle.Event.ON_START;
78 mLifecycle.handleLifecycleEvent(ON_START); in goThroughLifecycle_onStartStop_shouldStartStopController()
DSuggestionControllerMixinCompatTest.java19 import static androidx.lifecycle.Lifecycle.Event.ON_START;
78 mLifecycle.handleLifecycleEvent(ON_START); in goThroughLifecycle_onStartStop_shouldStartStopController()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DLifecycleFragmentTest.java23 import static androidx.lifecycle.Lifecycle.Event.ON_START;
84 verify(observer).onStateChanged(eq(fragment), eq(ON_START)); in testStartLifecycle()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/compose/
DLifecycleEffect.kt33 if (event == Lifecycle.Event.ON_START) { in <lambda>()
/frameworks/base/core/tests/mockingcoretests/src/android/app/activity/
DActivityThreadClientTest.java24 import static android.app.servertransaction.ActivityLifecycleItem.ON_START;
131 assertEquals(ON_START, r.getLifecycleState()); in testLifecycleAfterFinished_OnStart()
134 assertEquals(ON_START, r.getLifecycleState()); in testLifecycleAfterFinished_OnStart()
137 assertEquals(ON_START, r.getLifecycleState()); in testLifecycleAfterFinished_OnStart()
/frameworks/base/core/java/android/animation/
DAnimator.java626 notifyListeners(AnimatorCaller.ON_START, isReversing); in notifyStartListeners()
844 AnimatorCaller<AnimatorListener, Animator> ON_START = AnimatorListener::onAnimationStart; field
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/lifecycle/
DLifecycleTest.java18 import static androidx.lifecycle.Lifecycle.Event.ON_START;
234 mLifecycle.handleLifecycleEvent(ON_START); in addObserverDuringObserve_shoudNotCrash()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/suggestions/
DSuggestionControllerMixinCompat.java76 @OnLifecycleEvent(Lifecycle.Event.ON_START)
DSuggestionControllerMixin.java77 @OnLifecycleEvent(Lifecycle.Event.ON_START)
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DControlsAnimations.kt78 @OnLifecycleEvent(Lifecycle.Event.ON_START) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/
DMediaProjectionAppSelectorActivity.kt127 lifecycleRegistry.handleLifecycleEvent(Lifecycle.Event.ON_START) in onStart()

12