Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/util/
DMergedConfiguration.java42 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/
DCompatModePackages.java203 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()
DAppWarnings.java106 final Configuration globalConfig = mAtm.getGlobalConfiguration(); in showUnsupportedDisplaySizeDialogIfNeeded() local
107 if (globalConfig.densityDpi != DisplayMetrics.DENSITY_DEVICE_STABLE in showUnsupportedDisplaySizeDialogIfNeeded()
108 && r.appInfo.requiresSmallestWidthDp > globalConfig.smallestScreenWidthDp) { in showUnsupportedDisplaySizeDialogIfNeeded()
DActivityStarter.java332 Configuration globalConfig; field in ActivityStarter.Request
387 globalConfig = null; in reset()
426 globalConfig = request.globalConfig; in set()
519 mRequest.profilerInfo, mRequest.waitResult, mRequest.globalConfig, in execute()
1139 Configuration globalConfig, SafeActivityOptions options, boolean ignoreTargetSecurity, in startActivityMayWait() argument
1219 stack.mConfigWillChange = globalConfig != null in startActivityMayWait()
1220 && mService.getGlobalConfiguration().diff(globalConfig) != 0; in startActivityMayWait()
1307 mService.updateConfigurationLocked(globalConfig, null, false); in startActivityMayWait()
2877 mRequest.globalConfig = config; in setGlobalConfiguration()
DActivityTaskManagerService.java776 final Configuration globalConfig = getGlobalConfiguration(); in retrieveSettings() local
777 if (DEBUG_CONFIGURATION) Slog.v(TAG_CONFIGURATION, "Initial config: " + globalConfig); in retrieveSettings()
786 if ((globalConfig.uiMode & UI_MODE_TYPE_TELEVISION) == UI_MODE_TYPE_TELEVISION) { in retrieveSettings()
789 (float) globalConfig.screenWidthDp; in retrieveSettings()
951 final Configuration globalConfig = getGlobalConfigurationForCallingPid(); in getDeviceConfigurationInfo() local
952 config.reqTouchScreen = globalConfig.touchscreen; in getDeviceConfigurationInfo()
953 config.reqKeyboardType = globalConfig.keyboard; in getDeviceConfigurationInfo()
954 config.reqNavigation = globalConfig.navigation; in getDeviceConfigurationInfo()
955 if (globalConfig.navigation == Configuration.NAVIGATION_DPAD in getDeviceConfigurationInfo()
956 || globalConfig.navigation == Configuration.NAVIGATION_TRACKBALL) { in getDeviceConfigurationInfo()
[all …]
/frameworks/base/core/java/android/view/
DAccessibilityIterators.java148 public void onConfigurationChanged(Configuration globalConfig) { in onConfigurationChanged() argument
149 final Locale locale = globalConfig.getLocales().get(0); in onConfigurationChanged()
DViewRootImpl.java235 void onConfigurationChanged(Configuration globalConfig); in onConfigurationChanged() argument
4208 Configuration globalConfig = mergedConfiguration.getGlobalConfiguration(); in performConfigurationChange() local
4212 + ", globalConfig: " + globalConfig in performConfigurationChange()
4217 globalConfig = new Configuration(globalConfig); in performConfigurationChange()
4218 ci.applyToConfiguration(mNoncompatDensity, globalConfig); in performConfigurationChange()
4223 sConfigCallbacks.get(i).onConfigurationChanged(globalConfig); in performConfigurationChange()
4227 mLastReportedMergedConfiguration.setConfiguration(globalConfig, overrideConfig); in performConfigurationChange()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayContentTests.java293 Configuration globalConfig = mWm.mRoot.getConfiguration(); in testDefaultDisplayOverrideConfigUpdate() local
294 assertEquals(newOverrideConfig.densityDpi, globalConfig.densityDpi); in testDefaultDisplayOverrideConfigUpdate()
295 assertEquals(newOverrideConfig.fontScale, globalConfig.fontScale, 0.1 /* delta */); in testDefaultDisplayOverrideConfigUpdate()
299 globalConfig = mWm.mRoot.getConfiguration(); in testDefaultDisplayOverrideConfigUpdate()
300 assertEquals(currentConfig.densityDpi, globalConfig.densityDpi); in testDefaultDisplayOverrideConfigUpdate()
301 assertEquals(currentConfig.fontScale, globalConfig.fontScale, 0.1 /* delta */); in testDefaultDisplayOverrideConfigUpdate()
/frameworks/base/core/java/android/app/
DActivityThread.java7125 = (Configuration globalConfig) -> { in attach()
7129 if (mResourcesManager.applyConfigurationToResourcesLocked(globalConfig, in attach()
7136 || mPendingConfiguration.isOtherSeqNewer(globalConfig)) { in attach()
7137 mPendingConfiguration = globalConfig; in attach()
7138 sendMessage(H.CONFIGURATION_CHANGED, globalConfig); in attach()