Home
last modified time | relevance | path

Searched refs:globalConfig (Results 1 – 10 of 10) 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.java333 Configuration globalConfig; field in ActivityStarter.Request
388 globalConfig = null; in reset()
427 globalConfig = request.globalConfig; in set()
521 mRequest.profilerInfo, mRequest.waitResult, mRequest.globalConfig, in execute()
1149 Configuration globalConfig, SafeActivityOptions options, boolean ignoreTargetSecurity, in startActivityMayWait() argument
1229 stack.mConfigWillChange = globalConfig != null in startActivityMayWait()
1230 && mService.getGlobalConfiguration().diff(globalConfig) != 0; in startActivityMayWait()
1317 mService.updateConfigurationLocked(globalConfig, null, false); in startActivityMayWait()
2929 mRequest.globalConfig = config; in setGlobalConfiguration()
DActivityTaskManagerService.java779 final Configuration globalConfig = getGlobalConfiguration(); in retrieveSettings() local
780 if (DEBUG_CONFIGURATION) Slog.v(TAG_CONFIGURATION, "Initial config: " + globalConfig); in retrieveSettings()
789 if ((globalConfig.uiMode & UI_MODE_TYPE_TELEVISION) == UI_MODE_TYPE_TELEVISION) { in retrieveSettings()
792 (float) globalConfig.screenWidthDp; in retrieveSettings()
954 final Configuration globalConfig = getGlobalConfigurationForCallingPid(); in getDeviceConfigurationInfo() local
955 config.reqTouchScreen = globalConfig.touchscreen; in getDeviceConfigurationInfo()
956 config.reqKeyboardType = globalConfig.keyboard; in getDeviceConfigurationInfo()
957 config.reqNavigation = globalConfig.navigation; in getDeviceConfigurationInfo()
958 if (globalConfig.navigation == Configuration.NAVIGATION_DPAD in getDeviceConfigurationInfo()
959 || globalConfig.navigation == Configuration.NAVIGATION_TRACKBALL) { in getDeviceConfigurationInfo()
[all …]
DWindowState.java2477 final Configuration globalConfig = getProcessGlobalConfiguration(); in getMergedConfiguration() local
2479 outConfiguration.setConfiguration(globalConfig, overrideConfig); in getMergedConfiguration()
/frameworks/base/core/java/android/view/
DAccessibilityIterators.java152 public void onConfigurationChanged(Configuration globalConfig) { in onConfigurationChanged() argument
153 final Locale locale = globalConfig.getLocales().get(0); in onConfigurationChanged()
DViewRootImpl.java254 void onConfigurationChanged(Configuration globalConfig); in onConfigurationChanged() argument
4372 Configuration globalConfig = mergedConfiguration.getGlobalConfiguration(); in performConfigurationChange() local
4376 + ", globalConfig: " + globalConfig in performConfigurationChange()
4381 globalConfig = new Configuration(globalConfig); in performConfigurationChange()
4382 ci.applyToConfiguration(mNoncompatDensity, globalConfig); in performConfigurationChange()
4387 sConfigCallbacks.get(i).onConfigurationChanged(globalConfig); in performConfigurationChange()
4391 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.java7165 = (Configuration globalConfig) -> { in attach()
7169 if (mResourcesManager.applyConfigurationToResourcesLocked(globalConfig, in attach()
7176 || mPendingConfiguration.isOtherSeqNewer(globalConfig)) { in attach()
7177 mPendingConfiguration = globalConfig; in attach()
7178 sendMessage(H.CONFIGURATION_CHANGED, globalConfig); in attach()