Home
last modified time | relevance | path

Searched refs:ON_RESUME (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DTransactionExecutorTests.java23 import static android.app.servertransaction.ActivityLifecycleItem.ON_RESUME;
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()
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()
144 assertArrayEquals(new int[] {ON_START, ON_RESUME, ON_PAUSE, ON_STOP, ON_DESTROY}, in testLifecycleFromOnCreate()
151 assertArrayEquals(new int[] {ON_RESUME, ON_PAUSE, ON_STOP, ON_DESTROY, ON_CREATE}, in testLifecycleFromOnStart()
[all …]
/frameworks/base/core/java/android/app/servertransaction/
DActivityLifecycleItem.java37 ON_RESUME,
49 public static final int ON_RESUME = 3; field in ActivityLifecycleItem
DTransactionExecutorHelper.java23 import static android.app.servertransaction.ActivityLifecycleItem.ON_RESUME;
92 if (start == ON_PAUSE && finish == ON_RESUME) { in getLifecyclePath()
94 mLifecycleSequence.add(ON_RESUME); in getLifecyclePath()
146 case ON_RESUME: in getClosestPreExecutionState()
388 case ON_RESUME: in getStateName()
DActivityResultItem.java19 import static android.app.servertransaction.ActivityLifecycleItem.ON_RESUME;
62 ? ON_RESUME : UNDEFINED; in getPostExecutionState()
DNewIntentItem.java19 import static android.app.servertransaction.ActivityLifecycleItem.ON_RESUME;
51 return mResume ? ON_RESUME : UNDEFINED; in getPostExecutionState()
DTransactionExecutor.java23 import static android.app.servertransaction.ActivityLifecycleItem.ON_RESUME;
273 case ON_RESUME: in performLifecycleSequence()
DResumeActivityItem.java72 return ON_RESUME; in getTargetState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DLifecycleFragment.java22 import static androidx.lifecycle.Lifecycle.Event.ON_RESUME;
62 mLifecycle.handleLifecycleEvent(ON_RESUME); in onResume()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/lifecycle/
DObservableDialogFragment.java21 import static androidx.lifecycle.Lifecycle.Event.ON_RESUME;
66 mLifecycle.handleLifecycleEvent(ON_RESUME); in onResume()
DObservableActivity.java21 import static androidx.lifecycle.Lifecycle.Event.ON_RESUME;
71 mLifecycle.handleLifecycleEvent(ON_RESUME); in onResume()
DObservableFragment.java22 import static androidx.lifecycle.Lifecycle.Event.ON_RESUME;
76 mLifecycle.handleLifecycleEvent(ON_RESUME); in onResume()
DObservablePreferenceFragment.java22 import static androidx.lifecycle.Lifecycle.Event.ON_RESUME;
87 mLifecycle.handleLifecycleEvent(ON_RESUME); in onResume()
DLifecycle.java224 case ON_RESUME: in onLifecycleEvent()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DLaunchpadActivity.java128 public static final String ON_RESUME = "onResume"; 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()
184 DO_LOCAL_DIALOG, ON_FREEZE, ON_PAUSE, ON_RESUME, in onCreate()
220 checkLifecycle(ON_RESUME); in onResume()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DLifecycleFragmentTest.java22 import static androidx.lifecycle.Lifecycle.Event.ON_RESUME;
72 verify(observer).onStateChanged(eq(fragment), eq(ON_RESUME)); in testResumeLifecycle()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/statusbar/policy/
DCallbackController.java51 if (event == Event.ON_RESUME) { in observe()
/frameworks/base/core/tests/mockingcoretests/src/android/app/activity/
DActivityThreadClientTest.java23 import static android.app.servertransaction.ActivityLifecycleItem.ON_RESUME;
157 assertEquals(ON_RESUME, r.getLifecycleState()); in testLifecycleAfterFinished_OnResume()
189 recreateAndVerifyRelaunched(activityThread, activity[0], r, ON_RESUME); in testLifecycleOfRelaunch()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/instrumentation/
DVisibilityLoggerMixin.java56 @OnLifecycleEvent(Event.ON_RESUME)
/frameworks/base/core/java/android/animation/
DAnimator.java197 notifyPauseListeners(AnimatorCaller.ON_RESUME); in resume()
852 AnimatorCaller<AnimatorPauseListener, Animator> ON_RESUME = field
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DComponentSystemUIDialog.kt102 lifecycleRegistry.handleLifecycleEvent(Lifecycle.Event.ON_RESUME) in start()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DCallbackControllerTest.java59 observer.getValue().onStateChanged(owner, Event.ON_RESUME); in testAddCallback()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DControlsAnimations.kt89 @OnLifecycleEvent(Lifecycle.Event.ON_RESUME) in <lambda>()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/condition/
DCondition.java162 if (event == Lifecycle.Event.ON_RESUME) { in observe()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/
DMediaProjectionAppSelectorActivity.kt132 lifecycleRegistry.handleLifecycleEvent(Lifecycle.Event.ON_RESUME) in onResume()
/frameworks/base/core/java/android/app/
DActivityThread.java27 import static android.app.servertransaction.ActivityLifecycleItem.ON_RESUME;
770 case ON_RESUME: in setState()
4605 if (prevState != ON_RESUME && prevState != ON_PAUSE) { in schedulePauseWithUserLeaveHintAndReturnToCurrentState()
4610 case ON_RESUME: in schedulePauseWithUserLeaveHintAndReturnToCurrentState()
5269 if (r.getLifecycleState() == ON_RESUME) { in performResumeActivity()
5303 r.setState(ON_RESUME); in performResumeActivity()
5477 if (r.getLifecycleState() == ON_RESUME) { in handleTopResumedActivityChanged()

12