/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | TextActivity.java | 22 import android.graphics.Paint; 36 private final Paint mMediumPaint; 37 private final Paint mLargePaint; 38 private final Paint mStrikePaint; 39 private final Paint mScaledPaint; 40 private final Paint mSkewPaint; 41 private final Paint mHugePaint; 46 mMediumPaint = new Paint(); in CustomTextView() 50 mLargePaint = new Paint(); in CustomTextView() 54 mStrikePaint = new Paint(); in CustomTextView() [all …]
|
D | PathsActivity.java | 25 import android.graphics.Paint; 42 private final Paint mSmallPaint; 43 private final Paint mMediumPaint; 44 private final Paint mLargePaint; 48 private final Paint mBoundsPaint; 51 private final Paint mLinePaint; 58 mSmallPaint = new Paint(); in PathsView() 62 mSmallPaint.setStyle(Paint.Style.STROKE); in PathsView() 64 mLinePaint = new Paint(); in PathsView() 68 mLinePaint.setStyle(Paint.Style.STROKE); in PathsView() [all …]
|
D | LinesActivity.java | 26 import android.graphics.Paint; 59 private final Paint mSmallPaint; 60 private final Paint mMediumPaint; 61 private final Paint mLargePaint; 64 private final Paint mAlphaPaint; 65 private final Paint mHairLinePaint; 74 mSmallPaint = new Paint(); in LinesView() 79 mMediumPaint = new Paint(); in LinesView() 84 mLargePaint = new Paint(); in LinesView() 89 mAlphaPaint = new Paint(); in LinesView() [all …]
|
D | ShapesActivity.java | 22 import android.graphics.Paint; 37 private Paint mNormalPaint; 38 private Paint mStrokePaint; 39 private Paint mFillPaint; 49 mNormalPaint = new Paint(); in ShapesView() 53 mNormalPaint.setStyle(Paint.Style.FILL_AND_STROKE); in ShapesView() 55 mStrokePaint = new Paint(); in ShapesView() 59 mStrokePaint.setStyle(Paint.Style.STROKE); in ShapesView() 61 mFillPaint = new Paint(); in ShapesView() 64 mFillPaint.setStyle(Paint.Style.FILL); in ShapesView()
|
D | ColorFiltersActivity.java | 27 import android.graphics.Paint; 45 private final Paint mColorMatrixPaint; 46 private final Paint mLightingPaint; 47 private final Paint mBlendPaint; 55 mColorMatrixPaint = new Paint(); in BitmapsView() 60 mLightingPaint = new Paint(); in BitmapsView() 63 mBlendPaint = new Paint(); in BitmapsView()
|
D | NewLayersActivity.java | 22 import android.graphics.Paint; 35 private Paint mLayerPaint; 36 private final Paint mRectPaint; 41 mLayerPaint = new Paint(); in LayersView() 43 mRectPaint = new Paint(); in LayersView()
|
D | LayersActivity.java | 22 import android.graphics.Paint; 37 private Paint mLayerPaint; 38 private final Paint mRectPaint; 43 mLayerPaint = new Paint(); in LayersView() 44 mRectPaint = new Paint(); in LayersView() 107 mLayerPaint = new Paint(); in onDraw()
|
D | ViewLayersActivity.java | 23 import android.graphics.Paint; 71 Paint p = new Paint(); in onCreate() 74 Paint p2 = new Paint(); in onCreate() 77 Paint p3 = new Paint(); in onCreate()
|
D | GradientsActivity.java | 28 import android.graphics.Paint; 92 private final Paint mPaint; 100 mPaint = new Paint(); in BitmapView() 118 private final Paint mPaint; 125 mPaint = new Paint(); in GradientView() 143 private final Paint mPaint; 150 mPaint = new Paint(); in RadialGradientView() 168 private final Paint mPaint; 174 mPaint = new Paint(); in SweepGradientView() 192 private final Paint mPaint; [all …]
|
D | PointsActivity.java | 24 import android.graphics.Paint; 93 private void drawPoints(Canvas canvas, Paint p, float xOffset, float yOffset) { in drawPoints() 99 Paint p = new Paint(); in onDraw() 107 p.setStrokeCap(Paint.Cap.SQUARE); in onDraw() 119 p.setStrokeCap(Paint.Cap.ROUND); in onDraw()
|
D | XfermodeActivity.java | 22 import android.graphics.Paint; 40 private final Paint mBluePaint; 41 private final Paint mRedPaint; 46 mBluePaint = new Paint(); in XfermodesView() 49 mRedPaint = new Paint(); in XfermodesView()
|
/frameworks/base/core/java/android/view/ |
D | GLES20RecordingCanvas.java | 22 import android.graphics.Paint; 85 private void recordShaderBitmap(Paint paint) { in recordShaderBitmap() 95 public void drawPatch(Bitmap bitmap, byte[] chunks, RectF dst, Paint paint) { in drawPatch() 102 public void drawBitmap(Bitmap bitmap, float left, float top, Paint paint) { in drawBitmap() 109 public void drawBitmap(Bitmap bitmap, Matrix matrix, Paint paint) { in drawBitmap() 116 public void drawBitmap(Bitmap bitmap, Rect src, Rect dst, Paint paint) { in drawBitmap() 123 public void drawBitmap(Bitmap bitmap, Rect src, RectF dst, Paint paint) { in drawBitmap() 131 int height, boolean hasAlpha, Paint paint) { in drawBitmap() 138 int height, boolean hasAlpha, Paint paint) { in drawBitmap() 145 int vertOffset, int[] colors, int colorOffset, Paint paint) { in drawBitmapMesh() [all …]
|
D | GLES20Canvas.java | 24 import android.graphics.Paint; 360 void drawHardwareLayer(HardwareLayer layer, float x, float y, Paint paint) { in drawHardwareLayer() 543 public int saveLayer(RectF bounds, Paint paint, int saveFlags) { in saveLayer() 558 public int saveLayer(float left, float top, float right, float bottom, Paint paint, in saveLayer() 637 Paint paint) { in drawArc() 654 public void drawPatch(Bitmap bitmap, byte[] chunks, RectF dst, Paint paint) { in drawPatch() 667 public void drawBitmap(Bitmap bitmap, float left, float top, Paint paint) { in drawBitmap() 679 public void drawBitmap(Bitmap bitmap, Matrix matrix, Paint paint) { in drawBitmap() 692 public void drawBitmap(Bitmap bitmap, Rect src, Rect dst, Paint paint) { in drawBitmap() 715 public void drawBitmap(Bitmap bitmap, Rect src, RectF dst, Paint paint) { in drawBitmap() [all …]
|
/frameworks/base/core/java/android/text/ |
D | GraphicsOperations.java | 20 import android.graphics.Paint; 34 float x, float y, Paint p); in drawText() 41 float x, float y, int flags, Paint p); in drawTextRun() 46 float measureText(int start, int end, Paint p); in measureText() 51 public int getTextWidths(int start, int end, float[] widths, Paint p); in getTextWidths() 58 int flags, float[] advances, int advancesIndex, Paint paint); in getTextRunAdvances() 65 int flags, float[] advances, int advancesIndex, Paint paint, int reserved); in getTextRunAdvances() 72 int cursorOpt, Paint p); in getTextRunCursor()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Paint_Delegate.java | 24 import android.graphics.Paint.FontMetrics; 25 import android.graphics.Paint.FontMetricsInt; 85 private int mHintingMode = Paint.HINTING_ON; 110 return (mFlags & Paint.ANTI_ALIAS_FLAG) != 0; in isAntiAliased() 114 return (mFlags & Paint.FILTER_BITMAP_FLAG) != 0; in isFilterBitmap() 153 switch (Paint.sCapArray[mCap]) { in getJavaCap() 165 switch (Paint.sJoinArray[mJoin]) { in getJavaJoin() 247 /*package*/ static int getFlags(Paint thisPaint) { in getFlags() 258 /*package*/ static void setFlags(Paint thisPaint, int flags) { in setFlags() 269 /*package*/ static void setFilterBitmap(Paint thisPaint, boolean filter) { in setFilterBitmap() [all …]
|
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
D | BiDiTestView.java | 22 import android.graphics.Paint; 94 drawInsideRect(canvas, new Paint(), Color.BLACK); in onDraw() 99 false, false, Paint.DIRECTION_LTR, currentTextSize); in onDraw() 102 true, false, Paint.DIRECTION_LTR, currentTextSize); in onDraw() 105 false, true, Paint.DIRECTION_LTR, currentTextSize); in onDraw() 108 true, true, Paint.DIRECTION_LTR, currentTextSize); in onDraw() 112 false, false, Paint.DIRECTION_LTR, currentTextSize); in onDraw() 116 false, false, Paint.DIRECTION_LTR, currentTextSize); in onDraw() 120 false, false, Paint.DIRECTION_LTR, currentTextSize); in onDraw() 124 false, false, Paint.DIRECTION_RTL, currentTextSize); in onDraw() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | LoadAverageService.java | 25 import android.graphics.Paint; 41 private final Paint mPaint; 43 Stats(Paint paint) { in Stats() 75 private Paint mLoadPaint; 76 private Paint mAddedPaint; 77 private Paint mRemovedPaint; 78 private Paint mShadowPaint; 79 private Paint mShadow2Paint; 80 private Paint mIrqPaint; 81 private Paint mSystemPaint; [all …]
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
D | IconUtilities.java | 28 import android.graphics.Paint; 57 private final Paint mPaint = new Paint(); 58 private final Paint mBlurPaint = new Paint(); 59 private final Paint mGlowColorPressedPaint = new Paint(); 60 private final Paint mGlowColorFocusedPaint = new Paint(); 85 mCanvas.setDrawFilter(new PaintFlagsDrawFilter(Paint.DITHER_FLAG, in IconUtilities() 86 Paint.FILTER_BITMAP_FLAG)); in IconUtilities() 160 Paint debugPaint = new Paint(); in createIconBitmap()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Canvas.java | 355 public int saveLayer(RectF bounds, Paint paint, int saveFlags) { in saveLayer() 365 Paint paint, int saveFlags) { in saveLayer() 837 public void drawPaint(Paint paint) { in drawPaint() 858 Paint paint); in drawPoints() 863 public void drawPoints(float[] pts, Paint paint) { in drawPoints() 870 public native void drawPoint(float x, float y, Paint paint); in drawPoint() 882 Paint paint) { in drawLine() 903 Paint paint); in drawLines() 905 public void drawLines(float[] pts, Paint paint) { in drawLines() 916 public void drawRect(RectF rect, Paint paint) { in drawRect() [all …]
|
/frameworks/base/core/java/android/text/style/ |
D | ReplacementSpan.java | 19 import android.graphics.Paint; 25 public abstract int getSize(Paint paint, CharSequence text, in getSize() 27 Paint.FontMetricsInt fm); in getSize() 30 int top, int y, int bottom, Paint paint); in draw()
|
D | DynamicDrawableSpan.java | 21 import android.graphics.Paint; 23 import android.graphics.Paint.Style; 77 public int getSize(Paint paint, CharSequence text, in getSize() 79 Paint.FontMetricsInt fm) { in getSize() 97 int top, int y, int bottom, Paint paint) { in draw()
|
D | QuoteSpan.java | 19 import android.graphics.Paint; 66 public void drawLeadingMargin(Canvas c, Paint p, int x, int dir, in drawLeadingMargin() 70 Paint.Style style = p.getStyle(); in drawLeadingMargin() 73 p.setStyle(Paint.Style.FILL); in drawLeadingMargin()
|
D | LineHeightSpan.java | 19 import android.graphics.Paint; 29 Paint.FontMetricsInt fm); in chooseHeight() 34 Paint.FontMetricsInt fm, TextPaint paint); in chooseHeight()
|
/frameworks/base/core/java/android/gesture/ |
D | Gesture.java | 21 import android.graphics.Paint; 191 final Paint paint = new Paint(); in toBitmap() 195 paint.setStyle(Paint.Style.STROKE); in toBitmap() 196 paint.setStrokeJoin(Paint.Join.ROUND); in toBitmap() 197 paint.setStrokeCap(Paint.Cap.ROUND); in toBitmap() 225 final Paint paint = new Paint(); in toBitmap() 229 paint.setStyle(Paint.Style.STROKE); in toBitmap() 230 paint.setStrokeJoin(Paint.Join.ROUND); in toBitmap() 231 paint.setStrokeCap(Paint.Cap.ROUND); in toBitmap()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | TrackingPatternView.java | 26 import android.graphics.Paint; 31 private Paint mPaint; 43 mPaint = new Paint(); in TrackingPatternView() 50 final Paint paint = mPaint; in onDraw()
|