Searched refs:fontScale (Results 1 – 9 of 9) sorted by relevance
/external/webkit/Source/WebCore/rendering/ |
D | RenderInputSpeech.cpp | 52 float fontScale = style->fontSize() / defaultControlFontPixelSize; in adjustInputFieldSpeechButtonStyle() local 53 …roundf(std::min(std::max(minSpeechButtonSize, defaultSpeechButtonSize * fontScale), maxSpeechButto… in adjustInputFieldSpeechButtonStyle()
|
D | RenderThemeChromiumSkia.cpp | 256 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()
|
D | RenderThemeSafari.cpp | 817 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()
|
D | RenderThemeWin.cpp | 897 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()
|
D | RenderThemeMac.mm | 1095 …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/ |
D | RenderThemeAndroid.cpp | 670 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/ |
D | SkFontHost_mac_coretext.cpp | 917 SkScalar fontScale = getFontScale(fCGFont); in generateBBoxes() local 918 fAdjustBadMatrix.preScale(fontScale, fontScale); in generateBBoxes()
|
/external/skia/src/ports/ |
D | SkFontHost_mac_coretext.cpp | 890 SkScalar fontScale = getFontScale(fCGFont); in generateBBoxes() local 891 fFBoundingBoxesMatrix.preScale(fontScale, fontScale); in generateBBoxes()
|
/external/webkit/Source/WebCore/platform/qt/ |
D | RenderThemeQt.cpp | 993 float fontScale = style->fontSize() / defaultControlFontPixelSize; in adjustSearchFieldCancelButtonStyle() local 994 …Size = lroundf(qMin(qMax(minCancelButtonSize, defaultCancelButtonSize * fontScale), maxCancelButto… in adjustSearchFieldCancelButtonStyle()
|