/frameworks/base/core/java/android/app/ |
D | ResourcesManager.java | 95 public final Configuration overrideConfig = new Configuration(); field in ResourcesManager.ActivityResources 383 @Nullable Configuration overrideConfig) { in isSameResourcesOverrideConfig() argument 388 return overrideConfig == null; in isSameResourcesOverrideConfig() 390 return Objects.equals(activityResources.overrideConfig, overrideConfig); in isSameResourcesOverrideConfig() 497 @Nullable Configuration overrideConfig, in createBaseActivityResources() argument 509 overrideConfig != null ? new Configuration(overrideConfig) : null, // Copy in createBaseActivityResources() 524 updateResourcesForActivity(activityToken, overrideConfig); in createBaseActivityResources() 564 && !activityResources.overrideConfig.equals(Configuration.EMPTY)) { in getOrCreateResources() 565 final Configuration temp = new Configuration(activityResources.overrideConfig); in getOrCreateResources() 662 @Nullable Configuration overrideConfig, in getResources() argument [all …]
|
D | ApplicationThreadNative.java | 146 Configuration overrideConfig = null; in onTransact() local 148 overrideConfig = Configuration.CREATOR.createFromParcel(data); in onTransact() 163 scheduleLaunchActivity(intent, b, ident, info, curConfig, overrideConfig, compatInfo, in onTransact() 178 Configuration overrideConfig = null; in onTransact() local 180 overrideConfig = Configuration.CREATOR.createFromParcel(data); in onTransact() 183 scheduleRelaunchActivity(b, ri, pi, configChanges, notResumed, config, overrideConfig, in onTransact() 419 Configuration overrideConfig = null; in onTransact() local 421 overrideConfig = Configuration.CREATOR.createFromParcel(data); in onTransact() 424 scheduleActivityConfigurationChanged(b, overrideConfig, reportToActivity); in onTransact() 849 ActivityInfo info, Configuration curConfig, Configuration overrideConfig, in scheduleLaunchActivity() argument [all …]
|
D | IApplicationThread.java | 61 ActivityInfo info, Configuration curConfig, Configuration overrideConfig, in scheduleLaunchActivity() argument 68 Configuration config, Configuration overrideConfig, boolean preserveWindow) in scheduleRelaunchActivity() argument 119 void scheduleActivityConfigurationChanged(IBinder token, Configuration overrideConfig, in scheduleActivityConfigurationChanged() argument
|
D | ActivityThread.java | 328 Configuration overrideConfig; field in ActivityThread.ActivityClientRecord 635 final Configuration overrideConfig; field in ActivityThread.ActivityConfigChangeData 638 overrideConfig = config; in ActivityConfigChangeData() 711 ActivityInfo info, Configuration curConfig, Configuration overrideConfig, in scheduleLaunchActivity() argument 739 r.overrideConfig = overrideConfig; in scheduleLaunchActivity() 749 Configuration overrideConfig, boolean preserveWindow) { in scheduleRelaunchActivity() argument 751 configChanges, notResumed, config, overrideConfig, true, preserveWindow); in scheduleRelaunchActivity() 952 IBinder token, Configuration overrideConfig, boolean reportToActivity) { in scheduleActivityConfigurationChanged() argument 954 new ActivityConfigChangeData(token, overrideConfig), reportToActivity ? 1 : 0); in scheduleActivityConfigurationChanged() 2572 if (r.overrideConfig != null) { in performLaunchActivity() [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ResourcesManagerTest.java | 90 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() 197 final Configuration overrideConfig = new Configuration(); in testThemesGetUpdatedWithNewImpl() local 198 overrideConfig.orientation = Configuration.ORIENTATION_LANDSCAPE; in testThemesGetUpdatedWithNewImpl() 199 mResourcesManager.updateResourcesForActivity(activity1, overrideConfig); in testThemesGetUpdatedWithNewImpl()
|
/frameworks/base/core/java/android/content/res/ |
D | ResourcesKey.java | 55 @Nullable Configuration overrideConfig, in ResourcesKey() argument 62 mOverrideConfiguration = overrideConfig != null ? overrideConfig : Configuration.EMPTY; in ResourcesKey()
|
/frameworks/base/core/java/android/view/ |
D | WindowManagerPolicy.java | 749 int labelRes, int icon, int logo, int windowFlags, Configuration overrideConfig); in addStartingWindow() argument
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityRecord.java | 457 Configuration overrideConfig = new Configuration(config); in scheduleConfigurationChanged() local 458 overrideConfig.fontScale = service.mConfiguration.fontScale; in scheduleConfigurationChanged() 461 "reportToActivity=" + reportToActivity + " and config: " + overrideConfig); in scheduleConfigurationChanged() 464 appToken, overrideConfig, reportToActivity); in scheduleConfigurationChanged()
|
D | ActivityStackSupervisor.java | 2340 final Configuration overrideConfig = task.updateOverrideConfiguration(bounds); in resizeTaskLocked() local 2345 if (overrideConfig != null) { in resizeTaskLocked()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowState.java | 2316 final Configuration overrideConfig = task != null in getMergedConfig() local 2321 if (overrideConfig != Configuration.EMPTY) { in getMergedConfig() 2322 outConfig.updateFrom(overrideConfig); in getMergedConfig()
|
D | WindowManagerService.java | 8264 final Configuration overrideConfig = wtoken != null && wtoken.mTask != null in handleMessage() local 8268 sd.windowFlags, overrideConfig); in handleMessage()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PhoneWindowManager.java | 2564 int icon, int logo, int windowFlags, Configuration overrideConfig) { in addStartingWindow() argument 2589 if (overrideConfig != null && overrideConfig != EMPTY) { in addStartingWindow() 2591 + " on overrideConfig" + overrideConfig + " for starting window"); in addStartingWindow() 2592 final Context overrideContext = context.createConfigurationContext(overrideConfig); in addStartingWindow() 2602 + overrideConfig + " to starting window resId=" + resId); in addStartingWindow()
|
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/ |
D | ShortcutManagerTestUtils.java | 217 public static void overrideConfig(Instrumentation instrumentation, String config) { in overrideConfig() method in ShortcutManagerTestUtils
|