Lines Matching refs:visible

269     // We always want the task to to be visible in the bounds without affecting its size when
634 // the one where the home stack is visible since recents isn't visible yet, but the
689 // windows that are no longer visible.
1044 // when this stack is no longer visible.
1366 // Make sure any paused or stopped but visible activities are now sleeping.
1568 + " wasStopping=" + wasStopping + " visible=" + prev.visible);
1583 } else if (!prev.visible || shouldSleepOrShutDownActivities()) {
1586 // If we were visible then resumeTopActivities will release resources before
1596 // since it is no longer visible.
1679 * Returns true if the stack is translucent and can have other contents visible behind it if
1680 * needed. A stack is considered translucent if it don't contain a visible or
1681 * starting (about to be visible) activity that is fullscreen (opaque).
1703 // activity (about to be visible).
1709 // that is visible.
1723 return topActivity != null && topActivity.visible;
1727 * Returns true if the stack should be visible.
1741 // Shouldn't be visible if you don't have any running activities, not starting one, and
1755 // Should be visible if there is no other stack occluding it.
1763 // mode. We still want the primary splitscreen stack to be visible as there will be
1766 // stack, the stack should still be visible in the background as long as the recents
1777 // Can be visible behind a translucent fullscreen stack.
1788 // Can not be visible behind another opaque stack in split-screen-primary mode.
1798 // Can not be visible behind another opaque stack in split-screen-secondary mode.
1803 // Can not be visible if we are in split-screen windowing mode and both halves of
1808 // Assistant stack can't be visible behind split-screen. In addition to this not
1810 // assistant window surfaces in window manager whenever it is visible.
1815 // Well, nothing is stopping you from being visible...
1824 if (r == null || r.finishing || !r.visible) {
1834 * Make sure that all activities that need to be visible in the stack (that is, they
1844 * Ensure visibility with an option to also update the configuration of visible activities.
1863 // make sure any activities under it are now visible.
1885 // Check whether activity should be visible without Keyguard influence
1890 // Now check whether it's really visible depending on Keyguard state.
1898 if (DEBUG_VISIBILITY) Slog.v(TAG_VISIBILITY, "Make visible? " + r
1917 } else if (r.visible) {
1918 // If this activity is already visible, then there is nothing to do here.
1920 "Skipping: already visible at " + r);
1953 // No other task in the home stack should be visible behind the home activity.
1964 // Nothing is getting drawn or everything was already visible, don't wait for timeout.
1979 * @return true if the top visible activity wants to occlude the Keyguard, false otherwise
2010 * @return the top most visible activity that wants to dismiss Keyguard
2017 * Checks whether {@param r} should be visible depending on Keyguard state and updates
2021 * @return true if {@param r} is visible taken Keyguard state into account, false otherwise
2048 // If keyguard is showing, nothing is visible, except if we are able to dismiss Keyguard
2049 // right away and AOD isn't visible.
2089 // We need to make sure the app is running if it's the top, or it is just made visible from
2090 // invisible. If the app is already visible, it must have died while it was visible. In this
2093 if (isTop || !r.visible) {
2094 // This activity needs to be visible, but isn't even running...
2100 if (!r.visible || r.mLaunchTaskBehind) {
2101 if (DEBUG_VISIBILITY) Slog.v(TAG_VISIBILITY, "Starting and making visible: " + r);
2114 if (!r.visible) {
2118 // Now for any activities that aren't visible to the user, make sure they no longer are
2127 // to enter Pip after they are paused, but are still visible. I they should be okay to
2163 // Just skip on any failure; we'll make it visible when it next restarts.
2242 // The stack is not visible, so no activity in it should be displaying a starting
2426 // focused stack should still be visible.
2493 "Resuming top, waiting visible to hide: " + prev);
2495 // The next activity is already visible, so hide the previous
2506 "Not waiting for visible to hide: " + prev + ", waitingVisible="
2511 "Previous already visible but still waiting to hide: " + prev
2582 + " stopped=" + next.stopped + " visible=" + next.visible);
2588 // Launcher is already visible in this case. If we don't add it to opening
2602 // This activity is now becoming visible.
2603 if (!next.visible || next.stopped || lastActivityTranslucent) {
2656 if (!next.visible || next.stopped) {
2764 // Try to move focus to the next visible stack with a running activity if this
2881 // Here it is! Now, if this is not yet visible to the
2965 // tell WindowManager that r is visible even though it is at the back of the stack.
3436 if (stack.isActivityTypeHome() && (top == null || !top.visible)) {
3438 // visible, then use the move the home stack task to top to make the activity visible.
3476 "Stopping visible=" + r.visible + " for " + r);
3477 if (!r.visible) {
3483 StopActivityItem.obtain(r.visible, r.configChangeFlags));
3748 if (r.visible) {
3752 final int finishMode = (r.visible || r.nowVisible) ? FINISH_AFTER_VISIBLE
3798 // First things first: if this activity is currently visible,
3799 // and the resumed activity is not yet visible, then hold off on
3800 // finishing until the resumed one becomes visible.
3808 if (mode == FINISH_AFTER_VISIBLE && (r.visible || r.nowVisible)
3846 // stack, need to make something visible in its place.
4452 if (r.visible) {
4460 } else if (!r.visible && r.launchCount > 2 &&
4464 // (Note if the activity is visible, we don't remove the record.
4496 // Set nowVisible to previous visible state. If the app was visible while
4497 // it died, we leave the dead window on screen so it's basically visible.
4500 r.nowVisible = r.visible;
4715 * Ensures all visible activities at or below the input activity have the right configuration.
4718 if (start == null || !start.visible) {
5089 if (starting != null && a == starting && a.visible) {
5312 + " visible=" + shouldBeVisible(null /* starting */)