/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/ |
SelectionRenderer.java | 26 canvas.drawRect(left, top, right, top + stroke, paint); 27 canvas.drawRect(left, bottom - stroke, right, bottom, paint); 28 canvas.drawRect(left, top, left + stroke, bottom, paint); 29 canvas.drawRect(right - stroke, top, right, bottom, paint); 34 canvas.drawRect(left, top, right, top + stroke, selectPaint); 35 canvas.drawRect(left, bottom - stroke, right, bottom, selectPaint); 36 canvas.drawRect(left, top, left + stroke, bottom, selectPaint); 37 canvas.drawRect(right - stroke, top, right, bottom, selectPaint); 38 canvas.drawRect(left + stroke, top + stroke, right - stroke, 40 canvas.drawRect(left + stroke, bottom - stroke - border, right - stroke [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
ImageRedEye.java | 103 RectF drawRect = new RectF(mCurrentRect); 104 canvas.drawRect(drawRect, paint); 113 RectF drawRect = new RectF(); 114 originalToScreen.mapRect(drawRect, rect); 118 canvas.drawRect(fullRect, paint); 124 float dw = drawRect.width(); 125 float dh = drawRect.height(); 128 drawRect.set(dx, dy, dx + dw, dy + dh); 129 canvas.drawRect(drawRect, paint) [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
TJunctionActivity.java | 52 canvas.drawRect(0.0f, 0.0f, 100.0f, 50.0f, mPaint); 57 canvas.drawRect(0.0f, 0.0f, 100.0f, 50.0f, mPaint); 62 canvas.drawRect(0.0f, 0.0f, 100.0f, 50.0f, mPaint); 67 canvas.drawRect(0.0f, 0.0f, 100.0f, 50.0f, mPaint); 70 canvas.drawRect(0.0f, 0.0f, 100.0f, 50.0f, mPaint); 73 canvas.drawRect(0.0f, 0.0f, 100.0f, 50.0f, mPaint); 76 canvas.drawRect(0.0f, 0.0f, 100.0f, 50.0f, mPaint);
|
ColoredRectsActivity.java | 81 canvas.drawRect(0, 0, 20, 10, p); 82 canvas.drawRect(35, 0, 45, 20, p); 86 canvas.drawRect(0, 0, 20, 10, p); 88 canvas.drawRect(35, 0, 45, 20, p); 97 canvas.drawRect(0, 0, 20, 10, p); 102 canvas.drawRect(0, 0, 20, 10, p); 108 canvas.drawRect(0, 0, 20, 10, p); 114 canvas.drawRect(0, 0, 20, 10, p); 120 canvas.drawRect(0, 0, 80, 5, p);
|
GradientStopsActivity.java | 53 canvas.drawRect(0.0f, 0.0f, 256.0f, 50.0f, paint); 63 canvas.drawRect(0.0f, 0.0f, 256.0f, 50.0f, paint); 73 canvas.drawRect(0.0f, 0.0f, 256.0f, 50.0f, paint); 82 canvas.drawRect(0.0f, 0.0f, 256.0f, 50.0f, paint); 90 canvas.drawRect(0.0f, 0.0f, 768.0f, 50.0f, paint); 98 canvas.drawRect(0.0f, 0.0f, 768.0f, 50.0f, paint); 106 canvas.drawRect(0.0f, 0.0f, 768.0f, 50.0f, paint); 114 canvas.drawRect(0.0f, 0.0f, 768.0f, 50.0f, paint); 122 canvas.drawRect(0.0f, 0.0f, 512.0f, 50.0f, paint);
|
AdvancedGradientsActivity.java | 78 canvas.drawRect(0.0f, 0.0f, 200.0f, 200.0f, mPaint); 84 canvas.drawRect(0.0f, 0.0f, 200.0f, 200.0f, mPaint); 90 canvas.drawRect(0.0f, 0.0f, 200.0f, 200.0f, mPaint); 96 canvas.drawRect(0.0f, 0.0f, 200.0f, 200.0f, mPaint); 102 canvas.drawRect(0.0f, 0.0f, 200.0f, 200.0f, mPaint); 108 canvas.drawRect(0.0f, 0.0f, 200.0f, 200.0f, mPaint);
|
LayersActivity.java | 59 canvas.drawRect(0.0f, 0.0f, 200.0f, 100.0f, mRectPaint); 70 canvas.drawRect(0.0f, 0.0f, 200.0f, 100.0f, mRectPaint); 78 canvas.drawRect(0.0f, 0.0f, 100.0f, 50.0f, mRectPaint); 86 canvas.drawRect(50.0f, 25.0f, 150.0f, 75.0f, mRectPaint); 94 canvas.drawRect(0.0f, 0.0f, 100.0f, 50.0f, mRectPaint); 103 canvas.drawRect(50.0f, 25.0f, 150.0f, 75.0f, mRectPaint);
|
AdvancedBlendActivity.java | 109 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint); 113 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint); 117 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint); 125 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint); 129 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint); 133 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint);
|
ShadersActivity.java | 112 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint); 116 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint); 120 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint); 129 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint); 133 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint); 137 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
DetermineFovActivity.java | 193 RectF drawRect = new RectF(); 202 drawRect.set(0, pad, canvasWidth, pad + scaledHeight - 1); 208 drawRect.set(pad, 0, pad + scaledWidth - 1, canvasHeight); 213 canvas.drawBitmap(mPhotoBitmap, null, drawRect, null); 230 float dstWidth = drawRect.right - drawRect.left + 1; 231 float dstHeight = drawRect.bottom - drawRect.top + 1; 232 float centerX = drawRect.left + dstWidth / 2; 233 canvas.drawLine(centerX, drawRect.top, centerX, drawRect.bottom, paint) [all...] |
/external/chromium_org/cc/test/ |
solid_color_content_layer_client.cc | 21 canvas->drawRect(
|
/external/skia/bench/ |
MagnifierBench.cpp | 69 canvas.drawRect(SkRect::MakeXYWH(0, 0, 8, 8), darkPaint); 70 canvas.drawRect(SkRect::MakeXYWH(8, 0, 8, 8), lightPaint); 71 canvas.drawRect(SkRect::MakeXYWH(0, 8, 8, 8), lightPaint); 72 canvas.drawRect(SkRect::MakeXYWH(8, 8, 8, 8), darkPaint);
|
TableBench.cpp | 50 canvas->drawRect(cell, cellPaint); 56 canvas->drawRect(bottom, borderPaint); 62 canvas->drawRect(right, borderPaint);
|
MergeBench.cpp | 41 canvas->drawRect(r, paint); 82 canvas.drawRect(SkRect::MakeXYWH(0, 0, 8, 8), darkPaint); 83 canvas.drawRect(SkRect::MakeXYWH(8, 0, 8, 8), lightPaint); 84 canvas.drawRect(SkRect::MakeXYWH(0, 8, 8, 8), lightPaint); 85 canvas.drawRect(SkRect::MakeXYWH(8, 8, 8, 8), darkPaint);
|
BlurImageFilterBench.cpp | 70 canvas.drawRect(SkRect::MakeXYWH(0, 0, 8, 8), darkPaint); 71 canvas.drawRect(SkRect::MakeXYWH(8, 0, 8, 8), lightPaint); 72 canvas.drawRect(SkRect::MakeXYWH(0, 8, 8, 8), lightPaint); 73 canvas.drawRect(SkRect::MakeXYWH(8, 8, 8, 8), darkPaint);
|
/external/skia/tests/ |
GpuDrawPathTest.cpp | 26 canvas->drawRect(SkRect(), paint); 29 canvas->drawRect(SkRect(), paint); 38 canvas->drawRect(SkRect(), paint); 41 canvas->drawRect(SkRect(), paint);
|
LayerDrawLooperTest.cpp | 26 virtual void drawRect(const SkDraw& draw, const SkRect& r, 29 INHERITED::drawRect(draw, r, paint); 59 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); 67 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); 96 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); 104 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); 133 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); 141 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint);
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
PercentageBarChart.java | 97 canvas.drawRect(left, top, nextX, bottom, e.paint); 101 canvas.drawRect(lastX, top, nextX, bottom, e.paint); 106 canvas.drawRect(left, top, nextX, bottom, mEmptyPaint); 121 canvas.drawRect(lastX, top, right, bottom, e.paint); 125 canvas.drawRect(lastX, top, nextX, bottom, e.paint); 130 canvas.drawRect(lastX, top, right, bottom, mEmptyPaint);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
AvoidXfermodeTest.java | 57 canvas.drawRect(0f, 0f, BASE_SIZE, 2 * BASE_SIZE, greenPaint); 59 canvas.drawRect(0f, 0f, 2 * BASE_SIZE, BASE_SIZE, redAvoidingGreenPaint); 61 canvas.drawRect(0f, BASE_SIZE, 2 * BASE_SIZE, 2 * BASE_SIZE, blueTargetingGreenPaint);
|
/external/skia/gm/ |
blurquickreject.cpp | 66 canvas->drawRect(clipRect, hairlinePaint); 70 canvas->drawRect(blurRects[i], blurPaint); 71 canvas->drawRect(blurRects[i], hairlinePaint);
|
thinstrokedrects.cpp | 48 canvas->drawRect(rect, paint); 63 canvas->drawRect(rect2, paint);
|
/external/chromium_org/chrome/renderer/ |
webview_color_overlay.cc | 33 canvas->drawRect(rect, paint);
|
/external/zxing/qr_scanner/src/com/google/zxing/client/android/ |
ViewfinderView.java | 92 canvas.drawRect(0, 0, width, frame.top, paint); 93 canvas.drawRect(0, frame.top, frame.left, frame.bottom + 1, paint); 94 canvas.drawRect(frame.right + 1, frame.top, width, frame.bottom + 1, paint); 95 canvas.drawRect(0, frame.bottom + 1, width, height, paint); 105 canvas.drawRect(frame.left, frame.top, frame.right + 1, frame.top + 2, paint); 106 canvas.drawRect(frame.left, frame.top + 2, frame.left + 2, frame.bottom - 1, paint); 107 canvas.drawRect(frame.right - 1, frame.top, frame.right + 1, frame.bottom - 1, paint); 108 canvas.drawRect(frame.left, frame.bottom - 1, frame.right + 1, frame.bottom + 1, paint); 115 canvas.drawRect(frame.left + 2, middle - 1, frame.right - 1, middle + 2, paint);
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
RectShape.java | 39 canvas.drawRect(mRect, paint);
|
/packages/apps/UnifiedEmail/src/com/android/mail/graphics/ |
PageMarginDrawable.java | 43 canvas.drawRect(getBounds(), mPaint);
|