/frameworks/base/core/java/android/app/ |
D | LocalActivityManager.java | 72 static final int RESUMED = 4; // Created started and resumed. field in LocalActivityManager 183 if (desiredState == RESUMED) { in moveToState() 186 r.curState = RESUMED; in moveToState() 205 if (desiredState == RESUMED) { in moveToState() 209 r.curState = RESUMED; in moveToState() 214 if (desiredState == RESUMED) { in moveToState() 219 r.curState = RESUMED; in moveToState() 228 case RESUMED: in moveToState() 334 if (old != null && old != r && mCurState == RESUMED) { in startActivity() 398 if (r.curState == RESUMED && !finish) { in performDestroy() [all …]
|
D | Fragment.java | 277 static final int RESUMED = 5; // Created started and resumed. field in Fragment 839 if (mState >= RESUMED) { in getChildFragmentManager() 901 return mState >= RESUMED; in isResumed() 2549 mState = RESUMED;
|
D | FragmentManager.java | 1355 case Fragment.RESUMED: in moveToState() 1356 if (newState < Fragment.RESUMED) { in moveToState() 1665 if (mNeedMenuInvalidate && mHost != null && mCurState == Fragment.RESUMED) { in moveToState() 3014 dispatchMoveToState(Fragment.RESUMED); in dispatchResume() 3469 if (mHost != null && mCurState == Fragment.RESUMED) { in invalidateOptionsMenu()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | SysuiLifecycle.java | 20 import static androidx.lifecycle.Lifecycle.State.RESUMED; 52 mLifecycle.markState(RESUMED); in ViewLifecycle() 64 mLifecycle.markState(RESUMED); in onViewAttachedToWindow()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityServiceConnectionsHolder.java | 20 import static com.android.server.wm.ActivityStack.ActivityState.RESUMED; 95 return mActivity.mVisibleRequested || mActivity.isState(RESUMED, PAUSING); in isActivityVisible()
|
D | ActivityStack.java | 49 import static com.android.server.wm.ActivityStack.ActivityState.RESUMED; 213 RESUMED, enumConstant 942 r.setState(RESUMED, "minimalResumeActivityLocked"); in minimalResumeActivityLocked() 1019 if (r.isState(STARTED, RESUMED, PAUSING, PAUSED, STOPPING, STOPPED)) { in goToSleep() 1566 if (mResumedActivity == next && next.isState(RESUMED) in resumeTopActivityInnerLocked() 1691 } else if (mResumedActivity == next && next.isState(RESUMED) in resumeTopActivityInnerLocked() 1832 next.setState(RESUMED, "resumeTopActivityInnerLocked"); in resumeTopActivityInnerLocked() 1923 lastResumedActivity.setState(RESUMED, "resumeTopActivityInnerLocked"); in resumeTopActivityInnerLocked() 2223 if (activityBelow.isState(STARTED, RESUMED, PAUSING, PAUSED)) { in finishTopCrashedActivityLocked() 2449 if (r != null && !r.isState(RESUMED)) { in updateTransitLocked() [all …]
|
D | WindowProcessController.java | 29 import static com.android.server.wm.ActivityStack.ActivityState.RESUMED; 692 if (mPreQTopResumedActivity != null && mPreQTopResumedActivity.isState(RESUMED)) { in updateTopResumingActivityInProcessIfNeeded() 799 if (activity.isState(RESUMED)) { in hasResumedActivity() 850 || r.isState(STARTED, RESUMED, PAUSING, PAUSED, STOPPING)) { in releaseSomeActivities()
|
D | ActivityRecord.java | 147 import static com.android.server.wm.ActivityStack.ActivityState.RESUMED; 1288 if (newTask != null && isState(RESUMED)) { in onParentChanged() 2324 case RESUMED: in checkEnterPictureInPictureState() 2424 return !isState(RESUMED); in moveFocusableActivityToTop() 2545 final boolean mayAdjustTop = (isState(RESUMED) || stack.mResumedActivity == null) in finishIfPossible() 2585 if (isState(RESUMED)) { in finishIfPossible() 2690 if (!finishing || isState(RESUMED)) { in completeFinishing() 3713 if (isState(RESUMED) && attachedToProcess()) { in sendResult() 3757 if ((mState == RESUMED || mState == PAUSED || isTopActivityWhileSleeping) in deliverNewIntentLocked() 3766 NewIntentItem.obtain(ar, mState == RESUMED)); in deliverNewIntentLocked() [all …]
|
D | TaskDisplayArea.java | 35 import static com.android.server.wm.ActivityStack.ActivityState.RESUMED; 1165 if (r != null && !r.isState(RESUMED)) { in allResumedActivitiesComplete()
|
D | ActivityStarter.java | 59 import static com.android.server.wm.ActivityStack.ActivityState.RESUMED; 810 if (r.nowVisible && r.isState(RESUMED)) { in waitForResult() 2232 if (top != null && !top.isState(RESUMED)) { in setInitialState()
|
D | Task.java | 65 import static com.android.server.wm.ActivityStack.ActivityState.RESUMED; 1143 if (top != null && top.isState(RESUMED)) { in onParentChanged() 1876 if (record == mResumedActivity && state != RESUMED) { in onActivityStateChanged() 1880 if (state == RESUMED) { in onActivityStateChanged()
|
D | RootWindowContainer.java | 48 import static com.android.server.wm.ActivityStack.ActivityState.RESUMED; 2321 if (taskDisplayArea.isTopStack(stack) && topRunningActivity.isState(RESUMED)) { in resumeFocusedStacksTopActivities()
|
D | DisplayContent.java | 81 import static com.android.server.wm.ActivityStack.ActivityState.RESUMED; 5357 if (!r.isState(RESUMED) || r.getWindowingMode() != WINDOWING_MODE_FULLSCREEN) { in handleActivitySizeCompatModeIfNeeded()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityRecordTests.java | 52 import static com.android.server.wm.ActivityStack.ActivityState.RESUMED; 187 assertTrue(mActivity.isState(RESUMED)); in testPausingWhenVisibleFromStopped() 289 mActivity.setState(ActivityStack.ActivityState.RESUMED, "Testing"); in testSetsRelaunchReason_NotDragResizing() 312 mActivity.setState(ActivityStack.ActivityState.RESUMED, "Testing"); in testSetsRelaunchReason_DragResizing() 337 mActivity.setState(ActivityStack.ActivityState.RESUMED, "Testing"); in testSetsRelaunchReason_NonResizeConfigChanges() 363 mActivity.setState(ActivityStack.ActivityState.RESUMED, "Testing"); in testSetRequestedOrientationUpdatesConfiguration() 736 topActivity.setState(RESUMED, "test"); in testFinishActivityIfPossible_removed() 763 mActivity.setState(RESUMED, "test"); in testFinishActivityIfPossible_adjustStackOrder() 789 topActivity.setState(RESUMED, "test"); in testFinishActivityIfPossible_adjustStackOrderOrganizedRoot() 821 topActivityOnNonTopDisplay.setState(RESUMED, "test"); in testFinishActivityIfPossible_PreferredTopStackChanged() [all …]
|
D | TaskDisplayAreaTests.java | 35 import static com.android.server.wm.ActivityStack.ActivityState.RESUMED; 232 primarySplitActivity.setState(RESUMED, in testGetOrientation_nonResizableHomeStackWithHomeActivityPendingVisibilityChange()
|
D | SizeCompatTests.java | 89 mActivity.setState(ActivityStack.ActivityState.RESUMED, "testRestart"); in testRestartProcessIfVisible() 452 activity.setState(ActivityStack.ActivityState.RESUMED, "testHandleActivitySizeCompatMode"); in testHandleActivitySizeCompatMode() 479 activity.setState(ActivityStack.ActivityState.RESUMED, "testHandleActivitySizeCompatMode"); in testHandleActivitySizeCompatMode()
|
D | ActivityStackTests.java | 40 import static com.android.server.wm.ActivityStack.ActivityState.RESUMED; 109 r.setState(RESUMED, "testResumedActivity"); in testResumedActivity() 119 r.setState(RESUMED, "testResumedActivityFromTaskReparenting"); in testResumedActivityFromTaskReparenting() 137 r.setState(RESUMED, "testResumedActivityFromActivityReparenting"); in testResumedActivityFromActivityReparenting() 1018 secondActivity.setState(RESUMED, "testFinishDisabledPackageActivities"); in testFinishDisabledPackageActivities_FinishAliveActivities()
|
D | RootActivityContainerTests.java | 523 activity.setState(ActivityState.RESUMED, "test"); in testResumeActivityLingeringTransition() 543 activity.setState(ActivityState.RESUMED, "test"); in testResumeActivityLingeringTransition_notExecuted()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/ |
D | SysuiLifecycleTest.java | 120 assertThat(lifecycle.getLifecycle().getCurrentState()).isEqualTo(Lifecycle.State.RESUMED); in testStateAfterAttach() 148 assertThat(lifecycle.getLifecycle().getCurrentState()).isEqualTo(Lifecycle.State.RESUMED); in testStateAfterReattach() 159 assertThat(lifecycle.getLifecycle().getCurrentState()).isEqualTo(Lifecycle.State.RESUMED); in testStateWhenViewAlreadyAttached()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/ |
D | QSTileImplTest.java | 19 import static androidx.lifecycle.Lifecycle.State.RESUMED; 283 assertTrue(mTile.getLifecycle().getCurrentState().isAtLeast(RESUMED)); in testListeningTrue_stateAtLeastResumed() 288 assertFalse(mTile.getLifecycle().getCurrentState().isAtLeast(RESUMED)); in testTileDoesntStartResumed() 299 assertFalse(mTile.getLifecycle().getCurrentState().isAtLeast(RESUMED)); in testListeningFalse_stateAtMostCreated()
|
/frameworks/base/apct-tests/perftests/windowmanager/src/android/wm/ |
D | RecentsAnimationPerfTest.java | 203 mActivityRule.waitForIdleSync(Stage.RESUMED); in testRecentsAnimation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
D | QSTileImpl.java | 17 import static androidx.lifecycle.Lifecycle.State.RESUMED; 440 mLifecycle.setCurrentState(RESUMED); in handleSetListeningInternal()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QuickStatusBarHeader.java | 515 mLifecycle.setCurrentState(Lifecycle.State.RESUMED); in setListening()
|
/frameworks/base/packages/SystemUI/docs/ |
D | qs-tiles.md | 325 …not implement this. Instead, Tiles are LifecycleOwner and are marked as `RESUMED` or `DESTROYED` i…
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsDialog.java | 1283 mLifecycle.setCurrentState(Lifecycle.State.RESUMED);
|