Home
last modified time | relevance | path

Searched refs:Style (Results 1 – 25 of 124) sorted by relevance

12345

/frameworks/base/graphics/java/android/graphics/
DPathDashPathEffect.java21 public enum Style { enum in PathDashPathEffect
26 Style(int value) { in Style() method in PathDashPathEffect.Style
43 Style style) { in PathDashPathEffect()
DPaint.java61 static final Style[] sStyleArray = {
62 Style.FILL, Style.STROKE, Style.FILL_AND_STROKE
316 public enum Style { enum in Paint
336 Style(int nativeInt) { in Style() method in Paint.Style
745 public Style getStyle() { in getStyle()
756 public void setStyle(Style style) { in setStyle()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DCanvas_Delegate.java580 if (style == Paint.Style.FILL.nativeInt || in native_drawRect()
581 style == Paint.Style.FILL_AND_STROKE.nativeInt) { in native_drawRect()
586 if (style == Paint.Style.STROKE.nativeInt || in native_drawRect()
587 style == Paint.Style.FILL_AND_STROKE.nativeInt) { in native_drawRect()
606 if (style == Paint.Style.FILL.nativeInt || in native_drawOval()
607 style == Paint.Style.FILL_AND_STROKE.nativeInt) { in native_drawOval()
612 if (style == Paint.Style.STROKE.nativeInt || in native_drawOval()
613 style == Paint.Style.FILL_AND_STROKE.nativeInt) { in native_drawOval()
648 if (style == Paint.Style.FILL.nativeInt || in native_drawArc()
649 style == Paint.Style.FILL_AND_STROKE.nativeInt) { in native_drawArc()
[all …]
/frameworks/base/core/jni/android/graphics/
DTypeface.cpp32 TypefaceImpl* face = TypefaceImpl_createFromTypeface(family, (SkTypeface::Style)style); in Typeface_createFromTypeface()
36 … face = TypefaceImpl_createFromTypeface(family, (SkTypeface::Style)(style ^ SkTypeface::kItalic)); in Typeface_createFromTypeface()
39 face = TypefaceImpl_createFromTypeface(family, (SkTypeface::Style)i); in Typeface_createFromTypeface()
DTypefaceImpl.h33 SkTypeface::Style fSkiaStyle;
49 TypefaceImpl* TypefaceImpl_createFromTypeface(TypefaceImpl* src, SkTypeface::Style style);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DScaledPathsActivity.java49 mPathPaint.setStyle(Paint.Style.FILL); in PathsView()
66 mPathPaint.setStyle(Paint.Style.FILL); in onDraw()
75 mPathPaint.setStyle(Paint.Style.STROKE); in onDraw()
DTextActivity.java89 mMediumPaint.setStyle(Paint.Style.FILL_AND_STROKE); in onDraw()
93 mMediumPaint.setStyle(Paint.Style.FILL); in onDraw()
97 mMediumPaint.setStyle(Paint.Style.STROKE); in onDraw()
102 mMediumPaint.setStyle(Paint.Style.FILL); in onDraw()
DPathsActivity.java62 mSmallPaint.setStyle(Paint.Style.STROKE); in PathsView()
68 mLinePaint.setStyle(Paint.Style.STROKE); in PathsView()
74 mMediumPaint.setStyle(Paint.Style.STROKE); in PathsView()
80 mLargePaint.setStyle(Paint.Style.FILL); in PathsView()
DPathDestructionActivity.java53 strokePaint.setStyle(Paint.Style.STROKE); in MyView()
54 fillPaint.setStyle(Paint.Style.FILL); in MyView()
55 fillAndStrokePaint.setStyle(Paint.Style.FILL_AND_STROKE); in MyView()
DShapesActivity.java55 mNormalPaint.setStyle(Paint.Style.FILL_AND_STROKE); in ShapesView()
61 mStrokePaint.setStyle(Paint.Style.STROKE); in ShapesView()
66 mFillPaint.setStyle(Paint.Style.FILL); in ShapesView()
DCirclePropActivity.java24 import android.graphics.Paint.Style;
81 p.setStyle(Style.STROKE); in CircleView()
/frameworks/base/media/java/android/media/
DTimedText.java102 private List<Style> mStyleList = null;
171 public static final class Style { class in TimedText
225 public Style(int startChar, int endChar, int fontId, in Style() method in TimedText.Style
583 Style style = new Style(startChar, endChar, fontId, isBold, in readStyle()
586 mStyleList = new ArrayList<Style>(); in readStyle()
/frameworks/base/core/java/android/text/style/
DQuoteSpan.java70 Paint.Style style = p.getStyle(); in drawLeadingMargin()
73 p.setStyle(Paint.Style.FILL); in drawLeadingMargin()
DBulletSpan.java85 Paint.Style style = p.getStyle(); in drawLeadingMargin()
93 p.setStyle(Paint.Style.FILL); in drawLeadingMargin()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DTextViewWithCircularIndicator.java24 import android.graphics.Paint.Style;
60 mCirclePaint.setStyle(Style.FILL); in init()
DMonthView.java24 import android.graphics.Paint.Style;
288 mMonthTitlePaint.setStyle(Style.FILL); in initView()
295 mMonthTitleBGPaint.setStyle(Style.FILL); in initView()
302 mSelectedCirclePaint.setStyle(Style.FILL); in initView()
310 mMonthDayLabelPaint.setStyle(Style.FILL); in initView()
317 mMonthNumPaint.setStyle(Style.FILL); in initView()
/frameworks/base/docs/html/design/
Ddesign_toc.cs28 <li><a href="<?cs var:toroot ?>design/wear/style.html">Style</a></li>
38 <li><a href="<?cs var:toroot ?>design/tv/style.html">Style</a></li>
46 …<div class="nav-section-header"><a href="<?cs var:toroot ?>design/style/index.html">Style</a></div>
56 … <li><a href="<?cs var:toroot ?>design/style/writing.html" zh-cn-lang="写作风格">Writing Style</a></li>
/frameworks/base/core/java/com/android/internal/widget/
DSubtitleView.java27 import android.graphics.Paint.Style;
311 paint.setStyle(Style.FILL); in onDraw()
329 textPaint.setStyle(Style.FILL_AND_STROKE); in onDraw()
344 textPaint.setStyle(Style.FILL); in onDraw()
355 textPaint.setStyle(Style.FILL); in onDraw()
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/
DRsRenderStatesRS.java23 import android.renderscript.Font.Style;
328 mFontSans = Font.create(mRS, mRes, "sans-serif", Font.Style.NORMAL, 8); in initFonts()
329 mFontSerif = Font.create(mRS, mRes, "serif", Font.Style.NORMAL, 8); in initFonts()
331 mFontSerifBold = Font.create(mRS, mRes, "serif", Font.Style.BOLD, 8); in initFonts()
332 mFontSerifItalic = Font.create(mRS, mRes, "serif", Font.Style.ITALIC, 8); in initFonts()
333 mFontSerifBoldItalic = Font.create(mRS, mRes, "serif", Font.Style.BOLD_ITALIC, 8); in initFonts()
334 mFontMono = Font.create(mRS, mRes, "mono", Font.Style.NORMAL, 8); in initFonts()
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
DTextTest.java89 Font.Style.NORMAL, 8.0f / metrics.density)); in initTextScript()
91 Font.Style.NORMAL, 8.0f / metrics.density)); in initTextScript()
/frameworks/base/rs/java/android/renderscript/
DFont.java76 public enum Style { enum in Font
133 static String getFontFileName(String familyName, Style style) { in getFontFileName()
238 …static public Font create(RenderScript rs, Resources res, String familyName, Style fontStyle, floa… in create()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardCircleFramedDrawable.java83 mPaint.setStyle(Paint.Style.FILL); in KeyguardCircleFramedDrawable()
125 mPaint.setStyle(Paint.Style.FILL); in draw()
133 mPaint.setStyle(Paint.Style.STROKE); in draw()
/frameworks/base/core/java/android/widget/
DSimpleMonthView.java26 import android.graphics.Paint.Style;
259 mMonthTitlePaint.setStyle(Style.FILL); in initView()
268 mMonthDayLabelPaint.setStyle(Style.FILL); in initView()
276 mDayNumberSelectedPaint.setStyle(Style.FILL); in initView()
283 mDayNumberPaint.setStyle(Style.FILL); in initView()
291 mDayNumberDisabledPaint.setStyle(Style.FILL); in initView()
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DStyledCornersBitmapDrawable.java23 import android.graphics.Paint.Style;
82 mFlapPaint.setStyle(Style.FILL); in StyledCornersBitmapDrawable()
86 mBorderPaint.setStyle(Style.STROKE); in StyledCornersBitmapDrawable()
91 mCompatibilityModeBackgroundPaint.setStyle(Style.FILL); in StyledCornersBitmapDrawable()
DCircularBitmapDrawable.java27 import android.graphics.Paint.Style;
62 mBorderPaint.setStyle(Style.STROKE); in CircularBitmapDrawable()

12345