/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/unfold/animation/ |
D | UnfoldTaskAnimator.java | 19 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()
|
D | FullscreenUnfoldTaskAnimator.java | 27 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/ |
D | TaskInfo.kt | 19 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/ |
D | RestartDialogWindowManager.java | 23 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()
|
D | CompatUIConfiguration.java | 20 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()
|
D | LetterboxEduWindowManager.java | 23 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()
|
D | CompatUIController.java | 24 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 …]
|
D | CompatUIWindowManagerAbstract.java | 31 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()
|
D | AppCompatUtils.kt | 21 import android.app.TaskInfo 22 fun isSingleTopActivityTranslucent(task: TaskInfo) =
|
D | CompatUIWindowManager.java | 29 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()
|
D | ReachabilityEduWindowManager.java | 25 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()
|
D | UserAspectRatioSettingsWindowManager.java | 24 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/ |
D | DesktopModeLoggerTransitionObserver.kt | 21 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/ |
D | CompatUIControllerTest.java | 38 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 …]
|
D | UserAspectRatioSettingsLayoutTest.java | 29 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()
|
D | RestartDialogWindowManagerTest.java | 20 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;
|
D | ReachabilityEduWindowManagerTest.java | 23 import android.app.TaskInfo; 63 private BiConsumer<TaskInfo, ShellTaskOrganizer.TaskListener> mOnDismissCallback; 65 private TaskInfo mTaskInfo; 109 private ReachabilityEduWindowManager createReachabilityEduWindowManager(TaskInfo taskInfo) { in createReachabilityEduWindowManager()
|
D | UserAspectRatioSettingsWindowManagerTest.java | 37 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 …]
|
D | CompatUILayoutTest.java | 32 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()
|
D | CompatUIWindowManagerTest.java | 42 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/ |
D | TaskSwitchInteractor.kt | 20 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/ |
D | UnfoldAnimationControllerTest.java | 30 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/ |
D | StartingSurface.java | 19 import android.app.TaskInfo; 28 default int getBackgroundColor(TaskInfo taskInfo) { in getBackgroundColor()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PermissionPolicyInternal.java | 22 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/ |
D | PipTransitionController.java | 30 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()
|