Searched defs:paint (Results 1 - 25 of 115) sorted by relevance

12345

/frameworks/base/graphics/java/android/graphics/drawable/shapes/
H A DOvalShape.java35 public void draw(Canvas canvas, Paint paint) { argument
36 canvas.drawOval(rect(), paint);
H A DArcShape.java46 public void draw(Canvas canvas, Paint paint) { argument
47 canvas.drawArc(rect(), mStart, mSweep, true, paint);
H A DRectShape.java36 public void draw(Canvas canvas, Paint paint) { argument
37 canvas.drawRect(mRect, paint);
H A DPathShape.java55 public void draw(Canvas canvas, Paint paint) { argument
58 canvas.drawPath(mPath, paint);
H A DShape.java53 * @param paint the Paint object that defines this shape's characteristics
55 public abstract void draw(Canvas canvas, Paint paint); argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DComposePathEffect_Delegate.java47 public Stroke getStroke(Paint_Delegate paint) { argument
H A DCornerPathEffect_Delegate.java47 public Stroke getStroke(Paint_Delegate paint) { argument
H A DDiscretePathEffect_Delegate.java47 public Stroke getStroke(Paint_Delegate paint) { argument
H A DSumPathEffect_Delegate.java47 public Stroke getStroke(Paint_Delegate paint) { argument
H A DDashPathEffect_Delegate.java52 public Stroke getStroke(Paint_Delegate paint) { argument
54 paint.getStrokeWidth(),
55 paint.getJavaCap(),
56 paint.getJavaJoin(),
57 paint.getJavaStrokeMiter(),
H A DPathDashPathEffect_Delegate.java47 public Stroke getStroke(Paint_Delegate paint) { argument
H A DPathEffect_Delegate.java55 public abstract Stroke getStroke(Paint_Delegate paint); argument
/frameworks/base/core/java/android/text/style/
H A DLineHeightSpan.java32 Paint.FontMetricsInt fm, TextPaint paint);
30 chooseHeight(CharSequence text, int start, int end, int spanstartv, int v, Paint.FontMetricsInt fm, TextPaint paint) argument
H A DLocaleSpan.java77 public void updateMeasureState(TextPaint paint) { argument
78 apply(paint, mLocale);
81 private static void apply(Paint paint, Locale locale) { argument
82 paint.setTextLocale(locale);
H A DReplacementSpan.java25 public abstract int getSize(Paint paint, CharSequence text, argument
30 int top, int y, int bottom, Paint paint);
28 draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint) argument
H A DStyleSpan.java77 public void updateMeasureState(TextPaint paint) { argument
78 apply(paint, mStyle);
81 private static void apply(Paint paint, int style) { argument
84 Typeface old = paint.getTypeface();
103 paint.setFakeBoldText(true);
107 paint.setTextSkewX(-0.25f);
110 paint.setTypeface(tf);
H A DTypefaceSpan.java69 public void updateMeasureState(TextPaint paint) { argument
70 apply(paint, mFamily);
73 private static void apply(Paint paint, String family) { argument
76 Typeface old = paint.getTypeface();
87 paint.setFakeBoldText(true);
91 paint.setTextSkewX(-0.25f);
94 paint.setTypeface(tf);
H A DDynamicDrawableSpan.java74 public int getSize(Paint paint, CharSequence text, argument
94 int top, int y, int bottom, Paint paint) {
100 transY -= paint.getFontMetricsInt().descent;
92 draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint) argument
/frameworks/base/core/jni/android/graphics/
H A DCanvasProperty.cpp36 const Paint* paint = reinterpret_cast<const Paint*>(paintPtr); local
37 return reinterpret_cast<jlong>(new CanvasPropertyPaint(*paint));
H A DPaintImpl.cpp29 Paint::Paint(const Paint& paint) : SkPaint(paint), argument
30 mLetterSpacing(paint.mLetterSpacing), mFontFeatureSettings(paint.mFontFeatureSettings),
31 mTextLocale(paint.mTextLocale), mFontVariant(paint.mFontVariant) {
H A DMinikinUtils.h48 static void doLayout(Layout* layout, const Paint* paint, int bidiFlags, TypefaceImpl* typeface,
51 static float xOffsetForTextAlign(Paint* paint, const Layout& layout);
53 static float hOffsetForTextAlign(Paint* paint, const Layout& layout, const SkPath& path);
56 static void forFontRun(const Layout& layout, Paint* paint, F& f) { argument
57 float saveSkewX = paint->getTextSkewX();
58 bool savefakeBold = paint->isFakeBoldText();
65 MinikinFontSkia::populateSkPaint(paint, curFont, layout.getFakery(start));
67 paint->setTextSkewX(saveSkewX);
68 paint->setFakeBoldText(savefakeBold);
74 MinikinFontSkia::populateSkPaint(paint, curFon
[all...]
H A DDrawFilter.cpp42 virtual bool filter(SkPaint* paint, Type type) { argument
43 SkPaintFlagsDrawFilter::filter(paint, type);
44 paint->setFilterLevel(fDesiredLevel);
/frameworks/base/graphics/java/android/graphics/
H A DLayerRasterizer.java27 the specified paint, but will not retain a reference to the paint
30 public void addLayer(Paint paint, float dx, float dy) { argument
31 nativeAddLayer(native_instance, paint.mNativePaint, dx, dy);
34 public void addLayer(Paint paint) { argument
35 nativeAddLayer(native_instance, paint.mNativePaint, 0, 0);
/frameworks/minikin/sample/
H A DMinikinSkia.cpp18 SkPaint paint; local
19 paint.setTypeface(mTypeface);
20 paint.setTextEncoding(SkPaint::kUTF32_TextEncoding);
22 paint.textToGlyphs(&codepoint, sizeof(codepoint), &glyph16);
28 static void MinikinFontSkia_SetSkiaPaint(SkTypeface* typeface, SkPaint* skPaint, const MinikinPaint& paint) { argument
31 // TODO: set more paint parameters from Minikin
32 skPaint->setTextSize(paint.size);
36 const MinikinPaint &paint) const {
40 MinikinFontSkia_SetSkiaPaint(mTypeface, &skPaint, paint);
49 const MinikinPaint& paint) cons
[all...]
/frameworks/base/core/java/android/text/
H A DGraphicsOperations.java58 boolean isRtl, float[] advances, int advancesIndex, Paint paint);
57 getTextRunAdvances(int start, int end, int contextStart, int contextEnd, boolean isRtl, float[] advances, int advancesIndex, Paint paint) argument

Completed in 318 milliseconds

12345