/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | RectTest.java | 3 import android.graphics.Rect; 20 Rect r = new Rect(1, 2, 3, 4); in constructorSetsCoordinates() 29 Rect existingRect = new Rect(1, 2, 3, 4); in secondConstructorSetsCoordinates() 30 Rect r = new Rect(existingRect); in secondConstructorSetsCoordinates() 40 Rect r = new Rect(0, 0, 10, 10); in width() 46 Rect r = new Rect(0, 0, 10, 10); in height() 52 Rect a = new Rect(1, 2, 3, 4); in doesntEqual() 53 Rect b = new Rect(2, 3, 4, 5); in doesntEqual() 59 Rect a = new Rect(1, 2, 3, 4); in equals() 60 Rect b = new Rect(1, 2, 3, 4); in equals() [all …]
|
/external/opencv/cvaux/src/ |
D | cvface.cpp | 138 CvRect Rect = *(CvRect*)lpCandidat; in CheckElem() local 140 if (Rect.height > Rect.width) in CheckElem() 144 long Size = Rect.width*Rect.height; in CheckElem() 154 long x = Rect.x + cvRound(Rect.width/2); in CheckElem() 155 long y = Rect.y + cvRound(Rect.height/2); in CheckElem() 319 CvRect Rect = *(CvRect*)m_lpIdealFace[i].GetContour(); in ShowIdeal() local 320 CvPoint p1 = cvPoint(Rect.x,Rect.y); in ShowIdeal() 321 CvPoint p2 = cvPoint(Rect.x + Rect.width,Rect.y + Rect.height); in ShowIdeal() 327 inline void RFace::ResizeRect(CvRect Rect,CvRect * lpRect,long lDir,long lD) in ResizeRect() argument 331 lpRect->x = Rect.x - lD; in ResizeRect() [all …]
|
/external/drm_hwcomposer/ |
D | separate_rects.cpp | 59 std::ostream &operator<<(std::ostream &os, const Rect<TNum> &rect) { in operator <<() 74 void separate_rects(const std::vector<Rect<TNum>> &in, in separate_rects() 110 const Rect<TNum> &rect = in[i]; in separate_rects() 132 const Rect<TNum> &rect = in[h_evt.rect_id]; in separate_rects() 287 Rect<TNum> out_rect; in separate_rects() 307 void separate_frects_64(const std::vector<Rect<float>> &in, in separate_frects_64() 312 void separate_rects_64(const std::vector<Rect<int>> &in, in separate_rects_64() 325 #define Rect Rect<TNum> in main() macro 330 std::vector<Rect> in; in main() 370 expected_out.push_back(RectSet(IdSet(0), Rect(0, 0, 2, 5))); in main() [all …]
|
D | separate_rects.h | 28 struct Rect { struct 41 Rect() { in Rect() function 44 Rect(TFloat xx1, TFloat yy1, TFloat xx2, TFloat yy2) in Rect() argument 49 Rect(const Rect<T> &rhs) { in Rect() function 55 Rect<TFloat> &operator=(const Rect<T> &rhs) { 61 bool operator==(const Rect &rhs) const { argument 146 Rect<TNum> rect; 148 RectSet(const IdSet<TId> &i, const Rect<TNum> &r) : id_set(i), rect(r) { in RectSet() 162 void separate_frects_64(const std::vector<Rect<float>> &in, 164 void separate_rects_64(const std::vector<Rect<int>> &in,
|
/external/skia/tools/lua/ |
D | 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) 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/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowRect.java | 3 import android.graphics.Rect; 10 @Implements(Rect.class) 12 @RealObject Rect realRect; 21 public void __constructor__(Rect otherRect) { in __constructor__() 29 public void set(Rect rect) { in set() 59 Rect r = (Rect) obj; in equals() 86 public boolean contains(Rect r) { in contains() 93 public static boolean intersects(Rect a, Rect b) { in intersects() 99 public boolean intersect(Rect r) { in intersect() 105 return intersect(new Rect(left, top, right, bottom)); in intersect()
|
D | ShadowDrawable.java | 6 import android.graphics.Rect; 30 private Rect bounds = new Rect(0, 0, 0, 0); 75 public final Rect getBounds() { in getBounds() 80 public void setBounds(Rect rect) { in setBounds() 86 bounds = new Rect(left, top, right, bottom); in setBounds() 90 public Rect copyBounds() { in copyBounds() 91 Rect bounds = new Rect(); in copyBounds() 97 public void copyBounds(Rect bounds) { in copyBounds()
|
D | ShadowSurfaceView.java | 4 import android.graphics.Rect; 46 @Override public Canvas lockCanvas(Rect rect) { in getHolder() 53 @Override public Rect getSurfaceFrame() { in getHolder()
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/ |
D | FontUtils.java | 20 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/ |
D | CameraManager.java | 24 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/droiddriver/src/io/appium/droiddriver/uiautomation/ |
D | UiAutomationElement.java | 24 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/ |
D | agg_basics.h | 109 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/ |
D | ViewElement.java | 22 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/pdfium/testing/resources/ |
D | annotiter.in | 79 /Rect [100 100 500 500] 94 /Rect [200 200 220 220] 103 /Rect [401 401 421 421] 112 /Rect [201 400 221 420] 121 /Rect [400 201 420 221]
|
/external/webrtc/webrtc/modules/video_render/mac/ |
D | video_render_agl.h | 122 int GetWindowRect(Rect& rect); 158 Rect _currentParentWindowBounds; 160 Rect _lastParentWindowBounds; 161 Rect _currentHIViewBounds; 162 Rect _lastHIViewBounds; 163 Rect _windowRect;
|
/external/pdfium/testing/resources/javascript/ |
D | bug_494057.in | 38 /Rect [100 100 400 400] 53 /Rect [200 200 220 220] 62 /Rect [220 220 240 240] 71 /Rect [240 240 260 260] 80 /Rect [260 260 280 280]
|
D | bug_679643.in | 47 /Rect [100 100 400 400] 58 /Rect [200 200 220 220] 65 /Rect [220 220 240 240] 72 /Rect [240 240 260 260] 79 /Rect [240 240 260 260]
|
D | bug_679642.in | 47 /Rect [100 100 400 400] 58 /Rect [200 200 220 220] 65 /Rect [220 220 240 240] 72 /Rect [240 240 260 260] 79 /Rect [240 240 260 260]
|
D | field.in | 38 /Rect [100 100 400 400] 53 /Rect [200 200 220 220] 62 /Rect [220 220 240 240] 71 /Rect [240 240 260 260] 80 /Rect [260 260 280 280]
|
/external/swiftshader/src/Main/ |
D | FrameBufferGDI.hpp | 30 …void blit(void *source, const Rect *sourceRect, const Rect *destRect, Format sourceFormat, size_t … 33 …void blit(HWND windowOverride, void *source, const Rect *sourceRect, const Rect *destRect, Format …
|
D | FrameBufferDD.hpp | 32 …void blit(void *source, const Rect *sourceRect, const Rect *destRect, Format sourceFormat, size_t … 35 …void blit(HWND windowOverride, void *source, const Rect *sourceRect, const Rect *destRect, Format …
|
/external/llvm/test/DebugInfo/X86/ |
D | dbg-byval-parameter.ll | 5 %struct.Rect = type { %struct.Pt, %struct.Pt } 7 define double @foo(%struct.Rect* byval %my_r0) nounwind ssp !dbg !1 { 12 …call void @llvm.dbg.declare(metadata %struct.Rect* %my_r0, metadata !0, metadata !DIExpression()),… 13 …%1 = getelementptr inbounds %struct.Rect, %struct.Rect* %my_r0, i32 0, i32 0, !dbg !16 ; <%struct.… 38 !7 = !DICompositeType(tag: DW_TAG_structure_type, name: "Rect", line: 6, size: 256, align: 64, file…
|
/external/webrtc/webrtc/modules/video_render/android/java/src/org/webrtc/videoengine/ |
D | ViESurfaceRenderer.java | 23 import android.graphics.Rect; 39 private Rect srcRect = new Rect(); 41 private Rect dstRect = new Rect(); 81 Rect dst = surfaceHolder.getSurfaceFrame(); in surfaceCreated()
|
/external/llvm/test/CodeGen/X86/ |
D | 2010-01-18-DbgValue.ll | 7 %struct.Rect = type { %struct.Pt, %struct.Pt } 9 define double @foo(%struct.Rect* byval %my_r0) nounwind ssp !dbg !1 { 15 …call void @llvm.dbg.declare(metadata %struct.Rect* %my_r0, metadata !0, metadata !DIExpression()),… 16 …%1 = getelementptr inbounds %struct.Rect, %struct.Rect* %my_r0, i32 0, i32 0, !dbg !16 ; <%struct.… 41 !7 = !DICompositeType(tag: DW_TAG_structure_type, name: "Rect", line: 6, size: 256, align: 64, file…
|
/external/libmojo/mojo/public/interfaces/bindings/tests/ |
D | rect.mojom | 8 struct Rect { 15 // A copy of Rect that can be typemapped. Arrays of Rect are currently used,
|