Home
last modified time | relevance | path

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

/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
DPathPerfTest.java48 path.addRect(0, 0, 100, 100, Path.Direction.CW); in testAddReset()
67 path.addRect(0, 0, 100, 100, Path.Direction.CW); in testAddRewind()
76 path.addRect(0, 0, 100, 100, Path.Direction.CW); in testIsEmpty()
86 path.addRect(0, 0, 100, 100, Path.Direction.CW); in testIsConvex()
96 path.addRect(0, 0, 100, 100, Path.Direction.CW); in testGetSetFillType()
107 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/libs/hwui/tests/unit/
DSkiaBehaviorTests.cpp74 p0.addRect(SkRect::MakeXYWH(-5.0f, 0.0f, 1080.0f, 242.0f)); in TEST()
75 p1.addRect(SkRect::MakeXYWH(0.0f, 0.0f, 1080.0f, 242.0f)); in TEST()
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
DRoundRectShape.java118 mPath.addRect(r, Path.Direction.CW); in onResize()
127 mPath.addRect(mInnerRect, Path.Direction.CCW); in onResize()
/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/libs/hwui/pipeline/skia/
DVectorDrawableAtlas.cpp119 if (canvas && mRectanizer->addRect(currentVDRect.width(), currentVDRect.height(), &pos)) { in repack()
164 if (notTooBig && mRectanizer->addRect(width, height, &pos)) { in requestNewEntry()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DSignalDrawable.java236 mForegroundPath.addRect(x, y, x + dotSize, y + dotSize, Direction.CW); in drawDotAndPadding()
238 mCutoutPath.addRect(x - dotPadding, y - dotPadding, x + dotSize + dotPadding, in drawDotAndPadding()
DBatteryMeterDrawableBase.java357 mShapePath.addRect(mButtonFrame, Direction.CW); in draw()
360 p.addRect(mButtonFrame, Direction.CW); in draw()
DThemedBatteryDrawable.kt192 levelPath.addRect(levelRect, Path.Direction.CCW) in <lambda>()
/frameworks/base/libs/hwui/
DOutline.h56 mPath.addRect(left, top, right, bottom); in setRoundRect()
DRenderNode.cpp464 clipPath.addRect(clipRect); in getClippedOutline()
/frameworks/base/graphics/java/android/graphics/
DPath.java550 public void addRect(@NonNull RectF rect, @NonNull Direction dir) { in addRect() method in Path
551 addRect(rect.left, rect.top, rect.right, rect.bottom, dir); in addRect()
563 public void addRect(float left, float top, float right, float bottom, @NonNull Direction dir) { in addRect() method in Path
/frameworks/base/core/jni/android/graphics/
DPath.cpp132 static void addRect(JNIEnv* env, jclass clazz, jlong objHandle, in addRect() function in android::SkPathGlue
136 obj->addRect(left, top, right, bottom, dir); in addRect()
527 {"nAddRect","(JFFFFI)V", (void*) SkPathGlue::addRect},
/frameworks/layoutlib/bridge/src/android/graphics/
DPath_Delegate.java340 pathDelegate.addRect(left, top, right, bottom, dir); in nAddRect()
842 public void addRect(float left, float top, float right, float bottom, in addRect() method in Path_Delegate
/frameworks/base/core/java/android/widget/
DSmartSelectSprite.java322 rectanglePath.addRect(shape.mBoundingRectangle, Path.Direction.CW); in generateOutlinePolygonPath()
/frameworks/base/core/java/android/text/
DLayout.java1984 dest.addRect(left, top, right, bottom, Path.Direction.CW)); in getSelectionPath()
/frameworks/base/config/
Dboot-image-profile.txt5890 HSPLandroid/graphics/Path;->addRect(FFFFLandroid/graphics/Path$Direction;)V
5891 HSPLandroid/graphics/Path;->addRect(Landroid/graphics/RectF;Landroid/graphics/Path$Direction;)V
/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/non-updatable-api/
Dcurrent.txt14677 …method public void addRect(@NonNull android.graphics.RectF, @NonNull android.graphics.Path.Directi…
14678 … method public void addRect(float, float, float, float, @NonNull android.graphics.Path.Direction);
/frameworks/base/api/
Dcurrent.txt14677 …method public void addRect(@NonNull android.graphics.RectF, @NonNull android.graphics.Path.Directi…
14678 … method public void addRect(float, float, float, float, @NonNull android.graphics.Path.Direction);