Home
last modified time | relevance | path

Searched refs:Rect (Results 1 – 25 of 383) sorted by relevance

12345678910>>...16

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowRectTest.java5 import android.graphics.Rect;
19 Rect r = new Rect(1, 2, 3, 4); in constructorSetsCoordinates()
28 Rect existingRect = new Rect(1, 2, 3, 4); in secondConstructorSetsCoordinates()
29 Rect r = new Rect(existingRect); in secondConstructorSetsCoordinates()
38 Rect r = new Rect(0, 0, 10, 10); in width()
44 Rect r = new Rect(0, 0, 10, 10); in height()
50 Rect a = new Rect(1, 2, 3, 4); in doesntEqual()
51 Rect b = new Rect(2, 3, 4, 5); in doesntEqual()
57 Rect a = new Rect(1, 2, 3, 4); in equals()
58 Rect b = new Rect(1, 2, 3, 4); in equals()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowViewRootImpl.java8 import android.graphics.Rect;
41 Rect frame = new Rect(); in callDispatchResized()
43 Rect zeroSizedRect = new Rect(0, 0, 0, 0); in callDispatchResized()
51 ClassParameter.from(Rect.class, zeroSizedRect), in callDispatchResized()
52 ClassParameter.from(Rect.class, zeroSizedRect), in callDispatchResized()
57 ClassParameter.from(Rect.class, frame), in callDispatchResized()
58 ClassParameter.from(Rect.class, zeroSizedRect), in callDispatchResized()
59 ClassParameter.from(Rect.class, zeroSizedRect), in callDispatchResized()
64 ClassParameter.from(Rect.class, frame), in callDispatchResized()
65 ClassParameter.from(Rect.class, zeroSizedRect), in callDispatchResized()
[all …]
DShadowTouchDelegate.java3 import android.graphics.Rect;
13 private Rect bounds;
17 protected void __constructor__(Rect bounds, View delegateView) { in __constructor__()
22 public Rect getBounds() { in getBounds()
/external/libchrome/ui/gfx/geometry/
Drect.cc26 Rect::Rect(const RECT& r) in Rect() function in gfx::Rect
31 Rect::Rect(const CGRect& r)
37 RECT Rect::ToRECT() const { in ToRECT()
46 CGRect Rect::ToCGRect() const { in ToCGRect()
102 void Rect::SetByBounds(int left, int top, int right, int bottom) { in SetByBounds()
111 void Rect::Inset(const Insets& insets) { in Inset()
115 void Rect::Inset(int left, int top, int right, int bottom) { in Inset()
123 void Rect::Offset(int horizontal, int vertical) { in Offset()
130 void Rect::operator+=(const Vector2d& offset) { in operator +=()
137 void Rect::operator-=(const Vector2d& offset) { in operator -=()
[all …]
Drect.h36 class GFX_EXPORT Rect {
38 constexpr Rect() = default;
39 constexpr Rect(int width, int height) : size_(width, height) {} in Rect() function
40 constexpr Rect(int x, int y, int width, int height) in Rect() function
43 constexpr explicit Rect(const Size& size) : size_(size) {} in Rect() function
44 constexpr Rect(const Point& origin, const Size& size) in Rect() function
50 explicit Rect(const RECT& r);
52 explicit Rect(const CGRect& r);
137 Insets InsetsFrom(const Rect& inner) const;
148 bool operator<(const Rect& other) const;
[all …]
/external/skia/tools/lua/
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:setEmpty()
66 function Sk.Rect:set(l, t, r, b)
[all …]
/external/skqp/tools/lua/
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:setEmpty()
66 function Sk.Rect:set(l, t, r, b)
[all …]
/external/libxcam/xcore/interface/
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 { in get_merge_window()
55 const Rect &get_input_merge_area (uint32_t index) const { in get_input_merge_area()
58 const Rect &get_input_valid_area (uint32_t index) const { in get_input_valid_area()
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_area[XCAM_BLENDER_IMAGE_NUM];
Dstitcher.h56 Rect left;
57 Rect right;
108 Rect left;
109 Rect right;
110 Rect out_area;
115 Rect in_area;
116 Rect out_area;
/external/v4l2_codec2/vda/
Drect.h26 class Rect {
28 Rect() : x_(0), y_(0), size_(0, 0) {} in Rect() function
29 Rect(int width, int height) : x_(0), y_(0), size_(width, height) {} in Rect() function
30 Rect(int x, int y, int width, int height) in Rect() function
32 explicit Rect(const Size& size) : x_(0), y_(0), size_(size) {} in Rect() function
66 bool Contains(const Rect& rect) const { in Contains()
82 inline bool operator==(const Rect& lhs, const Rect& rhs) {
86 inline bool operator!=(const Rect& lhs, const Rect& rhs) {
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
DFontUtils.java20 import android.graphics.Rect;
41 public static Rect getPackedStringDimensions(String text, Paint paint) { in getPackedStringDimensions()
42 Rect size = new Rect(); in getPackedStringDimensions()
55 public static Rect getStringDimensions(String text, Paint paint) { in getStringDimensions()
56 Rect size = new Rect(); in getStringDimensions()
/external/zxing/qr_scanner/src/com/google/zxing/client/android/camera/
DCameraManager.java24 import android.graphics.Rect;
52 private Rect framingRect;
53 private Rect framingRectInPreview;
179 public Rect getFramingRect() { in getFramingRect()
199 framingRect = new Rect(leftOffset, topOffset, leftOffset + width, topOffset + height); in getFramingRect()
209 public Rect getFramingRectInPreview() { in getFramingRectInPreview()
211 Rect framingRect = getFramingRect(); in getFramingRectInPreview()
215 Rect rect = new Rect(framingRect); in getFramingRectInPreview()
248 framingRect = new Rect(leftOffset, topOffset, leftOffset + width, topOffset + height); in setManualFramingRect()
267 Rect rect = getFramingRectInPreview(); in buildLuminanceSource()
/external/skia/modules/sksg/src/
DSkSGRect.cpp16 Rect::Rect(const SkRect& rect) : fRect(rect) {} in Rect() function in sksg::Rect
18 void Rect::onClip(SkCanvas* canvas, bool antiAlias) const { in onClip()
22 void Rect::onDraw(SkCanvas* canvas, const SkPaint& paint) const { in onDraw()
26 bool Rect::onContains(const SkPoint& p) const { in onContains()
30 SkRect Rect::onRevalidate(InvalidationController*, const SkMatrix&) { in onRevalidate()
36 SkPath Rect::onAsPath() const { in onAsPath()
/external/skqp/modules/sksg/include/
DSkSGRect.h25 class Rect final : public GeometryNode {
27 static sk_sp<Rect> Make() { return sk_sp<Rect>(new Rect(SkRect::MakeEmpty())); } in Make()
28 static sk_sp<Rect> Make(const SkRect& r) { return sk_sp<Rect>(new Rect(r)); } in Make()
46 explicit Rect(const SkRect&);
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DGlitchAndCallbackHeatMapView.java24 import android.graphics.Rect;
129 Rect textBounds = new Rect(); in fillCanvas()
131 Rect titleArea = new Rect(0, OUTER_MARGIN, canvas.getWidth(), in fillCanvas()
134 Rect bottomLegendArea = new Rect(0, canvas.getHeight() - LABEL_SIZE - OUTER_MARGIN, in fillCanvas()
140 Rect callbackHeatArea = new Rect(0, 0, graphWidth, graphHeight); in fillCanvas()
143 Rect glitchHeatArea = new Rect(0, 0, graphWidth, graphHeight); in fillCanvas()
162 Rect graphArea = new Rect(callbackHeatArea); in fillCanvas()
190 new Rect(graphArea.left + LINE_WIDTH, graphArea.top, in fillCanvas()
194 new Rect(graphArea.left + LINE_WIDTH, graphArea.centerY(), in fillCanvas()
205 Rect legendArea = new Rect(graphArea); in fillCanvas()
[all …]
/external/skqp/modules/sksg/src/
DSkSGRect.cpp16 Rect::Rect(const SkRect& rect) : fRect(rect) {} in Rect() function in sksg::Rect
18 void Rect::onClip(SkCanvas* canvas, bool antiAlias) const { in onClip()
22 void Rect::onDraw(SkCanvas* canvas, const SkPaint& paint) const { in onDraw()
26 SkRect Rect::onRevalidate(InvalidationController*, const SkMatrix&) { in onRevalidate()
32 SkPath Rect::onAsPath() const { in onAsPath()
/external/skia/modules/sksg/include/
DSkSGRect.h25 class Rect final : public GeometryNode {
27 static sk_sp<Rect> Make() { return sk_sp<Rect>(new Rect(SkRect::MakeEmpty())); } in Make()
28 static sk_sp<Rect> Make(const SkRect& r) { return sk_sp<Rect>(new Rect(r)); } in Make()
47 explicit Rect(const SkRect&);
/external/swiftshader/src/OpenGL/libGLESv2/
DDevice.hpp69 void setScissorRect(const sw::Rect &rect);
78 …static void ClipDstRect(sw::RectF &srcRect, sw::Rect &dstRect, sw::Rect &clipRect, bool flipX = fa…
79 …static void ClipSrcRect(sw::RectF &srcRect, sw::Rect &dstRect, sw::Rect &clipRect, bool flipX = fa…
88 bool validRectangle(const sw::Rect *rect, sw::Surface *surface);
94 sw::Rect scissorRect;
/external/droiddriver/src/io/appium/droiddriver/uiautomation/
DUiAutomationElement.java24 import android.graphics.Rect;
58 private final Rect visibleBounds;
129 private Rect getBounds(AccessibilityNodeInfo node) { in getBounds()
130 Rect rect = new Rect(); in getBounds()
135 private Rect findVisibleBounds() { in findVisibleBounds()
137 return new Rect(); in findVisibleBounds()
139 Rect foundBounds = getBounds(); in findVisibleBounds()
143 return new Rect(); in findVisibleBounds()
151 public Rect getVisibleBounds() { in getVisibleBounds()
/external/pdfium/third_party/agg23/
Dagg_basics.h109 template<class Rect>
110 inline Rect intersect_rectangles(const Rect& r1, const Rect& r2) in intersect_rectangles()
112 Rect r = r1; in intersect_rectangles()
127 template<class Rect>
128 inline Rect unite_rectangles(const Rect& r1, const Rect& r2) in unite_rectangles()
130 Rect r = r1; in unite_rectangles()
/external/droiddriver/src/io/appium/droiddriver/instrumentation/
DViewElement.java22 import android.graphics.Rect;
47 private final Rect visibleBounds;
78 public Rect getVisibleBounds() { in getVisibleBounds()
122 Rect visibleBounds;
207 private Rect getBounds() { in getBounds()
208 Rect rect = new Rect(); in getBounds()
215 private Rect getVisibleBounds() { in getVisibleBounds()
216 Rect visibleBounds = new Rect(); in getVisibleBounds()
/external/libxcam/modules/soft/
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/libxcam/modules/ocl/
Dcv_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, cv::UMat &img);
69 …void detect_and_match (cv::InputArray img_left, cv::InputArray img_right, Rect &crop_left, Rect &c…
Dcv_feature_match.cpp33 …const SmartPtr<VideoBuffer> &buf, const Rect &rect, char *img_name, char *frame_str, char *fm_idx_…
45 const SmartPtr<VideoBuffer> &buffer, const Rect &crop_rect, cv::UMat &img) in get_crop_image()
58 img = umat (cv::Rect(crop_rect.pos_x, crop_rect.pos_y, crop_rect.width, crop_rect.height)); in get_crop_image()
137 image0.copyTo (umat (cv::Rect(0, 0, img0_size.width, img0_size.height))); in calc_of_match()
138 image1.copyTo (umat (cv::Rect(img0_size.width, 0, img1_size.width, img1_size.height))); in calc_of_match()
144 image0.copyTo (mat (cv::Rect(0, 0, img0_size.width, img0_size.height))); in calc_of_match()
145 image1.copyTo (mat (cv::Rect(img0_size.width, 0, img1_size.width, img1_size.height))); in calc_of_match()
183 cv::InputArray img_left, cv::InputArray img_right, Rect &crop_left, Rect &crop_right, in detect_and_match()
222 Rect &left_crop_rect, Rect &right_crop_rect, int dst_width) in optical_flow_feature_match()
269 …const SmartPtr<VideoBuffer> &buf, const Rect &rect, char *img_name, char *frame_str, char *fm_idx_… in debug_write_image()
/external/python/cpython2/Mac/Modules/app/
D_Appmodule.c313 Rect inRect; in App_DrawThemeWindowHeader()
334 Rect inRect; in App_DrawThemeWindowListViewHeader()
355 Rect inRect; in App_DrawThemePlacard()
376 Rect inRect; in App_DrawThemeEditTextFrame()
397 Rect inRect; in App_DrawThemeListBoxFrame()
418 Rect inRect; in App_DrawThemeFocusRect()
439 Rect inRect; in App_DrawThemePrimaryGroup()
460 Rect inRect; in App_DrawThemeSecondaryGroup()
481 Rect inRect; in App_DrawThemeSeparator()
502 Rect inRect; in App_DrawThemeModelessDialogFrame()
[all …]

12345678910>>...16