/frameworks/base/core/tests/coretests/src/android/app/servertransaction/ |
D | TestUtils.java | 44 Configuration overrideConfig = new Configuration(); in mergedConfig() local 45 overrideConfig.densityDpi = 30; in mergedConfig() 46 overrideConfig.screenWidthDp = 40; in mergedConfig() 47 overrideConfig.smallestScreenWidthDp = 15; in mergedConfig() 48 return new MergedConfiguration(config, overrideConfig); in mergedConfig()
|
D | ObjectPoolTests.java | 135 Configuration overrideConfig = new Configuration(); in testRecycleLaunchActivityItem() local 136 overrideConfig.assetsSeq = 5; in testRecycleLaunchActivityItem() 149 config(), overrideConfig, compat, referrer, null /* voiceInteractor */, in testRecycleLaunchActivityItem() 159 config(), overrideConfig, compat, referrer, null /* voiceInteractor */, in testRecycleLaunchActivityItem() 169 Configuration overrideConfig = new Configuration(); in testRecycleActivityRelaunchItem() local 170 overrideConfig.assetsSeq = 5; in testRecycleActivityRelaunchItem()
|
D | TransactionParcelTests.java | 232 Configuration overrideConfig = new Configuration(); in testLaunch() local 233 overrideConfig.assetsSeq = 5; in testLaunch() 243 config(), overrideConfig, compat, referrer, null /* voiceInteractor */, in testLaunch() 258 Configuration overrideConfig = new Configuration(); in testRelaunch() local 259 overrideConfig.assetsSeq = 5; in testRelaunch()
|
/frameworks/base/core/java/android/util/ |
D | MergedConfiguration.java | 42 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/core/java/android/app/ |
D | ResourcesManager.java | 151 public final Configuration overrideConfig = new Configuration(); field in ResourcesManager.ActivityResources 596 @Nullable Configuration overrideConfig) { in isSameResourcesOverrideConfig() argument 601 return overrideConfig == null; in isSameResourcesOverrideConfig() 605 return Objects.equals(activityResources.overrideConfig, overrideConfig) in isSameResourcesOverrideConfig() 606 || (overrideConfig != null && activityResources.overrideConfig != null in isSameResourcesOverrideConfig() 607 && 0 == overrideConfig.diffPublicOnly( in isSameResourcesOverrideConfig() 608 activityResources.overrideConfig)); in isSameResourcesOverrideConfig() 718 @Nullable Configuration overrideConfig, in createBaseActivityResources() argument 730 overrideConfig != null ? new Configuration(overrideConfig) : null, // Copy in createBaseActivityResources() 745 updateResourcesForActivity(activityToken, overrideConfig, displayId, in createBaseActivityResources() [all …]
|
D | ClientTransactionHandler.java | 141 Configuration overrideConfig); in updatePendingActivityConfiguration() argument 145 Configuration overrideConfig, int displayId); in handleActivityConfigurationChanged() argument 152 Configuration overrideConfig); in handleMultiWindowModeChanged() argument 159 Configuration overrideConfig); in handlePictureInPictureModeChanged() argument
|
D | ActivityThread.java | 484 Configuration overrideConfig; field in ActivityThread.ActivityClientRecord 535 ActivityInfo info, Configuration overrideConfig, CompatibilityInfo compatInfo, in ActivityClientRecord() argument 555 this.overrideConfig = overrideConfig; in ActivityClientRecord() 569 configCallback = (Configuration overrideConfig, int newDisplayId) -> { in init() 574 activity.mMainThread.handleActivityConfigurationChanged(token, overrideConfig, in init() 3231 if (r.overrideConfig != null) { in performLaunchActivity() 3232 config.updateFrom(r.overrideConfig); in performLaunchActivity() 3375 this, r.packageInfo, r.activityInfo, r.token, displayId, r.overrideConfig); in createBaseContextForActivity() 3691 Configuration overrideConfig) { in handleMultiWindowModeChanged() argument 3695 if (overrideConfig != null) { in handleMultiWindowModeChanged() [all …]
|
D | ContextImpl.java | 2174 int displayId, Configuration overrideConfig, CompatibilityInfo compatInfo) { in createResources() argument 2189 overrideConfig, in createResources()
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ResourcesManagerTest.java | 92 Configuration overrideConfig = new Configuration(); in testMultipleCallsWithDifferentParametersReturnDifferentReferences() local 93 overrideConfig.smallestScreenWidthDp = 200; in testMultipleCallsWithDifferentParametersReturnDifferentReferences() 95 null, APP_ONE_RES_DIR, null, null, null, Display.DEFAULT_DISPLAY, overrideConfig, in testMultipleCallsWithDifferentParametersReturnDifferentReferences() 130 final Configuration overrideConfig = new Configuration(); in testUpdateConfigurationUpdatesAllAssetManagers() local 131 overrideConfig.orientation = Configuration.ORIENTATION_LANDSCAPE; in testUpdateConfigurationUpdatesAllAssetManagers() 134 overrideConfig, CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null); in testUpdateConfigurationUpdatesAllAssetManagers() 200 final Configuration overrideConfig = new Configuration(); in testThemesGetUpdatedWithNewImpl() local 201 overrideConfig.orientation = Configuration.ORIENTATION_LANDSCAPE; in testThemesGetUpdatedWithNewImpl() 202 mResourcesManager.updateResourcesForActivity(activity1, overrideConfig, in testThemesGetUpdatedWithNewImpl()
|
/frameworks/base/core/java/android/content/res/ |
D | ResourcesKey.java | 59 @Nullable Configuration overrideConfig, in ResourcesKey() argument 66 mOverrideConfiguration = new Configuration(overrideConfig != null in ResourcesKey() 67 ? overrideConfig : Configuration.EMPTY); in ResourcesKey()
|
/frameworks/base/core/tests/coretests/src/android/text/util/ |
D | LinkifyTest.java | 104 final Configuration overrideConfig = new Configuration(); in createUsEnglishContext() local 105 overrideConfig.setLocales(LOCALE_LIST_US); in createUsEnglishContext() 106 return mContext.createConfigurationContext(overrideConfig); in createUsEnglishContext()
|
/frameworks/base/core/java/android/app/servertransaction/ |
D | MultiWindowModeChangeItem.java | 50 Configuration overrideConfig) { in obtain() argument 56 instance.mOverrideConfig = overrideConfig; in obtain()
|
D | PipModeChangeItem.java | 49 public static PipModeChangeItem obtain(boolean isInPipMode, Configuration overrideConfig) { in obtain() argument 55 instance.mOverrideConfig = overrideConfig; in obtain()
|
D | LaunchActivityItem.java | 100 Configuration curConfig, Configuration overrideConfig, CompatibilityInfo compatInfo, in obtain() argument 109 setValues(instance, intent, ident, info, curConfig, overrideConfig, compatInfo, referrer, in obtain() 262 ActivityInfo info, Configuration curConfig, Configuration overrideConfig, in setValues() argument 271 instance.mOverrideConfig = overrideConfig; in setValues()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | ICarrierConfigLoader.aidl | 33 void overrideConfig(int subId, in PersistableBundle overrides, boolean persistent); in overrideConfig() method
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowTestsBase.java | 389 final Configuration overrideConfig = new Configuration(); in createTaskStackOnDisplay() local 390 overrideConfig.windowConfiguration.setWindowingMode(windowingMode); in createTaskStackOnDisplay() 391 overrideConfig.windowConfiguration.setActivityType(activityType); in createTaskStackOnDisplay() 395 stack.onRequestedOverrideConfigurationChanged(overrideConfig); in createTaskStackOnDisplay()
|
D | TestWindowManagerPolicy.java | 114 int logo, int windowFlags, Configuration overrideConfig, int displayId) { in addSplashScreen() argument
|
D | TaskLaunchParamsModifierTests.java | 1013 final Configuration overrideConfig = in testAdjustBoundsToFitNewDisplay_LargerThanDisplay_RTL() local 1016 overrideConfig.setLayoutDirection(new Locale("ar", "EG")); in testAdjustBoundsToFitNewDisplay_LargerThanDisplay_RTL() 1017 mRootActivityContainer.onRequestedOverrideConfigurationChanged(overrideConfig); in testAdjustBoundsToFitNewDisplay_LargerThanDisplay_RTL()
|
/frameworks/base/telephony/java/android/telephony/ |
D | SubscriptionManager.java | 2421 Configuration overrideConfig = new Configuration(); in getResourcesForSubId() local 2423 overrideConfig.mcc = subInfo.getMcc(); in getResourcesForSubId() 2424 overrideConfig.mnc = subInfo.getMnc(); in getResourcesForSubId() 2425 if (overrideConfig.mnc == 0) overrideConfig.mnc = Configuration.MNC_ZERO; in getResourcesForSubId() 2429 overrideConfig.setLocale(Locale.ROOT); in getResourcesForSubId() 2437 Context newContext = context.createConfigurationContext(overrideConfig); in getResourcesForSubId()
|
D | CarrierConfigManager.java | 4384 public void overrideConfig(int subscriptionId, @Nullable PersistableBundle overrideValues) { in overrideConfig() method in CarrierConfigManager 4385 overrideConfig(subscriptionId, overrideValues, false); in overrideConfig() 4411 public void overrideConfig(int subscriptionId, @Nullable PersistableBundle overrideValues, in overrideConfig() method in CarrierConfigManager 4420 loader.overrideConfig(subscriptionId, overrideValues, persistent); in overrideConfig()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityRecord.java | 751 private void scheduleMultiWindowModeChanged(Configuration overrideConfig) { in scheduleMultiWindowModeChanged() argument 754 MultiWindowModeChangeItem.obtain(mLastReportedMultiWindowMode, overrideConfig)); in scheduleMultiWindowModeChanged() 787 private void schedulePictureInPictureModeChanged(Configuration overrideConfig) { in schedulePictureInPictureModeChanged() argument 791 overrideConfig)); in schedulePictureInPictureModeChanged() 2837 final Configuration overrideConfig = mTmpConfig; in updateOverrideConfiguration() local 2856 overrideConfig.unset(); in updateOverrideConfiguration() 2857 overrideConfig.colorMode = parentConfig.colorMode; in updateOverrideConfiguration() 2858 overrideConfig.densityDpi = parentConfig.densityDpi; in updateOverrideConfiguration() 2859 overrideConfig.screenLayout = parentConfig.screenLayout in updateOverrideConfiguration() 2864 overrideConfig.smallestScreenWidthDp = parentConfig.smallestScreenWidthDp; in updateOverrideConfiguration() [all …]
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | WindowManagerPolicy.java | 970 int logo, int windowFlags, Configuration overrideConfig, int displayId); in addSplashScreen() argument
|
D | PhoneWindowManager.java | 2344 int logo, int windowFlags, Configuration overrideConfig, int displayId) { in addSplashScreen() argument 2378 if (overrideConfig != null && !overrideConfig.equals(EMPTY)) { in addSplashScreen() 2380 + " on overrideConfig" + overrideConfig + " for splash screen"); in addSplashScreen() 2381 final Context overrideContext = context.createConfigurationContext(overrideConfig); in addSplashScreen() 2391 + overrideConfig + " to starting window resId=" + resId); in addSplashScreen()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/ |
D | ImsResolver.java | 794 OverrideConfig overrideConfig = new OverrideConfig(slotId, isCarrierService, featureConfig); in overrideImsServiceConfiguration() local 795 Message.obtain(mHandler, HANDLER_OVERRIDE_IMS_SERVICE_CONFIG, overrideConfig) in overrideImsServiceConfiguration()
|
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/ |
D | ShortcutManagerTestUtils.java | 225 public static void overrideConfig(Instrumentation instrumentation, String config) { in overrideConfig() method in ShortcutManagerTestUtils
|