/prebuilts/go/linux-x86/src/image/ |
ycbcr_test.go | 14 Rect(0, 0, 16, 16), 15 Rect(1, 0, 16, 16), 16 Rect(0, 1, 16, 16), 17 Rect(1, 1, 16, 16), 18 Rect(1, 1, 15, 16), 19 Rect(1, 1, 16, 15), 20 Rect(1, 1, 15, 15), 21 Rect(2, 3, 14, 15), 22 Rect(7, 0, 7, 16), 23 Rect(0, 8, 16, 8) [all...] |
/frameworks/base/libs/hwui/tests/unit/ |
BakedOpStateTests.cpp | 33 ClipRect clip(Rect(100, 200)); 34 RectOp recordedOp(Rect(30, 40, 100, 200), translate10x20, &clip, &paint); 37 auto parentSnapshot = TestUtils::makeSnapshot(Matrix4::identity(), Rect(100, 200)); 40 EXPECT_EQ(Rect(100, 200), state.clipRect()); 41 EXPECT_EQ(Rect(40, 60, 100, 200), state.clippedBounds); // translated and also clipped 46 auto parentSnapshot = TestUtils::makeSnapshot(translate10x20, Rect(100, 200)); 54 EXPECT_EQ(Rect(10, 20, 100, 200), state.clipRect()); 57 EXPECT_EQ(Rect(50, 80, 100, 200), state.clippedBounds); 68 ClipRect clip(Rect(100, 200)); 69 RectOp recordedOp(Rect(1000, 1000), translate10x20, &clip, &paint) [all...] |
/external/skia/samplecode/ |
SampleClock.cpp | 53 SkRect rect; variable 55 rect = SkRect::MakeLTRB(200-4, -4, 240+4, 4); 58 rrect.setRectRadii(rect, radii); 79 rect = SkRect::MakeLTRB(231.5f, -2.5f, 242.5, 2.5f); 84 rrect.setRectRadii(rect, radii); 119 rect = SkRect::MakeLTRB(-20-7, -7, 80+7, 7); 124 rrect.setRectRadii(rect, radii); 140 rect = SkRect::MakeLTRB(-56-5, -5, 224+5, 5); 145 rrect.setRectRadii(rect, radii); 162 rect = SkRect::MakeLTRB(-60-3, -3, 166+3, 3) [all...] |
SampleManyRects.cpp | 17 * Animated sample used to develop batched rect implementation in GrBufferedDrawTarget. 42 SkRect rect = SkRect::MakeWH(SkIntToScalar(fRandom.nextRangeU(10, 100)), variable 50 // that the rect is inside the clip so the clip changes interrupt batching. 54 SkIntToScalar(x) + SkScalarHalf(rect.fRight), 55 SkIntToScalar(y) + SkScalarHalf(rect.fBottom)); 58 SkRect clipRect = rect; 59 // This clip will always contain the entire rect. It's here to give the GPU batching 65 canvas->drawRect(rect, paint);
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
ViewClippingTests.java | 6 import android.graphics.Rect; 23 * the resulting rect of content. 29 static final Rect FULL_RECT = new Rect(0, 0, 90, 90); 30 static final Rect BOUNDS_RECT = new Rect(0, 0, 80, 80); 31 static final Rect PADDED_RECT = new Rect(15, 16, 63, 62); 32 static final Rect OUTLINE_RECT = new Rect(1, 2, 78, 79) [all...] |
/external/chromium-trace/catapult/tracing/tracing/extras/chrome/cc/ |
tile_coverage_rect.html | 14 * This class represents a tile (from impl side) and its final rect on the 15 * layer. Note that the rect is determined by what is needed to cover all 19 function TileCoverageRect(rect, tile) { 20 this.geometryRect = rect;
|
/external/drm_hwcomposer/ |
separate_rects.h | 28 struct Rect { 41 Rect() { 44 Rect(TFloat xx1, TFloat yy1, TFloat xx2, TFloat yy2) 49 Rect(const Rect<T> &rhs) { 55 Rect<TFloat> &operator=(const Rect<T> &rhs) { 61 bool operator==(const Rect &rhs) const { 146 Rect<TNum> rect; member in struct:separate_rects::RectSet [all...] |
/external/libxml2/result/SVG/ |
group01.xml | 7 <rect x="100" y="100" width="100" height="100"/> 8 <rect x="300" y="100" width="100" height="100"/> 11 <rect x="100" y="300" width="100" height="100"/> 12 <rect x="300" y="300" width="100" height="100"/>
|
/external/libxml2/test/SVG/ |
group01.xml | 8 <rect x="100" y="100" width="100" height="100" />
9 <rect x="300" y="100" width="100" height="100" />
12 <rect x="100" y="300" width="100" height="100" />
13 <rect x="300" y="300" width="100" height="100" />
|
/external/opencv3/modules/objdetect/src/ |
cascadedetect.hpp | 9 void clipObjects(Size sz, std::vector<Rect>& objects, 95 CV_OUT std::vector<Rect>& objects, 102 CV_OUT std::vector<Rect>& objects, 110 CV_OUT std::vector<Rect>& objects, 132 int yStep, double factor, std::vector<Rect>& candidates, 136 std::vector<Rect>& candidates ); 138 void detectMultiScaleNoGrouping( InputArray image, std::vector<Rect>& candidates, 144 void rs_parallel_detect(std::vector<Rect>& candidates, int nscales); 269 #define CC_RECT "rect" 273 #define CV_SUM_PTRS( p0, p1, p2, p3, sum, rect, step ) 346 } rect[RECT_NUM]; member in struct:cv::HaarEvaluator::Feature 436 Rect rect; \/\/ weight and height for block member in struct:cv::LBPEvaluator::Feature [all...] |
/external/skia/src/animator/ |
SkDisplayBounds.cpp | 35 SkIRect& rect = maker.fDisplayList.fInvalBounds; local 37 if (rect.isEmpty()) 38 rect = fBounds; 40 rect.join(fBounds);
|
/frameworks/base/core/java/android/transition/ |
ChangeClipBounds.java | 22 import android.graphics.Rect; 59 Rect clip = view.getClipBounds(); 62 Rect bounds = new Rect(0, 0, view.getWidth(), view.getHeight()); 85 Rect start = (Rect) startValues.values.get(PROPNAME_CLIP); 86 Rect end = (Rect) endValues.values.get(PROPNAME_CLIP); 92 start = (Rect) startValues.values.get(PROPNAME_BOUNDS); 94 end = (Rect) endValues.values.get(PROPNAME_BOUNDS) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
FrameLayoutRuleTest.java | 21 import com.android.ide.common.api.Rect; 26 protected void dragInto(Rect dragBounds, Point dragPoint, int insertIndex, int currentIndex, 29 .bounds(new Rect(0, 0, 240, 480)).add( 31 new Rect(0, 0, 100, 80)), 33 new Rect(0, 100, 100, 80)), 35 new Rect(0, 200, 100, 80)), 37 new Rect(0, 300, 100, 80))); 46 new Rect(0, 0, 105, 80), 54 "useStyle(DROP_RECIPIENT), drawRect(Rect[0,0,240,480])", 59 dragInto(new Rect(0, 0, 0, 0), new Point(30, -10), 4, -1 [all...] |
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/ |
FontUtils.java | 20 import android.graphics.Rect;
36 * Get the smallest rect that ecompasses the text to be drawn using paint.
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/pdfium/fpdfsdk/include/fxedit/ |
fxet_list.h | 50 CLST_Rect(const CPDF_Rect& rect) { 51 left = rect.left; 52 top = rect.top; 53 right = rect.right; 54 bottom = rect.bottom; 61 const CLST_Rect operator=(const CPDF_Rect& rect) { 62 left = rect.left; 63 top = rect.top; 64 right = rect.right; 65 bottom = rect.bottom [all...] |
/external/skia/src/gpu/batches/ |
GrNonAAStrokeRectBatch.h | 23 const SkRect& rect, 29 const SkRect& rect,
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
RequestRectangleVisibleWithInternalScroll.java | 27 import android.graphics.Rect; 65 // the rect we want to make visible is offset to match 67 Rect rect = new Rect(); 68 rect.set(0, 0, 0, mTextBlob.getHeight()); 69 rect.offset(0, mTextBlob.getScrollY()); 70 mTextBlob.requestRectangleOnScreen(rect);
|
/frameworks/base/graphics/java/android/graphics/ |
Outline.java | 65 public final Rect mRect = new Rect(); 113 * or round rect support clipping. 158 * Sets the Outline to the rounded rect defined by the input rect, and 168 public void setRect(@NonNull Rect rect) { 169 setRect(rect.left, rect.top, rect.right, rect.bottom) [all...] |
/hardware/qcom/display/msm8084/libcopybit/ |
copybit_priv.h | 32 copybit_iterator(const copybit_rect_t& rect) { 33 mRect = rect; 38 static int iterate(copybit_region_t const * self, copybit_rect_t* rect) { 39 if (!self || !rect) { 45 rect->l = me->mRect.l; 46 rect->t = me->mRect.t; 47 rect->r = me->mRect.r; 48 rect->b = me->mRect.b;
|
/hardware/qcom/display/msm8226/libcopybit/ |
copybit_priv.h | 32 copybit_iterator(const copybit_rect_t& rect) { 33 mRect = rect; 38 static int iterate(copybit_region_t const * self, copybit_rect_t* rect) { 39 if (!self || !rect) { 45 rect->l = me->mRect.l; 46 rect->t = me->mRect.t; 47 rect->r = me->mRect.r; 48 rect->b = me->mRect.b;
|
/hardware/qcom/display/msm8909/libcopybit/ |
copybit_priv.h | 32 copybit_iterator(const copybit_rect_t& rect) { 33 mRect = rect; 38 static int iterate(copybit_region_t const * self, copybit_rect_t* rect) { 39 if (!self || !rect) { 45 rect->l = me->mRect.l; 46 rect->t = me->mRect.t; 47 rect->r = me->mRect.r; 48 rect->b = me->mRect.b;
|
/hardware/qcom/display/msm8960/libcopybit/ |
copybit_priv.h | 32 copybit_iterator(const copybit_rect_t& rect) { 33 mRect = rect; 38 static int iterate(copybit_region_t const * self, copybit_rect_t* rect) { 39 if (!self || !rect) { 45 rect->l = me->mRect.l; 46 rect->t = me->mRect.t; 47 rect->r = me->mRect.r; 48 rect->b = me->mRect.b;
|
/hardware/qcom/display/msm8994/libcopybit/ |
copybit_priv.h | 32 copybit_iterator(const copybit_rect_t& rect) { 33 mRect = rect; 38 static int iterate(copybit_region_t const * self, copybit_rect_t* rect) { 39 if (!self || !rect) { 45 rect->l = me->mRect.l; 46 rect->t = me->mRect.t; 47 rect->r = me->mRect.r; 48 rect->b = me->mRect.b;
|
/hardware/qcom/display/msm8996/libcopybit/ |
copybit_priv.h | 32 copybit_iterator(const copybit_rect_t& rect) { 33 mRect = rect; 38 static int iterate(copybit_region_t const * self, copybit_rect_t* rect) { 39 if (!self || !rect) { 45 rect->l = me->mRect.l; 46 rect->t = me->mRect.t; 47 rect->r = me->mRect.r; 48 rect->b = me->mRect.b;
|
/packages/apps/Messaging/src/com/android/messaging/ui/animation/ |
RectEvaluatorCompat.java | 20 import android.graphics.Rect; 25 * This evaluator can be used to perform type interpolation between <code>Rect</code> values. 28 public class RectEvaluatorCompat implements TypeEvaluator<Rect> { 29 public static TypeEvaluator<Rect> create() { 38 public Rect evaluate(float fraction, Rect startValue, Rect endValue) { 43 return new Rect(left, top, right, bottom);
|