Searched defs:rect (Results 101 - 125 of 829) sorted by relevance

1234567891011>>

/external/skia/gm/
H A Dpathinterior.cpp16 SkRect rect = r; local
17 rect.inset(r.width() / 8, r.height() / 8);
18 return rect;
40 SkRect rect; local
42 bool hasInterior = path.hasRectangularInterior(&rect);
56 canvas->drawRect(rect, paint);
63 const SkRect rect = { 0, 0, 80, 80 }; variable
64 const SkScalar RAD = rect.width()/8;
78 SkRect r = insetFirst ? inset(rect) : rect;
[all...]
H A Dstrokerect.cpp14 static void draw_path(SkCanvas* canvas, const SkPath& path, const SkRect& rect, argument
23 canvas->drawRect(rect, paint);
/external/chromium/chrome/browser/ui/views/bubble/
H A Dborder_contents.cc75 gfx::Rect BorderContents::GetMonitorBounds(const gfx::Rect& rect) { argument
78 return monitor_provider->GetMonitorWorkAreaMatching(rect);
/external/chromium/chrome/browser/ui/views/
H A Dkeyboard_overlay_delegate.cc53 gfx::Rect rect = views::Screen::GetMonitorAreaNearestWindow( local
55 const int width = min(kBaseWidth, rect.width() - kHorizontalMargin);
/external/chromium/chrome/browser/ui/
H A Dwindow_sizer_linux.cc27 gfx::Rect rect; local
28 if (GetScreenWorkArea(&rect))
29 return rect.Intersect(GetPrimaryMonitorBounds());
37 GdkRectangle rect; local
38 gdk_screen_get_monitor_geometry(screen, 0, &rect);
39 return gfx::Rect(rect);
/external/chromium_org/ash/shell/
H A Dpanel_window.cc26 views::Widget* PanelWindow::CreatePanelWindow(const gfx::Rect& rect) { argument
28 panel_window->params().bounds = rect;
/external/chromium_org/ash/system/tray/
H A Dactionable_view.cc26 gfx::Rect rect = bounds; local
27 rect.Inset(1, 1, 3, 3);
28 canvas->DrawRect(rect, kFocusBorderColor);
/external/chromium_org/cc/base/
H A Dregion.cc17 Region::Region(gfx::Rect rect) argument
18 : skregion_(gfx::RectToSkIRect(rect)) {
24 const Region& Region::operator=(gfx::Rect rect) { argument
25 skregion_ = SkRegion(gfx::RectToSkIRect(rect));
54 bool Region::Contains(gfx::Rect rect) const {
55 if (rect.IsEmpty())
57 return skregion_.contains(gfx::RectToSkIRect(rect));
66 bool Region::Intersects(gfx::Rect rect) const {
67 return skregion_.intersects(gfx::RectToSkIRect(rect));
74 void Region::Subtract(gfx::Rect rect) { argument
82 Union(gfx::Rect rect) argument
90 Intersect(gfx::Rect rect) argument
[all...]
H A Dregion.h14 #include "ui/gfx/rect.h"
27 Region(gfx::Rect rect); // NOLINT(runtime/explicit)
30 const Region& operator=(gfx::Rect rect);
39 bool Contains(gfx::Rect rect) const;
42 bool Intersects(gfx::Rect rect) const;
45 void Subtract(gfx::Rect rect);
47 void Union(gfx::Rect rect);
49 void Intersect(gfx::Rect rect);
69 gfx::Rect rect() const { function in class:cc::Region::Iterator
70 return gfx::SkIRectToRect(it_.rect());
[all...]
/external/chromium_org/cc/debug/
H A Ddebug_rect_history.h12 #include "ui/gfx/rect.h"
60 : type(new_type), rect(new_rect) {}
63 gfx::RectF rect; member in struct:cc::DebugRect
/external/chromium_org/cc/layers/
H A Dpicture_layer.cc86 gfx::Rect rect = gfx::ToEnclosedRect(layer_rect); local
87 if (!rect.IsEmpty()) {
89 rect.Intersect(gfx::Rect(bounds()));
90 pending_invalidation_.Union(rect);
/external/chromium_org/cc/quads/
H A Ddraw_quad.cc39 gfx::Rect rect,
44 this->rect = rect;
103 value->Set("content_space_rect", MathUtil::AsValue(rect).release());
107 gfx::QuadF(rect),
37 SetAll(const SharedQuadState* shared_quad_state, Material material, gfx::Rect rect, gfx::Rect opaque_rect, gfx::Rect visible_rect, bool needs_blending) argument
H A Dpicture_draw_quad.cc23 gfx::Rect rect,
33 rect, opaque_rect, tex_coord_rect, texture_size,
42 gfx::Rect rect,
54 DrawQuad::PICTURE_CONTENT, rect, opaque_rect,
22 SetNew(const SharedQuadState* shared_quad_state, gfx::Rect rect, gfx::Rect opaque_rect, const gfx::RectF& tex_coord_rect, gfx::Size texture_size, bool swizzle_contents, gfx::Rect content_rect, float contents_scale, bool can_draw_direct_to_backbuffer, scoped_refptr<PicturePileImpl> picture_pile) argument
41 SetAll(const SharedQuadState* shared_quad_state, gfx::Rect rect, gfx::Rect opaque_rect, gfx::Rect visible_rect, bool needs_blending, const gfx::RectF& tex_coord_rect, gfx::Size texture_size, bool swizzle_contents, gfx::Rect content_rect, float contents_scale, bool can_draw_direct_to_backbuffer, scoped_refptr<PicturePileImpl> picture_pile) argument
H A Drender_pass_draw_quad.cc38 gfx::Rect rect,
51 gfx::Rect visible_rect = rect;
53 SetAll(shared_quad_state, rect, opaque_rect, visible_rect, needs_blending,
61 gfx::Rect rect,
76 DrawQuad::SetAll(shared_quad_state, DrawQuad::RENDER_PASS, rect, opaque_rect,
36 SetNew( const SharedQuadState* shared_quad_state, gfx::Rect rect, RenderPass::Id render_pass_id, bool is_replica, ResourceProvider::ResourceId mask_resource_id, gfx::Rect contents_changed_since_last_frame, gfx::RectF mask_uv_rect, const FilterOperations& filters, skia::RefPtr<SkImageFilter> filter, const FilterOperations& background_filters) argument
59 SetAll( const SharedQuadState* shared_quad_state, gfx::Rect rect, gfx::Rect opaque_rect, gfx::Rect visible_rect, bool needs_blending, RenderPass::Id render_pass_id, bool is_replica, ResourceProvider::ResourceId mask_resource_id, gfx::Rect contents_changed_since_last_frame, gfx::RectF mask_uv_rect, const FilterOperations& filters, skia::RefPtr<SkImageFilter> filter, const FilterOperations& background_filters) argument
H A Dtile_draw_quad.cc25 gfx::Rect rect,
31 ContentDrawQuadBase::SetNew(shared_quad_state, DrawQuad::TILED_CONTENT, rect,
38 gfx::Rect rect,
46 ContentDrawQuadBase::SetAll(shared_quad_state, DrawQuad::TILED_CONTENT, rect,
24 SetNew(const SharedQuadState* shared_quad_state, gfx::Rect rect, gfx::Rect opaque_rect, unsigned resource_id, const gfx::RectF& tex_coord_rect, gfx::Size texture_size, bool swizzle_contents) argument
37 SetAll(const SharedQuadState* shared_quad_state, gfx::Rect rect, gfx::Rect opaque_rect, gfx::Rect visible_rect, bool needs_blending, unsigned resource_id, const gfx::RectF& tex_coord_rect, gfx::Size texture_size, bool swizzle_contents) argument
H A Dyuv_video_draw_quad.cc25 gfx::Rect rect,
32 gfx::Rect visible_rect = rect;
34 DrawQuad::SetAll(shared_quad_state, DrawQuad::YUV_VIDEO_CONTENT, rect,
44 gfx::Rect rect,
53 DrawQuad::SetAll(shared_quad_state, DrawQuad::YUV_VIDEO_CONTENT, rect,
24 SetNew(const SharedQuadState* shared_quad_state, gfx::Rect rect, gfx::Rect opaque_rect, gfx::SizeF tex_scale, unsigned y_plane_resource_id, unsigned u_plane_resource_id, unsigned v_plane_resource_id, unsigned a_plane_resource_id) argument
43 SetAll(const SharedQuadState* shared_quad_state, gfx::Rect rect, gfx::Rect opaque_rect, gfx::Rect visible_rect, bool needs_blending, gfx::SizeF tex_scale, unsigned y_plane_resource_id, unsigned u_plane_resource_id, unsigned v_plane_resource_id, unsigned a_plane_resource_id) argument
/external/chromium_org/cc/test/
H A Dfake_picture_layer_tiling_client.h13 #include "ui/gfx/rect.h"
24 PictureLayerTiling* tiling, gfx::Rect rect) OVERRIDE;
39 void set_text_rect(gfx::Rect rect) { text_rect_ = rect; } argument
H A Drender_pass_test_utils.cc15 #include "ui/gfx/rect.h"
31 gfx::Rect rect,
37 shared_state->SetAll(gfx::Transform(), rect.size(), rect, rect, false, 1); local
39 quad->SetNew(shared_state, rect, color, false);
46 gfx::Rect rect,
52 shared_state->SetAll(gfx::Transform(), rect.size(), rect, rect, tru local
30 AddQuad(TestRenderPass* pass, gfx::Rect rect, SkColor color) argument
45 AddClippedQuad(TestRenderPass* pass, gfx::Rect rect, SkColor color) argument
60 AddTransformedQuad(TestRenderPass* pass, gfx::Rect rect, SkColor color, const gfx::Transform& transform) argument
[all...]
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
H A DChromeWebContentsDelegateAndroid.java56 FindMatchRectsDetails findMatchRectsDetails, int index, RectF rect) {
57 findMatchRectsDetails.rects[index] = rect;
55 setMatchRectByIndex( FindMatchRectsDetails findMatchRectsDetails, int index, RectF rect) argument
/external/chromium_org/chrome/browser/ui/gtk/
H A Dfirst_run_bubble.cc31 const gfx::Rect& rect) {
34 new FirstRunBubble(browser, anchor, rect);
43 const gfx::Rect& rect)
75 &rect,
29 Show(Browser* browser, GtkWidget* anchor, const gfx::Rect& rect) argument
41 FirstRunBubble(Browser* browser, GtkWidget* anchor, const gfx::Rect& rect) argument
/external/chromium_org/chrome/browser/ui/panels/
H A Ddisplay_settings_provider_win.cc33 RECT rect = primary_work_area.ToRECT(); local
34 monitor_ = ::MonitorFromRect(&rect, MONITOR_DEFAULTTOPRIMARY);
78 RECT rect;
79 if (!::GetWindowRect(taskbar_window, &rect))
81 return gfx::Rect(rect);
/external/chromium_org/chrome_frame/infobars/internal/
H A Dinfobar_window.cc94 void InfobarWindow::ReserveSpace(RECT* rect) { argument
95 DCHECK(rect);
97 if (rect == NULL || host_ == NULL)
100 current_width_ = rect->right - rect->left;
103 RECT infobar_rect = *rect;
107 infobar_rect.bottom = rect->top + current_height_;
108 rect->top = std::min(rect->bottom, infobar_rect.bottom);
111 infobar_rect.top = rect
[all...]
/external/chromium_org/content/browser/aura/
H A Dreflector_impl.cc107 void ReflectorImpl::OnPostSubBuffer(gfx::Rect rect) { argument
109 gl_helper_->CopyTextureSubImage(texture_id_, rect);
115 rect));
147 gfx::Rect rect) {
152 int y = size.height() - rect.y() - rect.height();
153 gfx::Rect new_rect(rect.x(), y, rect.width(), rect.height());
146 UpdateSubBufferOnMainThread(gfx::Size size, gfx::Rect rect) argument
H A Dsoftware_output_device_win.cc62 gfx::Rect rect = damage_rect_; local
63 rect.Intersect(gfx::Rect(viewport_size_));
64 if (rect.IsEmpty())
91 rect.x(), rect.y(),
92 rect.width(), rect.height(),
93 rect.x(), rect.y(),
94 rect
[all...]
/external/chromium_org/content/browser/renderer_host/
H A Dtest_backing_store.cc28 bool TestBackingStore::CopyFromBackingStore(const gfx::Rect& rect, argument

Completed in 386 milliseconds

1234567891011>>