HomeSort by relevance Sort by last modified time
    Searched refs:Style (Results 1 - 25 of 570) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /cts/tests/tests/graphics/src/android/graphics/cts/
Paint_StyleTest.java 21 import android.graphics.Paint.Style;
26 assertEquals(Style.FILL, Style.valueOf("FILL"));
27 assertEquals(Style.STROKE, Style.valueOf("STROKE"));
28 assertEquals(Style.FILL_AND_STROKE, Style.valueOf("FILL_AND_STROKE"));
33 Style[] actual = Style.values();
36 assertEquals(Style.FILL, actual[0])
    [all...]
PathDashPathEffect_StyleTest.java 20 import android.graphics.PathDashPathEffect.Style;
27 assertEquals(Style.TRANSLATE, Style.valueOf("TRANSLATE"));
28 assertEquals(Style.ROTATE, Style.valueOf("ROTATE"));
29 assertEquals(Style.MORPH, Style.valueOf("MORPH"));
30 // Every Style element will be tested somewhere else.
35 Style[] expected = {
36 Style.TRANSLATE
    [all...]
  /external/clang/tools/clang-format/fuzzer/
ClangFormatFuzzer.cpp 19 // FIXME: fuzz more things: different styles, different style features.
21 auto Style = getGoogleStyle(clang::format::FormatStyle::LK_Cpp);
22 Style.ColumnLimit = 60;
24 Style, s, {clang::tooling::Range(0, s.size())}));
  /frameworks/base/graphics/java/android/graphics/
