/frameworks/base/core/java/android/util/ |
D | MergedConfiguration.java | 43 public MergedConfiguration(Configuration globalConfig, Configuration overrideConfig) { in MergedConfiguration() argument 44 setConfiguration(globalConfig, overrideConfig); in MergedConfiguration() 96 public void setConfiguration(Configuration globalConfig, Configuration overrideConfig) { in setConfiguration() argument 98 mOverrideConfig.setTo(overrideConfig); in setConfiguration() 117 public void setOverrideConfiguration(Configuration overrideConfig) { in setOverrideConfiguration() argument 118 mOverrideConfig.setTo(overrideConfig); in setOverrideConfiguration()
|
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/ |
D | TestUtils.java | 56 Configuration overrideConfig = new Configuration(); in mergedConfig() local 57 overrideConfig.densityDpi = 30; in mergedConfig() 58 overrideConfig.screenWidthDp = 40; in mergedConfig() 59 overrideConfig.smallestScreenWidthDp = 15; in mergedConfig() 60 return new MergedConfiguration(config, overrideConfig); in mergedConfig() 161 LaunchActivityItemBuilder setOverrideConfig(@NonNull Configuration overrideConfig) { in setOverrideConfig() argument 162 mOverrideConfig.setTo(overrideConfig); in setOverrideConfig()
|
D | TransactionParcelTests.java | 181 final Configuration overrideConfig = new Configuration(); in testLaunch() local 182 overrideConfig.assetsSeq = 5; in testLaunch() 198 .setOverrideConfig(overrideConfig) in testLaunch() 226 Configuration overrideConfig = new Configuration(); in testRelaunch() local 227 overrideConfig.assetsSeq = 5; in testRelaunch()
|
D | ObjectPoolTests.java | 138 final Configuration overrideConfig = new Configuration(); in testRecycleLaunchActivityItem() local 139 overrideConfig.assetsSeq = 5; in testRecycleLaunchActivityItem() 157 .setOverrideConfig(overrideConfig) in testRecycleLaunchActivityItem()
|
/frameworks/base/core/java/android/app/ |
D | ResourcesManager.java | 269 public final Configuration overrideConfig = new Configuration(); field in ResourcesManager.ActivityResources 310 public final Configuration overrideConfig = new Configuration(); field in ResourcesManager.ActivityResource 819 @Nullable Configuration overrideConfig) { in isSameResourcesOverrideConfig() argument 824 return overrideConfig == null; in isSameResourcesOverrideConfig() 828 return Objects.equals(activityResources.overrideConfig, overrideConfig) in isSameResourcesOverrideConfig() 829 || (overrideConfig != null && activityResources.overrideConfig != null in isSameResourcesOverrideConfig() 830 && 0 == overrideConfig.diffPublicOnly( in isSameResourcesOverrideConfig() 831 activityResources.overrideConfig)); in isSameResourcesOverrideConfig() 888 activityResource.overrideConfig.setTo(initialOverrideConfig); in createResourcesForActivityLocked() 943 @Nullable Configuration overrideConfig, in createBaseTokenResources() argument [all …]
|
D | ClientTransactionHandler.java | 163 @NonNull Configuration overrideConfig); in updatePendingActivityConfiguration() argument 167 @NonNull Configuration overrideConfig, int displayId, in handleActivityConfigurationChanged() argument
|
D | ActivityThread.java | 613 Configuration overrideConfig; field in ActivityThread.ActivityClientRecord 680 ActivityInfo info, Configuration overrideConfig, in ActivityClientRecord() argument 702 this.overrideConfig = overrideConfig; in ActivityClientRecord() 722 public void onConfigurationChanged(@NonNull Configuration overrideConfig, in init() 733 ActivityClientRecord.this, overrideConfig, newDisplayId, in init() 2792 Configuration overrideConfig) { in getTopLevelResources() argument 2794 overlayPaths, libDirs, null, overrideConfig, pkgInfo.getCompatibilityInfo(), in getTopLevelResources() 3981 if (r.overrideConfig != null) { in performLaunchActivity() 3982 config.updateFrom(r.overrideConfig); in performLaunchActivity() 4141 this, r.packageInfo, r.activityInfo, r.token, displayId, r.overrideConfig); in createBaseContextForActivity() [all …]
|
D | ContextImpl.java | 2659 @Nullable Integer overrideDisplayId, Configuration overrideConfig, in createResources() argument 2676 overrideConfig, in createResources() 2855 Configuration overrideConfig = new Configuration(); in createDisplayContext() local 2856 overrideConfig.setTo(display.getDisplayAdjustments().getConfiguration(), in createDisplayContext() 2860 overrideConfig, display.getDisplayAdjustments().getCompatibilityInfo(), in createDisplayContext()
|
/frameworks/base/core/java/android/content/res/ |
D | ResourcesKey.java | 73 @Nullable Configuration overrideConfig, in ResourcesKey() argument 82 mOverrideConfiguration = new Configuration(overrideConfig != null in ResourcesKey() 83 ? overrideConfig : Configuration.EMPTY); in ResourcesKey() 104 @Nullable Configuration overrideConfig, in ResourcesKey() argument 106 this(resDir, splitResDirs, overlayPaths, libDirs, displayId, overrideConfig, compatInfo, in ResourcesKey()
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ResourcesManagerTest.java | 143 Configuration overrideConfig = new Configuration(); in testMultipleCallsWithDifferentParametersReturnDifferentReferences() local 144 overrideConfig.smallestScreenWidthDp = 200; in testMultipleCallsWithDifferentParametersReturnDifferentReferences() 146 null, APP_ONE_RES_DIR, null, null, null, null, null, overrideConfig, in testMultipleCallsWithDifferentParametersReturnDifferentReferences() 184 final Configuration overrideConfig = new Configuration(); in testUpdateConfigurationUpdatesAllAssetManagers() local 185 overrideConfig.orientation = Configuration.ORIENTATION_LANDSCAPE; in testUpdateConfigurationUpdatesAllAssetManagers() 188 overrideConfig, CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null, null); in testUpdateConfigurationUpdatesAllAssetManagers() 256 final Configuration overrideConfig = new Configuration(); in testThemesGetUpdatedWithNewImpl() local 257 overrideConfig.orientation = Configuration.ORIENTATION_LANDSCAPE; in testThemesGetUpdatedWithNewImpl() 258 mResourcesManager.updateResourcesForActivity(activity1, overrideConfig, in testThemesGetUpdatedWithNewImpl()
|
/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/window/ |
D | ConfigurationHelper.java | 64 @NonNull Configuration newConfig, @NonNull Configuration overrideConfig, in shouldUpdateResources() argument 77 if (!ResourcesManager.getInstance().isSameResourcesOverrideConfig(token, overrideConfig)) { in shouldUpdateResources()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | ICarrierConfigLoader.aidl | 34 void overrideConfig(int subId, in PersistableBundle overrides, boolean persistent); in overrideConfig() method
|
/frameworks/base/services/core/java/com/android/server/app/ |
D | GameManagerService.java | 892 GamePackageConfiguration copyAndApplyOverride(GamePackageConfiguration overrideConfig) { 896 copy.mPerfModeOverridden = mPerfModeOverridden && !(overrideConfig != null 897 && overrideConfig.getGameModeConfiguration(GameManager.GAME_MODE_PERFORMANCE) 899 copy.mBatteryModeOverridden = mBatteryModeOverridden && !(overrideConfig != null 900 && overrideConfig.getGameModeConfiguration(GameManager.GAME_MODE_BATTERY) 906 copy.mAllowDownscale = mAllowDownscale || overrideConfig != null; 907 copy.mAllowAngle = mAllowAngle || overrideConfig != null; 908 copy.mAllowFpsOverride = mAllowFpsOverride || overrideConfig != null; 909 if (overrideConfig != null) { 917 synchronized (overrideConfig.mModeConfigLock) { [all …]
|
/frameworks/base/core/java/android/app/servertransaction/ |
D | LaunchActivityItem.java | 130 @NonNull Configuration overrideConfig, int deviceId, @Nullable String referrer, in obtain() argument 145 new Configuration(curConfig), new Configuration(overrideConfig), deviceId, in obtain() 347 @Nullable Configuration overrideConfig, int deviceId, in setValues() argument 363 instance.mOverrideConfig = overrideConfig; in setValues()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowProcessController.java | 1780 Configuration overrideConfig = new Configuration(getRequestedOverrideConfiguration()); in updateAssetConfiguration() local 1781 overrideConfig.assetsSeq = assetSeq; in updateAssetConfiguration() 1782 onRequestedOverrideConfigurationChanged(overrideConfig); in updateAssetConfiguration() 1789 Configuration overrideConfig = new Configuration(r.getRequestedOverrideConfiguration()); in updateAssetConfiguration() local 1790 overrideConfig.assetsSeq = assetSeq; in updateAssetConfiguration() 1791 r.onRequestedOverrideConfigurationChanged(overrideConfig); in updateAssetConfiguration() 2156 static boolean applyConfigGenderOverride(@NonNull Configuration overrideConfig, in applyConfigGenderOverride() argument 2173 if (overrideConfig.getGrammaticalGenderRaw() == targetValue) { in applyConfigGenderOverride() 2176 overrideConfig.setGrammaticalGender(targetValue); in applyConfigGenderOverride()
|
D | ActivityRecord.java | 8448 Configuration overrideConfig = getRequestedOverrideConfiguration(); in updateCompatDisplayInsets() local 8456 overrideConfig.colorMode = fullConfig.colorMode; in updateCompatDisplayInsets() 8457 overrideConfig.densityDpi = fullConfig.densityDpi; in updateCompatDisplayInsets() 8460 overrideConfig.smallestScreenWidthDp = fullConfig.smallestScreenWidthDp; in updateCompatDisplayInsets() 8464 overrideConfig.windowConfiguration.setRotation( in updateCompatDisplayInsets() 8496 final Configuration overrideConfig = getRequestedOverrideConfiguration(); in clearSizeCompatMode() local 8497 overrideConfig.unset(); in clearSizeCompatMode() 8500 overrideConfig.windowConfiguration.setActivityType(activityType); in clearSizeCompatMode() 8501 onRequestedOverrideConfigurationChanged(overrideConfig); in clearSizeCompatMode() 9511 Configuration overrideConfig = getRequestedOverrideConfiguration(); [all …]
|
D | DisplayContent.java | 2616 int dw, int dh, float density, Configuration outConfig, boolean overrideConfig) { in computeSizeRanges() argument 2634 adjustDisplaySizeRanges(displayInfo, Surface.ROTATION_0, unrotDw, unrotDh, overrideConfig); in computeSizeRanges() 2635 adjustDisplaySizeRanges(displayInfo, Surface.ROTATION_90, unrotDh, unrotDw, overrideConfig); in computeSizeRanges() 2637 overrideConfig); in computeSizeRanges() 2639 overrideConfig); in computeSizeRanges() 2649 boolean overrideConfig) { in adjustDisplaySizeRanges() argument 2654 if (!overrideConfig) { in adjustDisplaySizeRanges()
|
D | ActivityTaskSupervisor.java | 911 final Configuration overrideConfig = r.getMergedOverrideConfiguration(); in realStartActivityLocked() local 912 r.setLastReportedConfiguration(procConfig, overrideConfig); in realStartActivityLocked() 933 procConfig, overrideConfig, deviceId, in realStartActivityLocked()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/ |
D | ClipboardOverlayWindow.java | 101 public void onConfigurationChanged(Configuration overrideConfig, int newDisplayId) { in onConfigurationChanged() argument
|
/frameworks/base/telephony/java/android/telephony/ |
D | SubscriptionManager.java | 3130 Configuration overrideConfig = new Configuration(); in getResourcesForSubId() local 3132 overrideConfig.mcc = subInfo.getMcc(); in getResourcesForSubId() 3133 overrideConfig.mnc = subInfo.getMnc(); in getResourcesForSubId() 3134 if (overrideConfig.mnc == 0) { in getResourcesForSubId() 3135 overrideConfig.mnc = Configuration.MNC_ZERO; in getResourcesForSubId() 3143 overrideConfig.setLocale(Locale.ROOT); in getResourcesForSubId() 3151 Context newContext = context.createConfigurationContext(overrideConfig); in getResourcesForSubId()
|
D | CarrierConfigManager.java | 11415 public void overrideConfig(int subscriptionId, @Nullable PersistableBundle overrideValues) { in overrideConfig() method in CarrierConfigManager 11416 overrideConfig(subscriptionId, overrideValues, false); in overrideConfig() 11442 public void overrideConfig(int subscriptionId, @Nullable PersistableBundle overrideValues, in overrideConfig() method in CarrierConfigManager 11451 loader.overrideConfig(subscriptionId, overrideValues, persistent); in overrideConfig()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskLaunchParamsModifierTests.java | 1672 final Configuration overrideConfig = in testAdjustBoundsToFitNewDisplay_LargerThanDisplay_RTL() local 1675 overrideConfig.setLayoutDirection(new Locale("ar", "EG")); in testAdjustBoundsToFitNewDisplay_LargerThanDisplay_RTL() 1676 mRootWindowContainer.onRequestedOverrideConfigurationChanged(overrideConfig); in testAdjustBoundsToFitNewDisplay_LargerThanDisplay_RTL()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/ |
D | ImsResolver.java | 843 OverrideConfig overrideConfig = new OverrideConfig(slotId, isCarrierService, featureConfig); in overrideImsServiceConfiguration() local 844 Message.obtain(mHandler, HANDLER_OVERRIDE_IMS_SERVICE_CONFIG, overrideConfig) in overrideImsServiceConfiguration()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ScreenshotController.java | 601 public void onConfigurationChanged(Configuration overrideConfig, in enqueueScrollCaptureRequest()
|