/external/libvterm/src/ |
screen.c | 6 #include "rect.h" 103 static void damagerect(VTermScreen *screen, VTermRect rect) 110 emit = rect; 116 if(rect.end_row > rect.start_row + 1) { 119 emit = rect; 123 screen->damaged = rect; 126 else if(rect.start_row == screen->damaged.start_row) { 128 if(screen->damaged.start_col > rect.start_col) 129 screen->damaged.start_col = rect.start_col 162 VTermRect rect = { local 191 VTermRect rect = { local 499 VTermRect rect = { local 527 VTermRect rect = { local 543 VTermRect rect = { local 565 VTermRect rect = { local 592 VTermRect rect = { local [all...] |
/frameworks/native/libs/ui/ |
Region.cpp | 26 #include <ui/Rect.h> 45 op_nand = region_operator<Rect>::op_nand, 46 op_and = region_operator<Rect>::op_and, 47 op_or = region_operator<Rect>::op_or, 48 op_xor = region_operator<Rect>::op_xor 56 const Region Region::INVALID_REGION(Rect::INVALID_RECT); 61 mStorage.add(Rect(0,0)); 72 Region::Region(const Rect& rhs) { 94 static void reverseRectsResolvingJunctions(const Rect* begin, const Rect* end [all...] |
GraphicBuffer.cpp | 187 const Rect lockBounds(width, height); 192 status_t GraphicBuffer::lock(uint32_t inUsage, const Rect& rect, void** vaddr) 194 if (rect.left < 0 || rect.right > width || 195 rect.top < 0 || rect.bottom > height) { 197 rect.left, rect.top, rect.right, rect.bottom [all...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/ |
RoundRectShapeTest.java | 27 import android.graphics.Rect; 100 Rect rect = new Rect(); local 108 assertFalse(outline.getRect(rect)); 114 assertTrue(outline.getRect(rect)); 115 assertEquals(0, rect.left); 116 assertEquals(0, rect.top); 117 assertEquals(100, rect.right); 118 assertEquals(100, rect.bottom) [all...] |
OvalShapeTest.java | 27 import android.graphics.Rect; 74 Rect rect = new Rect(); local 82 assertFalse(outline.getRect(rect)); 84 // Non-zero oval yields a rounded rect. 89 assertTrue(outline.getRect(rect)); 90 assertEquals(0, rect.left); 91 assertEquals(0, rect.top); 92 assertEquals(100, rect.right) [all...] |
/external/skia/tests/ |
RoundRectTest.cpp | 131 const SkRect& rect, 135 rr.setNinePatch(rect, l, t, r, b); 138 REPORTER_ASSERT(reporter, rr.rect() == rect); 151 rr2.setRectRadii(rect, radii); 164 REPORTER_ASSERT(reporter, empty.rect().isEmpty()); 171 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); local 174 rr1.setRect(rect); 177 REPORTER_ASSERT(reporter, rr1.rect() == rect); 275 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); local 305 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); local 317 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); local 337 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); local [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowPasswordTransformationMethod.java | 3 import android.graphics.Rect; 32 public void onFocusChanged(View view, CharSequence charSequence, boolean b, int i, Rect rect) { }
|
/frameworks/support/compat/jellybean-mr2/android/support/v4/view/ |
ViewCompatJellybeanMr2.java | 20 import android.graphics.Rect; 27 public static Rect getClipBounds(View view) { 31 public static void setClipBounds(View view, Rect clipBounds) {
|
/packages/apps/Gallery2/jni/filters/ |
redeye.c | 25 short* rect = (*env)->GetShortArrayElements(env, vrect,0); local 27 filterRedEye(rgb,rgb,width,height,rect); 29 (*env)->ReleaseShortArrayElements(env, vrect, rect, 0);
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/ |
SeriesRenderer.java | 56 * Draw the legend icon in the rect passed in. 58 * @param rect 60 protected abstract void doDrawLegendIcon(Canvas canvas, RectF rect, SeriesFormatterType formatter); 62 public void drawSeriesLegendIcon(Canvas canvas, RectF rect, SeriesFormatterType formatter) { 66 canvas.clipRect(rect, Region.Op.INTERSECT); 67 doDrawLegendIcon(canvas, rect, formatter);
|
FixedTableModel.java | 120 //RectF rect = new RectF(lastRect);
122 //return rect;
126 //RectF rect = new RectF(lastRect);
128 //return rect;
132 //RectF rect = new RectF(lastRect);
134 //return rect;
138 //RectF rect = new RectF(lastRect);
140 //return rect;
|
/external/chromium-trace/catapult/third_party/polymer/components/core-overlay/tests/html/ |
core-overlay-positioning-margin.html | 81 var rect = basic.getBoundingClientRect(); 82 chai.assert.ok(Math.abs(rect.left - (window.innerWidth - rect.right)) < 5, 'overlay centered horizontally'); 83 chai.assert.ok(Math.abs(rect.top - (window.innerHeight - rect.bottom)) < 5, 'overlay centered vertically'); 89 var rect = overlay.getBoundingClientRect(); 90 chai.assert.equal(rect.left, 16, 'positions via css'); 91 chai.assert.equal(rect.top, 16, 'positions via css'); 99 var rect = overlay.getBoundingClientRect(); 100 chai.assert.equal(rect.right, window.innerWidth - 16, 'positioned manually') [all...] |
/external/opencv3/modules/core/misc/java/test/ |
PointTest.java | 4 import org.opencv.core.Rect; 44 Rect rect = new Rect(0, 0, 5, 3); local 45 assertTrue(p1.inside(rect)); 48 assertFalse(p2.inside(rect));
|
/external/skia/experimental/c-api-example/ |
skia-c-example.c | 41 sk_rect_t rect; local 42 rect.left = 100.0f; 43 rect.top = 100.0f; 44 rect.right = 540.0f; 45 rect.bottom = 380.0f; 46 sk_canvas_draw_rect(canvas, &rect, fill);
|
/frameworks/base/libs/hwui/tests/unit/ |
BakedOpRendererTests.cpp | 30 layer.dirty(Rect(200, 200)); 32 renderer.startRepaintLayer(&layer, Rect(200, 200)); 37 layer.dirty(Rect(200, 200)); 39 renderer.startRepaintLayer(&layer, Rect(100, 200)); // repainting left side 42 EXPECT_EQ(android::Rect(100, 0, 200, 200), layer.region.getBounds()) 49 renderer.startRepaintLayer(&layer, Rect(100, 0, 200, 200)); // repainting right side
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
ImageFilterRedEye.java | 62 short[] rect = new short[4]; local 70 rect[0] = (short) r.left; 71 rect[1] = (short) r.top; 72 rect[2] = (short) r.width(); 73 rect[3] = (short) r.height(); 74 nativeApplyFilter(bitmap, w, h, rect);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
YuvImageTest.java | 31 import android.graphics.Rect; 69 private Rect[] mRects = { new Rect(0, 0, 0 + mRectWidths[0], 0 + mRectHeights[0]), 70 new Rect(10, 10, 10 + mRectWidths[0], 10 + mRectHeights[0]), 71 new Rect(0, 0, 0 + mRectWidths[1], 0 + mRectHeights[1]), 72 new Rect(11, 11, 11 + mRectWidths[1], 11 + mRectHeights[1]) }; 75 private Rect[] mRectsShifted = { mRects[0], mRects[1] }; 77 // A rect whose side lengths are odd. 78 private Rect mRectOddSides = new Rect(10, 10, 10 + mRectWidths[2] 406 Rect rect = new Rect(0, 0, WIDTH, HEIGHT); local 415 Rect rect = new Rect(0, 0, WIDTH, HEIGHT); local 424 Rect rect = new Rect(0, 0, WIDTH, HEIGHT); local 433 Rect rect = new Rect(10, 0, WIDTH, HEIGHT + 5); local [all...] |
/external/chromium-trace/catapult/tracing/tracing/ui/tracks/ |
rect_track.html | 24 * A track that displays an array of Rect objects. 29 'rect-track', tr.ui.tracks.Track); 37 this.classList.add('rect-track'); 152 this.rects_.forEach(function(rect) { 153 rect.addToTrackMap(eventToTrackMap, this); 159 function onRect(rect) { 160 rect.addToSelection(selection); 176 * @param {rect} The current rect. 184 var index = tr.b.findFirstIndexInArray(this.rects_, function(rect) { [all...] |
/external/clang/test/SemaObjCXX/ |
objc-boxed-expressions-nsvalue.mm | 50 NSRect rect; 51 id value = @(rect); // expected-error{{definition of class NSValue must be available to use Objective-C boxed expressions}} 106 void test_template_1(NSRect rect, NonTriviallyCopyable ntc) { 107 id x = box(rect); 111 template <unsigned i> id boxRect(NSRect rect) { return @(rect); } 113 void test_template_2(NSRect rect, NonTriviallyCopyable ntc) { 114 id x = boxRect<0>(rect);
|
/external/droiddriver/src/io/appium/droiddriver/instrumentation/ |
InstrumentationUiDevice.java | 22 import android.graphics.Rect; 77 Rect rect = new Rect(0, 0, drawingCache.getWidth(), drawingCache.getHeight()); local 78 rect.offset(xy[0], xy[1]); 80 Bitmap.createBitmap(rect.width() + xy[0], rect.height() + xy[1], Config.ARGB_8888); 82 canvas.drawBitmap(drawingCache, null, new RectF(rect), null);
|
/external/libxml2/result/SVG/ |
twin-gradients.xml | 14 <rect width="20" height="15.8"/> 15 <rect width="35" height="8"/>
|
/external/libxml2/test/SVG/ |
twin-gradients.xml | 15 <rect width="20" height="15.8"/>
16 <rect width="35" height="8"/>
|
/external/lzma/CPP/Windows/Control/ |
ReBar.h | 22 bool SizeToRect(LPRECT rect)
23 { return LRESULTToBool(SendMessage(RB_SIZETORECT, 0, (LPARAM)rect)); }
|
/external/opencv3/apps/traincascade/ |
haarfeatures.cpp | 249 rect[0].r = rect[1].r = rect[2].r = Rect(0,0,0,0); 250 rect[0].weight = rect[1].weight = rect[2].weight = 0; 260 rect[0].r.x = x0; 261 rect[0].r.y = y0; 262 rect[0].r.width = w0 [all...] |
/external/pdfium/xfa/src/fwl/src/theme/ |
pushbuttontp.cpp | 39 CFX_RectF& rect = pParams->m_rtPart;
local 40 FX_FLOAT fRight = rect.right();
41 FX_FLOAT fBottom = rect.bottom();
44 strokePath.MoveTo(rect.left + PUSHBUTTON_SIZE_Corner, rect.top);
45 strokePath.LineTo(fRight - PUSHBUTTON_SIZE_Corner, rect.top);
46 strokePath.LineTo(fRight, rect.top + PUSHBUTTON_SIZE_Corner);
49 strokePath.LineTo(rect.left + PUSHBUTTON_SIZE_Corner, fBottom);
50 strokePath.LineTo(rect.left, fBottom - PUSHBUTTON_SIZE_Corner);
51 strokePath.LineTo(rect.left, rect.top + PUSHBUTTON_SIZE_Corner); [all...] |