Searched refs:Rect (Results 1 - 25 of 236) sorted by relevance

12345678910

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
H A DRectTest.java3 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
[all...]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
H A DShadowRectTest.java5 import android.graphics.Rect;
19 Rect r = new Rect(1, 2, 3, 4);
28 Rect existingRect = new Rect(1, 2, 3, 4);
29 Rect r = new Rect(existingRect);
38 Rect r = new Rect(0, 0, 10, 10);
44 Rect
[all...]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
H A DShadowViewRootImpl.java7 import android.graphics.Rect;
38 Rect frame = new Rect();
40 Rect zeroSizedRect = new Rect(0, 0, 0, 0);
48 ClassParameter.from(Rect.class, zeroSizedRect),
49 ClassParameter.from(Rect.class, zeroSizedRect),
54 ClassParameter.from(Rect.class, frame),
55 ClassParameter.from(Rect.class, zeroSizedRect),
56 ClassParameter.from(Rect
[all...]
H A DShadowTouchDelegate.java3 import android.graphics.Rect;
13 private Rect bounds;
17 public void __constructor__(Rect bounds, View delegateView) {
22 public Rect getBounds() {
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
H A DFontUtils.java20 import android.graphics.Rect;
41 public static Rect getPackedStringDimensions(String text, Paint paint) {
42 Rect size = new Rect();
55 public static Rect getStringDimensions(String text, Paint paint) {
56 Rect size = new Rect();
/external/libmojo/ui/gfx/geometry/
H A Drect.h36 class GFX_EXPORT Rect { class in namespace:gfx
38 constexpr Rect() = default;
39 constexpr Rect(int width, int height) : size_(width, height) {} function in class:gfx::Rect
40 constexpr Rect(int x, int y, int width, int height) function in class:gfx::Rect
43 constexpr explicit Rect(const Size& size) : size_(size) {} function in class:gfx::Rect
44 constexpr Rect(const Point& origin, const Size& size) function in class:gfx::Rect
50 explicit Rect(const RECT& r);
52 explicit Rect(const CGRect& r);
135 Insets InsetsFrom(const Rect& inner) const;
146 bool operator<(const Rect
[all...]
H A Drect.cc26 Rect::Rect(const RECT& r) function in class:gfx::Rect
31 Rect::Rect(const CGRect& r)
37 RECT Rect::ToRECT() const {
46 CGRect Rect::ToCGRect() const {
102 void Rect::SetByBounds(int left, int top, int right, int bottom) {
111 void Rect::Inset(const Insets& insets) {
115 void Rect::Inset(int left, int top, int right, int bottom) {
125 void Rect
[all...]
/external/libxcam/xcore/interface/
H A Dblender.h47 bool set_input_valid_area (const Rect &area, uint32_t index);
48 bool set_merge_window (const Rect &window);
49 virtual bool set_input_merge_area (const Rect &area, uint32_t index);
51 const Rect &get_merge_window () const {
55 const Rect &get_input_merge_area (uint32_t index) const {
58 const Rect &get_input_valid_area (uint32_t index) const {
80 uint32_t width0, uint32_t width1, uint32_t blend_width, Rect &out_window);
88 Rect _input_valid_area[XCAM_BLENDER_IMAGE_NUM];
89 Rect _merge_window; // for output buffer
92 Rect _input_merge_are
[all...]
/external/v4l2_codec2/vda/
H A Drect.h5 // Note: only necessary functions are ported from gfx::Rect
24 // Helper struct for rect to replace gfx::Rect usage from original code.
25 // Only partial functions of gfx::Rect is implemented here.
26 class Rect { class in namespace:media
28 Rect() : x_(0), y_(0), size_(0, 0) {} function in class:media::Rect
29 Rect(int width, int height) : x_(0), y_(0), size_(width, height) {} function in class:media::Rect
30 Rect(int x, int y, int width, int height) function in class:media::Rect
32 explicit Rect(const Size& size) : x_(0), y_(0), size_(size) {} function in class:media::Rect
66 bool Contains(const Rect& rect) const {
82 inline bool operator==(const Rect
[all...]
/external/skia/tools/lua/
H A Dskia.lua20 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)
35 setmetatable(rect, Sk.Rect)
39 function Sk.Rect:width()
43 function Sk.Rect:height()
47 function Sk.Rect:isEmpty()
51 function Sk.Rect:isFinite()
59 function Sk.Rect
[all...]
/external/skqp/tools/lua/
H A Dskia.lua20 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)
35 setmetatable(rect, Sk.Rect)
39 function Sk.Rect:width()
43 function Sk.Rect:height()
47 function Sk.Rect:isEmpty()
51 function Sk.Rect:isFinite()
59 function Sk.Rect
[all...]
/external/swiftshader/src/Main/
H A DFrameBufferGDI.hpp30 void blit(sw::Surface *source, const Rect *sourceRect, const Rect *destRect) override;
33 void blit(HWND windowOverride, sw::Surface *source, const Rect *sourceRect, const Rect *destRect) override;
H A DFrameBufferWin.hpp37 void blit(sw::Surface *source, const Rect *sourceRect, const Rect *destRect) override = 0;
40 virtual void blit(HWND windowOverride, sw::Surface *source, const Rect *sourceRect, const Rect *destRect) = 0;
H A DFrameBufferOzone.hpp30 void blit(sw::Surface *source, const Rect *sourceRect, const Rect *destRect) override;
H A DFrameBufferAndroid.hpp34 void blit(sw::Surface *source, const Rect *sourceRect, const Rect *destRect) override;
/external/skia/experimental/sksg/geometry/
H A DSkSGRect.h24 class Rect final : public GeometryNode {
26 static sk_sp<Rect> Make() { return sk_sp<Rect>(new Rect(SkRect::MakeEmpty())); }
27 static sk_sp<Rect> Make(const SkRect& r) { return sk_sp<Rect>(new Rect(r)); }
42 explicit Rect(const SkRect&);
H A DSkSGRect.cpp16 Rect::Rect(const SkRect& rect) : fRect(rect) {} function in class:sksg::Rect
18 void Rect::onClip(SkCanvas* canvas, bool antiAlias) const {
22 void Rect::onDraw(SkCanvas* canvas, const SkPaint& paint) const {
26 SkRect Rect::onRevalidate(InvalidationController*, const SkMatrix&) {
32 SkPath Rect::onAsPath() const {
/external/skqp/experimental/sksg/geometry/
H A DSkSGRect.h24 class Rect final : public GeometryNode {
26 static sk_sp<Rect> Make() { return sk_sp<Rect>(new Rect(SkRect::MakeEmpty())); }
27 static sk_sp<Rect> Make(const SkRect& r) { return sk_sp<Rect>(new Rect(r)); }
42 explicit Rect(const SkRect&);
H A DSkSGRect.cpp16 Rect::Rect(const SkRect& rect) : fRect(rect) {} function in class:sksg::Rect
18 void Rect::onClip(SkCanvas* canvas, bool antiAlias) const {
22 void Rect::onDraw(SkCanvas* canvas, const SkPaint& paint) const {
26 SkRect Rect::onRevalidate(InvalidationController*, const SkMatrix&) {
32 SkPath Rect::onAsPath() const {
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/decoder/
H A DImageRegionDecoder.java6 import android.graphics.Rect;
47 Bitmap decodeRegion(Rect sRect, int sampleSize);
/external/opencv/cvaux/src/
H A Dcvface.cpp138 CvRect Rect = *(CvRect*)lpCandidat; local
140 if (Rect.height > Rect.width)
144 long Size = Rect.width*Rect.height;
154 long x = Rect.x + cvRound(Rect.width/2);
155 long y = Rect.y + cvRound(Rect.height/2);
160 // if ( isPointInRect(cvPoint(Rect
319 CvRect Rect = *(CvRect*)m_lpIdealFace[i].GetContour(); local
327 ResizeRect(CvRect Rect,CvRect * lpRect,long lDir,long lD) argument
[all...]
/external/libxcam/modules/soft/
H A Dcv_capi_feature_match.h46 Rect &left_img_crop, Rect &right_img_crop, int dst_width);
56 bool get_crop_image (const SmartPtr<VideoBuffer> &buffer, const Rect &crop_rect,
70 void detect_and_match (CvArr* img_left, CvArr* img_right, Rect &crop_left, Rect &crop_right,
/external/drm_hwcomposer/
H A Dseparate_rects.cpp59 std::ostream &operator<<(std::ostream &os, const Rect<TNum> &rect) {
74 void separate_rects(const std::vector<Rect<TNum>> &in,
110 const Rect<TNum> &rect = in[i];
132 const Rect<TNum> &rect = in[h_evt.rect_id];
287 Rect<TNum> out_rect;
307 void separate_frects_64(const std::vector<Rect<float>> &in,
312 void separate_rects_64(const std::vector<Rect<int>> &in,
325 #define Rect Rect<TNum> macro
330 std::vector<Rect> i
[all...]
H A Dseparate_rects.h28 struct Rect { struct in namespace:separate_rects
41 Rect() { function in struct:separate_rects::Rect
44 Rect(TFloat xx1, TFloat yy1, TFloat xx2, TFloat yy2) function in struct:separate_rects::Rect
49 Rect(const Rect<T> &rhs) { function in struct:separate_rects::Rect
55 Rect<TFloat> &operator=(const Rect<T> &rhs) {
61 bool operator==(const Rect &rhs) const {
146 Rect<TNum> rect;
148 RectSet(const IdSet<TId> &i, const Rect<TNu
[all...]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowRect.java3 import android.graphics.Rect;
10 @Implements(Rect.class)
12 @RealObject Rect realRect;
21 public void __constructor__(Rect otherRect) {
29 public void set(Rect rect) {
59 Rect r = (Rect) obj;
67 sb.append("Rect(");
86 public boolean contains(Rect r) {
93 public static boolean intersects(Rect
[all...]

Completed in 1056 milliseconds

12345678910