Home
last modified time | relevance | path

Searched refs:asTask (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DWindowOrganizerController.java676 if (wc.asTask() != null && wc.inPinnedWindowingMode() in applyTransaction()
690 wc.asTask().setForceHidden(FLAG_FORCE_HIDDEN_FOR_PINNED_TASK, true /* set */); in applyTransaction()
694 wc.asTask().ensureActivitiesVisible(null /* starting */); in applyTransaction()
695 wc.asTask().mTaskSupervisor.processStoppingAndFinishingActivities( in applyTransaction()
705 wc.asTask().setForceHidden(FLAG_FORCE_HIDDEN_FOR_PINNED_TASK, false /* set */); in applyTransaction()
733 final Task task = wc.asTask(); in applyTransaction()
739 final Task parent = task.getParent() != null ? task.getParent().asTask() : null; in applyTransaction()
1026 if (wc == null || wc.asTask() == null || !wc.isAttached()) { in applyHierarchyOp()
1030 final Task task = wc.asTask(); in applyHierarchyOp()
1049 final Task task = wc.asTask(); in applyHierarchyOp()
[all …]
DBackNavigationController.java260 && (parent.asTask() != null in startBackNavigation()
317 final Task prevParent = prevTask.getParent().asTask(); in startBackNavigation()
318 final Task currParent = currentTask.getParent().asTask(); in startBackNavigation()
417 if (currTF != null && currTF.asTask() == null) { in getAnimatablePrevActivities()
500 if (prevTF == null || prevTF.asTask() != null) { in addPreviousAdjacentActivityIfExist()
505 if (prevTFAdjacent == null || prevTFAdjacent.asTask() != null) { in addPreviousAdjacentActivityIfExist()
779 if (wc.asActivityRecord() == null && wc.asTask() == null in onTransactionReady()
875 if (wc.asActivityRecord() == null && wc.asTask() == null in onTransitionFinish()
970 if (open == null || open.length != 1 || close.asTask() == null) { in isTaskSwitch()
973 return open[0].asTask() != null && (close.asTask() != open[0].asTask()); in isTaskSwitch()
[all …]
DTaskDisplayArea.java307 } else if (child.asTask() != null) {
308 addChildTask(child.asTask(), position);
341 } else if (child.asTask() != null) {
342 removeChildTask(child.asTask());
367 } else if (child.asTask() != null) {
368 positionChildTaskAt(position, child.asTask(), includingParents);
545 final Task rootTask = child.asTask();
705 final Task childTask = child.asTask();
845 final Task homeParentTask = homeParent != null ? homeParent.asTask() : null;
1151 final Task rootTask = mChildren.get(i).asTask();
[all …]
DSnapshotController.java90 final Task task = info.mContainer.asTask(); in onTransactionReady()
181 if (wc.asTask() == null && wc.asTaskFragment() == null in onTransitionFinish()
192 final Task task = wc.asTask(); in onTransitionFinish()
DContentRecorder.java188 final Task capturedTask = mRecordedWindowContainer.asTask(); in onConfigurationChanged()
316 ? mRecordedWindowContainer.asTask() : null; in unregisterListener()
355 if (mRecordedWindowContainer.asTask().inPinnedWindowingMode()) { in startRecordingIfNeeded()
403 mRecordedWindowContainer.asTask().isVisibleRequested()); in startRecordingIfNeeded()
464 Task taskToRecord = WindowContainer.fromBinder(tokenToRecord).asTask(); in retrieveRecordedWindowContainer()
DEnsureActivitiesVisibleHelper.java78 if (mTopRunningActivity != null && mTaskFragment.asTask() != null) { in process()
80 mTaskFragment.asTask().checkTranslucentActivityWaiting(mTopRunningActivity); in process()
DTask.java678 return fromBinder(token.asBinder()).asTask(); in fromWindowContainerToken()
1147 final Task oldParentTask = oldParent.asTask(); in onParentChanged()
1202 ActivityRecord resumedActivity = mChildren.get(i).asTask().getTopResumedActivity(); in getTopResumedActivity()
1231 ActivityRecord pausingActivity = mChildren.get(i).asTask().getTopPausingActivity(); in getTopPausingActivity()
1450 if (mTaskOrganizer != null && mCreatedByOrganizer && child.asTask() != null) { in addChild()
1461 if (childTaskFrag != null && childTaskFrag.asTask() == null) { in addChild()
1523 if (mCreatedByOrganizer && r.asTask() != null) { in removeChild()
1899 final Task t = parent.asTask(); in updateTaskDescription()
2440 final Task parentTask = parent.asTask(); in getOrganizedTask()
2454 final Task parentTask = parent.asTask(); in getCreatedByOrganizerTask()
[all …]
DTaskOrganizerController.java892 final Task task = wc.asTask(); in deleteRootTask()
1020 final Task task = container.asTask(); in getChildTasks()
1032 final Task child = task.getChildAt(i).asTask(); in getChildTasks()
1087 final Task task = wc.asTask(); in setInterceptBackPressedOnTaskRoot()
1114 final Task task = wc.asTask(); in restartTaskTopActivityProcessIfVisible()
1142 final Task task = wc.asTask(); in updateCameraCompatControlState()
DTaskFragment.java665 if (asTask() != null) { in getTask()
666 return asTask(); in getTask()
699 return getRootTaskFragment().asTask(); in getRootTask()
1204 final Task thisTask = asTask(); in getVisibility()
1205 if (thisTask != null && parent.asTask() == null in getVisibility()
1408 if (lastFocusedRootTask != null && lastFocusedRootTask != getRootTaskFragment().asTask()) { in resumeTopActivity()
2200 final Task thisTask = asTask(); in resolveOverrideConfiguration()
2787 final Task parentTask = getParent().asTask(); in sendTaskFragmentParentInfoChanged()
2950 if (asTask() != null) { in setMinDimensions()
3055 if (asTask() == null) { in removeImmediately()
[all …]
DAppTransitionController.java159 && (!openingWcs.isEmpty() && openingWcs.valueAt(0).asTask() != null) in getOldWallpaper()
554 if (container.asTask() != null) { in getTransitContainerType()
1009 || (current.asTask() != null && current.asTask().mInRemoveTask) in getAnimationTargets()
1035 if (current.asTask() != null in getAnimationTargets()
1036 && current.asTask().getAdjacentTask() != null) { in getAnimationTargets()
DTransition.java469 if (dimmer.getHost().asTask() != null) { in canApplyDim()
574 if (curr.asTask() == null && curr.asActivityRecord() == null) { in setTransientLaunchToChanges()
760 final Task child = task.getChildAt(i).asTask(); in addOnTopTasks()
1318 final Task tr = participant.asTask(); in finishTransition()
2281 final Task task = mTargets.get(i).mContainer.asTask(); in legacyRestoreNavigationBarFromApp()
2363 final Task t = wc.asTask(); in occludesKeyguard()
2401 if (chg.mContainer.asActivityRecord() == null && chg.mContainer.asTask() == null) { in updatePriorVisibility()
2803 final Task task = target.asTask(); in calculateTransitionInfo()
3400 final Task task = wc.asTask(); in getChangeFlags()
DActivitySnapshotController.java414 if (next.asTask() != null) { in handleTransitionFinish()
415 handleTaskTransition(next.asTask()); in handleTransitionFinish()
DTransitionController.java630 && !(wc.asTask() != null && isCollecting())); in canAssignLayers()
711 trigger != null ? trigger.asTask() : null, null /* remote */, null /* disp */); in requestTransitionIfNeeded()
797 return requestStartTransition(createTransition(TRANSIT_CLOSE, 0 /* flags */), wc.asTask(), in requestCloseTransitionIfNeeded()
DLockTaskController.java267 if (taskFragment.asTask() != null in activityBlockedFromFinish()
DWindowContainer.java3257 final Task task = asTask(); in applyAnimationUnchecked()
3615 final Task task = p.asTask(); in enforceSurfaceVisible()
3781 Task asTask() { in asTask() method in WindowContainer
DRecentTasks.java2004 final Task childTask = tr.getChildAt(i).asTask(); in createRecentTaskInfo()
DActivityStarter.java2856 && mTargetRootTask != intentTask.getParent().asTask()) { in setTargetRootTaskIfNeeded()
DActivityRecord.java5811 task = task.getParent().asTask(); in commitVisibility()
DWindowManagerService.java9390 if (adjacentFragment == null || adjacentFragment.asTask() != null) { in moveFocusToAdjacentWindow()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowTestsBase.java711 if (wc.asTask() != null) { in getTaskIndexOf()
712 if (wc.asTask() == task) { in getTaskIndexOf()
DWindowOrganizerTests.java876 Task task1 = WindowContainer.fromBinder(info1.token.asBinder()).asTask(); in testTileAddRemoveChild()
991 Task task1 = WindowContainer.fromBinder(info1.token.asBinder()).asTask(); in testTaskInfoCallback()
DActivityStarterTests.java1250 assertNotNull("Target record must be started on Task.", targetRecord.getParent().asTask()); in testStartActivityInner_inTaskFragment_failsByDefault()
DTaskFragmentOrganizerControllerTest.java1815 final TaskFragment frontMostTaskFragment = task.getTaskFragment(tf -> tf.asTask() == null); in testApplyTransaction_reorderTaskFragmentToFront()
/frameworks/base/services/
Dart-wear-profile28339 PLcom/android/server/wm/Task;->asTask()Lcom/android/server/wm/Task;
29178 PLcom/android/server/wm/WindowContainer;->asTask()Lcom/android/server/wm/Task;