Home
last modified time | relevance | path

Searched refs:display_rect (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/ui/gfx/
Dcanvas_skia.cc128 Rect display_rect = rect; in UpdateRenderText() local
129 display_rect.set_height(font_list.GetHeight()); in UpdateRenderText()
130 render_text->SetDisplayRect(display_rect); in UpdateRenderText()
330 const Rect& display_rect, in DrawStringRectWithHalo() argument
338 Size size(display_rect.width() + 2, display_rect.height() + 2); in DrawStringRectWithHalo()
348 Rect(1, 1, display_rect.width(), display_rect.height()), flags); in DrawStringRectWithHalo()
371 DrawImageInt(text_image, display_rect.x() - 1, display_rect.y() - 1); in DrawStringRectWithHalo()
379 const Rect& display_rect) { in DrawFadeTruncatingStringRect() argument
381 text, truncate_mode, font_list, color, display_rect, NO_ELLIPSIS); in DrawFadeTruncatingStringRect()
389 const Rect& display_rect, in DrawFadeTruncatingStringRectWithFlags() argument
[all …]
Dcanvas.h187 const Rect& display_rect,
358 const Rect& display_rect);
370 const Rect& display_rect);
378 const Rect& display_rect,
458 const Rect& display_rect);
464 const Rect& display_rect,
Dcanvas.cc491 const Rect& display_rect) { in DrawStringRect() argument
492 DrawStringRectWithFlags(text, font_list, color, display_rect, in DrawStringRect()
499 const Rect& display_rect, in DrawStringRectWithFlags() argument
501 DrawStringRectWithShadows(text, font_list, color, display_rect, 0, flags, in DrawStringRectWithFlags()
518 const Rect& display_rect) { in DrawStringInt() argument
519 DrawStringInt(text, font, color, display_rect.x(), display_rect.y(), in DrawStringInt()
520 display_rect.width(), display_rect.height()); in DrawStringInt()
Drender_text.cc53 int DetermineBaselineCenteringText(const Rect& display_rect, in DetermineBaselineCenteringText() argument
55 const int display_height = display_rect.height(); in DetermineBaselineCenteringText()
681 baseline_ = DetermineBaselineCenteringText(display_rect(), font_list()); in GetBaseline()
690 Rect clip_rect(display_rect()); in Draw()
925 Vector2d offset = display_rect().OffsetFromOrigin(); in GetLineOffset()
998 offset.set_x(display_rect().width() - width); in GetAlignmentOffset()
1019 const int display_width = display_rect().width(); in ApplyFadeEffects()
1039 Rect solid_part = display_rect(); in ApplyFadeEffects()
1053 Rect text_rect = display_rect(); in ApplyFadeEffects()
1060 renderer->SetShader(shader.get(), display_rect()); in ApplyFadeEffects()
Drender_text_unittest.cc1309 Rect display_rect(font_size); in TEST_F() local
1310 render_text->SetDisplayRect(display_rect); in TEST_F()
1316 display_rect.Inset(0, 0, -kEnlargementX, 0); in TEST_F()
1317 render_text->SetDisplayRect(display_rect); in TEST_F()
1335 const int kEnlargementY = display_rect.height(); in TEST_F()
1336 display_rect.Inset(0, 0, 0, -kEnlargementY); in TEST_F()
1337 render_text->SetDisplayRect(display_rect); in TEST_F()
1339 display_rect.Inset(0, 0, 0, -2 * kEnlargementY); in TEST_F()
1340 render_text->SetDisplayRect(display_rect); in TEST_F()
1358 Rect display_rect(font_size); in TEST_F() local
[all …]
Dcanvas_android.cc25 const Rect& display_rect, in DrawStringRectWithHalo() argument
Drender_text.h230 const Rect& display_rect() const { return display_rect_; } in display_rect() function
Drender_text_win.cc770 internal::LineBreaker line_breaker(display_rect().width() - 1, in EnsureLayout()
811 if (!display_rect().Intersects(Rect(PointAtOffsetFromOrigin(line_offset), in DrawVisualText()
831 if (!display_rect().Intersects(segment_bounds)) { in DrawVisualText()
/external/chromium_org/ash/wm/
Dbase_layout_manager.cc235 gfx::Rect display_rect = in AdjustWindowBoundsForWorkAreaChange() local
239 bounds.AdjustToFit(display_rect); in AdjustWindowBoundsForWorkAreaChange()
/external/chromium_org/cc/layers/
Dtiled_layer_impl.cc194 gfx::Rect display_rect = tile_rect; in AppendQuads() local
228 gfx::Vector2d display_offset = tile_rect.origin() - display_rect.origin(); in AppendQuads()
/external/chromium_org/ui/views/examples/
Dmultiline_example.cc50 const gfx::Rect old_rect = render_text_->display_rect(); in GetHeightForWidth()
/external/chromium_org/ui/views/controls/textfield/
Dnative_textfield_views.cc866 gfx::Rect display_rect(insets.left(), in OnBoundsChanged() local
870 GetRenderText()->SetDisplayRect(display_rect); in OnBoundsChanged()
1194 GetRenderText()->display_rect()); in PaintTextAndCursor()
Dnative_textfield_views_unittest.cc288 return textfield_view_->GetRenderText()->display_rect(); in GetDisplayRect()
/external/chromium_org/chrome/browser/ui/autofill/
Dautofill_dialog_controller_impl.cc1224 gfx::Rect display_rect(size); in GetGeneratedCardImage() local
1230 canvas.DrawRoundRect(display_rect, 8, paint); in GetGeneratedCardImage()
1232 display_rect.Inset(20, 0, 0, 0); in GetGeneratedCardImage()
1241 display_rect, 0, 0, shadows); in GetGeneratedCardImage()
1244 display_rect.Inset(0, size.height() / 2, 0, 0); in GetGeneratedCardImage()
1249 display_rect, 0, 0, shadows); in GetGeneratedCardImage()