Home
last modified time | relevance | path

Searched refs:TaskInfo (Results 1 – 25 of 75) sorted by relevance

123

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/unfold/animation/
DUnfoldTaskAnimator.java19 import android.app.TaskInfo;
50 default boolean isApplicableTask(TaskInfo taskInfo) { in isApplicableTask()
61 default void onTaskAppeared(TaskInfo taskInfo, SurfaceControl leash) {} in onTaskAppeared()
67 default void onTaskChanged(TaskInfo taskInfo) {} in onTaskChanged()
73 default void onTaskVanished(TaskInfo taskInfo) {} in onTaskVanished()
110 default void resetSurface(TaskInfo taskInfo, Transaction transaction) {} in resetSurface()
DFullscreenUnfoldTaskAnimator.java27 import android.app.TaskInfo;
125 public void onTaskAppeared(TaskInfo taskInfo, SurfaceControl leash) { in onTaskAppeared()
132 public void onTaskChanged(TaskInfo taskInfo) { in onTaskChanged()
140 public void onTaskVanished(TaskInfo taskInfo) { in onTaskVanished()
150 public void resetSurface(TaskInfo taskInfo, Transaction transaction) { in resetSurface()
189 public boolean isApplicableTask(TaskInfo taskInfo) { in isApplicableTask()
221 TaskInfo mTaskInfo;
224 TaskInfo taskInfo) { in AnimationContext()
229 private void update(InsetsSource taskBarInsetsSource, TaskInfo taskInfo) { in update()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/extension/
DTaskInfo.kt19 import android.app.TaskInfo
24 val TaskInfo.isTransparentCaptionBarAppearance: Boolean constant
30 val TaskInfo.isLightCaptionBarAppearance: Boolean constant
36 val TaskInfo.isFullscreen: Boolean constant
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/
DRestartDialogWindowManager.java23 import android.app.TaskInfo;
57 private final Consumer<Pair<TaskInfo, ShellTaskOrganizer.TaskListener>> mOnDismissCallback;
59 private final Consumer<Pair<TaskInfo, ShellTaskOrganizer.TaskListener>> mOnRestartCallback;
73 RestartDialogWindowManager(Context context, TaskInfo taskInfo, in RestartDialogWindowManager()
76 Consumer<Pair<TaskInfo, ShellTaskOrganizer.TaskListener>> onRestartCallback, in RestartDialogWindowManager() argument
77 Consumer<Pair<TaskInfo, ShellTaskOrganizer.TaskListener>> onDismissCallback, in RestartDialogWindowManager()
86 RestartDialogWindowManager(Context context, TaskInfo taskInfo, in RestartDialogWindowManager()
89 Consumer<Pair<TaskInfo, ShellTaskOrganizer.TaskListener>> onRestartCallback, in RestartDialogWindowManager() argument
90 Consumer<Pair<TaskInfo, ShellTaskOrganizer.TaskListener>> onDismissCallback, in RestartDialogWindowManager()
177 final TaskInfo lastTaskInfo = getLastTaskInfo(); in onDialogEnterAnimationEnded()
DCompatUIConfiguration.java20 import android.app.TaskInfo;
156 void setDontShowRestartDialogAgain(TaskInfo taskInfo) { in setDontShowRestartDialogAgain()
162 boolean shouldShowRestartDialogAgain(TaskInfo taskInfo) { in shouldShowRestartDialogAgain()
167 void setUserHasSeenHorizontalReachabilityEducation(TaskInfo taskInfo) { in setUserHasSeenHorizontalReachabilityEducation()
172 void setUserHasSeenVerticalReachabilityEducation(TaskInfo taskInfo) { in setUserHasSeenVerticalReachabilityEducation()
177 boolean hasSeenHorizontalReachabilityEducation(@NonNull TaskInfo taskInfo) { in hasSeenHorizontalReachabilityEducation()
182 boolean hasSeenVerticalReachabilityEducation(@NonNull TaskInfo taskInfo) { in hasSeenVerticalReachabilityEducation()
187 boolean shouldShowReachabilityEducation(@NonNull TaskInfo taskInfo) { in shouldShowReachabilityEducation()
DLetterboxEduWindowManager.java23 import android.app.TaskInfo;
60 private final Consumer<Pair<TaskInfo, ShellTaskOrganizer.TaskListener>> mOnDismissCallback;
79 LetterboxEduWindowManager(Context context, TaskInfo taskInfo, in LetterboxEduWindowManager()
82 Consumer<Pair<TaskInfo, ShellTaskOrganizer.TaskListener>> onDismissCallback, in LetterboxEduWindowManager() argument
91 LetterboxEduWindowManager(Context context, TaskInfo taskInfo, in LetterboxEduWindowManager()
94 Consumer<Pair<TaskInfo, ShellTaskOrganizer.TaskListener>> onDismissCallback, in LetterboxEduWindowManager() argument
206 public boolean updateCompatInfo(TaskInfo taskInfo, ShellTaskOrganizer.TaskListener taskListener, in updateCompatInfo()
215 boolean needsToBeRecreated(TaskInfo taskInfo, ShellTaskOrganizer.TaskListener taskListener) { in needsToBeRecreated()
DCompatUIController.java24 import android.app.TaskInfo;
245 public void onCompatInfoChanged(@NonNull TaskInfo taskInfo, in onCompatInfoChanged()
390 void updateActiveTaskInfo(@NonNull TaskInfo taskInfo) { in updateActiveTaskInfo()
435 private void createOrUpdateCompatLayout(@NonNull TaskInfo taskInfo, in createOrUpdateCompatLayout()
466 CompatUIWindowManager createCompatUiWindowManager(Context context, TaskInfo taskInfo, in createCompatUiWindowManager()
475 Pair<TaskInfo, ShellTaskOrganizer.TaskListener> taskInfoState) { in onRestartButtonClicked() argument
487 private void createOrUpdateLetterboxEduLayout(@NonNull TaskInfo taskInfo, in createOrUpdateLetterboxEduLayout()
523 LetterboxEduWindowManager createLetterboxEduWindowManager(Context context, TaskInfo taskInfo, in createLetterboxEduWindowManager()
532 private void createOrUpdateRestartDialogLayout(@NonNull TaskInfo taskInfo, in createOrUpdateRestartDialogLayout()
567 RestartDialogWindowManager createRestartDialogWindowManager(Context context, TaskInfo taskInfo, in createRestartDialogWindowManager()
[all …]
DCompatUIWindowManagerAbstract.java31 import android.app.TaskInfo;
70 private TaskInfo mTaskInfo;
86 protected CompatUIWindowManagerAbstract(Context context, TaskInfo taskInfo, in CompatUIWindowManagerAbstract()
109 boolean needsToBeRecreated(TaskInfo taskInfo, ShellTaskOrganizer.TaskListener taskListener) { in needsToBeRecreated()
212 public boolean updateCompatInfo(TaskInfo taskInfo, in updateCompatInfo()
336 protected TaskInfo getLastTaskInfo() { in getLastTaskInfo()
432 protected static boolean hasUiModeChanged(TaskInfo currentTaskInfo, TaskInfo newTaskInfo) { in hasUiModeChanged()
DAppCompatUtils.kt21 import android.app.TaskInfo
22 fun isSingleTopActivityTranslucent(task: TaskInfo) =
DCompatUIWindowManager.java29 import android.app.TaskInfo;
57 private final Consumer<Pair<TaskInfo, ShellTaskOrganizer.TaskListener>> mOnRestartButtonClicked;
76 CompatUIWindowManager(Context context, TaskInfo taskInfo, in CompatUIWindowManager()
80 Consumer<Pair<TaskInfo, ShellTaskOrganizer.TaskListener>> onRestartButtonClicked) { in CompatUIWindowManager() argument
138 public boolean updateCompatInfo(TaskInfo taskInfo, ShellTaskOrganizer.TaskListener taskListener, in updateCompatInfo()
229 boolean shouldShowSizeCompatRestartButton(@NonNull TaskInfo taskInfo) { in shouldShowSizeCompatRestartButton()
DReachabilityEduWindowManager.java25 import android.app.TaskInfo;
78 private final BiConsumer<TaskInfo, ShellTaskOrganizer.TaskListener> mOnDismissCallback;
86 ReachabilityEduWindowManager(Context context, TaskInfo taskInfo, in ReachabilityEduWindowManager()
90 BiConsumer<TaskInfo, ShellTaskOrganizer.TaskListener> onDismissCallback, in ReachabilityEduWindowManager() argument
143 public boolean updateCompatInfo(TaskInfo taskInfo, ShellTaskOrganizer.TaskListener taskListener, in updateCompatInfo()
236 final TaskInfo lastTaskInfo = getLastTaskInfo(); in updateVisibilityOfViews()
DUserAspectRatioSettingsWindowManager.java24 import android.app.TaskInfo;
56 private final BiConsumer<TaskInfo, ShellTaskOrganizer.TaskListener> mOnButtonClicked;
79 UserAspectRatioSettingsWindowManager(@NonNull Context context, @NonNull TaskInfo taskInfo, in UserAspectRatioSettingsWindowManager()
83 @NonNull BiConsumer<TaskInfo, ShellTaskOrganizer.TaskListener> onButtonClicked, in UserAspectRatioSettingsWindowManager() argument
136 public boolean updateCompatInfo(@NonNull TaskInfo taskInfo, in updateCompatInfo()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/
DDesktopModeLoggerTransitionObserver.kt21 import android.app.TaskInfo in <lambda>()
78 private val visibleFreeformTaskInfos: SparseArray<TaskInfo> = SparseArray() in <lambda>()
82 private val tasksSavedForRecents: SparseArray<TaskInfo> = SparseArray() in <lambda>()
161 ): SparseArray<TaskInfo> { in <lambda>()
176 val postTransitionFreeformTasks: SparseArray<TaskInfo> = SparseArray() in <lambda>()
233 preTransitionVisibleFreeformTasks: SparseArray<TaskInfo>, in <lambda>()
234 postTransitionVisibleFreeformTasks: SparseArray<TaskInfo> in <lambda>()
289 preTransitionVisibleFreeformTasks: SparseArray<TaskInfo>, in <lambda>()
290 postTransitionVisibleFreeformTasks: SparseArray<TaskInfo> in <lambda>()
308 private fun buildTaskUpdateForTask(taskInfo: TaskInfo): TaskUpdate { in <lambda>()
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/compatui/
DCompatUIControllerTest.java38 import android.app.TaskInfo;
149 CompatUIWindowManager createCompatUiWindowManager(Context context, TaskInfo taskInfo, in setUp()
156 TaskInfo taskInfo, ShellTaskOrganizer.TaskListener taskListener) { in setUp()
162 TaskInfo taskInfo, ShellTaskOrganizer.TaskListener taskListener) { in setUp()
188 TaskInfo taskInfo = createTaskInfo(DISPLAY_ID, TASK_ID, /* hasSizeCompat= */ true, in testOnCompatInfoChanged()
231 TaskInfo taskInfo = createTaskInfo(DISPLAY_ID, TASK_ID, /* hasSizeCompat= */ true, in testOnCompatInfoChanged_createLayoutReturnsFalse()
261 TaskInfo taskInfo = createTaskInfo(DISPLAY_ID, TASK_ID, /* hasSizeCompat= */ true, in testOnCompatInfoChanged_updateCompatInfoReturnsFalse()
388 TaskInfo taskInfo = createTaskInfo(DISPLAY_ID, TASK_ID, /* hasSizeCompat= */ true, in testChangeLayoutsVisibilityOnImeShowHide()
420 TaskInfo taskInfo = createTaskInfo(DISPLAY_ID, TASK_ID, /* hasSizeCompat= */ true, in testChangeLayoutsVisibilityOnKeyguardShowingChanged()
499 final TaskInfo taskInfo = createTaskInfo(DISPLAY_ID, TASK_ID, in testRestartLayoutRecreatedIfNeeded()
[all …]
DUserAspectRatioSettingsLayoutTest.java29 import android.app.TaskInfo;
74 private BiConsumer<TaskInfo, ShellTaskOrganizer.TaskListener>
83 private ArgumentCaptor<TaskInfo> mUserAspectRationTaskInfoCaptor;
87 private TaskInfo mTaskInfo;
118 final Pair<TaskInfo, ShellTaskOrganizer.TaskListener> result = in testOnClickForUserAspectRatioSettingsButton()
146 private static TaskInfo createTaskInfo(boolean hasSizeCompat, in createTaskInfo()
DRestartDialogWindowManagerTest.java20 import android.app.TaskInfo;
58 @Mock private Consumer<Pair<TaskInfo, ShellTaskOrganizer.TaskListener>> mOnRestartCallback;
59 @Mock private Consumer<Pair<TaskInfo, ShellTaskOrganizer.TaskListener>> mOnDismissCallback;
61 private TaskInfo mTaskInfo;
DReachabilityEduWindowManagerTest.java23 import android.app.TaskInfo;
63 private BiConsumer<TaskInfo, ShellTaskOrganizer.TaskListener> mOnDismissCallback;
65 private TaskInfo mTaskInfo;
109 private ReachabilityEduWindowManager createReachabilityEduWindowManager(TaskInfo taskInfo) { in createReachabilityEduWindowManager()
DUserAspectRatioSettingsWindowManagerTest.java37 import android.app.TaskInfo;
93 private BiConsumer<TaskInfo, ShellTaskOrganizer.TaskListener>
101 private ArgumentCaptor<TaskInfo> mUserAspectRationTaskInfoCaptor;
106 private TaskInfo mTaskInfo;
199 TaskInfo taskInfo = createTaskInfo(/* eligibleForUserAspectRatioButton= */ in testUpdateCompatInfo()
254 TaskInfo taskInfo = createTaskInfo(/* eligibleForUserAspectRatioButton= */ in testUpdateCompatInfoLayoutNotInflatedYet()
271 TaskInfo taskInfo = createTaskInfo(/* eligibleForUserAspectRatioButton= */ in testEligibleButtonHiddenIfLetterboxBoundsEqualToStableBounds()
296 TaskInfo taskInfo = createTaskInfo(/* eligibleForUserAspectRatioButton= */ in testUserFullscreenOverrideEnabled_buttonAlwaysShown()
384 TaskInfo taskInfo = createTaskInfo(/* eligibleForUserAspectRatioButton= */ in testLayoutHasUserAspectRatioSettingsButton()
428 final Pair<TaskInfo, ShellTaskOrganizer.TaskListener> result = in testOnUserAspectRatioButtonClicked()
[all …]
DCompatUILayoutTest.java32 import android.app.TaskInfo;
75 @Mock private Consumer<Pair<TaskInfo, ShellTaskOrganizer.TaskListener>> mOnRestartButtonClicked;
82 private TaskInfo mTaskInfo;
109 ArgumentCaptor<Pair<TaskInfo, ShellTaskOrganizer.TaskListener>> restartCaptor = in testOnClickForRestartButton()
114 final Pair<TaskInfo, ShellTaskOrganizer.TaskListener> result = restartCaptor.getValue(); in testOnClickForRestartButton()
220 private static TaskInfo createTaskInfo(boolean hasSizeCompat, in createTaskInfo()
DCompatUIWindowManagerTest.java42 import android.app.TaskInfo;
94 @Mock private Consumer<Pair<TaskInfo, ShellTaskOrganizer.TaskListener>> mOnRestartButtonClicked;
101 private TaskInfo mTaskInfo;
233 TaskInfo taskInfo = createTaskInfo(/* hasSizeCompat= */ true, CAMERA_COMPAT_CONTROL_HIDDEN); in testUpdateCompatInfo()
326 TaskInfo taskInfo = createTaskInfo(/* hasSizeCompat= */ false, in testUpdateCompatInfoLayoutNotInflatedYet()
461 ArgumentCaptor<Pair<TaskInfo, ShellTaskOrganizer.TaskListener>> restartCaptor = in testOnRestartButtonClicked()
465 final Pair<TaskInfo, ShellTaskOrganizer.TaskListener> result = restartCaptor.getValue(); in testOnRestartButtonClicked()
517 TaskInfo taskInfo = createTaskInfo(true, CAMERA_COMPAT_CONTROL_HIDDEN); in testShouldShowSizeCompatRestartButton()
546 private static TaskInfo createTaskInfo(boolean hasSizeCompat, in createTaskInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/taskswitcher/domain/interactor/
DTaskSwitchInteractor.kt20 import android.app.TaskInfo in <lambda>()
84 private fun hasForegroundTaskSwitched(projectedTask: TaskInfo, foregroundTask: TaskInfo) = in <lambda>()
87 private val TaskInfo.isLauncher in <lambda>() constant
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/unfold/
DUnfoldAnimationControllerTest.java30 import android.app.TaskInfo;
299 private Predicate<TaskInfo> mTaskMatcher = (info) -> false;
301 Map<Integer, TaskInfo> mTasksMap = new HashMap<>();
324 public boolean isApplicableTask(TaskInfo taskInfo) { in isApplicableTask()
333 public void setTaskMatcher(Predicate<TaskInfo> taskMatcher) { in setTaskMatcher()
338 public void onTaskAppeared(TaskInfo taskInfo, SurfaceControl leash) { in onTaskAppeared()
343 public void onTaskVanished(TaskInfo taskInfo) { in onTaskVanished()
348 public void onTaskChanged(TaskInfo taskInfo) { in onTaskChanged()
353 public void resetSurface(TaskInfo taskInfo, Transaction transaction) { in resetSurface()
367 public List<TaskInfo> getCurrentTasks() { in getCurrentTasks()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
DStartingSurface.java19 import android.app.TaskInfo;
28 default int getBackgroundColor(TaskInfo taskInfo) { in getBackgroundColor()
/frameworks/base/services/core/java/com/android/server/policy/
DPermissionPolicyInternal.java22 import android.app.TaskInfo;
81 public abstract boolean shouldShowNotificationDialogForTask(@Nullable TaskInfo taskInfo, in shouldShowNotificationDialogForTask()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipTransitionController.java30 import android.app.TaskInfo;
76 public void onPipAnimationStart(TaskInfo taskInfo,
83 public void onPipAnimationEnd(TaskInfo taskInfo, SurfaceControl.Transaction tx,
99 public void onPipAnimationCancel(TaskInfo taskInfo,
114 public void onFinishResize(TaskInfo taskInfo, Rect destinationBounds, in onFinishResize()
275 final TaskInfo inPipTask = mPipOrganizer.getTaskInfo(); in isPackageActiveInPip()

123