Home
last modified time | relevance | path

Searched refs:mCurConfig (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/src/com/android/settings/
DDisplay.java84 mCurConfig.updateFrom( in onResume()
88 if (mCurConfig.fontScale < 1) { in onResume()
90 } else if (mCurConfig.fontScale > 1) { in onResume()
100 mCurConfig.fontScale; in updateFontScale()
108 ActivityManagerNative.getDefault().updatePersistentConfiguration(mCurConfig); in onClick()
119 mCurConfig.fontScale = .75f;
121 mCurConfig.fontScale = 1.25f;
123 mCurConfig.fontScale = 1.0f;
137 private Configuration mCurConfig = new Configuration(); field in Display
DDisplaySettings.java87 private final Configuration mCurConfig = new Configuration(); field in DisplaySettings
343 mCurConfig.updateFrom(ActivityManagerNative.getDefault().getConfiguration()); in readFontSizePreference()
349 int index = floatToIndex(mCurConfig.fontScale); in readFontSizePreference()
431 mCurConfig.fontScale = Float.parseFloat(objValue.toString());
432 ActivityManagerNative.getDefault().updatePersistentConfiguration(mCurConfig);
/packages/apps/SpareParts/src/com/android/spare_parts/
DSpareParts.java62 private final Configuration mCurConfig = new Configuration(); field in SpareParts
189 mCurConfig.fontScale = Float.parseFloat(objValue.toString()); in writeFontSizePreference()
190 ActivityManagerNative.getDefault().updateConfiguration(mCurConfig); in writeFontSizePreference()
228 mCurConfig.updateFrom( in readFontSizePreference()
232 pref.setValueIndex(floatToIndex(mCurConfig.fontScale, in readFontSizePreference()
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilitySettings.java126 private final Configuration mCurConfig = new Configuration(); field in AccessibilitySettings
298 mCurConfig.fontScale = mToggleLargeTextPreference.isChecked() ? LARGE_FONT_SCALE : 1; in handleToggleLargeTextPreferenceClick()
299 ActivityManagerNative.getDefault().updatePersistentConfiguration(mCurConfig); in handleToggleLargeTextPreferenceClick()
538 mCurConfig.updateFrom(ActivityManagerNative.getDefault().getConfiguration()); in updateSystemPreferences()
542 mToggleLargeTextPreference.setChecked(mCurConfig.fontScale == LARGE_FONT_SCALE); in updateSystemPreferences()