Home
last modified time | relevance | path

Searched refs:isVisibleRequested (Results 1 – 25 of 54) sorted by relevance

123

/frameworks/base/core/java/android/app/
DTaskInfo.java285 public boolean isVisibleRequested; field in TaskInfo
426 && isVisibleRequested == that.isVisibleRequested in equalsForTaskOrganizer()
496 isVisibleRequested = source.readBoolean(); in readFromParcel()
543 dest.writeBoolean(isVisibleRequested); in writeToParcel()
580 + " isVisibleRequested=" + isVisibleRequested in toString()
/frameworks/base/services/core/java/com/android/server/wm/
DSnapshotController.java91 if (task != null && !task.mCreatedByOrganizer && !task.isVisibleRequested()) { in onTransactionReady()
103 if (ar != null && ar.getTask().isVisibleRequested()) { in onTransactionReady()
140 if (ar.isVisibleRequested()) { in add()
193 if (task != null && wc.isVisibleRequested()) { in onTransitionFinish()
DWindowContainerListener.java38 default void onVisibleRequestedChanged(boolean isVisibleRequested) { } in onVisibleRequestedChanged() argument
DTransition.java397 if (t.isVisibleRequested() && !t.isAlwaysOnTop()) { in setTransientLaunch()
510 if (!ar.isVisible() || !ar.isVisibleRequested()) return; in setConfigAtEnd()
827 if (change == null || !change.mVisible || !wc.isVisibleRequested()) return; in collectVisibleChange()
878 if (wc.isVisibleRequested()) { in collectClose()
1108 if (mTransientLaunches.keyAt(j).isVisibleRequested()) { in didCommitTransientLaunch()
1128 if (!ar.getTask().isVisibleRequested() || didCommitTransientLaunch()) { in checkEnterPipOnFinish()
1157 if ((!ar.getTask().isVisibleRequested() || didCommitTransientLaunch()) in checkEnterPipOnFinish()
1212 if (rootTask.isVisibleRequested()) { in finishTransition()
1216 if (!r.isVisibleRequested()) { in finishTransition()
1248 if (isTransientLaunch(ar) && !ar.isVisibleRequested() in finishTransition()
[all …]
DEnsureActivitiesVisibleHelper.java182 } else if (r.isVisibleRequested()) { in setActivityVisibilityState()
234 if (!r.isVisibleRequested() || r.mLaunchTaskBehind) { in makeVisibleAndRestartIfNeeded()
DContentRecorder.java403 mRecordedWindowContainer.asTask().isVisibleRequested()); in startRecordingIfNeeded()
655 public void onVisibleRequestedChanged(boolean isVisibleRequested) { in onVisibleRequestedChanged() argument
659 isVisibleRequested); in onVisibleRequestedChanged()
665 .setVisibility(mRecordedSurface, isVisibleRequested); in onVisibleRequestedChanged()
DScreenRecordingCallbackController.java230 if (activityRecord.getUid() == uid && activityRecord.isVisibleRequested()) { in uidHasRecordedActivity()
246 if (activityRecord.isVisibleRequested() && mLastInvokedStateByUid.containsKey( in getRecordedUids()
DWindowProcessController.java922 || !mPreQTopResumedActivity.isVisibleRequested() in updateTopResumingActivityInProcessIfNeeded()
1035 && r.isVisibleRequested()) { in updateAppSpecificSettingsForAllActivitiesInPackage()
1117 if (r.isVisibleRequested() || !r.mAppStopped || !r.hasSavedState() || !r.isDestroyable() in releaseSomeActivities()
1163 if (c != null && r.isVisibleRequested() && !displayContexts.contains(c)) { in getDisplayContextsWithErrorDialogs()
1262 if (r.isVisibleRequested()) { in computeProcessActivityState()
1291 && mRemoteActivities.keyAt(i).isVisibleRequested()) { in computeProcessActivityState()
1486 if (r.isVisibleRequested() || r.isVisible()) { in handleAppDied()
1792 if (r.isVisibleRequested()) { in updateAssetConfiguration()
DWindowState.java874 ? isVisibleRequested() : isVisible(); in isReadyToDispatchInsetsState()
1481 && isVisibleRequested()) { in updateResizingWindowIfNeeded()
1786 boolean isVisibleRequested() { in isVisibleRequested() method in WindowState
1790 return mToken.isVisibleRequested(); in isVisibleRequested()
1856 final boolean isParentHiddenRequested = parent != null && !parent.isVisibleRequested(); in wouldBeVisibleRequestedIfPolicyIgnored()
1861 return !isWallpaper || mToken.isVisibleRequested(); in wouldBeVisibleRequestedIfPolicyIgnored()
1897 && (atoken == null || atoken.isVisibleRequested()) in isVisibleRequestedOrAdding()
2015 && ((!isParentWindowHidden() && (atoken == null || atoken.isVisibleRequested())) in isDisplayed()
2037 || (atoken != null && !atoken.isVisibleRequested()) in isGoneForLayout()
2091 if (!mActivityRecord.isVisibleRequested()) return; in requestDrawIfNeeded()
[all …]
DRunningTasks.java160 if (task.isVisibleRequested()) {
DRecentsAnimation.java116 if (targetActivity.isVisibleRequested() || targetActivity.isTopRunningActivity()) { in preloadRecentsActivity()
203 if (targetActivity == null || !targetActivity.isVisibleRequested()) { in startRecentsActivity()
DTaskFragment.java1549 + " visibleRequested=" + next.isVisibleRequested()); in resumeTopActivity()
1563 if (!next.isVisibleRequested() || next.mAppStopped || lastActivityTranslucent) { in resumeTopActivity()
1938 prev.isVisibleRequested()); in completePause()
1944 } else if (!prev.isVisibleRequested() || shouldSleepOrShutDownActivities()) { in completePause()
2014 if (isEmbedded() && !isVisibleRequested()) { in getOverrideOrientation()
2050 return getAdjacentTaskFragment() != null && isVisibleRequested(); in shouldReportOrientationUnspecified()
2905 return task != null && task.isVisibleRequested(); in isTaskVisibleRequested()
3112 && w.mActivityRecord.isEmbedded() && (w.mActivityRecord.isVisibleRequested() in shouldBoostDimmer()
DCameraStateMonitor.java244 if (activityRecord.isVisibleRequested() in findCameraActivity()
DBackNavigationController.java186 if ((currentTask != null && !currentTask.isVisibleRequested()) in startBackNavigation()
187 || (currentActivity != null && !currentActivity.isVisibleRequested())) { in startBackNavigation()
788 if (wc.isVisibleRequested()) { in onTransactionReady()
832 return mAnimationHandler.isTarget(wc, wc.isVisibleRequested() /* open */); in isMonitorTransitionTarget()
839 && mAnimationHandler.isTarget(wc, wc.isVisibleRequested() /* open */); in shouldPauseTouch()
1729 if (!activity.isVisibleRequested()) {
DTransitionController.java796 if (!wc.isVisibleRequested()) return null; in requestCloseTransitionIfNeeded()
979 if (!ar.isVisibleRequested() && ar.isVisible()) { in validateStates()
981 ar.commitVisibility(ar.isVisibleRequested(), false /* layout */, in validateStates()
997 if (da.isVisibleRequested()) { in validateStates()
1016 if (wc.isVisibleRequested()) { in onVisibleWithoutCollectingTransition()
DWallpaperController.java141 if (ar != null && !ar.isVisibleRequested() && !ar.isVisible()) {
320 if (!token.isVisibleRequested()) { in hideDeferredWallpapersIfNeededLegacy()
841 && !wallpaperTarget.mActivityRecord.isVisibleRequested(); in updateWallpaperWindowsTarget()
843 && !prevWallpaperTarget.mActivityRecord.isVisibleRequested(); in updateWallpaperWindowsTarget()
DWallpaperWindowToken.java175 || wallpaperTarget.mActivityRecord.isVisibleRequested()) in updateWallpaperWindows()
DWindowContainer.java1339 boolean isVisibleRequested() { in isVisibleRequested() method in WindowContainer
1365 final boolean childVisReq = child != null && child.isVisibleRequested(); in onChildVisibleRequestedChanged()
1373 if (wc != child && wc.isVisibleRequested()) { in onChildVisibleRequestedChanged()
2991 || !isVisible() || !isVisibleRequested()) { in canStartChangeTransition()
3852 if (!isVisibleRequested() in showWallpaper()
4014 if (!isVisibleRequested()) { in isSyncFinished()
4029 if (childFinished && child.isVisibleRequested() && child.fillsParent()) { in isSyncFinished()
4045 if (!isVisibleRequested()) return true; in allSyncFinished()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DContentRecorderTests.java549 boolean isVisibleRequested = true; in testOnVisibleRequestedChanged_notifiesCallback()
550 mContentRecorder.onVisibleRequestedChanged(isVisibleRequested); in testOnVisibleRequestedChanged_notifiesCallback()
554 .notifyActiveProjectionCapturedContentVisibilityChanged(isVisibleRequested); in testOnVisibleRequestedChanged_notifiesCallback()
557 isVisibleRequested = false; in testOnVisibleRequestedChanged_notifiesCallback()
558 mContentRecorder.onVisibleRequestedChanged(isVisibleRequested); in testOnVisibleRequestedChanged_notifiesCallback()
562 .notifyActiveProjectionCapturedContentVisibilityChanged(isVisibleRequested); in testOnVisibleRequestedChanged_notifiesCallback()
572 boolean isVisibleRequested = true; in testOnVisibleRequestedChanged_noRecording_doesNotNotifyCallback()
573 mContentRecorder.onVisibleRequestedChanged(isVisibleRequested); in testOnVisibleRequestedChanged_noRecording_doesNotNotifyCallback()
577 .notifyActiveProjectionCapturedContentVisibilityChanged(isVisibleRequested); in testOnVisibleRequestedChanged_noRecording_doesNotNotifyCallback()
580 isVisibleRequested = false; in testOnVisibleRequestedChanged_noRecording_doesNotNotifyCallback()
[all …]
DRecentsAnimationTest.java115 assertTrue(recentActivity.isVisibleRequested()); in testRecentsActivityVisiblility()
123 assertFalse(recentActivity.isVisibleRequested()); in testRecentsActivityVisiblility()
169 assertFalse(recentsActivity.isVisibleRequested()); in testPreloadRecentsActivity()
359 assertTrue(otherUserHomeActivity.isVisibleRequested()); in testMultipleUserHomeActivity_findUserHomeTask()
DTaskFragmentTest.java158 doReturn(true).when(mTaskFragment).isVisibleRequested(); in testShouldStartChangeTransition_relativePositionChange()
193 doReturn(true).when(mTaskFragment).isVisibleRequested(); in testStartChangeTransition_resetSurface()
223 doReturn(true).when(mTaskFragment).isVisibleRequested(); in testStartChangeTransition_doNotFreezeWhenOnlyMoved()
241 doReturn(true).when(mTaskFragment).isVisibleRequested(); in testNotOkToAnimate_doNotStartChangeTransition()
291 assertEquals(true, activityBelow.isVisibleRequested()); in testActivityVisibilityBehindTranslucentTaskFragment()
413 assertTrue(task.isVisibleRequested()); in testEmbeddedTaskFragmentEnterPip_multiActivities_notifyOrganizer()
479 doReturn(true).when(task).isVisibleRequested(); in testIsReadyToTransit()
DWindowContainerTests.java666 assertThat(root.isVisibleRequested()).isFalse(); in testSetVisibleRequested()
671 assertThat(root.isVisibleRequested()).isFalse(); in testSetVisibleRequested()
674 assertThat(root.isVisibleRequested()).isTrue(); in testSetVisibleRequested()
683 assertThat(child1.isVisibleRequested()).isFalse(); in testSetVisibleRequested_childRequestsVisible()
690 assertThat(child1.isVisibleRequested()).isFalse(); in testSetVisibleRequested_childRequestsVisible()
694 assertThat(root.isVisibleRequested()).isTrue(); in testSetVisibleRequested_childRequestsVisible()
696 assertThat(child1.isVisibleRequested()).isTrue(); in testSetVisibleRequested_childRequestsVisible()
707 assertThat(child1.isVisibleRequested()).isFalse(); in testSetVisibleRequested_childRequestsHidden()
715 assertThat(child1.isVisibleRequested()).isTrue(); in testSetVisibleRequested_childRequestsHidden()
719 assertThat(root.isVisibleRequested()).isFalse(); in testSetVisibleRequested_childRequestsHidden()
[all …]
DActivityRecordTests.java3133 assertTrue(activity.isVisibleRequested()); in testSetVisibility_visibleToVisible()
3142 assertTrue(activity.isVisibleRequested()); in testSetVisibility_visibleToVisible()
3153 assertTrue(activity.isVisibleRequested()); in testSetVisibility_visibleToInvisible()
3161 assertFalse(activity.isVisibleRequested()); in testSetVisibility_visibleToInvisible()
3173 assertTrue(activity.isVisibleRequested()); in testSetVisibility_invisibleToVisible()
3180 assertTrue(activity.isVisibleRequested()); in testSetVisibility_invisibleToVisible()
3203 assertTrue(activity.isVisibleRequested()); in testSetVisibility_invisibleToInvisible()
3211 assertFalse(activity.isVisibleRequested()); in testSetVisibility_invisibleToInvisible()
3406 assertFalse(app.mActivityRecord.isVisibleRequested()); in testInClosingAnimation_visibilityNotCommitted_doNotHideSurface()
3431 assertFalse(app.mActivityRecord.isVisibleRequested()); in testInClosingAnimation_visibilityCommitted_hideSurface()
[all …]
DWallpaperControllerTests.java437 assertTrue(token.isVisibleRequested()); in testWallpaperTokenVisibility()
447 assertFalse(token.isVisibleRequested()); in testWallpaperTokenVisibility()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/
DStageTaskListener.java139 && t.isVisibleRequested); in getTopVisibleChildTaskId()
201 taskInfo.isVisible && taskInfo.isVisibleRequested); in onTaskAppeared()
246 taskInfo.isVisible && taskInfo.isVisibleRequested); in onTaskInfoChanged()

123