/frameworks/base/core/java/android/view/ |
D | GLES20RecordingCanvas.java | 73 private void recordShaderBitmap(Paint paint) { in recordShaderBitmap() 83 public void drawPatch(Bitmap bitmap, byte[] chunks, RectF dst, Paint paint) { in drawPatch() 90 public void drawBitmap(Bitmap bitmap, float left, float top, Paint paint) { in drawBitmap() 97 public void drawBitmap(Bitmap bitmap, Matrix matrix, Paint paint) { in drawBitmap() 104 public void drawBitmap(Bitmap bitmap, Rect src, Rect dst, Paint paint) { in drawBitmap() 111 public void drawBitmap(Bitmap bitmap, Rect src, RectF dst, Paint paint) { in drawBitmap() 119 int height, boolean hasAlpha, Paint paint) { in drawBitmap() 126 int height, boolean hasAlpha, Paint paint) { in drawBitmap() 133 int vertOffset, int[] colors, int colorOffset, Paint paint) { in drawBitmapMesh() 141 public void drawCircle(float cx, float cy, float radius, Paint paint) { in drawCircle() [all …]
|
D | GLES20Canvas.java | 401 void drawHardwareLayer(HardwareLayer layer, float x, float y, Paint paint) { in drawHardwareLayer() 590 public int saveLayer(RectF bounds, Paint paint, int saveFlags) { in saveLayer() 606 private static native int nSaveLayer(int renderer, int paint, int saveFlags); in nSaveLayer() 609 public int saveLayer(float left, float top, float right, float bottom, Paint paint, in saveLayer() 626 float right, float bottom, int paint, int saveFlags); in nSaveLayer() 701 Paint paint) { in drawArc() 713 boolean useCenter, int paint); in nDrawArc() 721 public void drawPatch(Bitmap bitmap, byte[] chunks, RectF dst, Paint paint) { in drawPatch() 735 float left, float top, float right, float bottom, int paint); in nDrawPatch() 738 public void drawBitmap(Bitmap bitmap, float left, float top, Paint paint) { in drawBitmap() [all …]
|
/frameworks/base/core/jni/android/graphics/ |
D | Paint.cpp | 58 static void defaultSettingsForAndroid(SkPaint* paint) { in defaultSettingsForAndroid() 79 static SkPaint* intiWithPaint(JNIEnv* env, jobject clazz, SkPaint* paint) { in intiWithPaint() 93 static jint getFlags(JNIEnv* env, jobject paint) { in getFlags() 98 static void setFlags(JNIEnv* env, jobject paint, jint flags) { in setFlags() 103 static jint getHinting(JNIEnv* env, jobject paint) { in getHinting() 109 static void setHinting(JNIEnv* env, jobject paint, jint mode) { in setHinting() 115 static void setAntiAlias(JNIEnv* env, jobject paint, jboolean aa) { in setAntiAlias() 120 static void setLinearText(JNIEnv* env, jobject paint, jboolean linearText) { in setLinearText() 125 static void setSubpixelText(JNIEnv* env, jobject paint, jboolean subpixelText) { in setSubpixelText() 130 static void setUnderlineText(JNIEnv* env, jobject paint, jboolean underlineText) { in setUnderlineText() [all …]
|
D | TextLayout.cpp | 54 void TextLayout::handleText(SkPaint *paint, const jchar* text, jsize len, in handleText() 67 void TextLayout::getTextRunAdvances(SkPaint* paint, const jchar* chars, jint start, in getTextRunAdvances() 83 void TextLayout::getTextPath(SkPaint *paint, const jchar *text, jsize len, in getTextPath() 89 void TextLayout::drawTextOnPath(SkPaint* paint, const jchar* text, int count, in drawTextOnPath()
|
D | Canvas.cpp | 141 SkPaint* paint, int flags) { in saveLayer() 153 SkPaint* paint, int flags) { in saveLayer4F() 349 SkPaint* paint) { in drawPaint() 360 const SkPaint& paint = *GraphicsJNI::getNativePaint(env, jpaint); in doPoints() local 400 const SkPaint& paint = *GraphicsJNI::getNativePaint(env, jpaint); in drawPoint() local 407 jfloat stopY, SkPaint* paint) { in drawLine__FFFFPaint() 414 jobject rect, SkPaint* paint) { in drawRect__RectFPaint() 422 jfloat bottom, SkPaint* paint) { in drawRect__FFFFPaint() 431 SkPaint* paint) { in drawOval() 438 jfloat cy, jfloat radius, SkPaint* paint) { in drawCircle() [all …]
|
D | NinePatch.cpp | 69 const SkBitmap* bitmap, jbyteArray chunkObj, const SkPaint* paint, in draw() 113 const SkBitmap* bitmap, jbyteArray chunkObj, const SkPaint* paint, in drawF() 129 const SkBitmap* bitmap, jbyteArray chunkObj, const SkPaint* paint, in drawI()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Canvas.java | 365 public int saveLayer(RectF bounds, Paint paint, int saveFlags) { in saveLayer() 374 public int saveLayer(float left, float top, float right, float bottom, Paint paint, in saveLayer() 861 public void drawPaint(Paint paint) { in drawPaint() 881 public native void drawPoints(float[] pts, int offset, int count, Paint paint); in drawPoints() 886 public void drawPoints(float[] pts, Paint paint) { in drawPoints() 893 public native void drawPoint(float x, float y, Paint paint); in drawPoint() 907 public void drawLine(float startX, float startY, float stopX, float stopY, Paint paint) { in drawLine() 926 public native void drawLines(float[] pts, int offset, int count, Paint paint); in drawLines() 928 public void drawLines(float[] pts, Paint paint) { in drawLines() 939 public void drawRect(RectF rect, Paint paint) { in drawRect() [all …]
|
D | LayerRasterizer.java | 29 public void addLayer(Paint paint, float dx, float dy) { in addLayer() 33 public void addLayer(Paint paint) { in addLayer()
|
/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 …]
|
D | StaticLayout.java | 44 public StaticLayout(CharSequence source, TextPaint paint, in StaticLayout() 55 public StaticLayout(CharSequence source, TextPaint paint, in StaticLayout() 64 TextPaint paint, int outerwidth, in StaticLayout() 76 TextPaint paint, int outerwidth, in StaticLayout() 85 TextPaint paint, int outerwidth, in StaticLayout() 99 TextPaint paint, int outerwidth, in StaticLayout() 109 paint, outerwidth, align, textDir, spacingmult, spacingadd); in StaticLayout() local 159 TextPaint paint, int outerWidth, in generate() 593 TextPaint paint, boolean moreChars) { in out() 715 int line, float textWidth, TextPaint paint, in calculateEllipsis()
|
/frameworks/base/libs/hwui/ |
D | DisplayListRenderer.cpp | 256 status_t DisplayListRenderer::drawBitmap(SkBitmap* bitmap, float left, float top, SkPaint* paint) { in drawBitmap() 264 status_t DisplayListRenderer::drawBitmap(SkBitmap* bitmap, SkMatrix* matrix, SkPaint* paint) { in drawBitmap() 275 float dstRight, float dstBottom, SkPaint* paint) { in drawBitmap() 295 SkPaint* paint) { in drawBitmapData() 304 float* vertices, int* colors, SkPaint* paint) { in drawBitmapMesh() 318 int8_t numColors, float left, float top, float right, float bottom, SkPaint* paint) { in drawPatch() 339 SkPaint* paint) { in drawRect() 346 float rx, float ry, SkPaint* paint) { in drawRoundRect() 352 status_t DisplayListRenderer::drawCircle(float x, float y, float radius, SkPaint* paint) { in drawCircle() 359 SkPaint* paint) { in drawOval() [all …]
|
D | PathCache.cpp | 54 PathDescription::PathDescription(ShapeType type, SkPaint* paint): in PathDescription() 85 bool PathCache::canDrawAsConvexPath(SkPath* path, SkPaint* paint) { in canDrawAsConvexPath() 90 void PathCache::computePathBounds(const SkPath* path, const SkPaint* paint, in computePathBounds() 96 void PathCache::computeBounds(const SkRect& bounds, const SkPaint* paint, in computeBounds() 116 static void initPaint(SkPaint& paint) { in initPaint() 128 static void drawPath(const SkPath *path, const SkPaint* paint, SkBitmap& bitmap, in drawPath() 249 const SkPaint* paint) { in addTexture() 401 PathTexture* PathCache::get(SkPath* path, SkPaint* paint) { in get() 439 void PathCache::precache(SkPath* path, SkPaint* paint) { in precache() 487 float rx, float ry, SkPaint* paint) { in getRoundRect() [all …]
|
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()
|
/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
|
D | ArcShape.java | 47 public void draw(Canvas canvas, Paint paint) { in draw() 48 canvas.drawArc(rect(), mStart, mSweep, true, paint); in draw() local
|
/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()
|
D | StyleSpan.java | 77 public void updateMeasureState(TextPaint paint) { in updateMeasureState() 81 private static void apply(Paint paint, int style) { in apply()
|
D | DynamicDrawableSpan.java | 77 public int getSize(Paint paint, CharSequence text, in getSize() 97 int top, int y, int bottom, Paint paint) { in draw()
|
/frameworks/base/libs/hwui/font/ |
D | Font.cpp | 46 Font::FontDescription::FontDescription(const SkPaint* paint, const mat4& matrix) { in FontDescription() 264 CachedGlyphInfo* Font::getCachedGlyph(SkPaint* paint, glyph_t textUnit, bool precaching) { in getCachedGlyph() 280 void Font::render(SkPaint* paint, const char *text, uint32_t start, uint32_t len, in render() 286 void Font::render(SkPaint* paint, const char *text, uint32_t start, uint32_t len, in render() 336 void Font::measure(SkPaint* paint, const char* text, uint32_t start, uint32_t len, in measure() 346 void Font::precache(SkPaint* paint, const char* text, int numGlyphs) { in precache() 367 void Font::render(SkPaint* paint, const char* text, uint32_t start, uint32_t len, in render() 413 void Font::updateGlyphCache(SkPaint* paint, const SkGlyph& skiaGlyph, CachedGlyphInfo* glyph, in updateGlyphCache() 457 CachedGlyphInfo* Font::cacheGlyph(SkPaint* paint, glyph_t glyph, bool precaching) { in cacheGlyph() 470 Font* Font::create(FontRenderer* state, const SkPaint* paint, const mat4& matrix) { in create()
|
D | FontUtil.h | 40 #define GET_METRICS(paint, glyph, matrix) paint->getGlyphMetrics(glyph, matrix) argument 53 #define GET_METRICS(paint, glyph, matrix) paint->getUnicharMetrics(glyph, matrix) argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Canvas_Delegate.java | 275 Paint paint) { in drawPoints() 282 /*package*/ static void drawPoint(Canvas thisCanvas, float x, float y, Paint paint) { in drawPoint() 291 Paint paint) { in drawLines() 350 int paint, int layerFlags) { in native_saveLayer() 368 int paint, int layerFlags) { in native_saveLayer() 644 /*package*/ static void native_drawPaint(int nativeCanvas, int paint) { in native_drawPaint() 653 int paint) { in native_drawLine() 666 int paint) { in native_drawRect() 672 final float left, final float top, final float right, final float bottom, int paint) { in native_drawRect() 697 /*package*/ static void native_drawOval(int nativeCanvas, final RectF oval, int paint) { in native_drawOval() [all …]
|
/frameworks/base/core/jni/ |
D | android_view_GLES20Canvas.cpp | 244 SkPaint* paint, jint saveFlags) { in android_view_GLES20Canvas_saveLayer() 249 OpenGLRenderer* renderer, SkPaint* paint, jint saveFlags) { in android_view_GLES20Canvas_saveLayerClip() 354 jfloat left, jfloat top, SkPaint* paint) { in android_view_GLES20Canvas_drawBitmap() 364 float dstLeft, float dstTop, float dstRight, float dstBottom, SkPaint* paint) { in android_view_GLES20Canvas_drawBitmapRect() 374 SkPaint* paint) { in android_view_GLES20Canvas_drawBitmapMatrix() 383 jfloat left, jfloat top, jint width, jint height, jboolean hasAlpha, SkPaint* paint) { in android_view_GLES20Canvas_drawBitmapData() 409 jintArray colors, jint colorOffset, SkPaint* paint) { in android_view_GLES20Canvas_drawBitmapMesh() 424 float left, float top, float right, float bottom, SkPaint* paint) { in android_view_GLES20Canvas_drawPatch() 446 SkPaint* paint) { in android_view_GLES20Canvas_drawRect() 452 jfloat rx, jfloat ry, SkPaint* paint) { in android_view_GLES20Canvas_drawRoundRect() [all …]
|
/frameworks/ex/chips/src/com/android/ex/chips/recipientchip/ |
D | InvisibleRecipientChip.java | 86 final float x, final int top, final int y, final int bottom, final Paint paint) { in draw() 91 public int getSize(final Paint paint, final CharSequence text, final int start, final int end, in getSize()
|