Home
last modified time | relevance | path

Searched refs:taskListener (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/
DCompatUIController.java246 @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 …]
DLetterboxEduWindowManager.java80 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()
DCompatUIWindowManagerAbstract.java87 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()
DRestartDialogWindowManager.java74 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()
DUserAspectRatioSettingsWindowManager.java81 @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()
DCompatUIWindowManager.java78 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()
DReachabilityEduWindowManager.java88 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/
DFreeformComponents.java43 ShellTaskOrganizer.TaskListener taskListener, in FreeformComponents() argument
46 mTaskListener = taskListener; in FreeformComponents()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/
DShellTaskOrganizer.java344 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/
DShellTaskOrganizerTests.java369 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/
DCompatUIControllerTest.java150 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/
DWMShellModule.java261 FreeformTaskListener taskListener, in provideFreeformComponents() argument
265 taskListener, Optional.of(transitionHandler), Optional.of(transitionObserver)); in provideFreeformComponents()