Home
last modified time | relevance | path

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

1234

/frameworks/base/core/jni/android/graphics/
DTypeface.cpp32 SkTypeface::Style style) { in Typeface_create()
40 … face = SkTypeface::CreateFromName(str.c_str(), (SkTypeface::Style)(style ^ SkTypeface::kItalic)); in Typeface_create()
43 face = SkTypeface::CreateFromName(str.c_str(), (SkTypeface::Style)i); in Typeface_create()
55 SkTypeface* face = SkTypeface::CreateFromTypeface(family, (SkTypeface::Style)style); in Typeface_createFromTypeface()
58 … face = SkTypeface::CreateFromTypeface(family, (SkTypeface::Style)(style ^ SkTypeface::kItalic)); in Typeface_createFromTypeface()
61 face = SkTypeface::CreateFromTypeface(family, (SkTypeface::Style)i); in Typeface_createFromTypeface()
64 face = SkTypeface::CreateFromName(NULL, (SkTypeface::Style)style); in Typeface_createFromTypeface()
/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
332 public enum Style { enum in Paint
352 Style(int nativeInt) { in Style() method in Paint.Style
768 public Style getStyle() { in getStyle()
779 public void setStyle(Style style) { in setStyle()
/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()
DPathOffsetActivity.java46 mPaint.setStyle(Paint.Style.STROKE); in PathsView()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DCanvas_Delegate.java679 if (style == Paint.Style.FILL.nativeInt || in native_drawRect()
680 style == Paint.Style.FILL_AND_STROKE.nativeInt) { in native_drawRect()
685 if (style == Paint.Style.STROKE.nativeInt || in native_drawRect()
686 style == Paint.Style.FILL_AND_STROKE.nativeInt) { in native_drawRect()
704 if (style == Paint.Style.FILL.nativeInt || in native_drawOval()
705 style == Paint.Style.FILL_AND_STROKE.nativeInt) { in native_drawOval()
710 if (style == Paint.Style.STROKE.nativeInt || in native_drawOval()
711 style == Paint.Style.FILL_AND_STROKE.nativeInt) { in native_drawOval()
745 if (style == Paint.Style.FILL.nativeInt || in native_drawArc()
746 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()
/frameworks/support/v4/java/android/support/v4/app/
DNotificationCompat.java197 Style mStyle;
572 public Builder setStyle(Style style) { in setStyle()
606 public static abstract class Style class in NotificationCompat
651 public static class BigPictureStyle extends Style {
720 public static class BigTextStyle extends Style {
782 public static class InboxStyle extends Style {
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DTextViewWithCircularIndicator.java24 import android.graphics.Paint.Style;
62 mCirclePaint.setStyle(Style.FILL); in init()
DSimpleMonthView.java24 import android.graphics.Paint.Style;
271 mMonthTitlePaint.setStyle(Style.FILL); in initView()
278 mMonthTitleBGPaint.setStyle(Style.FILL); in initView()
285 mSelectedCirclePaint.setStyle(Style.FILL); in initView()
293 mMonthDayLabelPaint.setStyle(Style.FILL); in initView()
300 mMonthNumPaint.setStyle(Style.FILL); in initView()
/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/graphics/java/android/renderscript/
DFont.java79 public enum Style { enum in Font
136 static String getFontFileName(String familyName, Style style) { in getFontFileName()
241 …static public Font create(RenderScript rs, Resources res, String familyName, Style fontStyle, floa… in create()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardCircleFramedDrawable.java85 mPaint.setStyle(Paint.Style.FILL); in KeyguardCircleFramedDrawable()
127 mPaint.setStyle(Paint.Style.FILL); in draw()
135 mPaint.setStyle(Paint.Style.STROKE); in draw()
/frameworks/base/core/java/com/android/internal/widget/
DSubtitleView.java28 import android.graphics.Paint.Style;
301 paint.setStyle(Style.FILL); in onDraw()
318 textPaint.setStyle(Style.FILL_AND_STROKE); in onDraw()
328 textPaint.setStyle(Style.FILL); in onDraw()
/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>
23 <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
/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/practices/ui_guidelines/
Dicon_design_action_bar.jd16 <li><a href="#style11">Style, colors, and effects</a></li>
121 <h3 id="style11">Style, colors, and effects</h3>
142 <p><strong>Figure 1. </strong>Style and effects for "Holo Light" theme Action Bar icons.</p>
164 <p><strong>Figure 2. </strong>Style and effects for "Holo Dark" theme Action Bar icons.</p>

1234