/external/chromium_org/ui/gfx/ |
D | canvas_skia.cc | 315 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()
|
D | canvas_notimplemented.cc | 25 const Rect& display_rect, in DrawStringRectWithHalo() argument 43 const Rect& display_rect, in DrawFadedString() argument
|
D | render_text_unittest.cc | 1110 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 …]
|
D | canvas.h | 173 const Rect& display_rect, 352 const Rect& display_rect); 360 const Rect& display_rect, 421 const Rect& display_rect,
|
D | render_text.cc | 59 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()
|
D | canvas.cc | 470 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()
|
D | render_text_pango.cc | 414 if (SkScalarTruncToInt(x) >= display_rect().right()) in DrawVisualText() 458 SkScalarTruncToInt(x) >= display_rect().right()) { in DrawVisualText() 483 SkScalarTruncToInt(x) < display_rect().right()); in DrawVisualText()
|
D | render_text_win.cc | 787 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()
|
D | render_text.h | 266 const Rect& display_rect() const { return display_rect_; } in display_rect() function
|
/external/chromium_org/content/browser/compositor/ |
D | overlay_candidate_validator_ozone.cc | 45 ozone_surface_list.at(i).display_rect = surfaces->at(i).display_rect; in CheckOverlaySupport()
|
/external/chromium_org/cc/output/ |
D | overlay_strategy_single_on_top.cc | 77 main_image.display_rect = root_render_pass->output_rect; in Attempt() 84 candidate.display_rect = in Attempt()
|
D | overlay_candidate.h | 34 gfx::Rect display_rect; variable
|
D | overlay_unittest.cc | 51 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()
|
D | gl_renderer.cc | 3207 overlay.display_rect, in ScheduleOverlays()
|
/external/chromium_org/ui/ozone/public/ |
D | overlay_candidates_ozone.h | 31 gfx::Rect display_rect; member
|
/external/chromium_org/cc/layers/ |
D | tiled_layer_impl.cc | 213 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/ |
D | multiline_example.cc | 78 const gfx::Rect old_rect = render_text_->display_rect(); in GetHeightForWidth()
|
/external/chromium_org/chrome/browser/ui/autofill/ |
D | autofill_dialog_controller_impl.cc | 1476 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/ |
D | textfield.cc | 1634 placeholder_text_color(), render_text->display_rect()); in PaintTextAndCursor()
|
D | textfield_unittest.cc | 294 return test_api_->GetRenderText()->display_rect(); in GetDisplayRect()
|