Home
last modified time | relevance | path

Searched refs:taskConfig (Results 1 – 4 of 4) sorted by relevance

/aosp12/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/compatui/
H A DCompatUIControllerTest.java109 final Configuration taskConfig = new Configuration(); in testOnCompatInfoChanged() local
142 final Configuration taskConfig = new Configuration(); in testOnDisplayRemoved() local
143 mController.onCompatInfoChanged(DISPLAY_ID, TASK_ID, taskConfig, in testOnDisplayRemoved()
160 final Configuration taskConfig = new Configuration(); in testOnDisplayConfigurationChanged() local
161 mController.onCompatInfoChanged(DISPLAY_ID, TASK_ID, taskConfig, in testOnDisplayConfigurationChanged()
177 final Configuration taskConfig = new Configuration(); in testInsetsChanged() local
178 mController.onCompatInfoChanged(DISPLAY_ID, TASK_ID, taskConfig, in testInsetsChanged()
199 final Configuration taskConfig = new Configuration(); in testChangeButtonVisibilityOnImeShowHide() local
221 final Configuration taskConfig = new Configuration(); in testChangeButtonVisibilityOnKeyguardOccludedChanged() local
243 final Configuration taskConfig = new Configuration(); in testButtonRemainsHiddenOnKeyguardOccludedFalseWhenImeIsShowing() local
[all …]
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/
H A DCompatUIWindowManager.java78 CompatUIWindowManager(Context context, Configuration taskConfig, in CompatUIWindowManager() argument
82 super(taskConfig, null /* rootSurface */, null /* hostInputToken */); in CompatUIWindowManager()
86 mTaskConfig = taskConfig; in CompatUIWindowManager()
129 void updateCompatInfo(Configuration taskConfig, in updateCompatInfo() argument
133 mTaskConfig = taskConfig; in updateCompatInfo()
137 mContext = mContext.createConfigurationContext(taskConfig); in updateCompatInfo()
138 setConfiguration(taskConfig); in updateCompatInfo()
147 if (!taskConfig.windowConfiguration.getBounds() in updateCompatInfo()
153 if (taskConfig.getLayoutDirection() != prevTaskConfig.getLayoutDirection()) { in updateCompatInfo()
155 mCompatUILayout.setLayoutDirection(taskConfig.getLayoutDirection()); in updateCompatInfo()
H A DCompatUIController.java131 @Nullable Configuration taskConfig, in onCompatInfoChanged() argument
133 if (taskConfig == null || taskListener == null) { in onCompatInfoChanged()
138 updateLayout(taskId, taskConfig, taskListener); in onCompatInfoChanged()
141 createLayout(displayId, taskId, taskConfig, taskListener); in onCompatInfoChanged()
218 private void createLayout(int displayId, int taskId, Configuration taskConfig, in createLayout() argument
227 createLayout(context, displayId, taskId, taskConfig, taskListener); in createLayout()
234 Configuration taskConfig, ShellTaskOrganizer.TaskListener taskListener) { in createLayout() argument
236 taskConfig, mSyncQueue, mCallback, taskId, taskListener, in createLayout()
243 private void updateLayout(int taskId, Configuration taskConfig, in updateLayout() argument
249 layout.updateCompatInfo(taskConfig, taskListener, showOnDisplay(layout.getDisplayId())); in updateLayout()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
H A DStartingSurfaceDrawer.java209 final Configuration taskConfig = taskInfo.getConfiguration(); in addSplashScreenStartingWindow() local
210 if (taskConfig.diffPublicOnly(context.getResources().getConfiguration()) != 0) { in addSplashScreenStartingWindow()
213 + " on task Configuration " + taskConfig + " for splash screen"); in addSplashScreenStartingWindow()
215 final Context overrideContext = context.createConfigurationContext(taskConfig); in addSplashScreenStartingWindow()
227 + taskConfig + " to starting window resId=" + resId); in addSplashScreenStartingWindow()