/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
D | NopCanvas.java | 59 public int saveLayer(RectF bounds, Paint paint, int saveFlags) { in saveLayer() 64 public int saveLayer(RectF bounds, Paint paint) { in saveLayer() 69 public int saveLayer(float left, float top, float right, float bottom, Paint paint, in saveLayer() 75 public int saveLayer(float left, float top, float right, float bottom, Paint paint) { in saveLayer() 130 public void drawPaint(Paint paint) { in drawPaint() 134 public void drawPoints(float[] pts, int offset, int count, Paint paint) { in drawPoints() 138 public void drawPoints(float[] pts, Paint paint) { in drawPoints() 142 public void drawPoint(float x, float y, Paint paint) { in drawPoint() 146 public void drawLine(float startX, float startY, float stopX, float stopY, Paint paint) { in drawLine() 150 public void drawLines(float[] pts, int offset, int count, Paint paint) { in drawLines() [all …]
|
/frameworks/base/libs/hwui/utils/ |
D | PaintUtils.h | 35 static inline GLenum getFilter(const SkPaint* paint) { in getFilter() 42 static bool isOpaquePaint(const SkPaint* paint) { in isOpaquePaint() 78 static inline bool getTextShadow(const SkPaint* paint, TextShadow* textShadow) { in getTextShadow() 92 static inline bool hasTextShadow(const SkPaint* paint) { in hasTextShadow() 96 static inline SkBlendMode getBlendModeDirect(const SkPaint* paint) { in getBlendModeDirect() 100 static inline int getAlphaDirect(const SkPaint* paint) { in getAlphaDirect()
|
/frameworks/minikin/tests/unittest/ |
D | LayoutTest.cpp | 67 MinikinPaint paint; in TEST_F() local 156 MinikinPaint paint; in TEST_F() local 255 MinikinPaint paint; in TEST_F() local 352 MinikinPaint paint; in TEST_F() local 376 MinikinPaint paint; in TEST_F() local 414 MinikinPaint paint; in TEST_F() local 423 MinikinPaint paint; in TEST_F() local 432 MinikinPaint paint; in TEST_F() local 441 MinikinPaint paint; in TEST_F() local 450 MinikinPaint paint; in TEST_F() local
|
/frameworks/base/libs/hwui/ |
D | RecordingCanvas.cpp | 119 const SkPaint* paint, SaveFlags::Flags flags) { in saveLayer() 254 void RecordingCanvas::drawPaint(const SkPaint& paint) { in drawPaint() 270 void RecordingCanvas::drawPoints(const float* points, int floatCount, const SkPaint& paint) { in drawPoints() 281 void RecordingCanvas::drawLines(const float* points, int floatCount, const SkPaint& paint) { in drawLines() 292 …RecordingCanvas::drawRect(float left, float top, float right, float bottom, const SkPaint& paint) { in drawRect() 302 void RecordingCanvas::drawSimpleRects(const float* rects, int vertexCount, const SkPaint* paint) { in drawSimpleRects() 335 void RecordingCanvas::drawRegion(const SkRegion& region, const SkPaint& paint) { in drawRegion() 364 float rx, float ry, const SkPaint& paint) { in drawRoundRect() 382 CanvasPropertyPaint* paint) { in drawRoundRect() 399 void RecordingCanvas::drawCircle(float x, float y, float radius, const SkPaint& paint) { in drawCircle() [all …]
|
D | SkiaCanvasProxy.cpp | 44 void SkiaCanvasProxy::onDrawPaint(const SkPaint& paint) { in onDrawPaint() 49 const SkPaint& paint) { in onDrawPoints() 86 void SkiaCanvasProxy::onDrawOval(const SkRect& rect, const SkPaint& paint) { in onDrawOval() 90 void SkiaCanvasProxy::onDrawRect(const SkRect& rect, const SkPaint& paint) { in onDrawRect() 94 void SkiaCanvasProxy::onDrawRRect(const SkRRect& roundRect, const SkPaint& paint) { in onDrawRRect() 108 bool useCenter, const SkPaint& paint) { in onDrawArc() 113 void SkiaCanvasProxy::onDrawPath(const SkPath& path, const SkPaint& paint) { in onDrawPath() 118 const SkPaint* paint) { in onDrawBitmap() 137 const SkRect& dst, const SkPaint* paint, SrcRectConstraint) { in onDrawBitmapRect() 152 const SkPaint* paint) { in onDrawImage() [all …]
|
D | PathCache.cpp | 74 PathDescription::PathDescription(ShapeType type, const SkPaint* paint) in PathDescription() 128 static void computePathBounds(const SkPath* path, const SkPaint* paint, PathTexture* texture, in computePathBounds() 143 static void initPaint(SkPaint& paint) { in initPaint() 154 static sk_sp<Bitmap> drawPath(const SkPath* path, const SkPaint* paint, PathTexture* texture, in drawPath() 268 const SkPaint* paint) { in addTexture() 358 PathTexture* PathCache::get(const SkPath* path, const SkPaint* paint) { in get() 388 void PathCache::remove(const SkPath* path, const SkPaint* paint) { in remove() 394 void PathCache::precache(const SkPath* path, const SkPaint* paint) { in precache() 437 float rx, float ry, const SkPaint* paint) { in getRoundRect() 462 PathTexture* PathCache::getCircle(float radius, const SkPaint* paint) { in getCircle() [all …]
|
D | SkiaCanvas.cpp | 187 const SkPaint* paint, SaveFlags::Flags flags) { in saveLayer() 442 void SkiaCanvas::drawPaint(const SkPaint& paint) { in drawPaint() 450 void SkiaCanvas::drawPoints(const float* points, int count, const SkPaint& paint, in drawPoints() 464 void SkiaCanvas::drawPoint(float x, float y, const SkPaint& paint) { in drawPoint() 468 void SkiaCanvas::drawPoints(const float* points, int count, const SkPaint& paint) { in drawPoints() 473 const SkPaint& paint) { in drawLine() 477 void SkiaCanvas::drawLines(const float* points, int count, const SkPaint& paint) { in drawLines() 483 const SkPaint& paint) { in drawRect() 489 void SkiaCanvas::drawRegion(const SkRegion& region, const SkPaint& paint) { in drawRegion() 495 float rx, float ry, const SkPaint& paint) { in drawRoundRect() [all …]
|
D | ProfileRenderer.cpp | 23 const SkPaint& paint) { in drawRect() 27 void ProfileRenderer::drawRects(const float* rects, int count, const SkPaint& paint) { in drawRects()
|
/frameworks/base/core/java/android/view/ |
D | RecordingCanvas.java | 58 float sweepAngle, boolean useCenter, @NonNull Paint paint) { in drawArc() 65 boolean useCenter, @NonNull Paint paint) { in drawArc() 77 @Nullable Paint paint) { in drawBitmap() 86 @Nullable Paint paint) { in drawBitmap() 93 @Nullable Paint paint) { in drawBitmap() 119 @Nullable Paint paint) { in drawBitmap() 147 int width, int height, boolean hasAlpha, @Nullable Paint paint) { in drawBitmap() 177 int width, int height, boolean hasAlpha, @Nullable Paint paint) { in drawBitmap() 186 @Nullable Paint paint) { in drawBitmapMesh() 206 public final void drawCircle(float cx, float cy, float radius, @NonNull Paint paint) { in drawCircle() [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | BaseCanvas.java | 84 float sweepAngle, boolean useCenter, @NonNull Paint paint) { in drawArc() 91 @NonNull Paint paint) { in drawArc() 101 public void drawBitmap(@NonNull Bitmap bitmap, float left, float top, @Nullable Paint paint) { in drawBitmap() 109 public void drawBitmap(@NonNull Bitmap bitmap, @NonNull Matrix matrix, @Nullable Paint paint) { in drawBitmap() 116 @Nullable Paint paint) { in drawBitmap() 142 @Nullable Paint paint) { in drawBitmap() 169 int width, int height, boolean hasAlpha, @Nullable Paint paint) { in drawBitmap() 198 int width, int height, boolean hasAlpha, @Nullable Paint paint) { in drawBitmap() 206 @Nullable Paint paint) { in drawBitmapMesh() 226 public void drawCircle(float cx, float cy, float radius, @NonNull Paint paint) { in drawCircle() [all …]
|
D | Canvas.java | 441 public int saveLayer(@Nullable RectF bounds, @Nullable Paint paint, @Saveflags int saveFlags) { in saveLayer() 474 public int saveLayer(@Nullable RectF bounds, @Nullable Paint paint) { in saveLayer() 483 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint, in saveLayer() 494 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint) { in saveLayer() 1322 @NonNull Paint paint) { in drawArc() 1351 float sweepAngle, boolean useCenter, @NonNull Paint paint) { in drawArc() 1385 public void drawBitmap(@NonNull Bitmap bitmap, float left, float top, @Nullable Paint paint) { in drawBitmap() 1409 @Nullable Paint paint) { in drawBitmap() 1433 @Nullable Paint paint) { in drawBitmap() 1460 int width, int height, boolean hasAlpha, @Nullable Paint paint) { in drawBitmap() [all …]
|
D | LayerRasterizer.java | 31 public void addLayer(Paint paint, float dx, float dy) { } in addLayer() 33 public void addLayer(Paint paint) { } in addLayer()
|
/frameworks/base/libs/hwui/hwui/ |
D | MinikinUtils.cpp | 30 const Paint* paint, Typeface* typeface) { in prepareMinikinPaint() 56 minikin::Layout MinikinUtils::doLayout(const Paint* paint, int bidiFlags, in doLayout() 67 float MinikinUtils::measureText(const Paint* paint, int bidiFlags, Typeface* typeface, in measureText() 81 float MinikinUtils::xOffsetForTextAlign(Paint* paint, const minikin::Layout& layout) { in xOffsetForTextAlign() 95 float MinikinUtils::hOffsetForTextAlign(Paint* paint, const minikin::Layout& layout, in hOffsetForTextAlign()
|
D | Canvas.cpp | 39 const SkPaint& paint, Canvas* canvas) { in drawStroke() 45 void Canvas::drawTextDecorations(float x, float y, float length, const SkPaint& paint) { in drawTextDecorations() 82 static void simplifyPaint(int color, SkPaint* paint) { in simplifyPaint() 95 const SkPaint& paint, float x, float y, minikin::MinikinRect& bounds, in DrawTextFunctor() 153 const SkPaint& paint; member in android::DrawTextFunctor 163 Paint paint(origPaint); in drawText() local 188 float vOffset, const Paint& paint, const SkPath& path) in DrawTextOnPathFunctor() 205 const Paint& paint; member in android::DrawTextOnPathFunctor 210 float hOffset, float vOffset, const Paint& paint, Typeface* typeface) { in drawTextOnPath()
|
D | PaintImpl.cpp | 26 Paint::Paint(const Paint& paint) : SkPaint(paint), in Paint() 33 Paint::Paint(const SkPaint& paint) : SkPaint(paint), in Paint()
|
D | MinikinSkia.cpp | 34 const minikin::MinikinPaint& paint) { in MinikinFontSkia_SetSkiaPaint() 117 uint32_t MinikinFontSkia::packPaintFlags(const SkPaint* paint) { in packPaintFlags() 129 void MinikinFontSkia::unpackPaintFlags(SkPaint* paint, uint32_t paintFlags) { in unpackPaintFlags() 134 void MinikinFontSkia::populateSkPaint(SkPaint* paint, const MinikinFont* font, in populateSkPaint()
|
/frameworks/base/core/java/android/text/ |
D | BoringLayout.java | 39 TextPaint paint, int outerwidth, in make() 49 TextPaint paint, int outerwidth, in make() 64 public BoringLayout replaceOrMake(CharSequence source, TextPaint paint, in replaceOrMake() 86 public BoringLayout replaceOrMake(CharSequence source, TextPaint paint, in replaceOrMake() 106 paint, outerwidth, align, spacingmult, in replaceOrMake() local 113 init(getText(), paint, outerwidth, align, spacingmult, spacingadd, in replaceOrMake() local 119 TextPaint paint, int outerwidth, in BoringLayout() 134 TextPaint paint, int outerwidth, in BoringLayout() 156 paint, outerwidth, align, spacingmult, in BoringLayout() local 164 init(getText(), paint, outerwidth, align, spacingmult, spacingadd, in BoringLayout() local [all …]
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
D | OvalShape.java | 36 public void draw(Canvas canvas, Paint paint) { in draw() 37 canvas.drawOval(rect(), paint); in draw() local
|
/frameworks/base/core/jni/android/graphics/ |
D | Paint.cpp | 68 static void defaultSettingsForAndroid(Paint* paint) { in defaultSettingsForAndroid() 78 static void deletePaint(Paint* paint) { in deletePaint() 103 Paint* paint = reinterpret_cast<Paint*>(paintHandle); in initWithPaint() local 108 static int breakText(JNIEnv* env, const Paint& paint, Typeface* typeface, const jchar text[], in breakText() 145 Paint* paint = reinterpret_cast<Paint*>(paintHandle); in breakTextC() local 174 Paint* paint = reinterpret_cast<Paint*>(paintHandle); in breakTextS() local 184 static jfloat doTextAdvances(JNIEnv *env, Paint *paint, Typeface* typeface, in doTextAdvances() 219 Paint* paint = reinterpret_cast<Paint*>(paintHandle); in getTextAdvances___CIIIII_FI() local 232 Paint* paint = reinterpret_cast<Paint*>(paintHandle); in getTextAdvances__StringIIIII_FI() local 242 static jint doTextRunCursor(JNIEnv *env, Paint* paint, Typeface* typeface, const jchar *text, in doTextRunCursor() [all …]
|
/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/ |
D | ReplacementDrawableSpan.java | 28 private void setupFontMetrics(Paint.FontMetricsInt fm, Paint paint) { in setupFontMetrics() 45 public int getSize(Paint paint, CharSequence text, int i, int i2, Paint.FontMetricsInt fm) { in getSize() 52 int y, int bottom, Paint paint) { in draw()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaRecordingCanvas.cpp | 64 uirenderer::CanvasPropertyPrimitive* ry, uirenderer::CanvasPropertyPaint* paint) { in drawRoundRect() 72 uirenderer::CanvasPropertyPaint* paint) { in drawCircle() 158 void SkiaRecordingCanvas::drawBitmap(Bitmap& bitmap, float left, float top, const SkPaint* paint) { in drawBitmap() 171 const SkPaint* paint) { in drawBitmap() 184 float dstBottom, const SkPaint* paint) { in drawBitmap() 197 float dstLeft, float dstTop, float dstRight, float dstBottom, const SkPaint* paint) { in drawNinePatch()
|
D | SkiaProfileRenderer.cpp | 23 const SkPaint& paint) { in drawRect() 28 void SkiaProfileRenderer::drawRects(const float* rects, int count, const SkPaint& paint) { in drawRects()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | BakedOpStateTests.cpp | 32 SkPaint paint; in TEST() local 67 SkPaint paint; in TEST() local 182 SkPaint paint; in TEST() local 230 SkPaint paint; in TEST() local 244 SkPaint paint; in TEST() local 259 SkPaint paint; in TEST() local
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | BaseCanvas_Delegate.java | 158 /*package*/ static void nDrawPaint(long nativeCanvas, long paint) { in nDrawPaint() 188 long paint) { in nDrawLine() 208 final float left, final float top, final float right, final float bottom, long paint) { in nDrawRect() 231 final float top, final float right, final float bottom, long paint) { in nDrawOval() 255 float cx, float cy, float radius, long paint) { in nDrawCircle() 265 final boolean useCenter, long paint) { in nDrawArc() 293 final float rx, final float ry, long paint) { in nDrawRoundRect() 318 public static void nDrawPath(long nativeCanvas, long path, long paint) { in nDrawPath() 480 float startX, float startY, int flags, long paint, long typeface) { in nDrawText() 487 int start, int end, float x, float y, final int flags, long paint, in nDrawText() [all …]
|
/frameworks/base/core/jni/ |
D | android_graphics_Canvas.cpp | 92 Paint* paint = reinterpret_cast<Paint*>(paintHandle); in saveLayer() local 220 Paint* paint = reinterpret_cast<Paint*>(paintHandle); in drawPaint() local 226 const Paint* paint = reinterpret_cast<Paint*>(paintHandle); in drawPoint() local 242 const Paint* paint = reinterpret_cast<Paint*>(paintHandle); in drawPoints() local 248 Paint* paint = reinterpret_cast<Paint*>(paintHandle); in drawLine() local 264 const Paint* paint = reinterpret_cast<Paint*>(paintHandle); in drawLines() local 270 const Paint* paint = reinterpret_cast<Paint*>(paintHandle); in drawRect() local 277 const Paint* paint = reinterpret_cast<Paint*>(paintHandle); in drawRegion() local 283 const Paint* paint = reinterpret_cast<Paint*>(paintHandle); in drawRoundRect() local 289 const Paint* paint = reinterpret_cast<Paint*>(paintHandle); in drawCircle() local [all …]
|