/external/chromium_org/ui/gfx/ |
D | canvas_skia.cc | 128 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 …]
|
D | canvas.h | 187 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,
|
D | canvas.cc | 491 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()
|
D | render_text.cc | 53 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()
|
D | render_text_unittest.cc | 1309 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 …]
|
D | canvas_android.cc | 25 const Rect& display_rect, in DrawStringRectWithHalo() argument
|
D | render_text.h | 230 const Rect& display_rect() const { return display_rect_; } in display_rect() function
|
D | render_text_win.cc | 770 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/ |
D | base_layout_manager.cc | 235 gfx::Rect display_rect = in AdjustWindowBoundsForWorkAreaChange() local 239 bounds.AdjustToFit(display_rect); in AdjustWindowBoundsForWorkAreaChange()
|
/external/chromium_org/cc/layers/ |
D | tiled_layer_impl.cc | 194 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/ |
D | multiline_example.cc | 50 const gfx::Rect old_rect = render_text_->display_rect(); in GetHeightForWidth()
|
/external/chromium_org/ui/views/controls/textfield/ |
D | native_textfield_views.cc | 866 gfx::Rect display_rect(insets.left(), in OnBoundsChanged() local 870 GetRenderText()->SetDisplayRect(display_rect); in OnBoundsChanged() 1194 GetRenderText()->display_rect()); in PaintTextAndCursor()
|
D | native_textfield_views_unittest.cc | 288 return textfield_view_->GetRenderText()->display_rect(); in GetDisplayRect()
|
/external/chromium_org/chrome/browser/ui/autofill/ |
D | autofill_dialog_controller_impl.cc | 1224 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()
|