/external/skia/gm/ |
H A D | arcofzorro.cpp | 34 SkRect rect = SkRect::MakeXYWH(10, 10, 200, 200); variable 50 canvas->drawArc(rect, 0, arc, false, p);
|
/external/skia/src/animator/ |
H A D | SkBoundable.cpp | 25 void SkBoundable::getBounds(SkRect* rect) { argument 26 SkASSERT(rect); 28 INHERITED::getBounds(rect); 31 rect->fLeft = SkIntToScalar(fBounds.fLeft); 32 rect->fTop = SkIntToScalar(fBounds.fTop); 33 rect->fRight = SkIntToScalar(fBounds.fRight); 34 rect->fBottom = SkIntToScalar(fBounds.fBottom);
|
/external/skia/src/core/ |
H A D | SkValidationUtils.h | 32 /** Returns true if the rect's dimensions are between 0 and SK_MaxS32 34 static inline bool SkIsValidIRect(const SkIRect& rect) { argument 35 return rect.width() >= 0 && rect.height() >= 0; 38 /** Returns true if the rect's dimensions are between 0 and SK_ScalarMax 40 static inline bool SkIsValidRect(const SkRect& rect) { argument 41 return (rect.fLeft <= rect.fRight) && 42 (rect.fTop <= rect [all...] |
/external/chromium/webkit/glue/ |
H A D | webthemeengine_impl_linux.cc | 18 static gfx::Rect WebRectToRect(const WebRect& rect) { argument 19 return gfx::Rect(rect.x, rect.y, rect.width, rect.height); 170 const WebKit::WebRect& rect, 179 WebRectToRect(rect), 166 paint( WebKit::WebCanvas* canvas, WebKit::WebThemeEngine::Part part, WebKit::WebThemeEngine::State state, const WebKit::WebRect& rect, const WebKit::WebThemeEngine::ExtraParams* extra_params) argument
|
/external/chromium_org/ash/accelerators/ |
H A D | debug_commands.cc | 19 gfx::ImageSkia CreateWallpaperImage(SkColor fill, SkColor rect) { argument 27 paint.setColor(rect);
|
/external/chromium_org/ash/wm/ |
H A D | coordinate_conversion.cc | 12 #include "ui/gfx/rect.h" 28 aura::Window* GetRootWindowMatching(const gfx::Rect& rect) { argument 29 const gfx::Display& display = Shell::GetScreen()->GetDisplayMatching(rect);
|
/external/chromium_org/cc/base/ |
H A D | invalidation_region.cc | 29 void InvalidationRegion::Union(gfx::Rect rect) { argument 30 region_.Union(rect);
|
/external/chromium_org/cc/test/ |
H A D | fake_picture_layer_tiling_client.cc | 32 gfx::Rect rect) { 36 pile_.get(), tile_size_, rect, gfx::Rect(), 1, 0, 0, Tile::USE_LCD_TEXT); 30 CreateTile( PictureLayerTiling*, gfx::Rect rect) argument
|
H A D | layer_test_common.cc | 13 #include "ui/gfx/rect.h" 36 gfx::Rect rect) { 37 Region remaining = rect; 42 MathUtil::MapClippedRect(quad->quadTransform(), gfx::RectF(quad->rect)); 45 // rounding will not round the rect incorrectly. 50 EXPECT_TRUE(rect.Contains(quad_rect)) << quad_string << i; 35 VerifyQuadsExactlyCoverRect(const QuadList& quads, gfx::Rect rect) argument
|
/external/chromium_org/chrome/browser/extensions/api/system_display/ |
H A D | display_info_provider_win.cc | 24 LPRECT rect, 22 EnumMonitorCallback(HMONITOR monitor, HDC hdc, LPRECT rect, LPARAM data) argument
|
/external/chromium_org/chrome/browser/ui/views/download/ |
H A D | download_shelf_context_menu_view.cc | 25 const gfx::Rect& rect, 47 rect, 24 Run(views::Widget* parent_widget, const gfx::Rect& rect, ui::MenuSourceType source_type) argument
|
/external/chromium_org/content/browser/aura/ |
H A D | software_output_device_x11.cc | 75 gfx::Rect rect = damage_rect_; local 76 rect.Intersect(gfx::Rect(viewport_size_)); 77 if (rect.IsEmpty()) 82 rect.x(), rect.y(), 83 rect.x(), rect.y(), 84 rect.width(), rect.height());
|
/external/chromium_org/content/renderer/ |
H A D | render_view_impl_android.cc | 67 void RenderViewImpl::OnExtractSmartClipData(const gfx::Rect& rect) { argument 69 routing_id_, webview()->getSmartClipData(rect)));
|
/external/chromium_org/native_client_sdk/src/libraries/ppapi_simple/ |
H A D | ps_context_2d.cc | 53 struct PP_Rect rect; local 55 PSInterfaceView()->GetRect(event->as_resource, &rect); 58 ctx->width = rect.size.width; 59 ctx->height = rect.size.height; 63 PSInterfaceGraphics2D()->Create(PSGetInstanceId(), &rect.size,
|
/external/chromium_org/ppapi/cpp/dev/ |
H A D | widget_dev.cc | 12 #include "ppapi/cpp/rect.h" 35 bool Widget_Dev::Paint(const Rect& rect, ImageData* image) { argument 38 pp_resource(), &rect.pp_rect(), image->pp_resource())); 41 pp_resource(), &rect.pp_rect(), image->pp_resource()));
|
/external/chromium_org/ppapi/shared_impl/ |
H A D | ppb_view_shared.h | 24 PP_Rect rect; member in struct:ppapi::ViewData
|
/external/chromium_org/printing/ |
H A D | printed_document_win.cc | 28 void DrawRect(HDC context, gfx::Rect rect) { argument 29 Rectangle(context, rect.x(), rect.y(), rect.right(), rect.bottom());
|
/external/chromium_org/skia/ext/ |
H A D | bitmap_platform_device_mac_unittest.cc | 35 SkIRect rect; local 36 rect.set(0, 0, kWidth, kHeight); 37 clip_region.setRect(rect); 55 SkIRect rect; local 56 rect.set(0, 0, kWidth, kHeight); 57 clip_region.setRect(rect);
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
H A D | ClientRect.h | 42 static PassRefPtr<ClientRect> create(const IntRect& rect) { return adoptRef(new ClientRect(rect)); } argument 43 static PassRefPtr<ClientRect> create(const FloatRect& rect) { return adoptRef(new ClientRect(rect)); } argument
|
H A D | RenderedDocumentMarker.h | 52 static const LayoutRect rect = LayoutRect(-1, -1, -1, -1); local 53 return rect;
|
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
H A D | SmartClip.h | 45 SmartClipData(Node* node, IntRect rect, String string) argument 47 , m_rect(rect)
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
H A D | PagePopupClient.cpp | 101 void PagePopupClient::addProperty(const char* name, const IntRect& rect, DocumentWriter& writer) argument 105 addProperty("x", rect.x(), writer); 106 addProperty("y", rect.y(), writer); 107 addProperty("width", rect.width(), writer); 108 addProperty("height", rect.height(), writer);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
H A D | RenderSVGRect.cpp | 53 SVGRectElement* rect = toSVGRectElement(element()); local 54 ASSERT(rect); 56 SVGLengthContext lengthContext(rect); 57 // Fallback to RenderSVGShape if rect has rounded corners or a non-scaling stroke. 58 if (rect->rxCurrentValue().value(lengthContext) > 0 || rect->ryCurrentValue().value(lengthContext) > 0 || hasNonScalingStroke()) { 65 FloatSize boundingBoxSize(rect->widthCurrentValue().value(lengthContext), rect->heightCurrentValue().value(lengthContext)); 69 m_fillBoundingBox = FloatRect(FloatPoint(rect->xCurrentValue().value(lengthContext), rect [all...] |
/external/chromium_org/third_party/WebKit/Source/core/testing/ |
H A D | LayerRect.h | 47 static PassRefPtr<LayerRect> create(PassRefPtr<Node> node, const String& layerType, PassRefPtr<ClientRect> rect) argument 49 return adoptRef(new LayerRect(node, layerType, rect)); 57 LayerRect(PassRefPtr<Node> node, const String& layerName, PassRefPtr<ClientRect> rect) argument 60 , m_rect(rect)
|
/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
H A D | FloatRoundedRectTest.cpp | 47 void PrintTo(const FloatRect& rect, std::ostream* os) argument 50 << rect.x() << ", " 51 << rect.y() << ", " 52 << rect.width() << ", " 53 << rect.height() << ")"; 68 << ::testing::PrintToString(roundedRect.rect()) << ", " 89 EXPECT_EQ(FloatRect(1, 2, 3, 4), r.rect()); 103 TEST_INTERCEPTS(r, 2, r.rect().x(), r.rect().maxX()); 104 TEST_INTERCEPTS(r, 4, r.rect() [all...] |