/external/skia/src/core/ |
SkFontDescriptor.h | 4 * Use of this source code is governed by a BSD-style license that can be 52 SkFontDescriptor(SkTypeface::Style = SkTypeface::kNormal); 58 SkTypeface::Style getStyle() { return fStyle; } 59 void setStyle(SkTypeface::Style style) { fStyle = style; } 80 SkTypeface::Style fStyle;
|
/external/clang/lib/Format/ |
ContinuationIndenter.cpp | 49 const FormatStyle &Style) { 52 Style.BreakConstructorInitializersBeforeComma) 56 !Style.BreakConstructorInitializersBeforeComma); 59 ContinuationIndenter::ContinuationIndenter(const FormatStyle &Style, 65 : Style(Style), Keywords(Keywords), SourceMgr(SourceMgr), 68 CommentPragmasRegex(Style.CommentPragmas) {} 98 Current.closesBlockOrBlockTypeList(Style))) 129 if (Style.AlwaysBreakAfterReturnType == FormatStyle::RTBS_None) 142 Current.closesBlockOrBlockTypeList(Style)) [all...] |
UnwrappedLineParser.cpp | 155 const FormatStyle &Style, unsigned &LineLevel) 157 if (Style.BraceWrapping.AfterControlStatement) 159 if (Style.BraceWrapping.IndentBraces) 200 UnwrappedLineParser::UnwrappedLineParser(const FormatStyle &Style, 205 CurrentLines(&Lines), Style(Style), Keywords(Keywords), Tokens(nullptr), 258 !Line->InPPDirective && Style.Language != FormatStyle::LK_JavaScript; 299 (Style.IndentCaseLabels || (Line->InPPDirective && Line->Level == 1))) 341 if (Style.Language == FormatStyle::LK_Proto) { 457 static bool ShouldBreakBeforeBrace(const FormatStyle &Style, [all...] |
WhitespaceManager.cpp | 187 static void AlignTokens(const FormatStyle &Style, F &&Matches, 279 unsigned ChangeMaxColumn = Style.ColumnLimit - LineLengthAfter; 297 if (!Style.AlignConsecutiveAssignments) 300 AlignTokens(Style, 316 if (!Style.AlignConsecutiveDeclarations) 326 AlignTokens(Style, [](Change const &C) { return C.IsStartOfDeclName; }, 344 unsigned ChangeMaxColumn = Style.ColumnLimit - Changes[i].TokenLength; 364 CommentColumn == NextColumn + Style.IndentWidth; 369 if (!Style.AlignTrailingComments || FollowsRBraceInColumn0) { 421 Style.AlignEscapedNewlinesLeft ? 0 : Style.ColumnLimit [all...] |
FormatToken.cpp | 91 Style.ColumnLimit - State.Column + State.NextToken->Previous->ColumnWidth; 150 // In C++11 braced list style, we should not format in columns unless they 153 if (Style.Cpp11BracedListStyle && !Style.BinPackArguments && 158 if (Style.AlignAfterOpenBracket == FormatStyle::BAS_DontAlign) 186 if (Style.Cpp11BracedListStyle && 188 // In Cpp11 braced list style, the } and possibly other subsequent 221 unsigned MaxItems = Style.ColumnLimit / 3; 266 if (Format.TotalWidth > Style.ColumnLimit)
|
TokenAnnotator.cpp | 35 AnnotatingParser(const FormatStyle &Style, AnnotatedLine &Line, 37 : Style(Style), Line(Line), CurrentToken(Line.First), AutoFound(false), 61 if (Style.Language == FormatStyle::LK_Java && 74 Style.Language == FormatStyle::LK_Java) { 264 Style.Language == FormatStyle::LK_Cpp && 279 } else if (Style.Language == FormatStyle::LK_JavaScript && Parent && 377 Style.Language != FormatStyle::LK_Cpp)) || 378 Style.Language == FormatStyle::LK_Proto) && 382 Style.Language == FormatStyle::LK_JavaScript [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
RelativeDateTimeFormatter.java | 74 * The formatting style 77 public static enum Style { 261 return getInstance(ULocale.getDefault(), null, Style.LONG, DisplayContext.CAPITALIZATION_NONE); 271 return getInstance(locale, null, Style.LONG, DisplayContext.CAPITALIZATION_NONE); 294 return getInstance(locale, nf, Style.LONG, DisplayContext.CAPITALIZATION_NONE); 299 * NumberFormat object, style, and capitalization context 304 * @param style the style. 310 Style style, 561 private final Style style; field in class:RelativeDateTimeFormatter 728 Style style; \/\/ {LONG, SHORT, NARROW} Derived from unit key string. field in class:RelativeDateTimeFormatter.RelDateTimeFmtDataSink [all...] |
ScientificNumberFormatter.java | 42 private final Style style; field in class:ScientificNumberFormatter 119 return style.format( 126 * A style type for ScientificNumberFormatter. All Style instances are immutable 129 private static abstract class Style { 149 private static class MarkupStyle extends Style { 199 private static class SuperscriptStyle extends Style { 310 DecimalFormat decimalFormat, Style style) { [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
RelativeDateTimeFormatter.java | 75 * The formatting style 79 public static enum Style { 295 return getInstance(ULocale.getDefault(), null, Style.LONG, DisplayContext.CAPITALIZATION_NONE); 306 return getInstance(locale, null, Style.LONG, DisplayContext.CAPITALIZATION_NONE); 331 return getInstance(locale, nf, Style.LONG, DisplayContext.CAPITALIZATION_NONE); 336 * NumberFormat object, style, and capitalization context 341 * @param style the style. 348 Style style, 608 private final Style style; field in class:RelativeDateTimeFormatter 775 Style style; \/\/ {LONG, SHORT, NARROW} Derived from unit key string. field in class:RelativeDateTimeFormatter.RelDateTimeFmtDataSink [all...] |
ScientificNumberFormatter.java | 41 private final Style style; field in class:ScientificNumberFormatter 123 return style.format( 130 * A style type for ScientificNumberFormatter. All Style instances are immutable 133 private static abstract class Style { 153 private static class MarkupStyle extends Style { 203 private static class SuperscriptStyle extends Style { 314 DecimalFormat decimalFormat, Style style) { [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
TrieMapTest.java | 21 import android.icu.dev.test.util.TrieMap.Style; 127 checkGet(unicodeTestMap, TrieMap.Style.BYTES); 128 checkGet(unicodeTestMap, TrieMap.Style.CHARS); 131 private void checkGet(Map<String, Integer> testmap, TrieMap.Style style) { 135 TrieMap<Integer> trieMap = TrieMap.Builder.with(style, Option.SMALL, testmap).build(); 144 assertEquals(style + "\tGet of '" + key + "' = {" + Utility.hex(key) + "}", value, foundValue); 153 timeIteration(unicodeTestMap, comparisonTime, Style.BYTES, 5); 154 timeIteration(unicodeTestMap, comparisonTime, Style.CHARS, 3); 158 public long timeIteration(Map<String, Integer> testMap, long comparisonTime, Style style, double ratioToMap) 458 Style style; field in class:TrieMapTest.MyLoop [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
TrieMapTest.java | 20 import com.ibm.icu.dev.test.util.TrieMap.Style; 123 checkGet(unicodeTestMap, TrieMap.Style.BYTES); 124 checkGet(unicodeTestMap, TrieMap.Style.CHARS); 127 private void checkGet(Map<String, Integer> testmap, TrieMap.Style style) { 131 TrieMap<Integer> trieMap = TrieMap.Builder.with(style, Option.SMALL, testmap).build(); 140 assertEquals(style + "\tGet of '" + key + "' = {" + Utility.hex(key) + "}", value, foundValue); 149 timeIteration(unicodeTestMap, comparisonTime, Style.BYTES, 5); 150 timeIteration(unicodeTestMap, comparisonTime, Style.CHARS, 3); 154 public long timeIteration(Map<String, Integer> testMap, long comparisonTime, Style style, double ratioToMap) 454 Style style; field in class:TrieMapTest.MyLoop [all...] |
/external/skia/include/core/ |
SkTypeface.h | 5 * Use of this source code is governed by a BSD-style license that can be 35 The SkTypeface class specifies the typeface and intrinsic style of a font. 44 /** Style specifies the intrinsic style attributes of a given typeface 46 enum Style { 55 /** Returns the typeface's intrinsic style attributes. */ 60 /** Returns the typeface's intrinsic style attributes. 63 Style style() const { function in class:SkTypeface 64 return static_cast<Style>( [all...] |
/external/skia/src/fonts/ |
SkTestScalerContext.h | 4 * Use of this source code is governed by a BSD-style license that can be 27 SkTypeface::Style fStyle; 43 SkTypeface::Style fDebugStyle; 60 SkTestTypeface(SkTestFont*, const SkFontStyle& style); 110 SkTypeface* CreateTestTypeface(const char* name, SkTypeface::Style style);
|
/external/skia/src/pdf/ |
SkPDFUtils.h | 5 * Use of this source code is governed by a BSD-style license that can be 48 static void EmitPath(const SkPath& path, SkPaint::Style paintStyle, 50 static void EmitPath(const SkPath& path, SkPaint::Style paintStyle, 55 static void PaintPath(SkPaint::Style style, SkPath::FillType fill,
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
XYRegionFormatter.java | 32 paint.setStyle(Paint.Style.FILL);
53 //paint.setStyle(Paint.Style.FILL);
|
/frameworks/base/media/java/android/media/ |
Rating.java | 29 * A rating is defined by its rating style (see {@link #RATING_HEART}, 44 public @interface Style {} 54 * Indicates a rating style is not supported. A Rating will never have this 61 * A rating style with a single degree of rating, "heart" vs "no heart". Can be used to 67 * A rating style for "thumb up" vs "thumb down". 72 * A rating style with 0 to 3 stars. 77 * A rating style with 0 to 4 stars. 82 * A rating style with 0 to 5 stars. 87 * A rating style expressed as a percentage. 97 private Rating(@Style int ratingStyle, float rating) [all...] |
/frameworks/base/tools/aapt2/ |
ValueVisitor.h | 42 virtual void visit(Style* value) {} 68 void visitSubValues(Style* style) { 69 if (style->parent) { 70 visit(&style->parent.value()); 73 for (Style::Entry& entry : style->entries) { 100 DECL_VISIT_COMPOUND_VALUE(Style);
|
/frameworks/base/tools/aapt2/link/ |
AutoVersioner.cpp | 78 if (Style* style = valueCast<Style>(configValue->value.get())) { 80 std::vector<Style::Entry> stripped; 82 auto iter = style->entries.begin(); 83 while (iter != style->entries.end()) { 92 // We use the smallest SDK level to generate the new style. 99 // Erase this from this style. 100 iter = style->entries.erase(iter); 113 // Let's create a new Style for this versioned resource [all...] |
/external/chromium-trace/catapult/third_party/webapp2/docs/_themes/webapp2/ |
pygapp2.py | 2 from pygments.style import Style 6 class pygapp2(Style):
|
/external/skia/include/ports/ |
SkFontConfigInterface.h | 4 * Use of this source code is governed by a BSD-style license that can be 73 * Given a familyName and style, find the best match. 78 * If outStyle is not null, assign the found style to it 79 * (which may differ from the requested style). 84 SkTypeface::Style requested, 87 SkTypeface::Style* outStyle) = 0;
|
/frameworks/base/core/java/android/text/style/ |
QuoteSpan.java | 17 package android.text.style; 82 Paint.Style style = p.getStyle(); local 85 p.setStyle(Paint.Style.FILL); 90 p.setStyle(style);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
CornerPathEffectTest.java | 29 import android.graphics.Paint.Style; 51 pathPaint.setStyle(Style.STROKE); 72 expectedPaint.setStyle(Style.STROKE);
|
DiscretePathEffectTest.java | 28 import android.graphics.Paint.Style; 47 paint.setStyle(Style.STROKE); 64 paint.setStyle(Style.STROKE);
|
/cts/tests/tests/media/src/android/media/cts/ |
FaceView.java | 49 mPInnerBullsEye.setStyle(Paint.Style.FILL); 52 mPOuterBullsEye.setStyle(Paint.Style.STROKE); 55 mTmpPaint.setStyle(Paint.Style.STROKE);
|