Home
last modified time | relevance | path

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

/external/chromium_org/ui/gfx/
Dcanvas_skia.cc315 const Rect& display_rect, in DrawStringRectWithHalo() argument
323 Size size(display_rect.width() + 2, display_rect.height() + 2); in DrawStringRectWithHalo()
333 Rect(1, 1, display_rect.width(), display_rect.height()), flags); in DrawStringRectWithHalo()
356 DrawImageInt(text_image, display_rect.x() - 1, display_rect.y() - 1); in DrawStringRectWithHalo()
362 const Rect& display_rect, in DrawFadedString() argument
365 if (GetStringWidth(text, font_list) <= display_rect.width()) { in DrawFadedString()
366 DrawStringRectWithFlags(text, font_list, color, display_rect, flags); in DrawFadedString()
387 Rect rect = display_rect; in DrawFadedString()
392 ClipRect(display_rect); in DrawFadedString()
Dcanvas_notimplemented.cc25 const Rect& display_rect, in DrawStringRectWithHalo() argument
43 const Rect& display_rect, in DrawFadedString() argument
Drender_text_unittest.cc1110 Rect display_rect(0, 0, content_width / 2, in TEST_F() local
1112 render_text->SetDisplayRect(display_rect); in TEST_F()
1117 EXPECT_EQ(display_rect.x(), render_text->GetUpdatedCursorBounds().x()); in TEST_F()
1121 display_rect.Inset(0, 0, -kEnlargement, 0); in TEST_F()
1122 render_text->SetDisplayRect(display_rect); in TEST_F()
1123 EXPECT_EQ(display_rect.x(), render_text->GetUpdatedCursorBounds().x()); in TEST_F()
1128 EXPECT_EQ(display_rect.right(), in TEST_F()
1133 display_rect.Inset(0, 0, -kEnlargement, 0); in TEST_F()
1134 render_text->SetDisplayRect(display_rect); in TEST_F()
1135 EXPECT_EQ(display_rect.right(), in TEST_F()
[all …]
Dcanvas.h173 const Rect& display_rect,
352 const Rect& display_rect);
360 const Rect& display_rect,
421 const Rect& display_rect,
Drender_text.cc59 int DetermineBaselineCenteringText(const Rect& display_rect, in DetermineBaselineCenteringText() argument
61 const int display_height = display_rect.height(); in DetermineBaselineCenteringText()
728 baseline_ = DetermineBaselineCenteringText(display_rect(), font_list()); in GetBaseline()
737 Rect clip_rect(display_rect()); in Draw()
995 Vector2d offset = display_rect().OffsetFromOrigin(); in GetLineOffset()
1076 offset.set_x(display_rect().width() - width); in GetAlignmentOffset()
1095 const int width = display_rect().width(); in ApplyFadeEffects()
1104 Rect solid_part = display_rect(); in ApplyFadeEffects()
1118 Rect text_rect = display_rect(); in ApplyFadeEffects()
Dcanvas.cc470 const Rect& display_rect) { in DrawStringRect() argument
471 DrawStringRectWithFlags(text, font_list, color, display_rect, in DrawStringRect()
478 const Rect& display_rect, in DrawStringRectWithFlags() argument
480 DrawStringRectWithShadows(text, font_list, color, display_rect, 0, flags, in DrawStringRectWithFlags()
Drender_text_pango.cc414 if (SkScalarTruncToInt(x) >= display_rect().right()) in DrawVisualText()
458 SkScalarTruncToInt(x) >= display_rect().right()) { in DrawVisualText()
483 SkScalarTruncToInt(x) < display_rect().right()); in DrawVisualText()
Drender_text_win.cc787 internal::LineBreaker line_breaker(display_rect().width() - 1, in EnsureLayout()
825 if (!display_rect().Intersects(Rect(PointAtOffsetFromOrigin(line_offset), in DrawVisualText()
845 if (!display_rect().Intersects(segment_bounds)) { in DrawVisualText()
Drender_text.h266 const Rect& display_rect() const { return display_rect_; } in display_rect() function
/external/chromium_org/content/browser/compositor/
Doverlay_candidate_validator_ozone.cc45 ozone_surface_list.at(i).display_rect = surfaces->at(i).display_rect; in CheckOverlaySupport()
/external/chromium_org/cc/output/
Doverlay_strategy_single_on_top.cc77 main_image.display_rect = root_render_pass->output_rect; in Attempt()
84 candidate.display_rect = in Attempt()
Doverlay_candidate.h34 gfx::Rect display_rect; variable
Doverlay_unittest.cc51 if (candidate.display_rect.width() == 64) in CheckOverlaySupport()
52 EXPECT_EQ(kOverlayBottomRightRect, candidate.display_rect); in CheckOverlaySupport()
54 EXPECT_EQ(kOverlayRect, candidate.display_rect); in CheckOverlaySupport()
Dgl_renderer.cc3207 overlay.display_rect, in ScheduleOverlays()
/external/chromium_org/ui/ozone/public/
Doverlay_candidates_ozone.h31 gfx::Rect display_rect; member
/external/chromium_org/cc/layers/
Dtiled_layer_impl.cc213 gfx::Rect display_rect = tile_rect; in AppendQuads() local
247 gfx::Vector2d display_offset = tile_rect.origin() - display_rect.origin(); in AppendQuads()
/external/chromium_org/ui/views/examples/
Dmultiline_example.cc78 const gfx::Rect old_rect = render_text_->display_rect(); in GetHeightForWidth()
/external/chromium_org/chrome/browser/ui/autofill/
Dautofill_dialog_controller_impl.cc1476 gfx::Rect display_rect(size); in GetGeneratedCardImage() local
1482 canvas.DrawRoundRect(display_rect, 8, paint); in GetGeneratedCardImage()
1484 display_rect.Inset(20, 0, 0, 0); in GetGeneratedCardImage()
1493 display_rect, 0, 0, shadows); in GetGeneratedCardImage()
1496 display_rect.Inset(0, size.height() / 2, 0, 0); in GetGeneratedCardImage()
1501 display_rect, 0, 0, shadows); in GetGeneratedCardImage()
/external/chromium_org/ui/views/controls/textfield/
Dtextfield.cc1634 placeholder_text_color(), render_text->display_rect()); in PaintTextAndCursor()
Dtextfield_unittest.cc294 return test_api_->GetRenderText()->display_rect(); in GetDisplayRect()