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

1234567891011>>

/external/skia/src/images/
H A DSkPageFlipper.cpp45 void SkPageFlipper::inval(const SkIRect& rect) { argument
48 if (r.intersect(rect)) {
61 void SkPageFlipper::inval(const SkRect& rect, bool antialias) { argument
63 rect.round(&r);
/external/skia/tests/
H A DPathOpsDQuadTest.cpp59 SkRect rect = {135, 143, 250, 177}; local
61 rRect.setRectRadii(rect, radii);
H A DPathOpsDRectTest.cpp43 SkDRect rect, rect2; local
47 rect.setBounds(line);
48 REPORTER_ASSERT(reporter, rect.fLeft == SkTMin(line[0].fX, line[1].fX));
49 REPORTER_ASSERT(reporter, rect.fTop == SkTMin(line[0].fY, line[1].fY));
50 REPORTER_ASSERT(reporter, rect.fRight == SkTMax(line[0].fX, line[1].fX));
51 REPORTER_ASSERT(reporter, rect.fBottom == SkTMax(line[0].fY, line[1].fY));
58 REPORTER_ASSERT(reporter, rect.contains(line[0]));
59 REPORTER_ASSERT(reporter, rect.intersects(&rect2));
64 rect.setRawBounds(quad);
65 REPORTER_ASSERT(reporter, rect
[all...]
H A DReadWriteAlphaTest.cpp89 const SkRect rect = SkRect::MakeLTRB(-10, -10, X_SIZE + 10, Y_SIZE + 10); local
93 canvas.drawRect(rect, paint);
H A DRecordTest.cpp21 fArea += (int)(draw.rect.width() * draw.rect.height());
40 draw->rect.fRight *= 2;
41 draw->rect.fBottom *= 2;
56 SkRect rect = SkRect::MakeWH(10, 10); local
58 SkNEW_PLACEMENT_ARGS(record.append<SkRecords::DrawRect>(), SkRecords::DrawRect, (paint, rect));
/external/chromium_org/android_webview/native/
H A Dexternal_video_surface_container_impl.cc62 int player_id, const gfx::RectF& rect) {
68 static_cast<jfloat>(rect.x()),
69 static_cast<jfloat>(rect.y()),
70 static_cast<jfloat>(rect.x() + rect.width()),
71 static_cast<jfloat>(rect.y() + rect.height()));
61 OnExternalVideoSurfacePositionChanged( int player_id, const gfx::RectF& rect) argument
/external/chromium_org/cc/output/
H A Doverlay_strategy_single_on_top.cc41 gfx::RectF rect = draw_quad->rect; local
42 draw_quad->quadTransform().TransformRect(&rect);
46 gfx::RectF overlap_rect = overlap_iter->rect;
48 if (rect.Intersects(overlap_rect)) {
85 OverlayCandidate::GetOverlayRect(quad.quadTransform(), quad.rect);
/external/chromium_org/cc/quads/
H A Dcontent_draw_quad_base.cc23 const gfx::Rect& rect,
30 DrawQuad::SetAll(shared_quad_state, material, rect, opaque_rect,
39 const gfx::Rect& rect,
46 DrawQuad::SetAll(shared_quad_state, material, rect, opaque_rect,
21 SetNew(const SharedQuadState* shared_quad_state, DrawQuad::Material material, const gfx::Rect& rect, const gfx::Rect& opaque_rect, const gfx::Rect& visible_rect, const gfx::RectF& tex_coord_rect, const gfx::Size& texture_size, bool swizzle_contents) argument
37 SetAll(const SharedQuadState* shared_quad_state, DrawQuad::Material material, const gfx::Rect& rect, const gfx::Rect& opaque_rect, const gfx::Rect& visible_rect, bool needs_blending, const gfx::RectF& tex_coord_rect, const gfx::Size& texture_size, bool swizzle_contents) argument
H A Ddebug_border_draw_quad.cc19 const gfx::Rect& rect,
25 DrawQuad::SetAll(shared_quad_state, DrawQuad::DEBUG_BORDER, rect, opaque_rect,
32 const gfx::Rect& rect,
38 DrawQuad::SetAll(shared_quad_state, DrawQuad::DEBUG_BORDER, rect, opaque_rect,
18 SetNew(const SharedQuadState* shared_quad_state, const gfx::Rect& rect, const gfx::Rect& visible_rect, SkColor color, int width) argument
31 SetAll(const SharedQuadState* shared_quad_state, const gfx::Rect& rect, const gfx::Rect& opaque_rect, const gfx::Rect& visible_rect, bool needs_blending, SkColor color, int width) argument
H A Ddraw_quad.cc35 const gfx::Rect& rect,
39 DCHECK(rect.Contains(visible_rect)) << "rect: " << rect.ToString()
42 DCHECK(opaque_rect.IsEmpty() || rect.Contains(opaque_rect))
43 << "rect: " << rect.ToString() << "opaque_rect "
47 this->rect = rect;
65 MathUtil::AddToTracedValue(rect, valu
33 SetAll(const SharedQuadState* shared_quad_state, Material material, const gfx::Rect& rect, const gfx::Rect& opaque_rect, const gfx::Rect& visible_rect, bool needs_blending) argument
[all...]
H A Dio_surface_draw_quad.cc20 const gfx::Rect& rect,
27 DrawQuad::SetAll(shared_quad_state, DrawQuad::IO_SURFACE_CONTENT, rect,
35 const gfx::Rect& rect,
42 DrawQuad::SetAll(shared_quad_state, DrawQuad::IO_SURFACE_CONTENT, rect,
19 SetNew(const SharedQuadState* shared_quad_state, const gfx::Rect& rect, const gfx::Rect& opaque_rect, const gfx::Rect& visible_rect, const gfx::Size& io_surface_size, unsigned io_surface_resource_id, Orientation orientation) argument
34 SetAll(const SharedQuadState* shared_quad_state, const gfx::Rect& rect, const gfx::Rect& opaque_rect, const gfx::Rect& visible_rect, bool needs_blending, const gfx::Size& io_surface_size, unsigned io_surface_resource_id, Orientation orientation) argument
H A Dsolid_color_draw_quad.cc17 const gfx::Rect& rect,
21 gfx::Rect opaque_rect = SkColorGetA(color) == 255 ? rect : gfx::Rect();
23 DrawQuad::SetAll(shared_quad_state, DrawQuad::SOLID_COLOR, rect, opaque_rect,
30 const gfx::Rect& rect,
36 DrawQuad::SetAll(shared_quad_state, DrawQuad::SOLID_COLOR, rect, opaque_rect,
16 SetNew(const SharedQuadState* shared_quad_state, const gfx::Rect& rect, const gfx::Rect& visible_rect, SkColor color, bool force_anti_aliasing_off) argument
29 SetAll(const SharedQuadState* shared_quad_state, const gfx::Rect& rect, const gfx::Rect& opaque_rect, const gfx::Rect& visible_rect, bool needs_blending, SkColor color, bool force_anti_aliasing_off) argument
H A Dstream_video_draw_quad.cc17 const gfx::Rect& rect,
23 DrawQuad::SetAll(shared_quad_state, DrawQuad::STREAM_VIDEO_CONTENT, rect,
30 const gfx::Rect& rect,
36 DrawQuad::SetAll(shared_quad_state, DrawQuad::STREAM_VIDEO_CONTENT, rect,
16 SetNew(const SharedQuadState* shared_quad_state, const gfx::Rect& rect, const gfx::Rect& opaque_rect, const gfx::Rect& visible_rect, unsigned resource_id, const gfx::Transform& matrix) argument
29 SetAll(const SharedQuadState* shared_quad_state, const gfx::Rect& rect, const gfx::Rect& opaque_rect, const gfx::Rect& visible_rect, bool needs_blending, unsigned resource_id, const gfx::Transform& matrix) argument
/external/chromium_org/content/browser/compositor/
H A Dbuffer_queue.h14 #include "ui/gfx/rect.h"
49 const gfx::Rect& rect)
50 : texture(texture), image(image), damage(rect) {}
47 AllocatedSurface(unsigned int texture, unsigned int image, const gfx::Rect& rect) argument
H A Dsoftware_output_device_x11.cc49 gfx::Rect rect = damage_rect_; local
50 rect.Intersect(gfx::Rect(viewport_pixel_size_));
51 if (rect.IsEmpty())
60 display_, compositor_->widget(), rect.width(), rect.height(), 32);
86 rect.x(),
87 rect.y() /* source x, y */,
90 rect.width(),
91 rect.height());
108 rect
[all...]
/external/chromium_org/content/child/
H A Dwebthemeengine_impl_default.cc174 const blink::WebRect& rect,
183 gfx::Rect(rect),
192 const blink::WebRect& rect) {
199 gfx::Rect(rect));
170 paint( blink::WebCanvas* canvas, WebThemeEngine::Part part, WebThemeEngine::State state, const blink::WebRect& rect, const WebThemeEngine::ExtraParams* extra_params) argument
187 paintStateTransition(blink::WebCanvas* canvas, WebThemeEngine::Part part, WebThemeEngine::State startState, WebThemeEngine::State endState, double progress, const blink::WebRect& rect) argument
/external/chromium_org/content/renderer/
H A Dexternal_popup_menu.cc32 blink::WebRect rect = bounds; local
34 rect.x *= origin_scale_for_emulation_;
35 rect.y *= origin_scale_for_emulation_;
37 rect.x += origin_offset_for_emulation_.x();
38 rect.y += origin_offset_for_emulation_.y();
41 popup_params.bounds = rect;
H A Drender_view_impl_android.cc67 void RenderViewImpl::OnExtractSmartClipData(const gfx::Rect& rect) { argument
71 webview()->extractSmartClipData(rect, clip_text, clip_html, clip_rect);
/external/chromium_org/content/renderer/pepper/
H A Dppb_widget_impl.cc32 PP_Bool PPB_Widget_Impl::Paint(const PP_Rect* rect, PP_Resource image_id) { argument
38 rect->point.x, rect->point.y, rect->size.width, rect->size.height),
/external/chromium_org/mojo/services/html_viewer/
H A Dwebthemeengine_impl.cc174 const blink::WebRect& rect,
183 gfx::Rect(rect),
192 const blink::WebRect& rect) {
199 gfx::Rect(rect));
170 paint( blink::WebCanvas* canvas, WebThemeEngine::Part part, WebThemeEngine::State state, const blink::WebRect& rect, const WebThemeEngine::ExtraParams* extra_params) argument
187 paintStateTransition(blink::WebCanvas* canvas, WebThemeEngine::Part part, WebThemeEngine::State startState, WebThemeEngine::State endState, double progress, const blink::WebRect& rect) argument
/external/chromium_org/pdf/
H A Dthumbnail_control.h51 pp::Rect rect; member in struct:chrome_pdf::ThumbnailControl::PageInfo
/external/chromium_org/ppapi/thunk/
H A Dppb_widget_dev_thunk.cc26 const struct PP_Rect* rect,
32 return enter.object()->Paint(rect, image);
25 Paint(PP_Resource widget, const struct PP_Rect* rect, PP_Resource image) argument
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DLayerFragment.h58 void intersect(const LayoutRect& rect) argument
60 backgroundRect.intersect(rect);
61 foregroundRect.intersect(rect);
62 outlineRect.intersect(rect);
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
H A DBoxShape.cpp39 FloatRect marginBounds(m_bounds.rect());
63 const FloatRect& rect = marginBounds.rect(); local
66 return LineSegment(marginBounds.rect().x(), marginBounds.rect().maxX());
72 return LineSegment(rect.x(), rect.maxX());
74 float x1 = rect.maxX();
75 float x2 = rect.x();
80 x1 = rect
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
H A DFEFlood.cpp90 SkImageFilter::CropRect rect = getCropRect(builder->cropOffset()); local
92 return adoptRef(SkColorFilterImageFilter::Create(cf, 0, &rect));

Completed in 557 milliseconds

1234567891011>>