Home
last modified time | relevance | path

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

12345678910>>...12

/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/utils/
H A DStringUtilTest.java131 RelativeDateTimeFormatter.Style.LONG).toString()).isEqualTo(expectedTime); in testFormatRelativeTime_WithSeconds_ShowSeconds()
140 RelativeDateTimeFormatter.Style.LONG).toString()).isEqualTo(expectedTime); in testFormatRelativeTime_NoSeconds_DoNotShowSeconds()
149 RelativeDateTimeFormatter.Style.LONG).toString()).isEqualTo(expectedTime); in testFormatRelativeTime_LessThanTwoMinutes_withSeconds()
158 RelativeDateTimeFormatter.Style.LONG).toString()).isEqualTo(expectedTime); in testFormatRelativeTime_LessThanTwoMinutes_NoSeconds()
167 RelativeDateTimeFormatter.Style.LONG).toString()).isEqualTo(expectedTime); in testFormatRelativeTime_TwoMinutes_withSeconds()
176 RelativeDateTimeFormatter.Style.LONG).toString()).isEqualTo(expectedTime); in testFormatRelativeTime_LessThanTwoHours_withSeconds()
185 RelativeDateTimeFormatter.Style.LONG).toString()).isEqualTo(expectedTime); in testFormatRelativeTime_TwoHours_withSeconds()
194 RelativeDateTimeFormatter.Style.LONG).toString()).isEqualTo(expectedTime); in testFormatRelativeTime_LessThanTwoDays_withSeconds()
203 RelativeDateTimeFormatter.Style.LONG).toString()).isEqualTo(expectedTime); in testFormatRelativeTime_TwoDays_withSeconds()
212 RelativeDateTimeFormatter.Style.LONG).toString()).isEqualTo(expectedTime); in testFormatRelativeTime_FormatZero_WithSeconds()
[all …]
/aosp12/frameworks/layoutlib/bridge/src/android/graphics/
H A DBaseCanvas_Delegate.java229 if (style == Paint.Style.FILL.nativeInt || in nDrawRect()
235 if (style == Paint.Style.STROKE.nativeInt || in nDrawRect()
252 if (style == Paint.Style.FILL.nativeInt || in nDrawOval()
258 if (style == Paint.Style.STROKE.nativeInt || in nDrawOval()
291 if (style == Paint.Style.FILL.nativeInt || in nDrawArc()
313 if (style == Paint.Style.FILL.nativeInt || in nDrawRoundRect()
321 if (style == Paint.Style.STROKE.nativeInt || in nDrawRoundRect()
358 if (style == Paint.Style.STROKE.nativeInt || in nDrawDoubleRoundRect()
364 if (style == Paint.Style.FILL.nativeInt || in nDrawDoubleRoundRect()
411 if (style == Paint.Style.FILL.nativeInt || in nDrawPath()
[all …]
/aosp12/frameworks/base/tools/aapt2/
H A DValueVisitor_test.cpp39 Style* visited_style = nullptr;
43 void Visit(Style* style) override { in Visit()
58 std::unique_ptr<Style> style = in TEST()
78 std::unique_ptr<Style> style = in TEST()
83 EXPECT_NE(ValueCast<Style>(style.get()), nullptr); in TEST()
H A DResourceValues_test.cpp109 std::unique_ptr<Style> a = test::StyleBuilder() in TEST()
115 std::unique_ptr<Style> b = test::StyleBuilder() in TEST()
121 std::unique_ptr<Style> c = test::StyleBuilder() in TEST()
127 std::unique_ptr<Style> d = test::StyleBuilder() in TEST()
132 std::unique_ptr<Style> e = test::StyleBuilder() in TEST()
138 std::unique_ptr<Style> f = test::StyleBuilder() in TEST()
143 std::unique_ptr<Style> g = test::StyleBuilder() in TEST()
159 std::unique_ptr<Style> a = test::StyleBuilder() in TEST()
191 std::unique_ptr<Style> a = in TEST()
198 std::unique_ptr<Style> b = in TEST()
[all …]
H A DValueVisitor.h42 virtual void Visit(Style* value) { VisitAny(value); } in Visit()
86 virtual void Visit(const Style* value) { in Visit()
122 void VisitSubValues(Style* style) { in VisitSubValues()
127 for (Style::Entry& entry : style->entries) { in VisitSubValues()
154 DECL_VISIT_COMPOUND_VALUE(Style);
H A DResourceValues.cpp800 std::ostream& operator<<(std::ostream& out, const Style::Entry& entry) { in operator <<()
832 static bool KeyNameComparator(const Style::Entry* a, const Style::Entry* b) { in KeyNameComparator()
836 bool Style::Equals(const Value* value) const { in Equals()
837 const Style* other = ValueCast<Style>(value); in Equals()
863 void Style::Print(std::ostream* out) const { in Print()
875 Style::Entry CloneEntry(const Style::Entry& entry, StringPool* pool) { in CloneEntry()
876 Style::Entry cloned_entry{entry.key}; in CloneEntry()
884 void Style::MergeWith(Style* other, StringPool* pool) { in MergeWith()
1137 std::unique_ptr<Style> CloningValueTransformer::TransformDerived(const Style* value) { in TransformDerived()
1138 auto new_value = std::make_unique<Style>(); in TransformDerived()
[all …]
/aosp12/frameworks/base/graphics/java/android/graphics/
H A DPathDashPathEffect.java21 public enum Style { enum in PathDashPathEffect
26 Style(int value) { in Style() method in PathDashPathEffect.Style
43 Style style) { in PathDashPathEffect()
/aosp12/frameworks/base/tools/aapt2/link/
H A DAutoVersioner_test.cpp87Style* style = test::GetValueForConfig<Style>(table.get(), "app:style/Foo", test::ParseConfigOrDie… in TEST()
92 …style = test::GetValueForConfig<Style>(table.get(), "app:style/Foo", test::ParseConfigOrDie("v13")… in TEST()
98 …style = test::GetValueForConfig<Style>(table.get(), "app:style/Foo", test::ParseConfigOrDie("v17")… in TEST()
105 …style = test::GetValueForConfig<Style>(table.get(), "app:style/Foo", test::ParseConfigOrDie("v21")… in TEST()
H A DAutoVersioner.cpp92 if (Style* style = ValueCast<Style>(config_value->value.get())) { in Consume()
94 std::vector<Style::Entry> stripped; in Consume()
132 std::unique_ptr<Style> new_style(style->Transform(cloner)); in Consume()
/aosp12/frameworks/base/libs/hwui/hwui/
H A DTypeface.h41 enum Style : uint8_t { kNormal = 0, kBold = 0x01, kItalic = 0x02, kBoldItalic = 0x03 }; enum
42 Style fAPIStyle;
74 static Typeface* createRelative(Typeface* src, Style desiredStyle);
/aosp12/frameworks/base/media/java/android/media/
H A DRating.java44 public @interface Style {} annotation in Rating
97 private Rating(@Style int ratingStyle, float rating) { in Rating()
145 public static Rating newUnratedRating(@Style int ratingStyle) { in newUnratedRating()
247 @Style
H A DTimedText.java105 private List<Style> mStyleList = null;
174 public static final class Style { class in TimedText
228 public Style(int startChar, int endChar, int fontId, in Style() method in TimedText.Style
596 Style style = new Style(startChar, endChar, fontId, isBold, in readStyle()
599 mStyleList = new ArrayList<Style>(); in readStyle()
/aosp12/system/extras/libjsonpb/verify/
H A Dtest.proto21 // Note: this file explicitly uses names that does NOT follow the Protobuf Style
24 // - Follow the Protobuf Style Guide for field names / enum value names
26 // Protobuf Style Guide (a.k.a lower_snake_case), use json_name option to
29 // the Protobuf Style Guide (a.k.a CAPITALIZED_SNAKE_CASE), use strings.
/aosp12/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A 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()
H A 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()
H A 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()
H A DPathDestructionActivity.java55 strokePaint.setStyle(Paint.Style.STROKE); in MyView()
56 fillPaint.setStyle(Paint.Style.FILL); in MyView()
57 fillAndStrokePaint.setStyle(Paint.Style.FILL_AND_STROKE); in MyView()
/aosp12/frameworks/base/core/java/android/text/format/
H A DRelativeDateTimeFormatter.java126 android.icu.text.RelativeDateTimeFormatter.Style style; in getRelativeTimeSpanString()
128 style = android.icu.text.RelativeDateTimeFormatter.Style.SHORT; in getRelativeTimeSpanString()
130 style = android.icu.text.RelativeDateTimeFormatter.Style.LONG; in getRelativeTimeSpanString()
277 android.icu.text.RelativeDateTimeFormatter.Style style; in getRelativeDateTimeString()
279 style = android.icu.text.RelativeDateTimeFormatter.Style.SHORT; in getRelativeDateTimeString()
281 style = android.icu.text.RelativeDateTimeFormatter.Style.LONG; in getRelativeDateTimeString()
337 ULocale locale, android.icu.text.RelativeDateTimeFormatter.Style style, in getFormatter()
/aosp12/system/tools/hidl/lint/lints/
H A Dsafeunion.cpp53 if (compoundType->style() == CompoundType::Style::STYLE_UNION) { in lintUnionRecursively()
69 if (compoundType->style() == CompoundType::Style::STYLE_UNION) { in lintUnionRecursively()
91 if (compoundType->style() == CompoundType::Style::STYLE_UNION) { in lintUnionRecursively()
/aosp12/packages/apps/DevCamera/src/com/android/devcamera/
H A DPreviewOverlay.java58 mPaint.setStyle(Paint.Style.STROKE); in PreviewOverlay()
64 mPaint2.setStyle(Paint.Style.STROKE); in PreviewOverlay()
170 mPaint2.setStyle(Paint.Style.FILL_AND_STROKE); in onDraw()
174 mPaint2.setStyle(Paint.Style.FILL_AND_STROKE); in onDraw()
184 mPaint2.setStyle(Paint.Style.FILL_AND_STROKE); in onDraw()
/aosp12/system/tools/hidl/
H A DCompoundType.h30 enum Style { enum
36 CompoundType(Style style, const std::string& localName, const FQName& fullName,
39 Style style() const;
149 Style mStyle;
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DEclipseControl.java198 paint.setStyle(Paint.Style.FILL); in paintGrayPoint()
215 paint.setStyle(Paint.Style.FILL); in paintPoint()
233 paint.setStyle(Paint.Style.STROKE); in paintRadius()
249 paint.setStyle(Paint.Style.STROKE); in paintOvallines()
269 paint.setStyle(Paint.Style.FILL); in paintOvallines()
277 paint.setStyle(Paint.Style.STROKE); in paintOvallines()
/aosp12/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/text/
H A DSubtitleView.java26 import android.graphics.Paint.Style;
279 paint.setStyle(Style.FILL); in onDraw()
300 textPaint.setStyle(Style.FILL_AND_STROKE); in onDraw()
311 textPaint.setStyle(Style.FILL); in onDraw()
318 textPaint.setStyle(Style.FILL); in onDraw()
/aosp12/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
H A DPerfTimeline.java89 mPaintBaseLow.setStyle(Paint.Style.FILL); in init()
93 mPaintBaseHigh.setStyle(Paint.Style.FILL); in init()
97 mPaintValue.setStyle(Paint.Style.FILL); in init()
/aosp12/system/bt/gd/docs/architecture/
H A Dstyle_guide.md1 # Gabeldorsche Style Guide
10 ### Google C++ Style Guide
12 C++ Style Guide: https://google.github.io/styleguide/cppguide.html
14 ### Android and Google Java Style Guide
16 1. Android Java Style Guide:
19 2. when not covered by (1), see External Java Style Guide:
24 ### Python Style Guide
26 The GD stack uses the Google Python Style Guide:

12345678910>>...12