Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DTestUtils.java44 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()
DObjectPoolTests.java136 Configuration overrideConfig = new Configuration(); in testRecycleLaunchActivityItem() local
137 overrideConfig.assetsSeq = 5; in testRecycleLaunchActivityItem()
150 config(), overrideConfig, compat, referrer, null /* voiceInteractor */, in testRecycleLaunchActivityItem()
161 config(), overrideConfig, compat, referrer, null /* voiceInteractor */, in testRecycleLaunchActivityItem()
172 Configuration overrideConfig = new Configuration(); in testRecycleActivityRelaunchItem() local
173 overrideConfig.assetsSeq = 5; in testRecycleActivityRelaunchItem()
DTransactionParcelTests.java183 Configuration overrideConfig = new Configuration(); in testLaunch() local
184 overrideConfig.assetsSeq = 5; in testLaunch()
197 config(), overrideConfig, compat, referrer, null /* voiceInteractor */, in testLaunch()
213 Configuration overrideConfig = new Configuration(); in testRelaunch() local
214 overrideConfig.assetsSeq = 5; in testRelaunch()
/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/core/tests/coretests/src/android/content/res/
DResourcesManagerTest.java92 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()
131 final Configuration overrideConfig = new Configuration(); in testUpdateConfigurationUpdatesAllAssetManagers() local
132 overrideConfig.orientation = Configuration.ORIENTATION_LANDSCAPE; in testUpdateConfigurationUpdatesAllAssetManagers()
135 overrideConfig, CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null, null); in testUpdateConfigurationUpdatesAllAssetManagers()
201 final Configuration overrideConfig = new Configuration(); in testThemesGetUpdatedWithNewImpl() local
202 overrideConfig.orientation = Configuration.ORIENTATION_LANDSCAPE; in testThemesGetUpdatedWithNewImpl()
203 mResourcesManager.updateResourcesForActivity(activity1, overrideConfig, in testThemesGetUpdatedWithNewImpl()
268 final Configuration overrideConfig = new Configuration(); in testOverrideDisplayAdjustments() local
[all …]
/frameworks/base/core/java/android/app/
DResourcesManager.java154 public final Configuration overrideConfig = new Configuration(); field in ResourcesManager.ActivityResources
614 @Nullable Configuration overrideConfig) { in isSameResourcesOverrideConfig() argument
619 return overrideConfig == null; in isSameResourcesOverrideConfig()
623 return Objects.equals(activityResources.overrideConfig, overrideConfig) in isSameResourcesOverrideConfig()
624 || (overrideConfig != null && activityResources.overrideConfig != null in isSameResourcesOverrideConfig()
625 && 0 == overrideConfig.diffPublicOnly( in isSameResourcesOverrideConfig()
626 activityResources.overrideConfig)); in isSameResourcesOverrideConfig()
727 @Nullable Configuration overrideConfig, in createBaseTokenResources() argument
740 overrideConfig != null ? new Configuration(overrideConfig) : null, // Copy in createBaseTokenResources()
756 updateResourcesForActivity(token, overrideConfig, displayId, in createBaseTokenResources()
[all …]
DClientTransactionHandler.java141 Configuration overrideConfig); in updatePendingActivityConfiguration() argument
145 Configuration overrideConfig, int displayId); in handleActivityConfigurationChanged() argument
DActivityThread.java509 Configuration overrideConfig; field in ActivityThread.ActivityClientRecord
568 ActivityInfo info, Configuration overrideConfig, CompatibilityInfo compatInfo, in ActivityClientRecord() argument
588 this.overrideConfig = overrideConfig; in ActivityClientRecord()
603 configCallback = (Configuration overrideConfig, int newDisplayId) -> { in init()
608 activity.mMainThread.handleActivityConfigurationChanged(token, overrideConfig, in init()
3275 @Nullable Configuration overrideConfig) { in handleFixedRotationAdjustments() argument
3296 if (overrideConfig == null) { in handleFixedRotationAdjustments()
3302 overrideConfig = r.overrideConfig; in handleFixedRotationAdjustments()
3305 appConfigOverride[0] = overrideConfig; in handleFixedRotationAdjustments()
3383 if (r.overrideConfig != null) { in performLaunchActivity()
[all …]
DContextImpl.java2247 int displayId, Configuration overrideConfig, CompatibilityInfo compatInfo, in createResources() argument
2263 overrideConfig, in createResources()
/frameworks/base/core/java/android/content/res/
DResourcesKey.java62 @Nullable Configuration overrideConfig, in ResourcesKey() argument
71 mOverrideConfiguration = new Configuration(overrideConfig != null in ResourcesKey()
72 ? overrideConfig : Configuration.EMPTY); in ResourcesKey()
93 @Nullable Configuration overrideConfig, in ResourcesKey() argument
95 this(resDir, splitResDirs, overlayDirs, libDirs, displayId, overrideConfig, compatInfo, in ResourcesKey()
/frameworks/base/core/tests/coretests/src/android/text/util/
DLinkifyTest.java104 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/
DLaunchActivityItem.java102 Configuration curConfig, Configuration overrideConfig, CompatibilityInfo compatInfo, in obtain() argument
111 setValues(instance, intent, ident, info, curConfig, overrideConfig, compatInfo, referrer, in obtain()
262 ActivityInfo info, Configuration curConfig, Configuration overrideConfig, in setValues() argument
272 instance.mOverrideConfig = overrideConfig; in setValues()
/frameworks/base/telephony/java/com/android/internal/telephony/
DICarrierConfigLoader.aidl33 void overrideConfig(int subId, in PersistableBundle overrides, boolean persistent); in overrideConfig() method
/frameworks/base/telephony/java/android/telephony/
DSubscriptionManager.java2460 Configuration overrideConfig = new Configuration(); in getResourcesForSubId() local
2462 overrideConfig.mcc = subInfo.getMcc(); in getResourcesForSubId()
2463 overrideConfig.mnc = subInfo.getMnc(); in getResourcesForSubId()
2464 if (overrideConfig.mnc == 0) overrideConfig.mnc = Configuration.MNC_ZERO; in getResourcesForSubId()
2468 overrideConfig.setLocale(Locale.ROOT); in getResourcesForSubId()
2476 Context newContext = context.createConfigurationContext(overrideConfig); in getResourcesForSubId()
DCarrierConfigManager.java4430 public void overrideConfig(int subscriptionId, @Nullable PersistableBundle overrideValues) { in overrideConfig() method in CarrierConfigManager
4431 overrideConfig(subscriptionId, overrideValues, false); in overrideConfig()
4457 public void overrideConfig(int subscriptionId, @Nullable PersistableBundle overrideValues, in overrideConfig() method in CarrierConfigManager
4466 loader.overrideConfig(subscriptionId, overrideValues, persistent); in overrideConfig()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTestWindowManagerPolicy.java114 int logo, int windowFlags, Configuration overrideConfig, int displayId) { in addSplashScreen() argument
DTaskLaunchParamsModifierTests.java1086 final Configuration overrideConfig = in testAdjustBoundsToFitNewDisplay_LargerThanDisplay_RTL() local
1089 overrideConfig.setLayoutDirection(new Locale("ar", "EG")); in testAdjustBoundsToFitNewDisplay_LargerThanDisplay_RTL()
1090 mRootWindowContainer.onRequestedOverrideConfigurationChanged(overrideConfig); in testAdjustBoundsToFitNewDisplay_LargerThanDisplay_RTL()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityRecord.java6445 Configuration overrideConfig = getRequestedOverrideConfiguration(); in updateSizeCompatMode() local
6453 overrideConfig.colorMode = fullConfig.colorMode; in updateSizeCompatMode()
6454 overrideConfig.densityDpi = fullConfig.densityDpi; in updateSizeCompatMode()
6457 overrideConfig.smallestScreenWidthDp = fullConfig.smallestScreenWidthDp; in updateSizeCompatMode()
6461 overrideConfig.windowConfiguration.setRotation( in updateSizeCompatMode()
6736 Configuration overrideConfig = getRequestedOverrideConfiguration(); in onConfigurationChanged() local
6741 overrideConfig.windowConfiguration.getRotation() != ROTATION_UNDEFINED; in onConfigurationChanged()
6748 && (overrideConfig.windowConfiguration.getRotation() in onConfigurationChanged()
6750 overrideConfig.windowConfiguration.setRotation( in onConfigurationChanged()
6752 onRequestedOverrideConfigurationChanged(overrideConfig); in onConfigurationChanged()
[all …]
DWindowState.java2756 final Configuration overrideConfig = getMergedOverrideConfiguration(); in getMergedConfiguration() local
2757 outConfiguration.setConfiguration(globalConfig, overrideConfig); in getMergedConfiguration()
DWindowManagerService.java2736 void setNewDisplayOverrideConfiguration(Configuration overrideConfig, in setNewDisplayOverrideConfiguration() argument
2743 mRoot.setDisplayOverrideConfigurationIfNeeded(overrideConfig, dc); in setNewDisplayOverrideConfiguration()
/frameworks/base/services/core/java/com/android/server/policy/
DWindowManagerPolicy.java934 int logo, int windowFlags, Configuration overrideConfig, int displayId); in addSplashScreen() argument
DPhoneWindowManager.java2288 int logo, int windowFlags, Configuration overrideConfig, int displayId) { in addSplashScreen() argument
2322 if (overrideConfig != null && !overrideConfig.equals(EMPTY)) { in addSplashScreen()
2324 + " on overrideConfig" + overrideConfig + " for splash screen"); in addSplashScreen()
2325 final Context overrideContext = context.createConfigurationContext(overrideConfig); in addSplashScreen()
2335 + overrideConfig + " to starting window resId=" + resId); in addSplashScreen()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsResolver.java794 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/
DShortcutManagerTestUtils.java225 public static void overrideConfig(Instrumentation instrumentation, String config) { in overrideConfig() method in ShortcutManagerTestUtils
/frameworks/base/core/java/android/view/
DViewRootImpl.java311 void onConfigurationChanged(Configuration overrideConfig, int newDisplayId); in onConfigurationChanged() argument
4708 final Configuration overrideConfig = mergedConfiguration.getOverrideConfiguration(); in performConfigurationChange() local
4712 + ", overrideConfig: " + overrideConfig); in performConfigurationChange()
4726 mLastReportedMergedConfiguration.setConfiguration(globalConfig, overrideConfig); in performConfigurationChange()
4734 mActivityConfigCallback.onConfigurationChanged(overrideConfig, newDisplayId); in performConfigurationChange()

12