Home
last modified time | relevance | path

Searched refs:addRect (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
DPathPerfTest.java47 path.addRect(0, 0, 100, 100, Path.Direction.CW); in testAddReset()
66 path.addRect(0, 0, 100, 100, Path.Direction.CW); in testAddRewind()
75 path.addRect(0, 0, 100, 100, Path.Direction.CW); in testIsEmpty()
85 path.addRect(0, 0, 100, 100, Path.Direction.CW); in testIsConvex()
95 path.addRect(0, 0, 100, 100, Path.Direction.CW); in testGetSetFillType()
106 path.addRect(0, 0, 100, 100, Path.Direction.CW); in testIsRect()
/frameworks/base/core/tests/coretests/src/android/graphics/
DPathOffsetTest.java45 actualPath.addRect(START_X, START_Y, START_X + SQUARE, START_Y + SQUARE, Direction.CW); in testPathOffset()
51 expectedPath.addRect(START_X + OFFSET_X, START_Y + OFFSET_Y, START_X + OFFSET_X + SQUARE, in testPathOffset()
61 initialPath.addRect(START_X, START_Y, START_X + SQUARE, START_Y + SQUARE, Direction.CW); in testPathOffsetWithDestination()
69 expectedPath.addRect(START_X + OFFSET_X, START_Y + OFFSET_Y, START_X + OFFSET_X + SQUARE, in testPathOffsetWithDestination()
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
DRoundRectShape.java115 mPath.addRect(r, Path.Direction.CW); in onResize()
124 mPath.addRect(mInnerRect, Path.Direction.CCW); in onResize()
/frameworks/base/libs/hwui/tests/unit/
DSkiaBehaviorTests.cpp95 p0.addRect(SkRect::MakeXYWH(-5.0f, 0.0f, 1080.0f, 242.0f)); in TEST()
96 p1.addRect(SkRect::MakeXYWH(0.0f, 0.0f, 1080.0f, 242.0f)); in TEST()
DBakedOpDispatcherTests.cpp280 path.addRect(SkRect::MakeXYWH(1.5, 3.8, 100, 90)); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
DRecordingCanvasTests.cpp106 path.addRect(0, 0, 200, 200); in OPENGL_PIPELINE_TEST()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DPathOpsActivity.java63 p1.addRect(0.0f, 0.0f, mSize, mSize, Path.Direction.CW); in onSizeChanged()
/frameworks/base/graphics/java/android/graphics/
DPath.java537 public void addRect(RectF rect, Direction dir) { in addRect() method in Path
538 addRect(rect.left, rect.top, rect.right, rect.bottom, dir); in addRect()
550 public void addRect(float left, float top, float right, float bottom, Direction dir) { in addRect() method in Path
/frameworks/base/libs/hwui/
DOutline.h64 mPath.addRect(left, top, right, bottom); in setRoundRect()
DClipArea.cpp155 rectPath.addRect(bounds.left, bounds.top, bounds.right, bounds.bottom); in pathFromTransformedRectangle()
DPathCache.cpp516 path.addRect(r, SkPath::kCW_Direction); in getRect()
DBakedOpDispatcher.cpp645 path.addRect(getBoundsOfFill(op)); in onRectOp()
651 path.addRect(op.unmappedBounds.toSkRect()); in onRectOp()
DFrameBuilder.cpp435 clipBoundsPath.addRect(clipBounds.left, clipBounds.top, in deferShadow()
DPathTessellator.cpp820 path.addRect(-radius, -radius, radius, radius); in tessellatePoints()
/frameworks/base/libs/hwui/pipeline/skia/
DVectorDrawableAtlas.cpp119 if (canvas && mRectanizer->addRect(currentVDRect.width(), currentVDRect.height(), &pos)) { in repack()
165 if (notTooBig && mRectanizer->addRect(width, height, &pos)) { in requestNewEntry()
DReorderBarrierDrawables.cpp183 clipBoundsPath.addRect(casterClipRect); in drawShadow()
/frameworks/base/core/jni/android/graphics/
DPath.cpp134 static void addRect(JNIEnv* env, jclass clazz, jlong objHandle, in addRect() function in android::SkPathGlue
138 obj->addRect(left, top, right, bottom, dir); in addRect()
527 {"nAddRect","(JFFFFI)V", (void*) SkPathGlue::addRect},
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSignalDrawable.java348 mForegroundPath.addRect(padding, padding, padding + sigWidth, height - padding, in draw()
371 p.addRect(x, y, x + dotSize, y + dotSize, Direction.CW); in drawDot()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DBatteryMeterDrawableBase.java338 mShapePath.addRect(mButtonFrame, Direction.CW); in draw()
436 mClipPath.addRect(mFrame, Path.Direction.CCW); in draw()
/frameworks/base/core/java/android/text/
DLayout.java1847 dest.addRect(left, top, right, bottom, Path.Direction.CW); in addSelection()
1886 dest.addRect(getLineLeft(startline), top, in getSelectionPath()
1889 dest.addRect(getLineRight(startline), top, in getSelectionPath()
1895 dest.addRect(0, top, width, bottom, Path.Direction.CW); in getSelectionPath()
1905 dest.addRect(width, top, getLineRight(endline), bottom, Path.Direction.CW); in getSelectionPath()
1907 dest.addRect(0, top, getLineLeft(endline), bottom, Path.Direction.CW); in getSelectionPath()
/frameworks/layoutlib/bridge/src/android/graphics/
DPath_Delegate.java336 pathDelegate.addRect(left, top, right, bottom, dir); in nAddRect()
832 public void addRect(float left, float top, float right, float bottom, in addRect() method in Path_Delegate
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt11135 method public void addRect(android.graphics.RectF, android.graphics.Path.Direction);
11136 method public void addRect(float, float, float, float, android.graphics.Path.Direction);
/frameworks/base/api/
Dcurrent.txt13440 method public void addRect(android.graphics.RectF, android.graphics.Path.Direction);
13441 method public void addRect(float, float, float, float, android.graphics.Path.Direction);
Dtest-current.txt13529 method public void addRect(android.graphics.RectF, android.graphics.Path.Direction);
13530 method public void addRect(float, float, float, float, android.graphics.Path.Direction);
/frameworks/base/config/
Dboot-image-profile.txt2379 HPLandroid/graphics/Path;->addRect(FFFFLandroid/graphics/Path$Direction;)V
2380 HPLandroid/graphics/Path;->addRect(Landroid/graphics/RectF;Landroid/graphics/Path$Direction;)V

12