Home
last modified time | relevance | path

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

1234567

/frameworks/base/tools/aapt2/
DValueVisitor_test.cpp41 Style* visitedStyle = nullptr;
47 void visit(Style* style) override { in visit()
62 std::unique_ptr<Style> style = test::StyleBuilder() in TEST()
80 std::unique_ptr<Style> style = test::StyleBuilder() in TEST()
83 EXPECT_NE(valueCast<Style>(style.get()), nullptr); in TEST()
DValueVisitor.h42 virtual void visit(Style* value) {} in visit()
68 void visitSubValues(Style* style) { in visitSubValues()
73 for (Style::Entry& entry : style->entries) { in visitSubValues()
100 DECL_VISIT_COMPOUND_VALUE(Style);
DResourceParser_test.cpp279 Style* style = test::getValue<Style>(&mTable, u"@style/foo"); in TEST_F()
300 Style* style = test::getValue<Style>(&mTable, u"@style/foo"); in TEST_F()
312 Style* style = test::getValue<Style>(&mTable, u"@style/foo"); in TEST_F()
326 Style* style = test::getValue<Style>(&mTable, u"@style/foo"); in TEST_F()
336 Style* style = test::getValue<Style>(&mTable, u"@style/foo.bar"); in TEST_F()
348 Style* style = test::getValue<Style>(&mTable, u"@style/foo.bar"); in TEST_F()
358 Style* style = test::getValue<Style>(&mTable, u"@style/foo"); in TEST_F()
DResourceValues.cpp448 Style* Style::clone(StringPool* newPool) const { in clone()
449 Style* style = new Style(); in clone()
463 void Style::print(std::ostream* out) const { in print()
476 static ::std::ostream& operator<<(::std::ostream& out, const Style::Entry& value) { in operator <<()
/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()
/frameworks/base/tools/aapt2/link/
DAutoVersioner.cpp78 if (Style* style = valueCast<Style>(configValue->value.get())) { in consume()
80 std::vector<Style::Entry> stripped; in consume()
117 std::unique_ptr<Style> newStyle(style->clone(&table->stringPool)); in consume()
DAutoVersioner_test.cpp83 Style* style = test::getValueForConfig<Style>(table.get(), u"@app:style/Foo", in TEST()
91 style = test::getValueForConfig<Style>(table.get(), u"@app:style/Foo", in TEST()
102 style = test::getValueForConfig<Style>(table.get(), u"@app:style/Foo", in TEST()
116 style = test::getValueForConfig<Style>(table.get(), u"@app:style/Foo", in TEST()
DReferenceLinker_test.cpp79 Style* style = test::getValue<Style>(table.get(), u"@com.app.test:style/Theme"); in TEST()
108 Style* style = test::getValue<Style>(table.get(), u"@com.app.test:style/Theme"); in TEST()
150 Style* style = test::getValue<Style>(table.get(), u"@com.app.test:style/Theme"); in TEST()
/frameworks/base/media/java/android/media/
DRating.java44 public @interface Style {} annotation in Rating
97 private Rating(@Style int ratingStyle, float rating) { in Rating()
146 public static Rating newUnratedRating(@Style int ratingStyle) { in newUnratedRating()
247 @Style
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/tools/layoutlib/bridge/src/android/graphics/
DCanvas_Delegate.java594 if (style == Paint.Style.FILL.nativeInt || in native_drawRect()
595 style == Paint.Style.FILL_AND_STROKE.nativeInt) { in native_drawRect()
600 if (style == Paint.Style.STROKE.nativeInt || in native_drawRect()
601 style == Paint.Style.FILL_AND_STROKE.nativeInt) { in native_drawRect()
620 if (style == Paint.Style.FILL.nativeInt || in native_drawOval()
621 style == Paint.Style.FILL_AND_STROKE.nativeInt) { in native_drawOval()
626 if (style == Paint.Style.STROKE.nativeInt || in native_drawOval()
627 style == Paint.Style.FILL_AND_STROKE.nativeInt) { in native_drawOval()
662 if (style == Paint.Style.FILL.nativeInt || in native_drawArc()
663 style == Paint.Style.FILL_AND_STROKE.nativeInt) { in native_drawArc()
[all …]
/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()
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()
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()
/frameworks/base/core/jni/android/graphics/
DTypeface.cpp31 Typeface* face = Typeface::createFromTypeface(family, (SkTypeface::Style)style); in Typeface_createFromTypeface()
35 … face = Typeface::createFromTypeface(family, (SkTypeface::Style)(style ^ SkTypeface::kItalic)); in Typeface_createFromTypeface()
38 face = Typeface::createFromTypeface(family, (SkTypeface::Style)i); in Typeface_createFromTypeface()
/frameworks/support/v4/java/android/support/v4/media/
DRatingCompat.java45 public @interface Style {} annotation in RatingCompat
99 private RatingCompat(@Style int ratingStyle, float rating) { in RatingCompat()
148 public static RatingCompat newUnratedRating(@Style int ratingStyle) { in newUnratedRating()
250 @Style
/frameworks/base/libs/hwui/hwui/
DTypeface.h33 SkTypeface::Style fSkiaStyle;
44 static Typeface* createFromTypeface(Typeface* src, SkTypeface::Style style);
/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/core/java/android/text/style/
DQuoteSpan.java82 Paint.Style style = p.getStyle(); in drawLeadingMargin()
85 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()
/frameworks/base/rs/java/android/renderscript/
DFont.java76 public enum Style { enum in Font
133 static String getFontFileName(String familyName, Style style) { in getFontFileName()
239 …static public Font create(RenderScript rs, Resources res, String familyName, Style fontStyle, floa… in create()
/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/
DRegion.java81 paint1.setStyle(Paint.Style.STROKE); in getSourceLocation()
82 paint2.setStyle(Paint.Style.STROKE); in getSourceLocation()
132 paint.setStyle(Paint.Style.STROKE); in findMatch()
/frameworks/base/tools/aapt2/test/
DBuilders.h197 std::unique_ptr<Style> mStyle = util::make_unique<Style>();
206 mStyle->entries.push_back(Style::Entry{ Reference(parseNameOrDie(str)), std::move(value) }); in addItem()
216 std::unique_ptr<Style> build() { in build()

1234567