/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
H A D | 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 [all...] |
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/ |
H A D | FontUtils.java | 20 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/skia/tools/lua/ |
H A 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 [all...] |
/external/opencv/cvaux/src/ |
H A D | cvface.cpp | 138 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/drm_hwcomposer/ |
H A D | separate_rects.cpp | 59 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 D | separate_rects.h | 28 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 D | ShadowRect.java | 3 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...] |
H A D | ShadowPasswordTransformationMethod.java | 3 import android.graphics.Rect; 32 public void onFocusChanged(View view, CharSequence charSequence, boolean b, int i, Rect rect) { }
|
H A D | ShadowSurfaceView.java | 4 import android.graphics.Rect; 46 @Override public Canvas lockCanvas(Rect rect) { 53 @Override public Rect getSurfaceFrame() {
|
H A D | ShadowDrawable.java | 6 import android.graphics.Rect; 30 private Rect bounds = new Rect(0, 0, 0, 0); 75 public final Rect getBounds() { 80 public void setBounds(Rect rect) { 86 bounds = new Rect(left, top, right, bottom); 90 public Rect copyBounds() { 91 Rect bounds = new Rect(); 97 public void copyBounds(Rect bound [all...] |
/external/swiftshader/src/Main/ |
H A D | FrameBufferAndroid.hpp | 34 void blit(void *source, const Rect *sourceRect, const Rect *destRect, Format sourceFormat, size_t sourceStride) override;
|
H A D | FrameBufferOSX.hpp | 33 void blit(void *source, const Rect *sourceRect, const Rect *destRect, Format sourceFormat, size_t sourceStride) override;
|
H A D | FrameBufferGDI.hpp | 30 void blit(void *source, const Rect *sourceRect, const Rect *destRect, Format sourceFormat, size_t sourceStride) override; 33 void blit(HWND windowOverride, void *source, const Rect *sourceRect, const Rect *destRect, Format sourceFormat, size_t sourceStride) override;
|
H A D | FrameBufferWin.hpp | 37 virtual void blit(HWND windowOverride, void *source, const Rect *sourceRect, const Rect *destRect, Format sourceFormat, size_t sourceStride) = 0;
|
H A D | FrameBufferX11.hpp | 39 void blit(void *source, const Rect *sourceRect, const Rect *destRect, Format sourceFormat, size_t sourceStride) override;
|
H A D | FrameBufferDD.hpp | 32 void blit(void *source, const Rect *sourceRect, const Rect *destRect, Format sourceFormat, size_t sourceStride) override; 35 void blit(HWND windowOverride, void *source, const Rect *sourceRect, const Rect *destRect, Format sourceFormat, size_t sourceStride) override;
|
/external/droiddriver/src/io/appium/droiddriver/ |
H A D | UiElement.java | 19 import android.graphics.Rect; 129 Rect getBounds(); 132 Rect getVisibleBounds();
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
H A D | Device.hpp | 57 virtual void setScissorRect(const sw::Rect &rect); 69 bool validRectangle(const sw::Rect *rect, sw::Surface *surface); 72 sw::Rect scissorRect;
|
/external/zxing/qr_scanner/src/com/google/zxing/client/android/camera/ |
H A D | CameraManager.java | 24 import android.graphics.Rect; 52 private Rect framingRect; 53 private Rect framingRectInPreview; 179 public Rect getFramingRect() { 199 framingRect = new Rect(leftOffset, topOffset, leftOffset + width, topOffset + height); 209 public Rect getFramingRectInPreview() { 211 Rect framingRect = getFramingRect(); 215 Rect rect = new Rect(framingRect); 248 framingRect = new Rect(leftOffse [all...] |
/external/droiddriver/src/io/appium/droiddriver/instrumentation/ |
H A D | ViewElement.java | 22 import android.graphics.Rect; 47 private final Rect visibleBounds; 78 public Rect getVisibleBounds() { 122 Rect visibleBounds; 207 private Rect getBounds() { 208 Rect rect = new Rect(); 215 private Rect getVisibleBounds() { 216 Rect visibleBounds = new Rect(); [all...] |
/external/droiddriver/src/io/appium/droiddriver/uiautomation/ |
H A D | UiAutomationElement.java | 24 import android.graphics.Rect; 58 private final Rect visibleBounds; 129 private Rect getBounds(AccessibilityNodeInfo node) { 130 Rect rect = new Rect(); 135 private Rect findVisibleBounds() { 137 return new Rect(); 139 Rect foundBounds = getBounds(); 143 return new Rect(); 151 public Rect getVisibleBound [all...] |
/external/pdfium/third_party/agg23/ |
H A D | agg_basics.h | 109 template<class Rect> 110 inline Rect intersect_rectangles(const Rect& r1, const Rect& r2) 112 Rect r = r1; 127 template<class Rect> 128 inline Rect unite_rectangles(const Rect& r1, const Rect& r2) 130 Rect [all...] |
/external/webrtc/webrtc/modules/video_render/android/java/src/org/webrtc/videoengine/ |
H A D | ViESurfaceRenderer.java | 23 import android.graphics.Rect; 38 // Rect of the source bitmap to draw 39 private Rect srcRect = new Rect(); 40 // Rect of the destination canvas to draw to 41 private Rect dstRect = new Rect(); 81 Rect dst = surfaceHolder.getSurfaceFrame();
|
/external/webrtc/webrtc/modules/video_render/mac/ |
H A 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/droiddriver/src/io/appium/droiddriver/actions/ |
H A D | ClickAction.java | 19 import android.graphics.Rect; 57 Rect elementRect = element.getVisibleBounds(); 73 Rect elementRect = element.getVisibleBounds();
|