Home
last modified time | relevance | path

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

1234

/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.java77 static final Style[] sStyleArray = {
78 Style.FILL, Style.STROKE, Style.FILL_AND_STROKE
234 public enum Style { enum in Paint
254 Style(int nativeInt) { in Style() method in Paint.Style
650 public Style getStyle() { in getStyle()
661 public void setStyle(Style style) { in setStyle()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
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.java53 mNormalPaint.setStyle(Paint.Style.FILL_AND_STROKE); in ShapesView()
59 mStrokePaint.setStyle(Paint.Style.STROKE); in ShapesView()
64 mFillPaint.setStyle(Paint.Style.FILL); in ShapesView()
DClearActivity.java55 mClearPaint.setStyle(Paint.Style.FILL); in PathsView()
DPathsCacheActivity.java71 mMediumPaint.setStyle(Paint.Style.STROKE); in PathsView()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DCanvas_Delegate.java685 if (style == Paint.Style.FILL.nativeInt || in native_drawRect()
686 style == Paint.Style.FILL_AND_STROKE.nativeInt) { in native_drawRect()
691 if (style == Paint.Style.STROKE.nativeInt || in native_drawRect()
692 style == Paint.Style.FILL_AND_STROKE.nativeInt) { in native_drawRect()
710 if (style == Paint.Style.FILL.nativeInt || in native_drawOval()
711 style == Paint.Style.FILL_AND_STROKE.nativeInt) { in native_drawOval()
716 if (style == Paint.Style.STROKE.nativeInt || in native_drawOval()
717 style == Paint.Style.FILL_AND_STROKE.nativeInt) { in native_drawOval()
751 if (style == Paint.Style.FILL.nativeInt || in native_drawArc()
752 style == Paint.Style.FILL_AND_STROKE.nativeInt) { in native_drawArc()
[all …]
/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()
DDynamicDrawableSpan.java23 import android.graphics.Paint.Style;
/frameworks/base/core/jni/android/graphics/
DTypeface.cpp31 SkTypeface::Style style) { in Typeface_create()
35 face = SkTypeface::CreateFromName(NULL, (SkTypeface::Style)style); in Typeface_create()
45 return SkTypeface::CreateFromTypeface(family, (SkTypeface::Style)style); in Typeface_createFromTypeface()
/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()
DRsListRS.java132 mItalic = Font.create(mRS, mRes, "serif", Font.Style.BOLD_ITALIC, 8); in initRS()
/frameworks/base/graphics/java/android/renderscript/
DFont.java78 public enum Style { enum in Font
135 static String getFontFileName(String familyName, Style style) { in getFontFileName()
240 …static public Font create(RenderScript rs, Resources res, String familyName, Style fontStyle, floa… in create()
/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/libs/hwui/
DFontRenderer.h145 enum Style { enum
169 int flags, uint32_t italicStyle, uint32_t scaleX, SkPaint::Style style,
191 uint32_t scaleX, SkPaint::Style style, uint32_t strokeWidth);
228 SkPaint::Style mStyle;
/frameworks/base/docs/html/design/
Ddesign_toc.cs13 …<div class="nav-section-header"><a href="<?cs var:toroot ?>design/style/index.html">Style</a></div>
22 <li><a href="<?cs var:toroot ?>design/style/writing.html">Writing Style</a></li>
/frameworks/base/docs/html/design/style/
Dindex.jd1 page.title=Style
Diconography.jd61 <h4>Style</h4>
160 <h4>Style</h4>
241 <h4>Style</h4>
320 <h4>Style</h4>
/frameworks/base/docs/html/guide/practices/ui_guidelines/
Dicon_design_action_bar.jd15 <li><a href="#style11">Style, colors, and effects</a></li>
120 <h3 id="style11">Style, colors, and effects</h3>
141 <p><strong>Figure 1. </strong>Style and effects for "Holo Light" theme Action Bar icons.</p>
163 <p><strong>Figure 2. </strong>Style and effects for "Holo Dark" theme Action Bar icons.</p>
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
DSceneGraphRS.java26 import android.renderscript.Font.Style;
197 mItalic = Font.create(mRS, mRes, "serif", Font.Style.ITALIC, 8); in initRS()
/frameworks/base/docs/html/guide/topics/resources/
Dstyle-resource.jd1 page.title=Style Resource
72 <dd><em>Style resource</em>. Reference to a style from which this

1234