Home
last modified time | relevance | path

Searched refs:globalConfig (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/util/
DMergedConfiguration.java43 public MergedConfiguration(Configuration globalConfig, Configuration overrideConfig) { in MergedConfiguration() argument
44 setConfiguration(globalConfig, overrideConfig); in MergedConfiguration()
47 public MergedConfiguration(Configuration globalConfig) { in MergedConfiguration() argument
48 setGlobalConfiguration(globalConfig); in MergedConfiguration()
96 public void setConfiguration(Configuration globalConfig, Configuration overrideConfig) { in setConfiguration() argument
97 mGlobalConfig.setTo(globalConfig); in setConfiguration()
107 public void setGlobalConfiguration(Configuration globalConfig) { in setGlobalConfiguration() argument
108 mGlobalConfig.setTo(globalConfig); in setGlobalConfiguration()
/frameworks/base/core/java/android/view/
DAccessibilityIterators.java153 public void onConfigurationChanged(Configuration globalConfig) { in onConfigurationChanged() argument
154 final Locale locale = globalConfig.getLocales().get(0); in onConfigurationChanged()
DViewRootImpl.java475 void onConfigurationChanged(Configuration globalConfig); in onConfigurationChanged() argument
6441 Configuration globalConfig = mergedConfiguration.getGlobalConfiguration(); in performConfigurationChange() local
6445 + ", globalConfig: " + globalConfig in performConfigurationChange()
6450 globalConfig = new Configuration(globalConfig); in performConfigurationChange()
6451 ci.applyToConfiguration(mNoncompatDensity, globalConfig); in performConfigurationChange()
6456 sConfigCallbacks.get(i).onConfigurationChanged(globalConfig); in performConfigurationChange()
6460 mLastReportedMergedConfiguration.setConfiguration(globalConfig, overrideConfig); in performConfigurationChange()
/frameworks/base/services/core/java/com/android/server/wm/
DAppWarnings.java155 final Configuration globalConfig = mAtm.getGlobalConfiguration(); in showUnsupportedDisplaySizeDialogIfNeeded() local
156 if (globalConfig.densityDpi != DisplayMetrics.DENSITY_DEVICE_STABLE in showUnsupportedDisplaySizeDialogIfNeeded()
158 > globalConfig.smallestScreenWidthDp) { in showUnsupportedDisplaySizeDialogIfNeeded()
DActivityStarter.java412 Configuration globalConfig; field in ActivityStarter.Request
474 globalConfig = null; in reset()
517 globalConfig = request.globalConfig; in set()
766 final boolean globalConfigWillChange = mRequest.globalConfig != null in execute()
767 && mService.getGlobalConfiguration().diff(mRequest.globalConfig) != 0; in execute()
804 mService.updateConfigurationLocked(mRequest.globalConfig, null, false); in execute()
3311 mRequest.globalConfig = config; in setGlobalConfiguration()
DActivityTaskManagerService.java986 final Configuration globalConfig = getGlobalConfiguration(); in retrieveSettings() local
987 ProtoLog.v(WM_DEBUG_CONFIGURATION, "Initial config: %s", globalConfig); in retrieveSettings()
1163 final Configuration globalConfig = getGlobalConfigurationForCallingPid(); in getDeviceConfigurationInfo() local
1164 config.reqTouchScreen = globalConfig.touchscreen; in getDeviceConfigurationInfo()
1165 config.reqKeyboardType = globalConfig.keyboard; in getDeviceConfigurationInfo()
1166 config.reqNavigation = globalConfig.navigation; in getDeviceConfigurationInfo()
1167 if (globalConfig.navigation == Configuration.NAVIGATION_DPAD in getDeviceConfigurationInfo()
1168 || globalConfig.navigation == Configuration.NAVIGATION_TRACKBALL) { in getDeviceConfigurationInfo()
1171 if (globalConfig.keyboard != Configuration.KEYBOARD_UNDEFINED in getDeviceConfigurationInfo()
1172 && globalConfig.keyboard != Configuration.KEYBOARD_NOKEYS) { in getDeviceConfigurationInfo()
DWindowState.java3665 final Configuration globalConfig = getProcessGlobalConfiguration(); in fillClientWindowFramesAndConfiguration() local
3667 outMergedConfiguration.setConfiguration(globalConfig, overrideConfig); in fillClientWindowFramesAndConfiguration()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayContentTests.java498 Configuration globalConfig = mWm.mRoot.getConfiguration(); in testDefaultDisplayOverrideConfigUpdate() local
499 assertEquals(newOverrideConfig.densityDpi, globalConfig.densityDpi); in testDefaultDisplayOverrideConfigUpdate()
500 assertEquals(newOverrideConfig.fontScale, globalConfig.fontScale, 0.1 /* delta */); in testDefaultDisplayOverrideConfigUpdate()
505 globalConfig = mWm.mRoot.getConfiguration(); in testDefaultDisplayOverrideConfigUpdate()
506 assertEquals(currentConfig.densityDpi, globalConfig.densityDpi); in testDefaultDisplayOverrideConfigUpdate()
507 assertEquals(currentConfig.fontScale, globalConfig.fontScale, 0.1 /* delta */); in testDefaultDisplayOverrideConfigUpdate()
/frameworks/base/core/java/android/app/
DActivityThread.java8437 ViewRootImpl.ConfigChangedCallback configChangedCallback = (Configuration globalConfig) -> { in attach()
8441 if (mResourcesManager.applyConfigurationToResources(globalConfig, in attach()
8448 mConfigurationController.updatePendingConfiguration(globalConfig); in attach()
8450 sendMessage(H.CONFIGURATION_CHANGED, globalConfig); in attach()