Home
last modified time | relevance | path

Searched refs:overrideConfig (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/core/java/android/app/
DResourcesManager.java96 public final Configuration overrideConfig = new Configuration(); field in ResourcesManager.ActivityResources
411 @Nullable Configuration overrideConfig) { in isSameResourcesOverrideConfig() argument
416 return overrideConfig == null; in isSameResourcesOverrideConfig()
420 return Objects.equals(activityResources.overrideConfig, overrideConfig) in isSameResourcesOverrideConfig()
421 || (overrideConfig != null && activityResources.overrideConfig != null in isSameResourcesOverrideConfig()
422 && 0 == overrideConfig.diffPublicOnly( in isSameResourcesOverrideConfig()
423 activityResources.overrideConfig)); in isSameResourcesOverrideConfig()
533 @Nullable Configuration overrideConfig, in createBaseActivityResources() argument
545 overrideConfig != null ? new Configuration(overrideConfig) : null, // Copy in createBaseActivityResources()
560 updateResourcesForActivity(activityToken, overrideConfig, displayId, in createBaseActivityResources()
[all …]
DIApplicationThread.aidl64 in ActivityInfo info, in Configuration curConfig, in Configuration overrideConfig, in scheduleLaunchActivity() argument
103 void scheduleActivityConfigurationChanged(IBinder token, in Configuration overrideConfig); in scheduleActivityConfigurationChanged() argument
105 in Configuration overrideConfig); in scheduleActivityMovedToDisplay() argument
108 in Configuration config, in Configuration overrideConfig, boolean preserveWindow); in scheduleRelaunchActivity() argument
DActivityThread.java358 Configuration overrideConfig; field in ActivityThread.ActivityClientRecord
398 configCallback = (Configuration overrideConfig, int newDisplayId) -> { in ActivityClientRecord()
404 new ActivityConfigChangeData(token, overrideConfig), newDisplayId); in ActivityClientRecord()
683 final Configuration overrideConfig; field in ActivityThread.ActivityConfigChangeData
686 overrideConfig = config; in ActivityConfigChangeData()
757 ActivityInfo info, Configuration curConfig, Configuration overrideConfig, in scheduleLaunchActivity() argument
785 r.overrideConfig = overrideConfig; in scheduleLaunchActivity()
795 Configuration overrideConfig, boolean preserveWindow) { in scheduleRelaunchActivity() argument
797 configChanges, notResumed, config, overrideConfig, true, preserveWindow); in scheduleRelaunchActivity()
1012 IBinder token, Configuration overrideConfig) { in scheduleActivityConfigurationChanged() argument
[all …]
DContextImpl.java1984 int displayId, Configuration overrideConfig, CompatibilityInfo compatInfo) { in createResources() argument
1999 overrideConfig, in createResources()
/frameworks/base/core/java/android/util/
DMergedConfiguration.java42 public MergedConfiguration(Configuration globalConfig, Configuration overrideConfig) { in MergedConfiguration() argument
43 setConfiguration(globalConfig, overrideConfig); in MergedConfiguration()
95 public void setConfiguration(Configuration globalConfig, Configuration overrideConfig) { in setConfiguration() argument
97 mOverrideConfig.setTo(overrideConfig); in setConfiguration()
116 public void setOverrideConfiguration(Configuration overrideConfig) { in setOverrideConfiguration() argument
117 mOverrideConfig.setTo(overrideConfig); in setOverrideConfiguration()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskWindowContainerController.java53 Configuration overrideConfig, int resizeMode, boolean supportsPictureInPicture, in TaskWindowContainerController() argument
56 this(taskId, listener, stackController, userId, bounds, overrideConfig, resizeMode, in TaskWindowContainerController()
63 Configuration overrideConfig, int resizeMode, boolean supportsPictureInPicture, in TaskWindowContainerController() argument
80 final Task task = createTask(taskId, stack, userId, bounds, overrideConfig, resizeMode, in TaskWindowContainerController()
91 Configuration overrideConfig, int resizeMode, boolean supportsPictureInPicture, in createTask() argument
93 return new Task(taskId, stack, userId, mService, bounds, overrideConfig, resizeMode, in createTask()
153 public void resize(Rect bounds, Configuration overrideConfig, boolean relayout, in resize() argument
160 if (mContainer.resizeLocked(bounds, overrideConfig, forced) && relayout) { in resize()
DTask.java106 Configuration overrideConfig, int resizeMode, boolean supportsPictureInPicture, in Task() argument
117 setBounds(bounds, overrideConfig); in Task()
232 void positionAt(int position, Rect bounds, Configuration overrideConfig) { in positionAt() argument
234 resizeLocked(bounds, overrideConfig, false /* force */); in positionAt()
275 private int setBounds(Rect bounds, Configuration overrideConfig) { in setBounds() argument
276 if (overrideConfig == null) { in setBounds()
277 overrideConfig = Configuration.EMPTY; in setBounds()
279 if (bounds == null && !Configuration.EMPTY.equals(overrideConfig)) { in setBounds()
281 + overrideConfig); in setBounds()
283 if (bounds != null && Configuration.EMPTY.equals(overrideConfig)) { in setBounds()
[all …]
DAppWindowContainerController.java184 Configuration overrideConfig, Rect bounds) { in AppWindowContainerController() argument
189 WindowManagerService.getInstance(), overrideConfig, bounds); in AppWindowContainerController()
197 WindowManagerService service, Configuration overrideConfig, Rect bounds) { in AppWindowContainerController() argument
218 alwaysFocusable, this, overrideConfig, bounds); in AppWindowContainerController()
231 Configuration overrideConfig, Rect bounds) { in createAppWindow() argument
235 controller, overrideConfig, bounds); in createAppWindow()
DStackWindowController.java123 Configuration overrideConfig) { in positionChildAt() argument
137 child.mContainer.positionAt(position, bounds, overrideConfig); in positionChildAt()
DAppWindowToken.java204 AppWindowContainerController controller, Configuration overrideConfig, Rect bounds) { in AppWindowToken() argument
205 this(service, token, voiceInteraction, dc, fullscreen, overrideConfig, bounds); in AppWindowToken()
222 DisplayContent dc, boolean fillsParent, Configuration overrideConfig, Rect bounds) { in AppWindowToken() argument
230 if (overrideConfig != null) { in AppWindowToken()
231 onOverrideConfigurationChanged(overrideConfig); in AppWindowToken()
DWindowState.java2335 final Configuration overrideConfig = getMergedOverrideConfiguration(); in getMergedConfiguration() local
2336 outConfiguration.setConfiguration(globalConfig, overrideConfig); in getMergedConfiguration()
DWindowManagerService.java2635 public int[] setNewDisplayOverrideConfiguration(Configuration overrideConfig, int displayId) { in setNewDisplayOverrideConfiguration() argument
2645 return mRoot.setDisplayOverrideConfigurationIfNeeded(overrideConfig, displayId); in setNewDisplayOverrideConfiguration()
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DWindowTestUtils.java108 Configuration overrideConfig, Rect bounds) { in TestAppWindowToken() argument
111 launchTaskBehind, alwaysFocusable, controller, overrideConfig, bounds); in TestAppWindowToken()
179 Configuration overrideConfig, int resizeMode, boolean supportsPictureInPicture, in TestTask() argument
181 super(taskId, stack, userId, service, bounds, overrideConfig, resizeMode, in TestTask()
241 Configuration overrideConfig, int resizeMode, boolean supportsPictureInPicture, in createTask() argument
243 return new TestTask(taskId, stack, userId, mService, bounds, overrideConfig, resizeMode, in createTask()
274 Configuration overrideConfig, Rect bounds) { in createAppWindow() argument
279 controller, overrideConfig, bounds); in createAppWindow()
DTestWindowManagerPolicy.java211 int logo, int windowFlags, Configuration overrideConfig, int displayId) { in addSplashScreen() argument
/frameworks/base/core/tests/coretests/src/android/content/res/
DResourcesManagerTest.java90 Configuration overrideConfig = new Configuration(); in testMultipleCallsWithDifferentParametersReturnDifferentReferences() local
91 overrideConfig.smallestScreenWidthDp = 200; in testMultipleCallsWithDifferentParametersReturnDifferentReferences()
93 null, APP_ONE_RES_DIR, null, null, null, Display.DEFAULT_DISPLAY, overrideConfig, in testMultipleCallsWithDifferentParametersReturnDifferentReferences()
128 final Configuration overrideConfig = new Configuration(); in testUpdateConfigurationUpdatesAllAssetManagers() local
129 overrideConfig.orientation = Configuration.ORIENTATION_LANDSCAPE; in testUpdateConfigurationUpdatesAllAssetManagers()
132 overrideConfig, CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null); in testUpdateConfigurationUpdatesAllAssetManagers()
198 final Configuration overrideConfig = new Configuration(); in testThemesGetUpdatedWithNewImpl() local
199 overrideConfig.orientation = Configuration.ORIENTATION_LANDSCAPE; in testThemesGetUpdatedWithNewImpl()
200 mResourcesManager.updateResourcesForActivity(activity1, overrideConfig, in testThemesGetUpdatedWithNewImpl()
/frameworks/base/core/java/android/content/res/
DResourcesKey.java55 @Nullable Configuration overrideConfig, in ResourcesKey() argument
62 mOverrideConfiguration = new Configuration(overrideConfig != null in ResourcesKey()
63 ? overrideConfig : Configuration.EMPTY); in ResourcesKey()
/frameworks/base/core/tests/coretests/src/android/text/util/
DLinkifyTest.java103 final Configuration overrideConfig = new Configuration(); in createUsEnglishContext() local
104 overrideConfig.setLocales(LOCALE_LIST_US); in createUsEnglishContext()
105 return mContext.createConfigurationContext(overrideConfig); in createUsEnglishContext()
/frameworks/base/core/java/android/view/
DIWindowManager.aidl139 int[] setNewDisplayOverrideConfiguration(in Configuration overrideConfig, int displayId); in setNewDisplayOverrideConfiguration() argument
DWindowManagerPolicy.java1009 int logo, int windowFlags, Configuration overrideConfig, int displayId); in addSplashScreen() argument
DViewRootImpl.java190 void onConfigurationChanged(Configuration overrideConfig, int newDisplayId); in onConfigurationChanged() argument
3537 final Configuration overrideConfig = mergedConfiguration.getOverrideConfiguration(); in performConfigurationChange() local
3541 + ", overrideConfig: " + overrideConfig); in performConfigurationChange()
3555 mLastReportedMergedConfiguration.setConfiguration(globalConfig, overrideConfig); in performConfigurationChange()
3563 mActivityConfigCallback.onConfigurationChanged(overrideConfig, newDisplayId); in performConfigurationChange()
/frameworks/base/services/core/java/com/android/server/am/
DActivityRecord.java652 private void scheduleMultiWindowModeChanged(Configuration overrideConfig) { in scheduleMultiWindowModeChanged() argument
655 overrideConfig); in scheduleMultiWindowModeChanged()
680 private void schedulePictureInPictureModeChanged(Configuration overrideConfig) { in schedulePictureInPictureModeChanged() argument
683 mLastReportedPictureInPictureMode, overrideConfig); in schedulePictureInPictureModeChanged()
DTaskRecord.java452 final Configuration overrideConfig = getOverrideConfiguration(); in createWindowContainer() local
454 getStack().getWindowContainerController(), userId, bounds, overrideConfig, in createWindowContainer()
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
DShortcutManagerTestUtils.java221 public static void overrideConfig(Instrumentation instrumentation, String config) { in overrideConfig() method in ShortcutManagerTestUtils
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java2854 int logo, int windowFlags, Configuration overrideConfig, int displayId) { in addSplashScreen() argument
2888 if (overrideConfig != null && !overrideConfig.equals(EMPTY)) { in addSplashScreen()
2890 + " on overrideConfig" + overrideConfig + " for splash screen"); in addSplashScreen()
2891 final Context overrideContext = context.createConfigurationContext(overrideConfig); in addSplashScreen()
2901 + overrideConfig + " to starting window resId=" + resId); in addSplashScreen()