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

1 2 3 4

  /packages/inputmethods/LatinIME/tools/dicttool/compat/android/graphics/
Rect.java 19 public class Rect {
  /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...]
  /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/dng_sdk/source/
dng_bad_pixels.h 152 const dng_rect & Rect (uint32 index) const
  /external/opencv3/modules/core/misc/java/src/java/
core+Rect.java 4 public class Rect {
8 public Rect(int x, int y, int width, int height) {
15 public Rect() {
19 public Rect(Point p1, Point p2) {
26 public Rect(Point p, Size s) {
30 public Rect(double[] vals) {
48 public Rect clone() {
49 return new Rect(x, y, width, height);
91 if (!(obj instanceof Rect)) return false;
92 Rect it = (Rect) obj
    [all...]
  /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 25 #include <android/rect.h>
29 class Rect : public ARect, public LightFlattenablePod<Rect>
34 static const Rect INVALID_RECT;
35 static const Rect EMPTY_RECT;
40 inline Rect() : Rect(INVALID_RECT) {}
43 inline Rect(T w, T h) {
45 ALOG(LOG_WARN, "Rect",
46 "Width %u too large for Rect class, clamping", w)
    [all...]
  /external/drm_hwcomposer/
separate_rects.h 28 struct Rect {
41 Rect() {
44 Rect(TFloat xx1, TFloat yy1, TFloat xx2, TFloat yy2)
49 Rect(const Rect<T> &rhs) {
55 Rect<TFloat> &operator=(const Rect<T> &rhs) {
61 bool operator==(const Rect &rhs) const {
146 Rect<TNum> rect; member in struct:separate_rects::RectSet
    [all...]
separate_rects.cpp 59 std::ostream &operator<<(std::ostream &os, const Rect<TNum> &rect) {
60 return os << rect.bounds[0] << ", " << rect.bounds[1] << ", "
61 << rect.bounds[2] << ", " << rect.bounds[3];
74 void separate_rects(const std::vector<Rect<TNum>> &in,
97 // A started rect is a rectangle whose left, top, bottom edge, and set of
110 const Rect<TNum> &rect = in[i] local
132 const Rect<TNum> &rect = in[h_evt.rect_id]; local
    [all...]
  /frameworks/base/libs/hwui/
Rect.h 42 class Rect {
55 inline Rect():
62 inline Rect(float left, float top, float right, float bottom):
69 inline Rect(float width, float height):
76 inline Rect(const SkRect& rect):
77 left(rect.fLeft),
78 top(rect.fTop),
79 right(rect.fRight),
80 bottom(rect.fBottom)
    [all...]
PathCache.h 114 Rect,
148 struct Rect {
151 } rect; member in union:android::uirenderer::PathDescription::Shape
  /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/v1/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...]
  /external/skia/experimental/SkV8Example/
Path2DBuilder.cpp 54 ADD_METHOD("rect", Rect);
168 SkRect rect = { local
175 path->fSkPath.addArc(rect, SkRadiansToDegrees(startAngle),
179 void Path2DBuilder::Rect(const v8::FunctionCallbackInfo<v8::Value>& args) {
191 SkRect rect = { local
198 path->fSkPath.addRect(rect);
217 SkRect rect = { local
224 path->fSkPath.addOval(rect, dir);
  /external/skia/gm/
dcshader.cpp 131 struct Rect : public Prim {
133 SkRect rect = SkRect::MakeXYWH(0, 0, 50, 50); variable
134 canvas->drawRect(rect, paint);
135 return rect;
219 fPrims.push_back(new Rect);
  /frameworks/av/include/media/stagefright/foundation/
AMessage.h 194 struct Rect {
208 Rect rectValue;
  /frameworks/base/graphics/java/android/graphics/
Rect.java 28 * Rect holds four integer coordinates for a rectangle. The rectangle is
34 * Note that the right and bottom coordinates are exclusive. This means a Rect
39 public final class Rect implements Parcelable {
48 * causing Rect to not be initializable with an ahead-of-time compilation
61 * Create a new empty Rect. All coordinates are initialized to 0.
63 public Rect() {}
75 public Rect(int left, int top, int right, int bottom) {
89 public Rect(Rect r) {
105 Rect r = (Rect) o
    [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 = nullptr,
132 void measureCachedGlyph(CachedGlyphInfo *glyph, int32_t x, int32_t y, Rect *bounds);
151 Font::Rect *bounds = nullptr,
154 void measureText(const char *text, uint32_t len, Font::Rect *bounds);
  /hardware/intel/img/hwcomposer/merrifield/common/base/
HwcLayerList.cpp 694 hwc_rect_t *Rect = &a->displayFrame;
696 mLayerSize = mLayerSize + ((Rect->right - Rect->left) * (Rect->bottom - Rect->top));
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/
gdiplustypes.h 153 typedef struct Rect {
160 Rect(): X(0), Y(0), Width(0), Height(0) {}
161 Rect(const Point& location, const Size& size):
164 Rect(INT x, INT y, INT width, INT height):
167 Rect* Clone() const {
168 return new Rect(X, Y, Width, Height);
176 BOOL Contains(const Rect& rect) const {
177 return X <= rect.X && Y <= rect.
    [all...]
  /external/pdfium/core/src/fxcodec/jbig2/
JBig2_Context.cpp     [all...]
  /external/opencv3/doc/pattern_tools/
svgfig.py 82 <rect x="1" y="1" width="2" height="2" />
83 <rect x="3" y="3" width="2" height="2" />
88 >>> svg = SVG("g", SVG("rect", x=1, y=1, width=2, height=2), \
89 ... SVG("rect", x=3, y=3, width=2, height=2), \
563 svg.prepend(SVG("rect", x=x, y=y, width=width, height=height, stroke="none", fill="cornsilk"))
564 svg.append(SVG("rect", x=x, y=y, width=width, height=height, stroke="black", fill="none"))
577 [0] <rect height=u'100' width=u'100' stroke=u'none' y=u'0' x=u'0' fill=u'yellow'
582 [0] <rect height=u'100' width=u'100' stroke=u'none' y=u'0' x=u'0' fill=u'yellow'
787 >>> fig = Fig(Line(0,0,1,1), Rect(0.2,0.2,0.8,0.8), trans="2*x, 2*y")
    [all...]
  /external/opencv3/modules/core/include/opencv2/core/
types.hpp 354 - \f$\texttt{rect} = \texttt{rect} \pm \texttt{point}\f$ (shifting a rectangle by a certain offset)
355 - \f$\texttt{rect} = \texttt{rect} \pm \texttt{size}\f$ (expanding or shrinking a rectangle by a
357 - rect += point, rect -= point, rect += size, rect -= size (augmenting operations)
358 - rect = rect1 & rect2 (rectangle intersection)
359 - rect = rect1 | rect2 (minimum area rectangle containing rect1 and rect2
    [all...]

Completed in 2533 milliseconds

1 2 3 4