/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/ |
D | CompatUIController.java | 246 @Nullable ShellTaskOrganizer.TaskListener taskListener) { in onCompatInfoChanged() argument 251 if (taskInfo != null && taskListener != null) { in onCompatInfoChanged() 255 if (taskInfo.configuration == null || taskListener == null) { in onCompatInfoChanged() 273 createOrUpdateLetterboxEduLayout(taskInfo, taskListener); in onCompatInfoChanged() 293 createOrUpdateReachabilityEduLayout(taskInfo, taskListener); in onCompatInfoChanged() 299 createOrUpdateCompatLayout(taskInfo, taskListener); in onCompatInfoChanged() 300 createOrUpdateRestartDialogLayout(taskInfo, taskListener); in onCompatInfoChanged() 303 createOrUpdateReachabilityEduLayout(taskInfo, taskListener); in onCompatInfoChanged() 315 createOrUpdateUserAspectRatioSettingsLayout(taskInfo, taskListener); in onCompatInfoChanged() 436 @Nullable ShellTaskOrganizer.TaskListener taskListener) { in createOrUpdateCompatLayout() argument [all …]
|
D | LetterboxEduWindowManager.java | 80 SyncTransactionQueue syncQueue, ShellTaskOrganizer.TaskListener taskListener, in LetterboxEduWindowManager() argument 84 this(context, taskInfo, syncQueue, taskListener, displayLayout, transitions, in LetterboxEduWindowManager() 92 SyncTransactionQueue syncQueue, ShellTaskOrganizer.TaskListener taskListener, in LetterboxEduWindowManager() argument 97 super(context, taskInfo, syncQueue, taskListener, displayLayout); in LetterboxEduWindowManager() 206 public boolean updateCompatInfo(TaskInfo taskInfo, ShellTaskOrganizer.TaskListener taskListener, in updateCompatInfo() argument 211 return super.updateCompatInfo(taskInfo, taskListener, canShow); in updateCompatInfo() 215 boolean needsToBeRecreated(TaskInfo taskInfo, ShellTaskOrganizer.TaskListener taskListener) { in needsToBeRecreated() argument 216 return super.needsToBeRecreated(taskInfo, taskListener) in needsToBeRecreated()
|
D | CompatUIWindowManagerAbstract.java | 87 SyncTransactionQueue syncQueue, ShellTaskOrganizer.TaskListener taskListener, in CompatUIWindowManagerAbstract() argument 96 mTaskListener = taskListener; in CompatUIWindowManagerAbstract() 109 boolean needsToBeRecreated(TaskInfo taskInfo, ShellTaskOrganizer.TaskListener taskListener) { in needsToBeRecreated() argument 110 return hasUiModeChanged(mTaskInfo, taskInfo) || hasTaskListenerChanged(taskListener); in needsToBeRecreated() 213 ShellTaskOrganizer.TaskListener taskListener, boolean canShow) { in updateCompatInfo() argument 218 mTaskListener = taskListener; in updateCompatInfo() 229 if (layout == null || prevTaskListener != taskListener in updateCompatInfo()
|
D | RestartDialogWindowManager.java | 74 SyncTransactionQueue syncQueue, ShellTaskOrganizer.TaskListener taskListener, in RestartDialogWindowManager() argument 79 this(context, taskInfo, syncQueue, taskListener, displayLayout, transitions, in RestartDialogWindowManager() 87 SyncTransactionQueue syncQueue, ShellTaskOrganizer.TaskListener taskListener, in RestartDialogWindowManager() argument 93 super(context, taskInfo, syncQueue, taskListener, displayLayout); in RestartDialogWindowManager()
|
D | UserAspectRatioSettingsWindowManager.java | 81 @Nullable ShellTaskOrganizer.TaskListener taskListener, in UserAspectRatioSettingsWindowManager() argument 88 super(context, taskInfo, syncQueue, taskListener, displayLayout); in UserAspectRatioSettingsWindowManager() 137 @NonNull ShellTaskOrganizer.TaskListener taskListener, boolean canShow) { in updateCompatInfo() argument 142 if (!super.updateCompatInfo(taskInfo, taskListener, canShow)) { in updateCompatInfo()
|
D | CompatUIWindowManager.java | 78 ShellTaskOrganizer.TaskListener taskListener, DisplayLayout displayLayout, in CompatUIWindowManager() argument 81 super(context, taskInfo, syncQueue, taskListener, displayLayout); in CompatUIWindowManager() 138 public boolean updateCompatInfo(TaskInfo taskInfo, ShellTaskOrganizer.TaskListener taskListener, in updateCompatInfo() argument 150 if (!super.updateCompatInfo(taskInfo, taskListener, canShow)) { in updateCompatInfo()
|
D | ReachabilityEduWindowManager.java | 88 ShellTaskOrganizer.TaskListener taskListener, DisplayLayout displayLayout, in ReachabilityEduWindowManager() argument 92 super(context, taskInfo, syncQueue, taskListener, displayLayout); in ReachabilityEduWindowManager() 143 public boolean updateCompatInfo(TaskInfo taskInfo, ShellTaskOrganizer.TaskListener taskListener, in updateCompatInfo() argument 158 if (!super.updateCompatInfo(taskInfo, taskListener, canShow)) { in updateCompatInfo()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/freeform/ |
D | FreeformComponents.java | 43 ShellTaskOrganizer.TaskListener taskListener, in FreeformComponents() argument 46 mTaskListener = taskListener; in FreeformComponents()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/ |
D | ShellTaskOrganizer.java | 344 final TaskListener taskListener = getTaskListener(data.getTaskInfo()); in addListenerForType() local 345 if (taskListener != listener) continue; in addListenerForType() 367 final TaskListener taskListener = getTaskListener(data.getTaskInfo()); in removeListener() local 368 if (taskListener != listener) continue; in removeListener() 739 final TaskListener taskListener; in reparentChildSurfaceToTask() local 741 taskListener = mTasks.contains(taskId) in reparentChildSurfaceToTask() 745 if (taskListener == null) { in reparentChildSurfaceToTask() 750 taskListener.reparentChildSurfaceToTask(taskId, sc, t); in reparentChildSurfaceToTask() 771 private void notifyCompatUI(RunningTaskInfo taskInfo, @Nullable TaskListener taskListener) { in notifyCompatUI() argument 778 if (taskListener == null || !taskListener.supportCompatUI() in notifyCompatUI() [all …]
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/ |
D | ShellTaskOrganizerTests.java | 369 final TrackingTaskListener taskListener = new TrackingTaskListener(); in testOnSizeCompatActivityChanged() local 370 mOrganizer.addListenerForType(taskListener, TASK_LISTENER_TYPE_FULLSCREEN); in testOnSizeCompatActivityChanged() 384 verify(mCompatUI).onCompatInfoChanged(taskInfo2, taskListener); in testOnSizeCompatActivityChanged() 407 final TrackingTaskListener taskListener = new TrackingTaskListener(); in testOnEligibleForLetterboxEducationActivityChanged() local 408 mOrganizer.addListenerForType(taskListener, TASK_LISTENER_TYPE_FULLSCREEN); in testOnEligibleForLetterboxEducationActivityChanged() 424 verify(mCompatUI).onCompatInfoChanged(taskInfo2, taskListener); in testOnEligibleForLetterboxEducationActivityChanged() 448 final TrackingTaskListener taskListener = new TrackingTaskListener(); in testOnCameraCompatActivityChanged() local 449 mOrganizer.addListenerForType(taskListener, TASK_LISTENER_TYPE_FULLSCREEN); in testOnCameraCompatActivityChanged() 465 verify(mCompatUI).onCompatInfoChanged(taskInfo2, taskListener); in testOnCameraCompatActivityChanged() 477 verify(mCompatUI).onCompatInfoChanged(taskInfo3, taskListener); in testOnCameraCompatActivityChanged() [all …]
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/compatui/ |
D | CompatUIControllerTest.java | 150 ShellTaskOrganizer.TaskListener taskListener) { in setUp() 156 TaskInfo taskInfo, ShellTaskOrganizer.TaskListener taskListener) { in setUp() 162 TaskInfo taskInfo, ShellTaskOrganizer.TaskListener taskListener) { in setUp()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/dagger/ |
D | WMShellModule.java | 261 FreeformTaskListener taskListener, in provideFreeformComponents() argument 265 taskListener, Optional.of(transitionHandler), Optional.of(transitionObserver)); in provideFreeformComponents()
|