Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DTransactionExecutorTests.java21 import static android.app.servertransaction.ActivityLifecycleItem.ON_PAUSE;
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()
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()
155 assertArrayEquals(new int[] {ON_RESUME, ON_PAUSE}, path(ON_PAUSE)); in testLifecycleFromOnStart()
157 assertArrayEquals(new int[] {ON_RESUME, ON_PAUSE, ON_STOP, ON_DESTROY}, path(ON_DESTROY)); in testLifecycleFromOnStart()
[all …]
/frameworks/base/core/java/android/app/servertransaction/
DActivityLifecycleItem.java38 ON_PAUSE,
50 public static final int ON_PAUSE = 4; field in ActivityLifecycleItem
DTransactionExecutorHelper.java21 import static android.app.servertransaction.ActivityLifecycleItem.ON_PAUSE;
52 private static final int[] ON_RESUME_PRE_EXCUTION_STATES = new int[] { ON_START, ON_PAUSE };
92 if (start == ON_PAUSE && finish == ON_RESUME) { in getLifecyclePath()
199 case ON_PAUSE: in getLifecycleRequestForCurrentState()
390 case ON_PAUSE: in getStateName()
DRefreshCallbackItem.java20 import static android.app.servertransaction.ActivityLifecycleItem.ON_PAUSE;
86 if (postExecutionState != ON_STOP && postExecutionState != ON_PAUSE) { in obtain()
DTransactionExecutor.java21 import static android.app.servertransaction.ActivityLifecycleItem.ON_PAUSE;
278 case ON_PAUSE: in performLifecycleSequence()
DPauseActivityItem.java54 return ON_PAUSE; in getTargetState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DLifecycleFragment.java21 import static androidx.lifecycle.Lifecycle.Event.ON_PAUSE;
69 mLifecycle.handleLifecycleEvent(ON_PAUSE); in onPause()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/lifecycle/
DObservableDialogFragment.java20 import static androidx.lifecycle.Lifecycle.Event.ON_PAUSE;
72 mLifecycle.handleLifecycleEvent(ON_PAUSE); in onPause()
DObservableActivity.java20 import static androidx.lifecycle.Lifecycle.Event.ON_PAUSE;
77 mLifecycle.handleLifecycleEvent(ON_PAUSE); in onPause()
DObservableFragment.java21 import static androidx.lifecycle.Lifecycle.Event.ON_PAUSE;
83 mLifecycle.handleLifecycleEvent(ON_PAUSE); in onPause()
DObservablePreferenceFragment.java21 import static androidx.lifecycle.Lifecycle.Event.ON_PAUSE;
94 mLifecycle.handleLifecycleEvent(ON_PAUSE); in onPause()
DLifecycle.java227 case ON_PAUSE: in onLifecycleEvent()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DLaunchpadActivity.java130 public static final String ON_PAUSE = "onPause"; field in LaunchpadActivity
176 DO_FINISH, ON_PAUSE, ON_STOP, ON_DESTROY}); in onCreate()
179 DO_LOCAL_SCREEN, ON_FREEZE, ON_PAUSE, ON_STOP, in onCreate()
181 DO_FINISH, ON_PAUSE, ON_STOP, ON_DESTROY}); in onCreate()
184 DO_LOCAL_DIALOG, ON_FREEZE, ON_PAUSE, ON_RESUME, in onCreate()
185 DO_FINISH, ON_PAUSE, ON_STOP, ON_DESTROY}); in onCreate()
327 checkLifecycle(ON_PAUSE); in onPause()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityRefresher.java18 import static android.app.servertransaction.ActivityLifecycleItem.ON_PAUSE;
88 activity.token, cycleThroughStop ? ON_STOP : ON_PAUSE); in onActivityConfigurationChanging()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DLifecycleFragmentTest.java21 import static androidx.lifecycle.Lifecycle.Event.ON_PAUSE;
112 verify(observer).onStateChanged(eq(fragment), eq(ON_PAUSE)); in testPauseLifecycle()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/statusbar/policy/
DCallbackController.java53 } else if (event == Event.ON_PAUSE) { in observe()
/frameworks/base/core/tests/mockingcoretests/src/android/app/activity/
DActivityThreadClientTest.java22 import static android.app.servertransaction.ActivityLifecycleItem.ON_PAUSE;
160 assertEquals(ON_PAUSE, r.getLifecycleState()); in testLifecycleAfterFinished_OnResume()
185 recreateAndVerifyRelaunched(activityThread, activity[0], r, ON_PAUSE); in testLifecycleOfRelaunch()
193 recreateAndVerifyRelaunched(activityThread, activity[0], r, ON_PAUSE); in testLifecycleOfRelaunch()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityRefresherTests.java19 import static android.app.servertransaction.ActivityLifecycleItem.ON_PAUSE;
193 cycleThroughStop ? ON_STOP : ON_PAUSE); in assertActivityRefreshRequested()
DCameraCompatFreeformPolicyTests.java20 import static android.app.servertransaction.ActivityLifecycleItem.ON_PAUSE;
336 cycleThroughStop ? ON_STOP : ON_PAUSE); in assertActivityRefreshRequested()
DDisplayRotationCompatPolicyTests.java20 import static android.app.servertransaction.ActivityLifecycleItem.ON_PAUSE;
615 cycleThroughStop ? ON_STOP : ON_PAUSE); in assertActivityRefreshRequested()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/instrumentation/
DVisibilityLoggerMixin.java72 @OnLifecycleEvent(Event.ON_PAUSE)
/frameworks/base/core/java/android/animation/
DAnimator.java180 notifyPauseListeners(AnimatorCaller.ON_PAUSE); in pause()
850 AnimatorCaller<AnimatorPauseListener, Animator> ON_PAUSE = field
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DCallbackControllerTest.java77 observer.getValue().onStateChanged(owner, Event.ON_PAUSE); in testRemoveCallback()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/condition/
DCondition.java164 } else if (event == Lifecycle.Event.ON_PAUSE) { in observe()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/
DMediaProjectionAppSelectorActivity.kt136 lifecycleRegistry.handleLifecycleEvent(Lifecycle.Event.ON_PAUSE) in onPause()

12