/third_party/skia/tests/ |
H A D | MaskCacheTest.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 38 SkBlurStyle style = kNormal_SkBlurStyle; in DEF_TEST() local 41 SkCachedData* data = SkMaskCache::FindAndRef(sigma, style, rrect, &mask, &cache); in DEF_TEST() 50 SkMaskCache::Add(sigma, style, rrect, mask, data, &cache); in DEF_TEST() 57 data = SkMaskCache::FindAndRef(sigma, style, rrect, &mask, &cache); in DEF_TEST() 75 SkBlurStyle style = kNormal_SkBlurStyle; in DEF_TEST() local 78 SkCachedData* data = SkMaskCache::FindAndRef(sigma, style, rects, 1, &mask, &cache); in DEF_TEST() 87 SkMaskCache::Add(sigma, style, rects, 1, mask, data, &cache); in DEF_TEST() 94 data = SkMaskCache::FindAndRef(sigma, style, rects, 1, &mask, &cache); in DEF_TEST()
|
/third_party/skia/gm/ |
H A D | linepaths.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 23 SkPaint::Style style, SkPathFillType fill, in drawPath() 31 paint.setStyle(style); in drawPath() 110 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in draw() 111 if (0 < style) { in draw() 117 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in draw() 130 canvas->drawString(gStyles[style].fName, 0, rect.height() + 12.0f, in draw() 21 drawPath(SkPath& path,SkCanvas* canvas,SkColor color, const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, SkPaint::Style style, SkPathFillType fill, SkScalar strokeWidth) drawPath() argument
|
H A D | cubicpaths.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 128 SkPaint::Style style, SkPathFillType fill, in drawPath() 136 paint.setStyle(style); in drawPath() 207 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { 208 if (0 < style) { 214 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, 227 canvas->drawString(gStyles[style].fName, 0, rect.height() + 12, font, labelPaint); 247 SkPaint::Style style, SkPathFillTyp in drawPath() 126 drawPath(SkPath& path,SkCanvas* canvas,SkColor color, const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, SkPaint::Style style, SkPathFillType fill, SkScalar strokeWidth) drawPath() argument 245 drawPath(SkPath& path,SkCanvas* canvas,SkColor color, const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, SkPaint::Style style, SkPathFillType fill, SkScalar strokeWidth) drawPath() argument [all...] |
H A D | emptypath.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 34 SkPaint::Style style, in drawEmpty() 40 paint.setStyle(style); in drawEmpty() 79 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { 95 gStyles[style].fStyle, gFills[fill].fFill); 107 canvas->drawString(gStyles[style].fName, 0, rect.height() + 15.0f, 31 drawEmpty(SkCanvas* canvas, SkColor color, const SkRect& clip, SkPaint::Style style, SkPathFillType fill) drawEmpty() argument
|
/third_party/libabigail/include/ |
H A D | abg-viz-svg.h | 30 const style& _M_style; 38 extern const style primary_row_sty; 39 extern const style base_row_sty; 40 extern const style member_row_sty; 41 extern const style implementation_row_sty; 45 SVG "array" style notation for size/layout/alignment.
|
/third_party/skia/src/fonts/ |
H A D | SkFontMgr_indirect.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 34 void getStyle(int index, SkFontStyle* fs, SkString* style) override { 38 if (style) { 40 style->reset(); 144 const SkFontStyle& style, in onMatchFamilyStyleCharacter() 148 SkFontIdentity id = fProxy->matchNameStyleCharacter(familyName, style, bcp47, in onMatchFamilyStyleCharacter() 172 SkFontStyle style) const { in onLegacyMakeTypeface() 173 sk_sp<SkTypeface> face(this->matchFamilyStyle(familyName, style)); in onLegacyMakeTypeface() 176 face.reset(this->matchFamilyStyle(nullptr, style)); in onLegacyMakeTypeface() 180 SkFontIdentity fontId = this->fProxy->matchIndexStyle(0, style); in onLegacyMakeTypeface() 143 onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle& style, const char* bcp47[], int bcp47Count, SkUnichar character) const onMatchFamilyStyleCharacter() argument [all...] |
/third_party/skia/experimental/docs/ |
H A D | canvasBackend.js | 71 if ('fill' == paint.style) { 74 assert('stroke' == paint.style); 79 if ('fill' == paint.style) { 82 assert('stroke' == paint.style); 123 if ('fill' == paint.style) { 125 } else if ('stroke' == paint.style) { 135 var font = typeface.style; 162 canvas.style.width = unscaledWidth + 'px'; 163 canvas.style.height = unscaledHeight + 'px';
|
/third_party/skia/modules/skparagraph/gm/ |
H A D | simple_gm.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 44 skia::textlayout::TextStyle style; in buildParagraph() local 45 style.setForegroundColor(SkPaint()); in buildParagraph() 46 style.setFontFamilies({SkString("sans-serif")}); in buildParagraph() 47 style.setFontSize(30); in buildParagraph() 50 style.setDecoration(skia::textlayout::TextDecoration::kUnderline); in buildParagraph() 51 style.setDecorationMode(skia::textlayout::TextDecorationMode::kThrough); in buildParagraph() 52 style.setDecorationColor(SK_ColorBLACK); in buildParagraph() 53 style.setDecorationThicknessMultiplier(2); in buildParagraph() 57 paraStyle.setTextStyle(style); in buildParagraph() [all...] |
/third_party/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/ |
H A D | TimeZoneNameTest.java | 76 private void checkDisplayNamePair(int style, String tzid, Locale loc, boolean warnOnly) { in checkDisplayNamePair() argument 89 String icuStdName = getIcuDisplayName(tzid, false, style, loc); in checkDisplayNamePair() 90 String icuDstName = getIcuDisplayName(tzid, true, style, loc); in checkDisplayNamePair() 92 checkDisplayName(false, style, tzid, loc, icuStdName, warnOnly); in checkDisplayNamePair() 93 checkDisplayName(true, style, tzid, loc, icuDstName, warnOnly); in checkDisplayNamePair() 97 private String getIcuDisplayName(String tzid, boolean daylight, int style, Locale loc) { in getIcuDisplayName() argument 104 switch (style) { in getIcuDisplayName() 120 private void checkDisplayName(boolean daylight, int style, String tzid, Locale loc, String icuname, boolean warnOnly) { in checkDisplayName() argument 121 String styleStr = (style == TimeZone.SHORT) ? "SHORT" : "LONG"; in checkDisplayName() 123 String name = tz.getDisplayName(daylight, style, lo in checkDisplayName() [all...] |
/third_party/skia/src/ports/ |
H A D | SkFontMgr_FontConfigInterface.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 60 void getStyle(int index, SkFontStyle*, SkString* style) override { SkASSERT(false); } 71 Request(const char* name, size_t nameLen, const SkFontStyle& style) : fStyle(style) { in Request() 91 static Request* Create(const char* name, const SkFontStyle& style) { in Create() 95 return new (storage) Request(name, nameLen, style); in Create() 233 // TODO should the caller give us the style or should we get it from freetype? 235 SkFontStyle style; variable 237 if (!fScanner.scanFont(stream.get(), 0, &name, &style, &isFixedPitch, nullptr)) { 243 style, isFixedPitc 258 SkFontStyle style; global() variable [all...] |
/third_party/rust/crates/env_logger/examples/ |
H A D | custom_format.rs | 33 let mut style = buf.style(); in main() variables 34 style.set_bg(Color::Yellow).set_bold(true); in main() 42 style.value(record.args()) in main()
|
/third_party/skia/src/core/ |
H A D | SkMaskCache.h | 4 * Use of this source code is governed by a BSD-style license that can be 26 static SkCachedData* FindAndRef(SkScalar sigma, SkBlurStyle style, 29 static SkCachedData* FindAndRef(SkScalar sigma, SkBlurStyle style, 36 static void Add(SkScalar sigma, SkBlurStyle style, 39 static void Add(SkScalar sigma, SkBlurStyle style,
|
/third_party/ffmpeg/libavcodec/ |
H A D | ass_split.h | 76 char *style; /**< name of the ASSStyle to use with this dialog */ member 83 can include style override control codes (see 145 void (*style)(void *priv, char style, int close); member 151 void (*cancel_overrides)(void *priv, const char *style); 186 * @param style name of the style to search for. 187 * @return the ASSStyle corresponding to style, or NULL if style can't be found 189 ASSStyle *ff_ass_style_get(ASSSplitContext *ctx, const char *style); [all...] |
/third_party/node/deps/icu-small/source/i18n/unicode/ |
H A D | tmutfmt.h | 93 * Create TimeUnitFormat with default locale, and full name style. 100 * Create TimeUnitFormat given locale, and full name style. 106 * Create TimeUnitFormat given locale and style. 109 TimeUnitFormat(const Locale& locale, UTimeUnitFormatStyle style, UErrorCode& status); 193 void create(UTimeUnitFormatStyle style, UErrorCode& status); 203 void readFromCurrentLocale(UTimeUnitFormatStyle style, const char* key, const UVector& pluralCounts, 208 void checkConsistency(UTimeUnitFormatStyle style, const char* key, UErrorCode& status); 211 void searchInLocaleChain(UTimeUnitFormatStyle style, const char* key, const char* localeName,
|
/third_party/icu/icu4c/source/i18n/unicode/ |
H A D | tmutfmt.h | 93 * Create TimeUnitFormat with default locale, and full name style. 100 * Create TimeUnitFormat given locale, and full name style. 106 * Create TimeUnitFormat given locale and style. 109 TimeUnitFormat(const Locale& locale, UTimeUnitFormatStyle style, UErrorCode& status); 193 void create(UTimeUnitFormatStyle style, UErrorCode& status); 203 void readFromCurrentLocale(UTimeUnitFormatStyle style, const char* key, const UVector& pluralCounts, 208 void checkConsistency(UTimeUnitFormatStyle style, const char* key, UErrorCode& status); 211 void searchInLocaleChain(UTimeUnitFormatStyle style, const char* key, const char* localeName,
|
/third_party/skia/third_party/externals/icu/source/i18n/unicode/ |
H A D | tmutfmt.h | 93 * Create TimeUnitFormat with default locale, and full name style. 100 * Create TimeUnitFormat given locale, and full name style. 106 * Create TimeUnitFormat given locale and style. 109 TimeUnitFormat(const Locale& locale, UTimeUnitFormatStyle style, UErrorCode& status); 202 void create(UTimeUnitFormatStyle style, UErrorCode& status); 212 void readFromCurrentLocale(UTimeUnitFormatStyle style, const char* key, const UVector& pluralCounts, 217 void checkConsistency(UTimeUnitFormatStyle style, const char* key, UErrorCode& status); 220 void searchInLocaleChain(UTimeUnitFormatStyle style, const char* key, const char* localeName,
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | RelativeDateTimeFormatter.java | 84 * The formatting style 591 * NumberFormat object, style, and capitalization context 596 * @param style the style. 603 Style style, in getInstance() 618 style, in getInstance() 703 String compiledPattern = getRelativeUnitPluralPattern(style, unit, pastFutureIndex, pluralForm); in formatImpl() 710 * using a numeric style, e.g. "1 week ago", "in 1 week", 732 * using a numeric style, e.g. "1 week ago", "in 1 week", 845 styleToDateFormatSymbolsWidth[style in formatAbsoluteImpl() 600 getInstance( ULocale locale, NumberFormat nf, Style style, DisplayContext capitalizationContext) getInstance() argument 972 getAbsoluteUnitString(Style style, AbsoluteUnit unit, Direction direction) getAbsoluteUnitString() argument 1061 RelativeDateTimeFormatter( EnumMap<Style, EnumMap<AbsoluteUnit, EnumMap<Direction, String>>> qualitativeUnitMap, EnumMap<Style, EnumMap<RelativeUnit, String[][]>> patternMap, String combinedDateAndTime, PluralRules pluralRules, NumberFormat numberFormat, Style style, DisplayContext capitalizationContext, BreakIterator breakIterator, ULocale locale) RelativeDateTimeFormatter() argument 1086 getRelativeUnitPluralPattern( Style style, RelativeUnit unit, int pastFutureIndex, StandardPlural pluralForm) getRelativeUnitPluralPattern() argument 1097 getRelativeUnitPattern( Style style, RelativeUnit unit, int pastFutureIndex, StandardPlural pluralForm) getRelativeUnitPattern() argument 1125 private final Style style; global() field in RelativeDateTimeFormatter 1282 Style style; // {LONG, SHORT, NARROW} Derived from unit key string. global() field in RelativeDateTimeFormatter.RelDateTimeDataSink 1306 styleSuffixLength(Style style) styleSuffixLength() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | RelativeDateTimeFormatter.java | 83 * The formatting style 515 * NumberFormat object, style, and capitalization context 520 * @param style the style. 526 Style style, in getInstance() 541 style, in getInstance() 623 String compiledPattern = getRelativeUnitPluralPattern(style, unit, pastFutureIndex, pluralForm); in formatImpl() 630 * using a numeric style, e.g. "1 week ago", "in 1 week", 651 * using a numeric style, e.g. "1 week ago", "in 1 week", 761 styleToDateFormatSymbolsWidth[style in formatAbsoluteImpl() 523 getInstance( ULocale locale, NumberFormat nf, Style style, DisplayContext capitalizationContext) getInstance() argument 886 getAbsoluteUnitString(Style style, AbsoluteUnit unit, Direction direction) getAbsoluteUnitString() argument 971 RelativeDateTimeFormatter( EnumMap<Style, EnumMap<AbsoluteUnit, EnumMap<Direction, String>>> qualitativeUnitMap, EnumMap<Style, EnumMap<RelativeUnit, String[][]>> patternMap, String combinedDateAndTime, PluralRules pluralRules, NumberFormat numberFormat, Style style, DisplayContext capitalizationContext, BreakIterator breakIterator, ULocale locale) RelativeDateTimeFormatter() argument 996 getRelativeUnitPluralPattern( Style style, RelativeUnit unit, int pastFutureIndex, StandardPlural pluralForm) getRelativeUnitPluralPattern() argument 1007 getRelativeUnitPattern( Style style, RelativeUnit unit, int pastFutureIndex, StandardPlural pluralForm) getRelativeUnitPattern() argument 1035 private final Style style; global() field in RelativeDateTimeFormatter 1192 Style style; // {LONG, SHORT, NARROW} Derived from unit key string. global() field in RelativeDateTimeFormatter.RelDateTimeDataSink 1216 styleSuffixLength(Style style) styleSuffixLength() argument [all...] |
/third_party/skia/demos.skia.org/demos/path_performance/ |
H A D | main.js | 65 document.getElementById('CanvasKit-canvas').style.visibility = 'hidden'; 66 document.getElementById('Path2D-canvas').style.visibility = 'hidden'; 68 svgEl.style.visibility = 'hidden'; 76 svgEl.style.visibility = 'visible'; 80 document.getElementById('CanvasKit-canvas').style.visibility = 'visible'; 83 document.getElementById('Path2D-canvas').style.visibility = 'visible';
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/number/ |
H A D | NumberFormatterSettings.java | 62 * Specifies the notation style (simple, scientific, or compact) for rendering numbers. 279 * @param style 284 public T integerWidth(IntegerWidth style) { in integerWidth() argument 285 return create(KEY_INTEGER, style); in integerWidth() 384 * @param style 389 public T unitWidth(UnitWidth style) { in unitWidth() argument 390 return create(KEY_UNIT_WIDTH, style); in unitWidth() 412 * @param style 417 public T sign(SignDisplay style) { in sign() argument 418 return create(KEY_SIGN, style); in sign() 445 decimal(DecimalSeparatorDisplay style) decimal() argument [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | compactdecimalformat.cpp | 23 CompactDecimalFormat::createInstance(const Locale& inLocale, UNumberCompactStyle style, in createInstance() argument 25 return new CompactDecimalFormat(inLocale, style, status); in createInstance() 28 CompactDecimalFormat::CompactDecimalFormat(const Locale& inLocale, UNumberCompactStyle style, in CompactDecimalFormat() argument 33 fields->properties.compactStyle = style; in CompactDecimalFormat()
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | compactdecimalformat.cpp | 23 CompactDecimalFormat::createInstance(const Locale& inLocale, UNumberCompactStyle style, in createInstance() argument 25 return new CompactDecimalFormat(inLocale, style, status); in createInstance() 28 CompactDecimalFormat::CompactDecimalFormat(const Locale& inLocale, UNumberCompactStyle style, in CompactDecimalFormat() argument 33 fields->properties.compactStyle = style; in CompactDecimalFormat()
|
/third_party/node/deps/v8/src/objects/ |
H A D | js-list-format-inl.h | 2 // Use of this source code is governed by a BSD-style license that can be 29 inline void JSListFormat::set_style(Style style) { in set_style() argument 30 DCHECK_GE(StyleBits::kMax, style); in set_style() 32 hints = StyleBits::update(hints, style); in set_style() 36 inline JSListFormat::Style JSListFormat::style() const { in style() function in v8::internal::JSListFormat
|
H A D | js-display-names-inl.h | 2 // Use of this source code is governed by a BSD-style license that can be 27 inline void JSDisplayNames::set_style(Style style) { in set_style() argument 28 DCHECK_GE(StyleBits::kMax, style); in set_style() 29 set_flags(StyleBits::update(flags(), style)); in set_style() 32 inline JSDisplayNames::Style JSDisplayNames::style() const { in style() function in v8::internal::JSDisplayNames
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | compactdecimalformat.cpp | 23 CompactDecimalFormat::createInstance(const Locale& inLocale, UNumberCompactStyle style, in createInstance() argument 25 return new CompactDecimalFormat(inLocale, style, status); in createInstance() 28 CompactDecimalFormat::CompactDecimalFormat(const Locale& inLocale, UNumberCompactStyle style, in CompactDecimalFormat() argument 33 fields->properties.compactStyle = style; in CompactDecimalFormat()
|