Home
last modified time | relevance | path

Searched refs:FontRenderParams (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/ui/gfx/
Dfont_render_params_linux.cc30 void LoadDefaults(FontRenderParams* params, bool renderer) { in LoadDefaults()
37 params->hinting = FontRenderParams::HINTING_SLIGHT; in LoadDefaults()
38 params->subpixel_rendering = FontRenderParams::SUBPIXEL_RENDERING_NONE; in LoadDefaults()
60 params->hinting = FontRenderParams::HINTING_NONE; in LoadDefaults()
62 params->hinting = FontRenderParams::HINTING_SLIGHT; in LoadDefaults()
64 params->hinting = FontRenderParams::HINTING_MEDIUM; in LoadDefaults()
66 params->hinting = FontRenderParams::HINTING_FULL; in LoadDefaults()
69 params->subpixel_rendering = FontRenderParams::SUBPIXEL_RENDERING_NONE; in LoadDefaults()
71 params->subpixel_rendering = FontRenderParams::SUBPIXEL_RENDERING_RGB; in LoadDefaults()
73 params->subpixel_rendering = FontRenderParams::SUBPIXEL_RENDERING_BGR; in LoadDefaults()
[all …]
Dfont_render_params_android.cc12 void LoadDefaults(FontRenderParams* params) { in LoadDefaults()
16 params->subpixel_rendering = FontRenderParams::SUBPIXEL_RENDERING_NONE; in LoadDefaults()
22 params->hinting = FontRenderParams::HINTING_SLIGHT; in LoadDefaults()
27 const FontRenderParams& GetDefaultFontRenderParams() { in GetDefaultFontRenderParams()
29 static FontRenderParams default_params; in GetDefaultFontRenderParams()
36 const FontRenderParams& GetDefaultWebKitFontRenderParams() { in GetDefaultWebKitFontRenderParams()
Dpango_util.cc47 const FontRenderParams& params = GetDefaultFontRenderParams(); in GetCairoFontOptions()
48 FontRenderParams::SubpixelRendering subpixel = params.subpixel_rendering; in GetCairoFontOptions()
51 } else if (subpixel == FontRenderParams::SUBPIXEL_RENDERING_NONE) { in GetCairoFontOptions()
57 if (subpixel == FontRenderParams::SUBPIXEL_RENDERING_RGB) in GetCairoFontOptions()
59 else if (subpixel == FontRenderParams::SUBPIXEL_RENDERING_BGR) in GetCairoFontOptions()
61 else if (subpixel == FontRenderParams::SUBPIXEL_RENDERING_VRGB) in GetCairoFontOptions()
63 else if (subpixel == FontRenderParams::SUBPIXEL_RENDERING_VBGR) in GetCairoFontOptions()
71 if (params.hinting == FontRenderParams::HINTING_NONE || in GetCairoFontOptions()
79 if (params.hinting == FontRenderParams::HINTING_SLIGHT) in GetCairoFontOptions()
81 else if (params.hinting == FontRenderParams::HINTING_MEDIUM) in GetCairoFontOptions()
[all …]
Dfont_render_params_linux.h13 struct GFX_EXPORT FontRenderParams { struct
57 GFX_EXPORT const FontRenderParams& GetDefaultFontRenderParams(); argument
60 GFX_EXPORT const FontRenderParams& GetDefaultWebKitFontRenderParams();
Drender_text_pango.cc393 const gfx::FontRenderParams& render_params = in DrawVisualText()
397 gfx::FontRenderParams::SUBPIXEL_RENDERING_NONE; in DrawVisualText()
/external/chromium_org/chrome/browser/
Drenderer_preferences_util.cc38 gfx::FontRenderParams::Hinting hinting) { in GetRendererPreferencesHintingEnum()
40 case gfx::FontRenderParams::HINTING_NONE: in GetRendererPreferencesHintingEnum()
42 case gfx::FontRenderParams::HINTING_SLIGHT: in GetRendererPreferencesHintingEnum()
44 case gfx::FontRenderParams::HINTING_MEDIUM: in GetRendererPreferencesHintingEnum()
46 case gfx::FontRenderParams::HINTING_FULL: in GetRendererPreferencesHintingEnum()
56 gfx::FontRenderParams::SubpixelRendering subpixel_rendering) { in GetRendererPreferencesSubpixelRenderingEnum()
58 case gfx::FontRenderParams::SUBPIXEL_RENDERING_NONE: in GetRendererPreferencesSubpixelRenderingEnum()
60 case gfx::FontRenderParams::SUBPIXEL_RENDERING_RGB: in GetRendererPreferencesSubpixelRenderingEnum()
62 case gfx::FontRenderParams::SUBPIXEL_RENDERING_BGR: in GetRendererPreferencesSubpixelRenderingEnum()
64 case gfx::FontRenderParams::SUBPIXEL_RENDERING_VRGB: in GetRendererPreferencesSubpixelRenderingEnum()
[all …]
/external/chromium_org/android_webview/native/
Daw_contents.cc124 gfx::FontRenderParams::Hinting hinting) { in GetRendererPreferencesHintingEnum()
126 case gfx::FontRenderParams::HINTING_NONE: in GetRendererPreferencesHintingEnum()
128 case gfx::FontRenderParams::HINTING_SLIGHT: in GetRendererPreferencesHintingEnum()
130 case gfx::FontRenderParams::HINTING_MEDIUM: in GetRendererPreferencesHintingEnum()
132 case gfx::FontRenderParams::HINTING_FULL: in GetRendererPreferencesHintingEnum()
143 gfx::FontRenderParams::SubpixelRendering subpixel_rendering) { in GetRendererPreferencesSubpixelRenderingEnum()
145 case gfx::FontRenderParams::SUBPIXEL_RENDERING_NONE: in GetRendererPreferencesSubpixelRenderingEnum()
147 case gfx::FontRenderParams::SUBPIXEL_RENDERING_RGB: in GetRendererPreferencesSubpixelRenderingEnum()
149 case gfx::FontRenderParams::SUBPIXEL_RENDERING_BGR: in GetRendererPreferencesSubpixelRenderingEnum()
151 case gfx::FontRenderParams::SUBPIXEL_RENDERING_VRGB: in GetRendererPreferencesSubpixelRenderingEnum()
[all …]