HomeSort by relevance Sort by last modified time
    Searched defs:Rect (Results 1 - 25 of 49) sorted by null

1 2

  /external/skia/tools/lua/
skia.lua 20 Sk.Rect = { left = 0, top = 0, right = 0, bottom = 0 }
21 Sk.Rect.__index = Sk.Rect
23 function Sk.Rect.new(l, t, r, b)
24 local rect
27 rect = { left = l, top = t, right = r, bottom = b }
30 rect = { right = l, bottom = t }
33 rect = {}
35 setmetatable(rect, Sk.Rect)
    [all...]
  /external/chromium_org/chrome/browser/resources/file_manager/foreground/js/image_editor/
image_util.js 85 * new Rect(left, top, width, height)
86 * new Rect(width, height)
87 * new Rect(rect) // anything with left, top, width, height properties
88 * new Rect(bounds) // anything with left, top, right, bottom properties
89 * new Rect(canvas|image) // anything with width and height properties.
90 * new Rect() // empty rectangle.
93 function Rect() {
138 console.error('Invalid Rect constructor arguments:',
144 * @return {Rect} A rectangle with every dimension scaled
    [all...]
  /external/chromium_org/ui/gfx/
rect.h 25 typedef struct tagRECT RECT;
38 class GFX_EXPORT Rect
39 : public RectBase<Rect, Point, Size, Insets, Vector2d, int> {
41 Rect() : RectBase<Rect, Point, Size, Insets, Vector2d, int>(Point()) {}
43 Rect(int width, int height)
44 : RectBase<Rect, Point, Size, Insets, Vector2d, int>
47 Rect(int x, int y, int width, int height)
48 : RectBase<Rect, Point, Size, Insets, Vector2d, int>
52 explicit Rect(const RECT& r)
    [all...]
rect.cc 5 #include "ui/gfx/rect.h"
22 template class RectBase<Rect, Point, Size, Insets, Vector2d, int>;
24 typedef class RectBase<Rect, Point, Size, Insets, Vector2d, int> RectBaseT;
27 Rect::Rect(const RECT& r)
33 Rect::Rect(const CGRect& r)
39 Rect::Rect(const GdkRectangle& r
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/
HTMLAreaElement.h 61 enum Shape { Default, Poly, Rect, Circle, Unknown };
  /frameworks/base/media/mca/filterfw/native/core/
geometry.h 71 struct Rect {
74 Rect() {
79 Rect(float x, float y, float width, float height) {
  /sdk/testapps/basicProjectWithAidl/src/com/android/tests/basicprojectwithaidl/
Rect.java 6 public class Rect implements Parcelable {
12 public static final Parcelable.Creator<Rect> CREATOR = new Parcelable.Creator<Rect>() {
13 public Rect createFromParcel(Parcel in) {
14 return new Rect(in);
17 public Rect[] newArray(int size) {
18 return new Rect[size];
22 public Rect() {
25 private Rect(Parcel in) {
  /external/chromium_org/ppapi/cpp/
rect.h 19 class Rect {
22 /// The default constructor. Creates a <code>Rect</code> in the upper-left
24 Rect() {
32 /// converting the <code>PP_Rect</code> to a <code>Rect</code>. This is an
35 /// @param[in] rect A <code>PP_Rect</code>.
36 Rect(const PP_Rect& rect) { // Implicit.
37 set_x(rect.point.x);
38 set_y(rect.point.y);
39 set_width(rect.size.width)
    [all...]
  /external/chromium_org/third_party/WebKit/public/platform/
WebRect.h 41 #include <ui/gfx/rect.h>
93 WebRect(const gfx::Rect& r)
101 WebRect& operator=(const gfx::Rect& r)
110 operator gfx::Rect() const
112 return gfx::Rect(x, y, std::max(0, width), std::max(0, height));
  /external/chromium_org/third_party/WebKit/Source/core/css/
Rect.h 77 class Rect : public RectBase, public RefCounted<Rect> {
79 static PassRefPtr<Rect> create() { return adoptRef(new Rect); }
81 PassRefPtr<Rect> cloneForCSSOM() const { return adoptRef(new Rect(*this)); }
97 Rect() { }
98 Rect(const Rect& cloneFrom) : RectBase(cloneFrom), RefCounted<Rect>() { }
    [all...]
  /external/libffi/testsuite/libffi.call/
pyobjc-tc.c 20 typedef struct Rect {
23 } Rect;
25 int doit(int o, char* s, Point p, Rect r, int last)
63 rect_type.size = 0;/*sizeof(Rect);*/
64 rect_type.alignment =0;/* __alignof__(Rect);*/
92 Rect r = { { 9.0, 10.0}, { -1.0, -2.0 } };
  /frameworks/base/media/mca/filterpacks/native/base/
geometry.h 88 struct Rect {
91 Rect() {
96 Rect(float x, float y, float width, float height) {
  /frameworks/native/include/ui/
Rect.h 24 #include <android/rect.h>
28 class Rect : public ARect, public LightFlattenablePod<Rect>
36 inline Rect() {
39 inline Rect(int32_t w, int32_t h) {
45 inline Rect(int32_t l, int32_t t, int32_t r, int32_t b) {
52 inline Rect(const Point& lt, const Point& rb) {
70 // an empty rect has a zero width or height, or is invalid
85 inline Rect getBounds() const {
86 return Rect(right - left, bottom - top)
    [all...]
  /frameworks/av/include/media/stagefright/foundation/
AMessage.h 120 struct Rect {
134 Rect rectValue;
  /frameworks/base/libs/hwui/
Rect.h 37 class Rect {
50 inline Rect():
57 inline Rect(float left, float top, float right, float bottom):
64 inline Rect(float width, float height):
71 friend int operator==(const Rect& a, const Rect& b) {
75 friend int operator!=(const Rect& a, const Rect& b) {
100 inline void set(const Rect& r) {
116 bool intersects(const Rect& r) const
    [all...]
PathCache.h 134 struct Rect {
137 } rect; member in union:android::uirenderer::PathDescription::Shape
  /external/chromium_org/content/browser/devtools/
devtools_protocol_constants.h 20 namespace Rect {
25 } // Rect
devtools_protocol_constants.cc 19 namespace Rect {
24 } // Rect
  /external/opencv/cvaux/src/
cvface.cpp 93 //class RFace(rect based face)
120 inline bool RFace::isPointInRect(CvPoint p,CvRect rect)
122 if ( (p.x >= rect.x) && (p.y >= rect.y) && (p.x <= rect.x + rect.width) && (p.y <= rect.y + rect.height) )
126 }//inline bool RFace::isPointInRect(CvPoint,CvRect rect)
138 CvRect Rect = *(CvRect*)lpCandidat
305 CvRect rect = *(CvRect*)m_lppFoundedFaceFeatures[i][j].GetContour(); local
    [all...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
RectTest.java 3 import android.graphics.Rect;
20 Rect r = new Rect(1, 2, 3, 4);
29 Rect existingRect = new Rect(1, 2, 3, 4);
30 Rect r = new Rect(existingRect);
40 Rect r = new Rect(0, 0, 10, 10);
46 Rect r = new Rect(0, 0, 10, 10)
    [all...]
  /frameworks/base/graphics/java/android/graphics/
Rect.java 27 * Rect holds four integer coordinates for a rectangle. The rectangle is
33 public final class Rect implements Parcelable {
43 * Create a new empty Rect. All coordinates are initialized to 0.
45 public Rect() {}
57 public Rect(int left, int top, int right, int bottom) {
71 public Rect(Rect r) {
87 Rect r = (Rect) o;
103 sb.append("Rect("); sb.append(left); sb.append(", ")
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
RectTest.java 19 import android.graphics.Rect;
24 private Rect mRect;
35 // new the Rect instance
36 mRect = new Rect();
39 // new the Rect instance
40 mRect = new Rect(10, 10, 20, 20);
43 Rect rect = new Rect(10, 10, 20, 20); local
44 // new the Rect instanc
62 Rect rect = new Rect(1, 2, 3, 4); local
194 Rect rect; local
306 Rect rect; local
354 Rect rect; local
423 Rect rect = new Rect(1, 2, 3, 4); local
489 Rect rect; local
509 Rect rect = Rect.unflattenFromString(flattenString); local
    [all...]
  /frameworks/rs/
rsFont.h 52 struct Rect {
87 RenderMode mode = FRAMEBUFFER, Rect *bounds = NULL,
132 void measureCachedGlyph(CachedGlyphInfo *glyph, int32_t x, int32_t y, Rect *bounds);
151 Font::Rect *bounds = NULL,
154 void measureText(const char *text, uint32_t len, Font::Rect *bounds);
  /frameworks/av/include/media/stagefright/
MetaData.h 185 TYPE_RECT = 'rect',
261 struct Rect {
  /frameworks/native/opengl/libagl/
egl.cpp 251 struct Rect {
252 inline Rect() { };
253 inline Rect(int32_t w, int32_t h)
255 inline Rect(int32_t l, int32_t t, int32_t r, int32_t b)
257 Rect& andSelf(const Rect& r) {
280 typedef Rect const* const_iterator;
283 static Region subtract(const Rect& lhs, const Rect& rhs) {
285 Rect* storage = reg.storage
    [all...]

Completed in 787 milliseconds

1 2