Home
last modified time | relevance | path

Searched refs:mOverrideConfig (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/util/
DMergedConfiguration.java36 private Configuration mOverrideConfig = new Configuration(); field in MergedConfiguration
62 dest.writeParcelable(mOverrideConfig, flags); in writeToParcel()
68 mOverrideConfig = source.readParcelable(Configuration.class.getClassLoader()); in readFromParcel()
97 mOverrideConfig.setTo(overrideConfig); in setConfiguration()
117 mOverrideConfig.setTo(overrideConfig); in setOverrideConfiguration()
122 setConfiguration(config.mGlobalConfig, config.mOverrideConfig); in setTo()
127 mOverrideConfig.unset(); in unset()
143 return mOverrideConfig; in getOverrideConfiguration()
156 mMergedConfig.updateFrom(mOverrideConfig); in updateMergedConfig()
161 return "{mGlobalConfig=" + mGlobalConfig + " mOverrideConfig=" + mOverrideConfig + "}"; in toString()
[all …]
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DActivityTestMain.java69 Configuration mOverrideConfig; field in ActivityTestMain
170 mOverrideConfig = savedInstanceState.getParcelable(KEY_CONFIGURATION); in onCreate()
171 if (mOverrideConfig != null) { in onCreate()
172 applyOverrideConfiguration(mOverrideConfig); in onCreate()
354 if (mOverrideConfig == null) { in onCreateOptionsMenu()
355 mOverrideConfig = new Configuration(); in onCreateOptionsMenu()
357 if (mOverrideConfig.densityDpi == Configuration.DENSITY_DPI_UNDEFINED) { in onCreateOptionsMenu()
358 mOverrideConfig.densityDpi = (getApplicationContext().getResources() in onCreateOptionsMenu()
361 mOverrideConfig.densityDpi = Configuration.DENSITY_DPI_UNDEFINED; in onCreateOptionsMenu()
503 if (mOverrideConfig != null) { in onSaveInstanceState()
[all …]