Home
last modified time | relevance | path

Searched defs:paint (Results 1 – 25 of 91) sorted by relevance

1234

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DTypefaceUtils.java37 private static float getCharHeight(final char[] referenceChar, final Paint paint) { in getCharHeight()
57 private static float getCharWidth(final char[] referenceChar, final Paint paint) { in getCharWidth()
72 private static int getCharGeometryCacheKey(final char referenceChar, final Paint paint) { in getCharGeometryCacheKey()
87 public static float getReferenceCharHeight(final Paint paint) { in getReferenceCharHeight()
91 public static float getReferenceCharWidth(final Paint paint) { in getReferenceCharWidth()
95 public static float getReferenceDigitWidth(final Paint paint) { in getReferenceDigitWidth()
102 public static float getStringWidth(final String string, final Paint paint) { in getStringWidth()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageRedEye.java97 Paint paint = new Paint(); in onDraw() local
110 Matrix originalRotateToScreen, Paint paint) { in drawPoint()
120 fullRect.centerX(), fullRect.bottom, paint); in drawPoint() local
131 drawRect.centerX(), drawRect.bottom, paint); in drawPoint() local
135 mTouchPadding, paint); in drawPoint() local
DImagePoint.java63 Paint paint = new Paint(); in onDraw() local
80 Matrix originalRotateToScreen, Paint paint); in drawPoint()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DStringTexture.java36 private StringTexture(String text, TextPaint paint, in StringTexture()
45 TextPaint paint = new TextPaint(); in getDefaultPaint() local
61 TextPaint paint = getDefaultPaint(textSize, color); in newInstance() local
72 private static StringTexture newInstance(String text, TextPaint paint) { in newInstance()
DMultiLineTexture.java41 TextPaint paint = StringTexture.getDefaultPaint(textSize, color); in newInstance() local
/packages/apps/Camera2/src/com/android/camera/util/
DDebugBoundsRenderer.java32 public static void drawBounds(Canvas canvas, Paint paint, float size, Rect rect) { in drawBounds()
40 public static void drawBounds(Canvas canvas, Paint paint, float size, RectF rect) { in drawBounds()
48 public static void drawBounds(Canvas canvas, Paint paint, float size, float x1, float y1, in drawBounds()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DImageFilterDraw.java91 public void paint(FilterDrawRepresentation.StrokeData sd, Canvas canvas, Matrix toScrMatrix, in paint() method
109 public void paint(FilterDrawRepresentation.StrokeData sd, Canvas canvas, Matrix toScrMatrix, in paint() method in ImageFilterDraw.SimpleDraw
117 Paint paint = new Paint(); in paint() local
158 public void paint(FilterDrawRepresentation.StrokeData sd, Canvas canvas, in paint() method in ImageFilterDraw.Brush
164 Paint paint = new Paint(); in paint() local
180 Paint paint = new Paint(); in createScaledBitmap() local
187 void draw(Canvas canvas, Paint paint, int color, float size, Path path) { in draw()
218 void paint(FilterDrawRepresentation.StrokeData sd, Canvas canvas, Matrix toScrMatrix, in paint() method in ImageFilterDraw
224 Paint paint = new Paint(); in drawData() local
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/view/
DScaleSpan.java46 public int getSize(Paint paint, CharSequence text, int start, int end, in getSize()
60 int bottom, Paint paint) { in draw()
69 canvas.drawText(text.subSequence(start, end).toString(), x, y + yShift, paint); in draw() local
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DBadgeSpan.java63 public int getSize(Paint paint, CharSequence text, int start, int end, FontMetricsInt fm) { in getSize()
72 private int measureWidth(Paint paint, CharSequence text, int start, int end) { in measureWidth()
78 int y, int bottom, Paint paint) { in draw()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DTintedDrawableSpan.java41 public int getSize(Paint paint, CharSequence text, int start, int end, FontMetricsInt fm) { in getSize()
50 int start, int end, float x, int top, int y, int bottom, Paint paint) { in draw()
DFastScrollThumbDrawable.java37 public FastScrollThumbDrawable(Paint paint, boolean isRtl) { in FastScrollThumbDrawable()
/packages/apps/Email/tests/src/com/android/email/
DResourceHelperTest.java40 Paint paint = mResourceHelper.getAccountColorPaint(accountId); in brokentestGetAccountColor() local
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DGestureTrailDrawingPoints.java157 public boolean drawGestureTrail(final Canvas canvas, final Paint paint, in drawGestureTrail()
164 private boolean drawGestureTrailLocked(final Canvas canvas, final Paint paint, in drawGestureTrailLocked()
256 final Paint paint) { in debugDrawPoints()
272 canvas.drawPoint(getXCoordValue(xCoords[i]), yCoords[i], paint); in debugDrawPoints() local
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardView.java173 private static void blendAlpha(@Nonnull final Paint paint, final int alpha) { in blendAlpha()
287 final Paint paint = mPaint; in onDrawKeyboard() local
328 @Nonnull final Paint paint) { in onDrawKey()
384 @Nonnull final Paint paint, @Nonnull final KeyDrawParams params) { in onDrawKeyTopVisuals()
513 @Nonnull final Paint paint, @Nonnull final KeyDrawParams params) { in drawKeyPopupHint()
539 final Paint paint = new Paint(); in newLabelPaint() local
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DFolderDisplayer.java124 int maxFolderCount, Paint paint) { in measureFolderDimen()
185 Paint paint) { in drawFolder()
193 BidiFormatter formatter, Paint paint) { in drawFolder()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DPercentageBarChart.java45 public final Paint paint; field in PercentageBarChart.Entry
47 protected Entry(int order, float percentage, Paint paint) { in Entry()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DPercentageBarChart.java45 public final Paint paint; field in PercentageBarChart.Entry
47 protected Entry(int order, float percentage, Paint paint) { in Entry()
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
DDialpadTextView.java46 Paint paint = getPaint(); in draw() local
/packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/
DDialpadTextView.java47 Paint paint = getPaint(); in draw() local
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DAvatarRequest.java145 final Paint paint = new Paint(Paint.ANTI_ALIAS_FLAG); in renderDefaultAvatar() local
163 final Paint paint = new Paint(Paint.ANTI_ALIAS_FLAG); in renderLetterTile() local
/packages/apps/Camera2/src/com/android/camera/ui/focus/
DFocusRingView.java64 Paint paint = makePaint(res, R.color.focus_color); in FocusRingView() local
206 Paint paint = new Paint(); in makePaint() local
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/source/
DMediaSource.java218 final Paint paint = new Paint(); in getRoundCroppedBitmap() local
225 bitmap.getWidth() / 2f, paint); in getRoundCroppedBitmap() local
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/
DSelectionRenderer.java25 int stroke, Paint paint) { in drawSelection()
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DWidgetUtils.java76 Paint paint = new Paint(Paint.FILTER_BITMAP_FLAG | Paint.DITHER_FLAG); in createWidgetBitmap() local
/packages/apps/PhoneCommon/src/com/android/phone/common/util/
DViewUtil.java96 final Paint paint = textView.getPaint(); in resizeText() local

1234