Searched refs:Style (Results 1 - 25 of 68) sorted by relevance

123

/frameworks/base/graphics/java/android/graphics/
H A DPathDashPathEffect.java21 public enum Style { enum in class:PathDashPathEffect
26 Style(int value) { method in class:PathDashPathEffect.Style
43 Style style) {
/frameworks/base/core/jni/android/graphics/
H A DTypeface.cpp32 SkTypeface::Style style) {
40 face = SkTypeface::CreateFromName(str.c_str(), (SkTypeface::Style)(style ^ SkTypeface::kItalic));
43 face = SkTypeface::CreateFromName(str.c_str(), (SkTypeface::Style)i);
55 SkTypeface* face = SkTypeface::CreateFromTypeface(family, (SkTypeface::Style)style);
58 face = SkTypeface::CreateFromTypeface(family, (SkTypeface::Style)(style ^ SkTypeface::kItalic));
61 face = SkTypeface::CreateFromTypeface(family, (SkTypeface::Style)i);
64 face = SkTypeface::CreateFromName(NULL, (SkTypeface::Style)style);
H A DPathEffect.cpp46 SkFloatToScalar(phase), (SkPath1DPathEffect::Style)style);
/frameworks/base/core/java/android/text/style/
H A DQuoteSpan.java70 Paint.Style style = p.getStyle();
73 p.setStyle(Paint.Style.FILL);
H A DBulletSpan.java85 Paint.Style style = p.getStyle();
93 p.setStyle(Paint.Style.FILL);
H A DDynamicDrawableSpan.java23 import android.graphics.Paint.Style;
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DPathDestructionActivity.java53 strokePaint.setStyle(Paint.Style.STROKE);
54 fillPaint.setStyle(Paint.Style.FILL);
55 fillAndStrokePaint.setStyle(Paint.Style.FILL_AND_STROKE);
H A DScaledPathsActivity.java49 mPathPaint.setStyle(Paint.Style.FILL);
66 mPathPaint.setStyle(Paint.Style.FILL);
75 mPathPaint.setStyle(Paint.Style.STROKE);
H A DTextActivity.java89 mMediumPaint.setStyle(Paint.Style.FILL_AND_STROKE);
93 mMediumPaint.setStyle(Paint.Style.FILL);
97 mMediumPaint.setStyle(Paint.Style.STROKE);
102 mMediumPaint.setStyle(Paint.Style.FILL);
H A DPathOffsetActivity.java46 mPaint.setStyle(Paint.Style.STROKE);
H A DPathsActivity.java62 mSmallPaint.setStyle(Paint.Style.STROKE);
68 mLinePaint.setStyle(Paint.Style.STROKE);
74 mMediumPaint.setStyle(Paint.Style.STROKE);
80 mLargePaint.setStyle(Paint.Style.FILL);
H A DPathOpsActivity.java49 mPaint.setStyle(Paint.Style.FILL);
H A DShapesActivity.java55 mNormalPaint.setStyle(Paint.Style.FILL_AND_STROKE);
61 mStrokePaint.setStyle(Paint.Style.STROKE);
66 mFillPaint.setStyle(Paint.Style.FILL);
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
H A DTextTest.java89 Font.Style.NORMAL, 8.0f / metrics.density));
91 Font.Style.NORMAL, 8.0f / metrics.density));
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
H A DTextViewWithCircularIndicator.java24 import android.graphics.Paint.Style;
62 mCirclePaint.setStyle(Style.FILL);
H A DSimpleMonthView.java24 import android.graphics.Paint.Style;
271 mMonthTitlePaint.setStyle(Style.FILL);
278 mMonthTitleBGPaint.setStyle(Style.FILL);
285 mSelectedCirclePaint.setStyle(Style.FILL);
293 mMonthDayLabelPaint.setStyle(Style.FILL);
300 mMonthNumPaint.setStyle(Style.FILL);
/frameworks/base/graphics/java/android/renderscript/
H A DFont.java79 public enum Style { enum in class:Font
136 static String getFontFileName(String familyName, Style style) {
241 static public Font create(RenderScript rs, Resources res, String familyName, Style fontStyle, float pointSize) {
/frameworks/base/media/java/android/media/
H A DTimedText.java66 private static final int KEY_STRUCT_STYLE_LIST = 13; // List<Style>
102 private List<Style> mStyleList = null;
171 public static final class Style { class in class:TimedText
225 public Style(int startChar, int endChar, int fontId, method in class:TimedText.Style
529 * To parse and store the Style list.
574 // End of the Style parsing. Reset the data position back
583 Style style = new Style(startChar, endChar, fontId, isBold,
586 mStyleList = new ArrayList<Style>();
724 * List of CharPos, Karaoke, Font, Style, an
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DCanvas_Delegate.java679 if (style == Paint.Style.FILL.nativeInt ||
680 style == Paint.Style.FILL_AND_STROKE.nativeInt) {
685 if (style == Paint.Style.STROKE.nativeInt ||
686 style == Paint.Style.FILL_AND_STROKE.nativeInt) {
704 if (style == Paint.Style.FILL.nativeInt ||
705 style == Paint.Style.FILL_AND_STROKE.nativeInt) {
710 if (style == Paint.Style.STROKE.nativeInt ||
711 style == Paint.Style.FILL_AND_STROKE.nativeInt) {
745 if (style == Paint.Style.FILL.nativeInt ||
746 style == Paint.Style
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DNotificationCompat.java197 Style mStyle;
572 public Builder setStyle(Style style) {
606 public static abstract class Style class in class:NotificationCompat
651 public static class BigPictureStyle extends Style {
720 public static class BigTextStyle extends Style {
782 public static class InboxStyle extends Style {
/frameworks/base/core/java/com/android/internal/widget/
H A DSubtitleView.java28 import android.graphics.Paint.Style;
301 paint.setStyle(Style.FILL);
318 textPaint.setStyle(Style.FILL_AND_STROKE);
328 textPaint.setStyle(Style.FILL);
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/
H A DRsListRS.java132 mItalic = Font.create(mRS, mRes, "serif", Font.Style.BOLD_ITALIC, 8);
H A DRsRenderStatesRS.java23 import android.renderscript.Font.Style;
328 mFontSans = Font.create(mRS, mRes, "sans-serif", Font.Style.NORMAL, 8);
329 mFontSerif = Font.create(mRS, mRes, "serif", Font.Style.NORMAL, 8);
331 mFontSerifBold = Font.create(mRS, mRes, "serif", Font.Style.BOLD, 8);
332 mFontSerifItalic = Font.create(mRS, mRes, "serif", Font.Style.ITALIC, 8);
333 mFontSerifBoldItalic = Font.create(mRS, mRes, "serif", Font.Style.BOLD_ITALIC, 8);
334 mFontMono = Font.create(mRS, mRes, "mono", Font.Style.NORMAL, 8);
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
H A DHitRectBug.java53 mPaint.setStyle(Paint.Style.STROKE);
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardCircleFramedDrawable.java85 mPaint.setStyle(Paint.Style.FILL);
127 mPaint.setStyle(Paint.Style.FILL);
135 mPaint.setStyle(Paint.Style.STROKE);

Completed in 524 milliseconds

123