Home
last modified time | relevance | path

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

/external/webkit/Source/WebCore/rendering/
DRenderInputSpeech.cpp52 float fontScale = style->fontSize() / defaultControlFontPixelSize; in adjustInputFieldSpeechButtonStyle() local
53 …roundf(std::min(std::max(minSpeechButtonSize, defaultSpeechButtonSize * fontScale), maxSpeechButto… in adjustInputFieldSpeechButtonStyle()
DRenderThemeChromiumSkia.cpp256 float fontScale = style->fontSize() / defaultControlFontPixelSize; in adjustSearchFieldCancelButtonStyle() local
257 …roundf(std::min(std::max(minCancelButtonSize, defaultCancelButtonSize * fontScale), maxCancelButto… in adjustSearchFieldCancelButtonStyle()
310 float fontScale = style->fontSize() / defaultControlFontPixelSize; in adjustSearchFieldResultsDecorationStyle() local
311 …std::max(minSearchFieldResultsDecorationSize, defaultSearchFieldResultsDecorationSize * fontScale), in adjustSearchFieldResultsDecorationStyle()
344 float fontScale = style->fontSize() / defaultControlFontPixelSize; in adjustSearchFieldResultsButtonStyle() local
345 …std::max(minSearchFieldResultsDecorationSize, defaultSearchFieldResultsDecorationSize * fontScale), in adjustSearchFieldResultsButtonStyle()
DRenderThemeSafari.cpp817 float fontScale = min(o->style()->fontSize() / baseFontSize, bounds.height() / baseArrowHeight); in paintMenuListButton() local
819 float arrowHeight = baseArrowHeight * fontScale; in paintMenuListButton()
820 float arrowWidth = baseArrowWidth * fontScale; in paintMenuListButton()
901 float fontScale = style->fontSize() / baseFontSize; in popupInternalPaddingRight() local
902 float arrowWidth = baseArrowWidth * fontScale; in popupInternalPaddingRight()
928 float fontScale = style->fontSize() / baseFontSize; in adjustMenuListButtonStyle() local
931 …yle->setBorderRadius(IntSize(int(baseBorderRadius + fontScale - 1), int(baseBorderRadius + fontSca… in adjustMenuListButtonStyle()
DRenderThemeWin.cpp897 float fontScale = style->fontSize() / defaultControlFontPixelSize; in adjustSearchFieldCancelButtonStyle() local
898 …int cancelButtonSize = lroundf(min(max(minCancelButtonSize, defaultCancelButtonSize * fontScale), … in adjustSearchFieldCancelButtonStyle()
913 float fontScale = style->fontSize() / defaultControlFontPixelSize; in adjustSearchFieldResultsDecorationStyle() local
914 …min(max(minSearchFieldResultsDecorationSize, defaultSearchFieldResultsDecorationSize * fontScale), in adjustSearchFieldResultsDecorationStyle()
946 float fontScale = style->fontSize() / defaultControlFontPixelSize; in adjustSearchFieldResultsButtonStyle() local
947 …min(max(minSearchFieldResultsDecorationSize, defaultSearchFieldResultsDecorationSize * fontScale), in adjustSearchFieldResultsButtonStyle()
DRenderThemeMac.mm1095 …float fontScale = min(o->style()->fontSize() / baseFontSize, bounds.height() / (baseArrowHeight * …
1097 float arrowHeight = baseArrowHeight * fontScale;
1098 float arrowWidth = baseArrowWidth * fontScale;
1100 float spaceBetweenArrows = baseSpaceBetweenArrows * fontScale;
1129 // FIXME: Should the separator thickness and space be scaled up by fontScale?
1196 float fontScale = style->fontSize() / baseFontSize;
1197 float arrowWidth = baseArrowWidth * fontScale;
1223 float fontScale = style->fontSize() / baseFontSize;
1226 …yle->setBorderRadius(IntSize(int(baseBorderRadius + fontScale - 1), int(baseBorderRadius + fontSca…
/external/webkit/Source/WebCore/platform/android/
DRenderThemeAndroid.cpp670 float fontScale = style->fontSize() / baseFontSize; in adjustMenuListButtonStyle() local
673 …yle->setBorderRadius(IntSize(int(baseBorderRadius + fontScale - 1), int(baseBorderRadius + fontSca… in adjustMenuListButtonStyle()
/external/skia/legacy/src/ports/
DSkFontHost_mac_coretext.cpp917 SkScalar fontScale = getFontScale(fCGFont); in generateBBoxes() local
918 fAdjustBadMatrix.preScale(fontScale, fontScale); in generateBBoxes()
/external/skia/src/ports/
DSkFontHost_mac_coretext.cpp890 SkScalar fontScale = getFontScale(fCGFont); in generateBBoxes() local
891 fFBoundingBoxesMatrix.preScale(fontScale, fontScale); in generateBBoxes()
/external/webkit/Source/WebCore/platform/qt/
DRenderThemeQt.cpp993 float fontScale = style->fontSize() / defaultControlFontPixelSize; in adjustSearchFieldCancelButtonStyle() local
994 …Size = lroundf(qMin(qMax(minCancelButtonSize, defaultCancelButtonSize * fontScale), maxCancelButto… in adjustSearchFieldCancelButtonStyle()