/frameworks/base/core/tests/coretests/src/android/app/servertransaction/ |
D | TransactionExecutorTests.java | 21 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/ |
D | ActivityLifecycleItem.java | 38 ON_PAUSE, 50 public static final int ON_PAUSE = 4; field in ActivityLifecycleItem
|
D | TransactionExecutorHelper.java | 21 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()
|
D | RefreshCallbackItem.java | 20 import static android.app.servertransaction.ActivityLifecycleItem.ON_PAUSE; 86 if (postExecutionState != ON_STOP && postExecutionState != ON_PAUSE) { in obtain()
|
D | TransactionExecutor.java | 21 import static android.app.servertransaction.ActivityLifecycleItem.ON_PAUSE; 278 case ON_PAUSE: in performLifecycleSequence()
|
D | PauseActivityItem.java | 54 return ON_PAUSE; in getTargetState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | LifecycleFragment.java | 21 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/ |
D | ObservableDialogFragment.java | 20 import static androidx.lifecycle.Lifecycle.Event.ON_PAUSE; 72 mLifecycle.handleLifecycleEvent(ON_PAUSE); in onPause()
|
D | ObservableActivity.java | 20 import static androidx.lifecycle.Lifecycle.Event.ON_PAUSE; 77 mLifecycle.handleLifecycleEvent(ON_PAUSE); in onPause()
|
D | ObservableFragment.java | 21 import static androidx.lifecycle.Lifecycle.Event.ON_PAUSE; 83 mLifecycle.handleLifecycleEvent(ON_PAUSE); in onPause()
|
D | ObservablePreferenceFragment.java | 21 import static androidx.lifecycle.Lifecycle.Event.ON_PAUSE; 94 mLifecycle.handleLifecycleEvent(ON_PAUSE); in onPause()
|
D | Lifecycle.java | 227 case ON_PAUSE: in onLifecycleEvent()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | LaunchpadActivity.java | 130 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/ |
D | ActivityRefresher.java | 18 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/ |
D | LifecycleFragmentTest.java | 21 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/ |
D | CallbackController.java | 53 } else if (event == Event.ON_PAUSE) { in observe()
|
/frameworks/base/core/tests/mockingcoretests/src/android/app/activity/ |
D | ActivityThreadClientTest.java | 22 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/ |
D | ActivityRefresherTests.java | 19 import static android.app.servertransaction.ActivityLifecycleItem.ON_PAUSE; 193 cycleThroughStop ? ON_STOP : ON_PAUSE); in assertActivityRefreshRequested()
|
D | CameraCompatFreeformPolicyTests.java | 20 import static android.app.servertransaction.ActivityLifecycleItem.ON_PAUSE; 336 cycleThroughStop ? ON_STOP : ON_PAUSE); in assertActivityRefreshRequested()
|
D | DisplayRotationCompatPolicyTests.java | 20 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/ |
D | VisibilityLoggerMixin.java | 72 @OnLifecycleEvent(Event.ON_PAUSE)
|
/frameworks/base/core/java/android/animation/ |
D | Animator.java | 180 notifyPauseListeners(AnimatorCaller.ON_PAUSE); in pause() 850 AnimatorCaller<AnimatorPauseListener, Animator> ON_PAUSE = field
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | CallbackControllerTest.java | 77 observer.getValue().onStateChanged(owner, Event.ON_PAUSE); in testRemoveCallback()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/condition/ |
D | Condition.java | 164 } else if (event == Lifecycle.Event.ON_PAUSE) { in observe()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/ |
D | MediaProjectionAppSelectorActivity.kt | 136 lifecycleRegistry.handleLifecycleEvent(Lifecycle.Event.ON_PAUSE) in onPause()
|