Home
last modified time | relevance | path

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

123

/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()
DEclipseControl.java196 Paint paint = new Paint(); in paintGrayPoint() local
213 Paint paint = new Paint(); in paintPoint() local
230 Paint paint = new Paint(); in paintRadius() local
244 Canvas canvas, RectF rect, Paint paint, float cx, float cy, float rx, float ry) { in paintOvallines()
DGradControl.java188 Paint paint = new Paint(); in paintGrayPoint() local
201 Paint paint = new Paint(); in paintPoint() local
229 Canvas canvas, Paint paint, float p1x, float p1y, float p2x, float p2y) { in paintOvallines()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DStringTexture.java37 private StringTexture(String text, TextPaint paint, in StringTexture()
46 TextPaint paint = new TextPaint(); in getDefaultPaint() local
62 TextPaint paint = getDefaultPaint(textSize, color); in newInstance() local
73 private static StringTexture newInstance(String text, TextPaint paint) { in newInstance()
DMultiLineTexture.java41 TextPaint paint = StringTexture.getDefaultPaint(textSize, color); in newInstance() local
/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/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()
DFolderSpan.java99 public int getSize(Paint paint, CharSequence text, int start, int end, FontMetricsInt fm) { in getSize()
112 private int measureWidth(Paint paint, CharSequence text, int start, int end, in measureWidth()
143 int y, int bottom, Paint paint) { in draw()
/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.java166 private static void blendAlpha(final Paint paint, final int alpha) { in blendAlpha()
272 final Paint paint = mPaint; in onDrawKeyboard() local
320 private void onDrawKey(final Key key, final Canvas canvas, final Paint paint) { in onDrawKey()
374 protected void onDrawKeyTopVisuals(final Key key, final Canvas canvas, final Paint paint, in onDrawKeyTopVisuals()
501 protected void drawKeyPopupHint(final Key key, final Canvas canvas, final Paint paint, in drawKeyPopupHint()
528 final Paint paint = new Paint(); in newLabelPaint() local
/packages/apps/Email/tests/src/com/android/email/
DResourceHelperTest.java40 Paint paint = mResourceHelper.getAccountColorPaint(accountId); in brokentestGetAccountColor() local
/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/DeskClock/src/com/android/deskclock/
DAndroidClockTextView.java55 Paint paint = getPaint(); in AndroidClockTextView() local
/packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/
DDialpadTextView.java47 Paint paint = getPaint(); in draw() local
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DPercentageBarChart.java39 final Paint paint; field in PercentageBarChart.Entry
163 private boolean drawEntry(Canvas canvas, float x1, float x2, Paint paint) { in drawEntry()
/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
/packages/apps/Camera2/src/com/android/camera/ui/
DProgressRenderer.java118 Paint paint = new Paint(); in createProgressPaint() local
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerView.java86 Paint paint = new Paint(Paint.ANTI_ALIAS_FLAG); in addStartPadding() local
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DBitmapUtils.java125 Paint paint = new Paint(Paint.FILTER_BITMAP_FLAG | Paint.DITHER_FLAG); in resizeBitmapByScale() local
164 Paint paint = new Paint(Paint.FILTER_BITMAP_FLAG | Paint.DITHER_FLAG); in resizeAndCropCenter() local
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
DContactDrawable.java201 private static void drawCircle(Canvas canvas, Rect bounds, Paint paint) { in drawCircle()
202 canvas.drawCircle(bounds.centerX(), bounds.centerY(), bounds.width() / 2, paint); in drawCircle() local
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/common/
DBitmapUtils.java125 Paint paint = new Paint(Paint.FILTER_BITMAP_FLAG | Paint.DITHER_FLAG); in resizeBitmapByScale() local
164 Paint paint = new Paint(Paint.FILTER_BITMAP_FLAG | Paint.DITHER_FLAG); in resizeAndCropCenter() local

123