Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/app/
DLocalActivityManager.java72 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 …]
DFragment.java277 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;
DFragmentManager.java1355 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/
DSysuiLifecycle.java20 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/
DActivityServiceConnectionsHolder.java20 import static com.android.server.wm.ActivityStack.ActivityState.RESUMED;
95 return mActivity.mVisibleRequested || mActivity.isState(RESUMED, PAUSING); in isActivityVisible()
DActivityStack.java49 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 …]
DWindowProcessController.java29 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()
DActivityRecord.java147 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 …]
DTaskDisplayArea.java35 import static com.android.server.wm.ActivityStack.ActivityState.RESUMED;
1165 if (r != null && !r.isState(RESUMED)) { in allResumedActivitiesComplete()
DActivityStarter.java59 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()
DTask.java65 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()
DRootWindowContainer.java48 import static com.android.server.wm.ActivityStack.ActivityState.RESUMED;
2321 if (taskDisplayArea.isTopStack(stack) && topRunningActivity.isState(RESUMED)) { in resumeFocusedStacksTopActivities()
DDisplayContent.java81 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/
DActivityRecordTests.java52 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 …]
DTaskDisplayAreaTests.java35 import static com.android.server.wm.ActivityStack.ActivityState.RESUMED;
232 primarySplitActivity.setState(RESUMED, in testGetOrientation_nonResizableHomeStackWithHomeActivityPendingVisibilityChange()
DSizeCompatTests.java89 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()
DActivityStackTests.java40 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()
DRootActivityContainerTests.java523 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/
DSysuiLifecycleTest.java120 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/
DQSTileImplTest.java19 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/
DRecentsAnimationPerfTest.java203 mActivityRule.waitForIdleSync(Stage.RESUMED); in testRecentsAnimation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileImpl.java17 import static androidx.lifecycle.Lifecycle.State.RESUMED;
440 mLifecycle.setCurrentState(RESUMED); in handleSetListeningInternal()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQuickStatusBarHeader.java515 mLifecycle.setCurrentState(Lifecycle.State.RESUMED); in setListening()
/frameworks/base/packages/SystemUI/docs/
Dqs-tiles.md325 …not implement this. Instead, Tiles are LifecycleOwner and are marked as `RESUMED` or `DESTROYED` i…
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java1283 mLifecycle.setCurrentState(Lifecycle.State.RESUMED);

12