/frameworks/base/core/jni/android/graphics/ |
D | Paint.cpp | 64 static void defaultSettingsForAndroid(Paint* paint) { in defaultSettingsForAndroid() 87 Paint* paint = reinterpret_cast<Paint*>(paintHandle); in initWithPaint() local 107 static jint getFlags(JNIEnv* env, jobject paint) { in getFlags() 118 static void setFlags(JNIEnv* env, jobject paint, jint flags) { in setFlags() 133 static jint getHinting(JNIEnv* env, jobject paint) { in getHinting() 139 static void setHinting(JNIEnv* env, jobject paint, jint mode) { in setHinting() 145 static void setAntiAlias(JNIEnv* env, jobject paint, jboolean aa) { in setAntiAlias() 150 static void setLinearText(JNIEnv* env, jobject paint, jboolean linearText) { in setLinearText() 155 static void setSubpixelText(JNIEnv* env, jobject paint, jboolean subpixelText) { in setSubpixelText() 160 static void setUnderlineText(JNIEnv* env, jobject paint, jboolean underlineText) { in setUnderlineText() [all …]
|
D | MinikinSkia.cpp | 36 SkPaint paint; in GetGlyph() local 45 …inikinFontSkia_SetSkiaPaint(const MinikinFont* font, SkPaint* skPaint, const MinikinPaint& paint) { in MinikinFontSkia_SetSkiaPaint() 101 uint32_t MinikinFontSkia::packPaintFlags(const SkPaint* paint) { in packPaintFlags() 113 void MinikinFontSkia::unpackPaintFlags(SkPaint* paint, uint32_t paintFlags) { in unpackPaintFlags() 118 void MinikinFontSkia::populateSkPaint(SkPaint* paint, const MinikinFont* font, FontFakery fakery) { in populateSkPaint()
|
D | SkiaCanvas.cpp | 289 const SkPaint* paint, SkCanvas::SaveFlags flags) { in saveLayer() 475 void SkiaCanvas::drawPaint(const SkPaint& paint) { in drawPaint() 483 void SkiaCanvas::drawPoints(const float* points, int count, const SkPaint& paint, in drawPoints() 497 void SkiaCanvas::drawPoint(float x, float y, const SkPaint& paint) { in drawPoint() 501 void SkiaCanvas::drawPoints(const float* points, int count, const SkPaint& paint) { in drawPoints() 506 const SkPaint& paint) { in drawLine() 510 void SkiaCanvas::drawLines(const float* points, int count, const SkPaint& paint) { in drawLines() 515 const SkPaint& paint) { in drawRect() 521 float rx, float ry, const SkPaint& paint) { in drawRoundRect() 526 void SkiaCanvas::drawCircle(float x, float y, float radius, const SkPaint& paint) { in drawCircle() [all …]
|
D | MinikinUtils.cpp | 41 void MinikinUtils::doLayout(Layout* layout, const Paint* paint, int bidiFlags, TypefaceImpl* typefa… in doLayout() 66 float MinikinUtils::xOffsetForTextAlign(Paint* paint, const Layout& layout) { in xOffsetForTextAlign() 80 float MinikinUtils::hOffsetForTextAlign(Paint* paint, const Layout& layout, const SkPath& path) { in hOffsetForTextAlign()
|
/frameworks/base/libs/hwui/ |
D | DisplayListRenderer.cpp | 119 const SkPaint* paint, int flags) { in saveLayer() 197 status_t DisplayListRenderer::drawBitmap(const SkBitmap* bitmap, const SkPaint* paint) { in drawBitmap() 207 float dstRight, float dstBottom, const SkPaint* paint) { in drawBitmap() 228 status_t DisplayListRenderer::drawBitmapData(const SkBitmap* bitmap, const SkPaint* paint) { in drawBitmapData() 237 const float* vertices, const int* colors, const SkPaint* paint) { in drawBitmapMesh() 250 float left, float top, float right, float bottom, const SkPaint* paint) { in drawPatch() 265 const SkPaint* paint) { in drawRect() 272 float rx, float ry, const SkPaint* paint) { in drawRoundRect() 282 CanvasPropertyPaint* paint) { in drawRoundRect() 295 status_t DisplayListRenderer::drawCircle(float x, float y, float radius, const SkPaint* paint) { in drawCircle() [all …]
|
D | PathCache.cpp | 55 PathDescription::PathDescription(ShapeType type, const SkPaint* paint): in PathDescription() 82 bool PathCache::canDrawAsConvexPath(SkPath* path, const SkPaint* paint) { in canDrawAsConvexPath() 87 void PathCache::computePathBounds(const SkPath* path, const SkPaint* paint, in computePathBounds() 93 void PathCache::computeBounds(const SkRect& bounds, const SkPaint* paint, in computeBounds() 112 static void initPaint(SkPaint& paint) { in initPaint() 124 static void drawPath(const SkPath *path, const SkPaint* paint, SkBitmap& bitmap, in drawPath() 257 const SkPaint* paint) { in addTexture() 419 PathTexture* PathCache::get(const SkPath* path, const SkPaint* paint) { in get() 457 void PathCache::precache(const SkPath* path, const SkPaint* paint) { in precache() 505 float rx, float ry, const SkPaint* paint) { in getRoundRect() [all …]
|
D | Renderer.h | 71 static inline bool paintWillNotDraw(const SkPaint& paint) { in paintWillNotDraw() 78 static inline bool paintWillNotDrawText(const SkPaint& paint) { in paintWillNotDrawText() 144 SkPaint paint; in saveLayerAlpha() local
|
D | GammaFontRenderer.h | 73 FontRenderer& getFontRenderer(const SkPaint* paint) { in getFontRenderer() 119 FontRenderer& getFontRenderer(const SkPaint* paint) { in getFontRenderer() 135 void describe(ProgramDescription& description, const SkPaint* paint) const { in describe() 174 void describe(ProgramDescription& description, const SkPaint* paint) const { in describe()
|
D | OpenGLRenderer.h | 156 const SkPaint* paint, int flags) { in saveLayer() 287 …static inline void getAlphaAndModeDirect(const SkPaint* paint, int* alpha, SkXfermode::Mode* mode)… in getAlphaAndModeDirect() 292 static inline SkXfermode::Mode getXfermodeDirect(const SkPaint* paint) { in getXfermodeDirect() 297 static inline int getAlphaDirect(const SkPaint* paint) { in getAlphaDirect() 309 static inline bool getTextShadow(const SkPaint* paint, TextShadow* textShadow) { in getTextShadow() 323 static inline bool hasTextShadow(const SkPaint* paint) { in hasTextShadow() 464 static inline SkColorFilter* getColorFilter(const SkPaint* paint) { in getColorFilter() 472 static inline const SkShader* getShader(const SkPaint* paint) { in getShader()
|
/frameworks/base/core/java/android/text/ |
D | BoringLayout.java | 40 TextPaint paint, int outerwidth, in make() 50 TextPaint paint, int outerwidth, in make() 65 public BoringLayout replaceOrMake(CharSequence source, TextPaint paint, in replaceOrMake() 87 public BoringLayout replaceOrMake(CharSequence source, TextPaint paint, in replaceOrMake() 107 paint, outerwidth, align, spacingmult, in replaceOrMake() local 114 init(getText(), paint, outerwidth, align, spacingmult, spacingadd, in replaceOrMake() local 120 TextPaint paint, int outerwidth, in BoringLayout() 135 TextPaint paint, int outerwidth, in BoringLayout() 157 paint, outerwidth, align, spacingmult, in BoringLayout() local 165 init(getText(), paint, outerwidth, align, spacingmult, spacingadd, in BoringLayout() local [all …]
|
/frameworks/base/core/java/android/view/ |
D | GLES20Canvas.java | 243 void drawHardwareLayer(HardwareLayer layer, float x, float y, Paint paint) { in drawHardwareLayer() 445 public int saveLayer(RectF bounds, Paint paint, int saveFlags) { in saveLayer() 454 private static native int nSaveLayer(long renderer, long paint, int saveFlags); in nSaveLayer() 457 public int saveLayer(float left, float top, float right, float bottom, Paint paint, in saveLayer() 467 float right, float bottom, long paint, int saveFlags); in nSaveLayer() 542 float startAngle, float sweepAngle, boolean useCenter, Paint paint) { in drawArc() 549 boolean useCenter, long paint); in nDrawArc() 557 public void drawPatch(NinePatch patch, Rect dst, Paint paint) { in drawPatch() 566 public void drawPatch(NinePatch patch, RectF dst, Paint paint) { in drawPatch() 575 float left, float top, float right, float bottom, long paint); in nDrawPatch() [all …]
|
D | HardwareCanvas.java | 95 abstract void drawHardwareLayer(HardwareLayer layer, float x, float y, Paint paint); in drawHardwareLayer() 114 CanvasProperty<Float> radius, CanvasProperty<Paint> paint); in drawCircle() 119 CanvasProperty<Paint> paint); in drawRoundRect()
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
D | OvalShape.java | 35 public void draw(Canvas canvas, Paint paint) { in draw() 36 canvas.drawOval(rect(), paint); in draw() local
|
D | ArcShape.java | 46 public void draw(Canvas canvas, Paint paint) { in draw() 47 canvas.drawArc(rect(), mStart, mSweep, true, paint); in draw() local
|
/frameworks/base/graphics/java/android/graphics/ |
D | Canvas.java | 413 public int saveLayer(@Nullable RectF bounds, @Nullable Paint paint, @Saveflags int saveFlags) { in saveLayer() 423 public int saveLayer(@Nullable RectF bounds, @Nullable Paint paint) { in saveLayer() 430 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint, in saveLayer() 440 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint) { in saveLayer() 976 public void drawPaint(@NonNull Paint paint) { in drawPaint() 996 public void drawPoints(float[] pts, int offset, int count, @NonNull Paint paint) { in drawPoints() 1003 public void drawPoints(@NonNull float[] pts, @NonNull Paint paint) { in drawPoints() 1010 public void drawPoint(float x, float y, @NonNull Paint paint) { in drawPoint() 1027 @NonNull Paint paint) { in drawLine() 1046 public void drawLines(float[] pts, int offset, int count, Paint paint) { in drawLines() [all …]
|
D | LayerRasterizer.java | 30 public void addLayer(Paint paint, float dx, float dy) { in addLayer() 34 public void addLayer(Paint paint) { in addLayer()
|
/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/ |
D | ReplacementDrawableSpan.java | 27 private void setupFontMetrics(Paint.FontMetricsInt fm, Paint paint) { in setupFontMetrics() 44 public int getSize(Paint paint, CharSequence text, int i, int i2, Paint.FontMetricsInt fm) { in getSize() 51 int y, int bottom, Paint paint) { in draw()
|
/frameworks/base/core/jni/ |
D | android_graphics_Canvas.cpp | 79 Paint* paint = reinterpret_cast<Paint*>(paintHandle); in saveLayer() local 194 Paint* paint = reinterpret_cast<Paint*>(paintHandle); in drawPaint() local 200 const Paint* paint = reinterpret_cast<Paint*>(paintHandle); in drawPoint() local 216 const Paint* paint = reinterpret_cast<Paint*>(paintHandle); in drawPoints() local 222 Paint* paint = reinterpret_cast<Paint*>(paintHandle); in drawLine() local 238 const Paint* paint = reinterpret_cast<Paint*>(paintHandle); in drawLines() local 244 const Paint* paint = reinterpret_cast<Paint*>(paintHandle); in drawRect() local 250 const Paint* paint = reinterpret_cast<Paint*>(paintHandle); in drawRoundRect() local 256 const Paint* paint = reinterpret_cast<Paint*>(paintHandle); in drawCircle() local 262 const Paint* paint = reinterpret_cast<Paint*>(paintHandle); in drawOval() local [all …]
|
D | android_view_GLES20Canvas.cpp | 210 Paint* paint = reinterpret_cast<Paint*>(paintPtr); in android_view_GLES20Canvas_saveLayer() local 217 Paint* paint = reinterpret_cast<Paint*>(paintPtr); in android_view_GLES20Canvas_saveLayerClip() local 356 Paint* paint = reinterpret_cast<Paint*>(paintPtr); in android_view_GLES20Canvas_drawBitmap() local 374 Paint* paint = reinterpret_cast<Paint*>(paintPtr); in android_view_GLES20Canvas_drawBitmapRect() local 388 Paint* paint = reinterpret_cast<Paint*>(paintPtr); in android_view_GLES20Canvas_drawBitmapMatrix() local 417 Paint* paint = reinterpret_cast<Paint*>(paintPtr); in android_view_GLES20Canvas_drawBitmapData() local 440 Paint* paint = reinterpret_cast<Paint*>(paintPtr); in android_view_GLES20Canvas_drawBitmapMesh() local 456 Paint* paint = reinterpret_cast<Paint*>(paintPtr); in android_view_GLES20Canvas_drawPatch() local 471 Paint* paint = reinterpret_cast<Paint*>(paintPtr); in android_view_GLES20Canvas_drawRect() local 479 Paint* paint = reinterpret_cast<Paint*>(paintPtr); in android_view_GLES20Canvas_drawRoundRect() local [all …]
|
/frameworks/minikin/sample/ |
D | MinikinSkia.cpp | 18 SkPaint paint; in GetGlyph() local 28 …d MinikinFontSkia_SetSkiaPaint(SkTypeface* typeface, SkPaint* skPaint, const MinikinPaint& paint) { in MinikinFontSkia_SetSkiaPaint()
|
/frameworks/base/core/java/android/text/style/ |
D | LocaleSpan.java | 77 public void updateMeasureState(TextPaint paint) { in updateMeasureState() 81 private static void apply(Paint paint, Locale locale) { in apply()
|
D | ReplacementSpan.java | 25 public abstract int getSize(Paint paint, CharSequence text, in getSize() 30 int top, int y, int bottom, Paint paint); in draw()
|
D | TypefaceSpan.java | 69 public void updateMeasureState(TextPaint paint) { in updateMeasureState() 73 private static void apply(Paint paint, String family) { in apply()
|
/frameworks/base/libs/hwui/font/ |
D | Font.cpp | 48 Font::FontDescription::FontDescription(const SkPaint* paint, const SkMatrix& rasterMatrix) in FontDescription() 283 CachedGlyphInfo* Font::getCachedGlyph(const SkPaint* paint, glyph_t textUnit, bool precaching) { in getCachedGlyph() 299 void Font::render(const SkPaint* paint, const char *text, uint32_t start, uint32_t len, in render() 305 void Font::render(const SkPaint* paint, const char *text, uint32_t start, uint32_t len, in render() 355 void Font::measure(const SkPaint* paint, const char* text, uint32_t start, uint32_t len, in measure() 365 void Font::precache(const SkPaint* paint, const char* text, int numGlyphs) { in precache() 386 void Font::render(const SkPaint* paint, const char* text, uint32_t start, uint32_t len, in render() 432 void Font::updateGlyphCache(const SkPaint* paint, const SkGlyph& skiaGlyph, in updateGlyphCache() 476 CachedGlyphInfo* Font::cacheGlyph(const SkPaint* paint, glyph_t glyph, bool precaching) { in cacheGlyph() 490 Font* Font::create(FontRenderer* state, const SkPaint* paint, const SkMatrix& matrix) { in create()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | GcSnapshot.java | 84 void draw(Graphics2D graphics, Paint_Delegate paint); in draw() 246 public GcSnapshot saveLayer(RectF layerBounds, Paint_Delegate paint, int flags) { in saveLayer() 272 private GcSnapshot(GcSnapshot previous, RectF layerBounds, Paint_Delegate paint, int flags) { in GcSnapshot() 574 public void draw(Drawable drawable, Paint_Delegate paint, boolean compositeOnly, in draw() 602 private void drawInLayer(Layer layer, Drawable drawable, Paint_Delegate paint, in drawInLayer() 651 private void drawOnGraphics(Graphics2D g, Drawable drawable, Paint_Delegate paint, in drawOnGraphics() 743 private Graphics2D createCustomGraphics(Graphics2D original, Paint_Delegate paint, in createCustomGraphics() 770 private boolean setShader(Graphics2D g, Paint_Delegate paint) { in setShader() 793 private void setComposite(Graphics2D g, Paint_Delegate paint, boolean usePaintAlpha, in setComposite()
|