/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() 46 public MergedConfiguration(Configuration globalConfig) { in MergedConfiguration() argument 47 setGlobalConfiguration(globalConfig); in MergedConfiguration() 95 public void setConfiguration(Configuration globalConfig, Configuration overrideConfig) { in setConfiguration() argument 96 mGlobalConfig.setTo(globalConfig); in setConfiguration() 106 public void setGlobalConfiguration(Configuration globalConfig) { in setGlobalConfiguration() argument 107 mGlobalConfig.setTo(globalConfig); in setGlobalConfiguration()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | CompatModePackages.java | 201 final Configuration globalConfig = mService.getGlobalConfiguration(); in compatibilityInfoForPackageLocked() local 202 CompatibilityInfo ci = new CompatibilityInfo(ai, globalConfig.screenLayout, in compatibilityInfoForPackageLocked() 203 globalConfig.smallestScreenWidthDp, in compatibilityInfoForPackageLocked() 211 final Configuration globalConfig = mService.getGlobalConfiguration(); in computeCompatModeLocked() local 212 final CompatibilityInfo info = new CompatibilityInfo(ai, globalConfig.screenLayout, in computeCompatModeLocked() 213 globalConfig.smallestScreenWidthDp, enabled); in computeCompatModeLocked() 414 final Configuration globalConfig = mService.getGlobalConfiguration(); in saveCompatModes() local 415 final int screenLayout = globalConfig.screenLayout; in saveCompatModes() 416 final int smallestScreenWidthDp = globalConfig.smallestScreenWidthDp; in saveCompatModes()
|
D | ActivityStarter.java | 680 Configuration globalConfig, Bundle bOptions, boolean ignoreTargetSecurity, int userId, in startActivityMayWait() argument 684 resultWho, requestCode, startFlags, profilerInfo, outResult, globalConfig, bOptions, in startActivityMayWait() 694 Configuration globalConfig, Bundle bOptions, boolean ignoreTargetSecurity, int userId, in startActivityMayWait() argument 768 stack.mConfigWillChange = globalConfig != null in startActivityMayWait() 769 && mService.getGlobalConfiguration().diff(globalConfig) != 0; in startActivityMayWait() 858 mService.updateConfigurationLocked(globalConfig, null, false); in startActivityMayWait()
|
D | ActivityManagerService.java | 3297 final Configuration globalConfig = getGlobalConfiguration(); in showUnsupportedZoomDialogIfNeededLocked() local 3298 if (globalConfig.densityDpi != DisplayMetrics.DENSITY_DEVICE_STABLE in showUnsupportedZoomDialogIfNeededLocked() 3299 && r.appInfo.requiresSmallestWidthDp > globalConfig.smallestScreenWidthDp) { in showUnsupportedZoomDialogIfNeededLocked() 14150 final Configuration globalConfig = getGlobalConfiguration(); 14151 if (DEBUG_CONFIGURATION) Slog.v(TAG_CONFIGURATION, "Initial config: " + globalConfig); 14164 if ((globalConfig.uiMode & UI_MODE_TYPE_TELEVISION) == UI_MODE_TYPE_TELEVISION) { 14167 (float) globalConfig.screenWidthDp; 20183 final Configuration globalConfig = getGlobalConfiguration(); 20184 config.reqTouchScreen = globalConfig.touchscreen; 20185 config.reqKeyboardType = globalConfig.keyboard; [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
D | DisplayContentTests.java | 238 Configuration globalConfig = sWm.mRoot.getConfiguration(); in testDefaultDisplayOverrideConfigUpdate() local 239 assertEquals(newOverrideConfig.densityDpi, globalConfig.densityDpi); in testDefaultDisplayOverrideConfigUpdate() 240 assertEquals(newOverrideConfig.fontScale, globalConfig.fontScale, 0.1 /* delta */); in testDefaultDisplayOverrideConfigUpdate() 244 globalConfig = sWm.mRoot.getConfiguration(); in testDefaultDisplayOverrideConfigUpdate() 245 assertEquals(currentConfig.densityDpi, globalConfig.densityDpi); in testDefaultDisplayOverrideConfigUpdate() 246 assertEquals(currentConfig.fontScale, globalConfig.fontScale, 0.1 /* delta */); in testDefaultDisplayOverrideConfigUpdate()
|
/frameworks/base/core/java/android/view/ |
D | AccessibilityIterators.java | 146 public void onConfigurationChanged(Configuration globalConfig) { in onConfigurationChanged() argument 147 final Locale locale = globalConfig.getLocales().get(0); in onConfigurationChanged()
|
D | ViewRootImpl.java | 175 void onConfigurationChanged(Configuration globalConfig); in onConfigurationChanged() argument 3536 Configuration globalConfig = mergedConfiguration.getGlobalConfiguration(); in performConfigurationChange() local 3540 + ", globalConfig: " + globalConfig in performConfigurationChange() 3545 globalConfig = new Configuration(globalConfig); in performConfigurationChange() 3546 ci.applyToConfiguration(mNoncompatDensity, globalConfig); in performConfigurationChange() 3551 sConfigCallbacks.get(i).onConfigurationChanged(globalConfig); in performConfigurationChange() 3555 mLastReportedMergedConfiguration.setConfiguration(globalConfig, overrideConfig); in performConfigurationChange()
|
/frameworks/base/core/java/android/app/ |
D | ActivityThread.java | 6377 = (Configuration globalConfig) -> { in attach() 6381 if (mResourcesManager.applyConfigurationToResourcesLocked(globalConfig, in attach() 6388 || mPendingConfiguration.isOtherSeqNewer(globalConfig)) { in attach() 6389 mPendingConfiguration = globalConfig; in attach() 6390 sendMessage(H.CONFIGURATION_CHANGED, globalConfig); in attach()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowState.java | 2334 final Configuration globalConfig = mService.mRoot.getConfiguration(); in getMergedConfiguration() local 2336 outConfiguration.setConfiguration(globalConfig, overrideConfig); in getMergedConfiguration()
|