/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
ConversationViewUtils.java | 27 final float fontScale = resources.getConfiguration().fontScale; 37 textZoom = (int) (textZoom * fontScale);
|
/packages/apps/Settings/src/com/android/settings/ |
Display.java | 88 if (mCurConfig.fontScale < 1) { 90 } else if (mCurConfig.fontScale > 1) { 100 mCurConfig.fontScale; 119 mCurConfig.fontScale = .75f; 121 mCurConfig.fontScale = 1.25f; 123 mCurConfig.fontScale = 1.0f;
|
DisplaySettings.java | 281 int index = floatToIndex(mCurConfig.fontScale); 344 mCurConfig.fontScale = Float.parseFloat(objValue.toString());
|
/cts/tests/tests/provider/src/android/provider/cts/ |
Settings_SystemTest.java | 106 // backup fontScale 109 float store = cfg.fontScale; 111 // update fontScale row 113 cfg.fontScale = 10.0f; 117 assertEquals(10.0f, cfg.fontScale); 119 // restore the fontScale 120 cfg.fontScale = store;
|
/frameworks/base/core/java/android/content/res/ |
Configuration.java | 54 public float fontScale; 623 fontScale = o.fontScale; 652 sb.append(fontScale); [all...] |
Resources.java | [all...] |
/development/apps/Development/src/com/android/development/ |
ConfigurationViewer.java | 41 + "fontScale=" + c.fontScale + "\n"
|
/cts/tests/tests/content/src/android/content/res/cts/ |
ConfigurationTest.java | 41 mConfig.fontScale = 2; 131 cfg1.fontScale = 2; 132 cfg2.fontScale = 3; 134 cfg1.fontScale = 3; 135 cfg2.fontScale = 2; 246 config.fontScale = 2; 354 config.fontScale = 13.37f;
|
ResourcesTest.java | 222 assertTrue(cfg.fontScale != 5); 224 cfg.fontScale = 5; 227 assertEquals(5.0f, cfgNew.fontScale, 0.001f);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
CaptionPreviewFragment.java | 103 public void onFontScaleChanged(float fontScale) { 104 if(DEBUG) Log.d(TAG, "onFontScaleChanged " + fontScale); 191 public void livePreviewFontScale(float fontScale) { 192 mFontScale = fontScale;
|
/frameworks/base/core/java/android/view/accessibility/ |
CaptioningManager.java | 215 final float fontScale = getFontScale(); 218 listener.onFontScaleChanged(fontScale); 524 * @param fontScale the preferred font scaling factor 527 public void onFontScaleChanged(float fontScale) {}
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderThemeChromiumSkia.cpp | 204 float fontScale = style->fontSize() / defaultControlFontPixelSize; 205 int cancelButtonSize = lroundf(std::min(std::max(minCancelButtonSize, defaultCancelButtonSize * fontScale), maxCancelButtonSize)); 260 float fontScale = style->fontSize() / defaultControlFontPixelSize; 261 int magnifierSize = lroundf(std::min(std::max(minSearchFieldResultsDecorationSize, defaultSearchFieldResultsDecorationSize * fontScale),
|
RenderThemeChromiumMac.mm | [all...] |
/packages/apps/SpareParts/src/com/android/spare_parts/ |
SpareParts.java | 189 mCurConfig.fontScale = Float.parseFloat(objValue.toString()); 232 pref.setValueIndex(floatToIndex(mCurConfig.fontScale,
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
CaptionPropertiesFragment.java | 207 final float fontScale = manager.getFontScale(); 212 previewText.setTextSize(virtualHeight * LINE_HEIGHT_RATIO * fontScale); 216 previewText.setTextSize(textSize * fontScale);
|
AccessibilitySettings.java | 290 mCurConfig.fontScale = mToggleLargeTextPreference.isChecked() ? LARGE_FONT_SCALE : 1; 534 mToggleLargeTextPreference.setChecked(mCurConfig.fontScale == LARGE_FONT_SCALE);
|
/sdk/apps/DeviceConfig/src/com/example/android/deviceconfig/ |
MyActivity.java | 128 tv.setText(String.format("%f", config.fontScale));
|
/frameworks/base/core/java/android/provider/ |
Settings.java | [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
QSTileView.java | 105 float largeFactor = (MathUtils.constrain(getResources().getConfiguration().fontScale,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
BaseStatusBar.java | 541 mFontScale = currentConfig.fontScale; 714 final float fontScale = newConfig.fontScale; 716 if (! locale.equals(mLocale) || ld != mLayoutDirection || fontScale != mFontScale) { [all...] |
/frameworks/base/core/java/android/app/ |
Notification.java | [all...] |
/frameworks/base/media/java/android/media/ |
WebVttRenderer.java | [all...] |
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
AwSettings.java | 242 mTextSizePercent *= context.getResources().getConfiguration().fontScale; [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
StatusBarHeaderView.java | 227 float largeFactor = (MathUtils.constrain(getResources().getConfiguration().fontScale, 1.0f,
|
/frameworks/base/services/core/java/com/android/server/wm/ |
WindowManagerService.java | [all...] |