PathDashPathEffect.java 21 public enum Style {
26 Style(int value) {
34 * applies to drawings when the paint's style is STROKE or STROKE_AND_FILL.
35 * If the paint's style is FILL, then this effect is ignored. The paint's
40 * @param style how to transform the shape at each position as it is stamped
43 Style style) {
45 style.native_style);
  /external/icu/icu4c/source/i18n/unicode/
scientificnumberformatter.h 144 class U_I18N_API Style : public UObject {
146 virtual Style *clone() const = 0;
159 class U_I18N_API SuperscriptStyle : public Style {
161 virtual Style *clone() const;
172 class U_I18N_API MarkupStyle : public Style {
177 : Style(),
180 virtual Style *clone() const;
196 Style *styleToAdopt,
207 Style *styleToAdopt,
212 Style *fStyle
    [all...]
  /external/clang/lib/Format/
UnwrappedLineFormatter.h 35 const FormatStyle &Style,
38 : Indenter(Indenter), Whitespaces(Whitespaces), Style(Style),
66 const FormatStyle &Style;
Format.cpp 183 static void mapping(IO &IO, FormatStyle &Style) {
185 IO.mapOptional("Language", Style.Language);
194 if (getPredefinedStyle(StyleName, Style.Language, &PredefinedStyle) &&
195 Style == PredefinedStyle) {
204 FormatStyle::LanguageKind OldLanguage = Style.Language;
207 if (!getPredefinedStyle(BasedOnStyle, Language, &Style)) {
211 Style.Language = OldLanguage;
217 IO.mapOptional("DerivePointerBinding", Style.DerivePointerAlignment);
219 Style.IndentWrappedFunctionNames);
220 IO.mapOptional("PointerBindsToType", Style.PointerAlignment)
    [all...]
UnwrappedLineFormatter.cpp 39 LevelIndentTracker(const FormatStyle &Style,
42 : Style(Style), Keywords(Keywords), AdditionalIndent(AdditionalIndent) {
44 IndentForLevel.push_back(Style.IndentWidth * i + AdditionalIndent);
59 Indent = Line.Level * Style.IndentWidth + AdditionalIndent;
88 if (Style.Language == FormatStyle::LK_Java ||
89 Style.Language == FormatStyle::LK_JavaScript)
95 return Style.AccessModifierOffset;
109 return getIndent(IndentForLevel, Level - 1) + Style.IndentWidth;
112 const FormatStyle &Style;
    [all...]
BreakableToken.h 77 const FormatStyle &Style)
79 Encoding(Encoding), Style(Style) {}
85 const FormatStyle &Style;
102 const FormatStyle &Style);
123 encoding::Encoding Encoding, const FormatStyle &Style);
141 encoding::Encoding Encoding, const FormatStyle &Style);
168 encoding::Encoding Encoding, const FormatStyle &Style);
WhitespaceManager.h 40 WhitespaceManager(SourceManager &SourceMgr, const FormatStyle &Style,
42 : SourceMgr(SourceMgr), Style(Style), UseCRLF(UseCRLF) {}
203 const FormatStyle &Style;
  /external/clang/unittests/Format/
FormatTestJS.cpp 23 unsigned Length, const FormatStyle &Style) {
29 reformat(Style, Code, Ranges, "<stdin>", &IncompleteFormat);
39 const FormatStyle &Style = getGoogleStyle(FormatStyle::LK_JavaScript)) {
40 return format(Code, 0, Code.size(), Style);
44 FormatStyle Style = getGoogleStyle(FormatStyle::LK_JavaScript);
45 Style.ColumnLimit = ColumnLimit;
46 return Style;
51 const FormatStyle &Style = getGoogleStyle(FormatStyle::LK_JavaScript)) {
52 std::string result = format(test::messUp(Code), Style);
165 // Simple object literal, as opposed to enum style below
    [all...]
FormatTestSelective.cpp 29 reformat(Style, Code, Ranges, "<stdin>", &IncompleteFormat);
37 FormatStyle Style = getLLVMStyle();
57 Style.ColumnLimit = 12;
102 Style.AllowShortIfStatementsOnASingleLine = true;
298 Style.AlignEscapedNewlinesLeft = true;
427 Style.ColumnLimit = 11;
438 Style.IndentWidth = 8;
439 Style.UseTab = FormatStyle::UT_Always;
440 Style.AlignEscapedNewlinesLeft = true;
FormatTest.cpp 32 const FormatStyle &Style = getLLVMStyle(),
39 reformat(Style, Code, Ranges, "<stdin>", &IncompleteFormat);
52 FormatStyle Style = getLLVMStyle();
53 Style.ColumnLimit = ColumnLimit;
54 return Style;
58 FormatStyle Style = getGoogleStyle();
59 Style.ColumnLimit = ColumnLimit;
60 return Style;
64 const FormatStyle &Style = getLLVMStyle()) {
65 EXPECT_EQ(Code.str(), format(test::messUp(Code), Style));
    [all...]
FormatTestJava.cpp 23 unsigned Length, const FormatStyle &Style) {
27 tooling::Replacements Replaces = reformat(Style, Code, Ranges);
36 const FormatStyle &Style = getGoogleStyle(FormatStyle::LK_Java)) {
37 return format(Code, 0, Code.size(), Style);
41 FormatStyle Style = getGoogleStyle(FormatStyle::LK_Java);
42 Style.ColumnLimit = ColumnLimit;
43 return Style;
48 const FormatStyle &Style = getGoogleStyle(FormatStyle::LK_Java)) {
49 EXPECT_EQ(Code.str(), format(test::messUp(Code), Style));
62 FormatStyle Style = getStyleWithColumns(50)
    [all...]
SortIncludesTest.cpp 26 applyAllReplacements(Code, sortIncludes(Style, Code, Ranges, FileName));
28 reformat(Style, Sorted, Ranges, FileName));
33 sortIncludes(Style, Code, Ranges, "input.cpp", &Cursor);
37 FormatStyle Style = getLLVMStyle();
70 Style.SortIncludes = false;
142 Style = getGoogleStyle(FormatStyle::LK_Cpp);
221 Style.IncludeCategories = {{".*important_os_header.*", -1}, {".*", 1}};
FormatTestProto.cpp 23 unsigned Length, const FormatStyle &Style) {
27 tooling::Replacements Replaces = reformat(Style, Code, Ranges);
35 FormatStyle Style = getGoogleStyle(FormatStyle::LK_Proto);
36 Style.ColumnLimit = 60; // To make writing tests easier.
37 return format(Code, 0, Code.size(), Style);
  /external/skia/src/ports/
SkFontConfigInterface_direct.h 4 * Use of this source code is governed by a BSD-style license that can be
21 SkTypeface::Style requested,
24 SkTypeface::Style* outStyle) override;
  /frameworks/base/libs/hwui/hwui/
Typeface.h 32 // style used for constructing and querying Typeface objects
33 SkTypeface::Style fSkiaStyle;
34 // base weight in CSS-style units, 100..900
37 // resolved style actually used for rendering
44 static Typeface* createFromTypeface(Typeface* src, SkTypeface::Style style);
  /external/skia/include/effects/
Sk1DPathEffect.h 4 * Use of this source code is governed by a BSD-style license that can be
44 enum Style {
56 @param style how to transform path at each point (based on the current
59 static SkPathEffect* Create(const SkPath& path, SkScalar advance, SkScalar phase, Style);
68 SkPath1DPathEffect(const SkPath& path, SkScalar advance, SkScalar phase, Style);
79 Style fStyle; // copied from constructor
  /external/skia/include/core/
SkStrokeRec.h 4 * Use of this source code is governed by a BSD-style license that can be
22 SkStrokeRec(InitStyle style);
23 SkStrokeRec(const SkPaint&, SkPaint::Style, SkScalar resScale = 1);
26 enum Style {
36 Style getStyle() const;
55 * strokeAndFill==true -> new style will be Fill
56 * strokeAndFill==false -> new style will be Hairline
80 Style style = this->getStyle(); local
81 return (kStroke_Style == style) || (kStrokeAndFill_Style == style)
    [all...]
  /frameworks/base/tools/aapt2/
ValueVisitor_test.cpp 41 Style* visitedStyle = nullptr;
47 void visit(Style* style) override {
48 visitedStyle = style;
49 ValueVisitor::visit(style);
62 std::unique_ptr<Style> style = test::StyleBuilder() local
63 .setParent(u"@android:style/foo")
68 style->accept(&visitor);
70 ASSERT_EQ(style.get(), visitor.visitedStyle)
80 std::unique_ptr<Style> style = test::StyleBuilder() local
    [all...]
  /external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
BarFormatter.java 45 fillPaint.setStyle(Paint.Style.FILL);
48 borderPaint.setStyle(Paint.Style.STROKE);
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
TimeZoneFormatTest.java 33 import android.icu.text.TimeZoneFormat.Style;
544 // text inpos locale style
546 {"Z", 0, "en_US", Style.ISO_EXTENDED_FULL,
549 {"Z", 0, "en_US", Style.SPECIFIC_LONG,
552 {"Zambia time", 0, "en_US", Style.ISO_EXTENDED_FULL,
555 {"Zambia time", 0, "en_US", Style.GENERIC_LOCATION,
558 {"Zambia time", 0, "en_US", Style.ISO_BASIC_LOCAL_FULL,
561 {"+00:00", 0, "en_US", Style.ISO_EXTENDED_FULL,
564 {"-01:30:45", 0, "en_US", Style.ISO_EXTENDED_FULL,
567 {"-7", 0, "en_US", Style.ISO_BASIC_LOCAL_FULL
635 Style style = (Style)test[3]; local
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
TimeZoneFormatTest.java 32 import com.ibm.icu.text.TimeZoneFormat.Style;
540 // text inpos locale style
542 {"Z", 0, "en_US", Style.ISO_EXTENDED_FULL,
545 {"Z", 0, "en_US", Style.SPECIFIC_LONG,
548 {"Zambia time", 0, "en_US", Style.ISO_EXTENDED_FULL,
551 {"Zambia time", 0, "en_US", Style.GENERIC_LOCATION,
554 {"Zambia time", 0, "en_US", Style.ISO_BASIC_LOCAL_FULL,
557 {"+00:00", 0, "en_US", Style.ISO_EXTENDED_FULL,
560 {"-01:30:45", 0, "en_US", Style.ISO_EXTENDED_FULL,
563 {"-7", 0, "en_US", Style.ISO_BASIC_LOCAL_FULL
631 Style style = (Style)test[3]; local
    [all...]
  /external/llvm/include/llvm/MC/
MCInstPrinter.h 30 enum Style {
54 /// Which style to use for printing hexadecimal values.
55 HexStyle::Style PrintHexStyle;
92 HexStyle::Style getPrintHexStyle() const { return PrintHexStyle; }
93 void setPrintHexStyle(HexStyle::Style Value) { PrintHexStyle = Value; }

Completed in 1319 milliseconds

1 2 3 4 5 6 7 8 91011>>