/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/wm/ |
D | CompatModePackages.java | 203 final Configuration globalConfig = mService.getGlobalConfiguration(); in compatibilityInfoForPackageLocked() local 204 CompatibilityInfo ci = new CompatibilityInfo(ai, globalConfig.screenLayout, in compatibilityInfoForPackageLocked() 205 globalConfig.smallestScreenWidthDp, in compatibilityInfoForPackageLocked() 213 final Configuration globalConfig = mService.getGlobalConfiguration(); in computeCompatModeLocked() local 214 final CompatibilityInfo info = new CompatibilityInfo(ai, globalConfig.screenLayout, in computeCompatModeLocked() 215 globalConfig.smallestScreenWidthDp, enabled); in computeCompatModeLocked() 371 final Configuration globalConfig = mService.getGlobalConfiguration(); in saveCompatModes() local 372 final int screenLayout = globalConfig.screenLayout; in saveCompatModes() 373 final int smallestScreenWidthDp = globalConfig.smallestScreenWidthDp; in saveCompatModes()
|
D | AppWarnings.java | 106 final Configuration globalConfig = mAtm.getGlobalConfiguration(); in showUnsupportedDisplaySizeDialogIfNeeded() local 107 if (globalConfig.densityDpi != DisplayMetrics.DENSITY_DEVICE_STABLE in showUnsupportedDisplaySizeDialogIfNeeded() 109 > globalConfig.smallestScreenWidthDp) { in showUnsupportedDisplaySizeDialogIfNeeded()
|
D | ActivityStarter.java | 340 Configuration globalConfig; field in ActivityStarter.Request 390 globalConfig = null; in reset() 430 globalConfig = request.globalConfig; in set() 652 final boolean globalConfigWillChange = mRequest.globalConfig != null in execute() 653 && mService.getGlobalConfiguration().diff(mRequest.globalConfig) != 0; in execute() 688 mService.updateConfigurationLocked(mRequest.globalConfig, null, false); in execute() 2812 mRequest.globalConfig = config; in setGlobalConfiguration()
|
D | ActivityTaskManagerService.java | 818 final Configuration globalConfig = getGlobalConfiguration(); in retrieveSettings() local 819 if (DEBUG_CONFIGURATION) Slog.v(TAG_CONFIGURATION, "Initial config: " + globalConfig); in retrieveSettings() 988 final Configuration globalConfig = getGlobalConfigurationForCallingPid(); in getDeviceConfigurationInfo() local 989 config.reqTouchScreen = globalConfig.touchscreen; in getDeviceConfigurationInfo() 990 config.reqKeyboardType = globalConfig.keyboard; in getDeviceConfigurationInfo() 991 config.reqNavigation = globalConfig.navigation; in getDeviceConfigurationInfo() 992 if (globalConfig.navigation == Configuration.NAVIGATION_DPAD in getDeviceConfigurationInfo() 993 || globalConfig.navigation == Configuration.NAVIGATION_TRACKBALL) { in getDeviceConfigurationInfo() 996 if (globalConfig.keyboard != Configuration.KEYBOARD_UNDEFINED in getDeviceConfigurationInfo() 997 && globalConfig.keyboard != Configuration.KEYBOARD_NOKEYS) { in getDeviceConfigurationInfo()
|
D | WindowState.java | 2755 final Configuration globalConfig = getProcessGlobalConfiguration(); in getMergedConfiguration() local 2757 outConfiguration.setConfiguration(globalConfig, overrideConfig); in getMergedConfiguration()
|
/frameworks/base/core/java/android/view/ |
D | AccessibilityIterators.java | 152 public void onConfigurationChanged(Configuration globalConfig) { in onConfigurationChanged() argument 153 final Locale locale = globalConfig.getLocales().get(0); in onConfigurationChanged()
|
D | ViewRootImpl.java | 296 void onConfigurationChanged(Configuration globalConfig); in onConfigurationChanged() argument 4707 Configuration globalConfig = mergedConfiguration.getGlobalConfiguration(); in performConfigurationChange() local 4711 + ", globalConfig: " + globalConfig in performConfigurationChange() 4716 globalConfig = new Configuration(globalConfig); in performConfigurationChange() 4717 ci.applyToConfiguration(mNoncompatDensity, globalConfig); in performConfigurationChange() 4722 sConfigCallbacks.get(i).onConfigurationChanged(globalConfig); in performConfigurationChange() 4726 mLastReportedMergedConfiguration.setConfiguration(globalConfig, overrideConfig); in performConfigurationChange()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayContentTests.java | 372 Configuration globalConfig = mWm.mRoot.getConfiguration(); in testDefaultDisplayOverrideConfigUpdate() local 373 assertEquals(newOverrideConfig.densityDpi, globalConfig.densityDpi); in testDefaultDisplayOverrideConfigUpdate() 374 assertEquals(newOverrideConfig.fontScale, globalConfig.fontScale, 0.1 /* delta */); in testDefaultDisplayOverrideConfigUpdate() 378 globalConfig = mWm.mRoot.getConfiguration(); in testDefaultDisplayOverrideConfigUpdate() 379 assertEquals(currentConfig.densityDpi, globalConfig.densityDpi); in testDefaultDisplayOverrideConfigUpdate() 380 assertEquals(currentConfig.fontScale, globalConfig.fontScale, 0.1 /* delta */); in testDefaultDisplayOverrideConfigUpdate()
|
/frameworks/base/core/java/android/app/ |
D | ActivityThread.java | 7381 = (Configuration globalConfig) -> { in attach() 7386 + "config=" + globalConfig); in attach() 7391 if (mResourcesManager.applyConfigurationToResourcesLocked(globalConfig, in attach() 7398 || mPendingConfiguration.isOtherSeqNewer(globalConfig)) { in attach() 7399 mPendingConfiguration = globalConfig; in attach() 7400 sendMessage(H.CONFIGURATION_CHANGED, globalConfig); in attach()
|