/external/robolectric/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 …]
|
D | DrawableTest.java | 6 import android.graphics.Rect; 59 Rect r = new Rect(); in copyBoundsWithPassedRect() 71 Rect r = drawable.copyBounds(); in copyBoundsToReturnedRect()
|
/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 | seperate_rects.cpp | 59 std::ostream &operator<<(std::ostream &os, const Rect<TNum> &rect) { in operator <<() 74 void seperate_rects(const std::vector<Rect<TNum> > &in, in seperate_rects() 110 const Rect<TNum> &rect = in[i]; in seperate_rects() 127 const Rect<TNum> &rect = in[h_evt.rect_id]; in seperate_rects() 283 Rect<TNum> out_rect; in seperate_rects() 303 void seperate_frects_64(const std::vector<Rect<float> > &in, in seperate_frects_64() 316 #define Rect Rect<TNum> in main() macro 321 std::vector<Rect> in; in main() 356 expected_out.push_back(RectSet(IdSet(0), Rect(0, 0, 2, 5))); in main() 357 expected_out.push_back(RectSet(IdSet(1), Rect(2, 5, 6, 6))); in main() [all …]
|
D | seperate_rects.h | 26 struct Rect { struct 39 Rect() { in Rect() argument 42 Rect(TFloat xx1, TFloat yy1, TFloat xx2, TFloat yy2) in Rect() argument 46 Rect(const Rect &rhs) { in Rect() argument 51 bool operator==(const Rect &rhs) const { 119 Rect<TNum> rect; 121 RectSet(const IdSet<TId> &i, const Rect<TNum> &r) : id_set(i), rect(r) { in RectSet() 135 void seperate_frects_64(const std::vector<Rect<float> > &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/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()
|
D | ShadowPasswordTransformationMethod.java | 3 import android.graphics.Rect; 32 … public void onFocusChanged(View view, CharSequence charSequence, boolean b, int i, Rect rect) { } in onFocusChanged()
|
/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/pdfium/core/src/fxge/agg/agg23/ |
D | agg_basics.h | 106 template<class Rect> 107 inline Rect intersect_rectangles(const Rect& r1, const Rect& r2) in intersect_rectangles() 109 Rect r = r1; in intersect_rectangles() 124 template<class Rect> 125 inline Rect unite_rectangles(const Rect& r1, const Rect& r2) in unite_rectangles() 127 Rect r = r1; in unite_rectangles()
|
/external/droiddriver/src/io/appium/droiddriver/uiautomation/ |
D | UiAutomationElement.java | 22 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 getVisibleBounds(AccessibilityNodeInfo node) { in getVisibleBounds() 137 return new Rect(); in getVisibleBounds() 139 Rect visibleBounds = getBounds(); in getVisibleBounds() 141 Rect parentBounds; in getVisibleBounds() 151 public Rect getVisibleBounds() { in getVisibleBounds()
|
/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 { 12 …call void @llvm.dbg.declare(metadata %struct.Rect* %my_r0, metadata !0, metadata !MDExpression()),… 13 …%1 = getelementptr inbounds %struct.Rect, %struct.Rect* %my_r0, i32 0, i32 0, !dbg !16 ; <%struct.… 32 …dex: 6, isOptimized: false, file: !19, scope: !2, type: !4, function: double (%struct.Rect*)* @foo) 38 !7 = !MDCompositeType(tag: DW_TAG_structure_type, name: "Rect", line: 6, size: 256, align: 64, file…
|
/external/droiddriver/src/io/appium/droiddriver/instrumentation/ |
D | ViewElement.java | 20 import android.graphics.Rect; 53 Rect visibleBounds; 140 private Rect getBounds() { in getBounds() 141 Rect rect = new Rect(); in getBounds() 148 private Rect getVisibleBounds() { in getVisibleBounds() 149 Rect visibleBounds = new Rect(); in getVisibleBounds() 209 private final Rect visibleBounds; 241 public Rect getVisibleBounds() { in getVisibleBounds()
|
D | InstrumentationUiDevice.java | 22 import android.graphics.Rect; 77 Rect rect = new Rect(0, 0, drawingCache.getWidth(), drawingCache.getHeight()); in call()
|
/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 { 15 …call void @llvm.dbg.declare(metadata %struct.Rect* %my_r0, metadata !0, metadata !MDExpression()),… 16 …%1 = getelementptr inbounds %struct.Rect, %struct.Rect* %my_r0, i32 0, i32 0, !dbg !16 ; <%struct.… 35 …ized: false, scopeLine: 11, file: !19, scope: !2, type: !4, function: double (%struct.Rect*)* @foo) 41 !7 = !MDCompositeType(tag: DW_TAG_structure_type, name: "Rect", line: 6, size: 256, align: 64, file…
|
/external/droiddriver/src/io/appium/droiddriver/ |
D | UiElement.java | 19 import android.graphics.Rect; 126 Rect getBounds(); in getBounds() 132 Rect getVisibleBounds(); in getVisibleBounds()
|
/external/deqp/modules/gles3/functional/ |
D | es3fVertexTextureTests.cpp | 142 struct Rect struct 144 Rect (int x_, int y_, int w_, int h_) : x(x_), y(y_), w(w_), h(h_) {} in Rect() argument 427 static void setPixelColors (const vector<Vec4>& quadColors, const Rect& region, const PosTexCoordQu… in setPixelColors() 458 …mpler& sampler, const PosTexCoordQuadGrid<TexType>& grid, tcu::Surface& dst, const Rect& dstRegion) in computeReference() 502 …Cell (int textureNdx, float lod, const Grid& grid, tcu::Surface& dst, const Rect& dstRegion) const; 687 const Rect region; in iterate() 691 …Render (const Rect& r, int tN, const Vec2& tS, const Vec2& tO) : region(r), textureNdx(tN), texCoo… in iterate() 694 Render(Rect(0, 0, leftWidth, bottomHeight), 0, texMinScale, texMinOffset), in iterate() 695 Render(Rect(leftWidth, 0, rightWidth, bottomHeight), 0, texMagScale, texMagOffset), in iterate() 696 Render(Rect(0, bottomHeight, leftWidth, topHeight), 1, texMinScale, texMinOffset), in iterate() [all …]
|
/external/droiddriver/src/io/appium/droiddriver/actions/ |
D | ClickAction.java | 19 import android.graphics.Rect; 57 Rect elementRect = element.getVisibleBounds(); in perform() 73 Rect elementRect = element.getVisibleBounds(); in perform()
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
D | GlideBitmapDrawable.java | 9 import android.graphics.Rect; 20 private final Rect destRect = new Rect(); 85 protected void onBoundsChange(Rect bounds) { in onBoundsChange()
|
/external/deqp/modules/gles2/functional/ |
D | es2fVertexTextureTests.cpp | 114 struct Rect struct 116 Rect (int x_, int y_, int w_, int h_) : x(x_), y(y_), w(w_), h(h_) {} in Rect() argument 331 static void setPixelColors (const vector<Vec4>& quadColors, const Rect& region, const PosTexCoordQu… in setPixelColors() 360 …mpler& sampler, const PosTexCoordQuadGrid<TexType>& grid, tcu::Surface& dst, const Rect& dstRegion) in computeReference() 404 …Cell (int textureNdx, float lod, const Grid& grid, tcu::Surface& dst, const Rect& dstRegion) const; 586 const Rect region; in iterate() 590 …Render (const Rect& r, int tN, const Vec2& tS, const Vec2& tO) : region(r), textureNdx(tN), texCoo… in iterate() 593 Render(Rect(0, 0, leftWidth, bottomHeight), 0, texMinScale, texMinOffset), in iterate() 594 Render(Rect(leftWidth, 0, rightWidth, bottomHeight), 0, texMagScale, texMagOffset), in iterate() 595 Render(Rect(0, bottomHeight, leftWidth, topHeight), 1, texMinScale, texMinOffset), in iterate() [all …]
|
/external/glide/library/src/main/java/com/bumptech/glide/request/target/ |
D | SquaringDrawable.java | 7 import android.graphics.Rect; 35 public void setBounds(Rect bounds) { in setBounds() 113 public boolean getPadding(Rect padding) { in getPadding()
|
/external/droiddriver/src/io/appium/droiddriver/scroll/ |
D | StaticSentinelStrategy.java | 18 import android.graphics.Rect; 56 Rect visibleBounds = container.getVisibleBounds(); in scroll()
|