/third_party/skia/src/utils/ |
H A D | SkOrderedFontMgr.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 57 const SkFontStyle& style) const { in onMatchFamilyStyle() 59 if (auto tf = fm->matchFamilyStyle(family, style)) { in onMatchFamilyStyle() 67 const SkFontStyle& style, in onMatchFamilyStyleCharacter() 71 if (auto tf = fm->matchFamilyStyleCharacter(familyName, style, bcp47, bcp47Count, uni)) { in onMatchFamilyStyleCharacter() 66 onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle& style, const char* bcp47[], int bcp47Count, SkUnichar uni) const onMatchFamilyStyleCharacter() argument
|
/third_party/skia/tools/fonts/ |
H A D | ToolUtilsFont.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 104 static sk_sp<SkTypeface> create_font(const char* name, SkFontStyle style) { in create_font() argument 106 return portableFontMgr->legacyMakeTypeface(name, style); in create_font() 109 sk_sp<SkTypeface> create_portable_typeface(const char* name, SkFontStyle style) { in create_portable_typeface() argument 110 return create_font(name, style); in create_portable_typeface()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
H A D | NumberFormatterSettings.java | 65 * Specifies the notation style (simple, scientific, or compact) for rendering numbers. 293 * @param style 299 public T integerWidth(IntegerWidth style) { in integerWidth() argument 300 return create(KEY_INTEGER, style); in integerWidth() 401 * @param style 407 public T unitWidth(UnitWidth style) { in unitWidth() argument 408 return create(KEY_UNIT_WIDTH, style); in unitWidth() 430 * @param style 436 public T sign(SignDisplay style) { in sign() argument 437 return create(KEY_SIGN, style); in sign() 465 decimal(DecimalSeparatorDisplay style) decimal() argument [all...] |
/third_party/skia/modules/skparagraph/src/ |
H A D | TextLine.h | 136 TextRange textRange, const TextStyle& style, const ClipContext& context)>; 163 void scanStyles(StyleType style, const RunStyleVisitor& visitor); 190 void setAscentStyle(LineMetricStyle style) { fAscentStyle = style; } in setAscentStyle() argument 191 void setDescentStyle(LineMetricStyle style) { fDescentStyle = style; } in setDescentStyle() argument 226 void buildTextBlob(TextRange textRange, const TextStyle& style, const ClipContext& context); 231 const TextStyle& style, 238 const TextStyle& style, 244 const TextStyle& style, [all...] |
/third_party/skia/gm/ |
H A D | typeface.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 265 SkPaint::Style style; in draw_typeface_rendering_gm() member 294 for (const StyleTests& style : styleTypes) { in draw_typeface_rendering_gm() 295 paint.setStyle(style.style); in draw_typeface_rendering_gm() 296 paint.setStrokeWidth(style.strokeWidth); in draw_typeface_rendering_gm() 310 SkBlurStyle style; in draw_typeface_rendering_gm() member 347 paint.setMaskFilter(SkMaskFilter::MakeBlur(mask.style, mask.sigma)); in draw_typeface_rendering_gm() 412 auto draw = [&](SkPaint::Style style, float width, sk_sp<SkPathEffect> pe) { in DEF_SIMPLE_GM() 419 paint.setStyle(style); in DEF_SIMPLE_GM() 434 SkPaint::Style style; DEF_SIMPLE_GM() member [all...] |
/third_party/mesa3d/src/imgui/ |
H A D | imgui_widgets.cpp | 55 #pragma clang diagnostic ignored "-Wold-style-cast" // warning : use of old-style cast // yes, they are more terse. 317 const ImGuiStyle& style = g.Style; in LabelTextV() local 321 const ImRect value_bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(w, label_size.y + style.FramePadding.y*2)); in LabelTextV() 322 const ImRect total_bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(w + (label_size.x > 0.0f ? style.ItemInnerSpacing.x : 0.0f), style.FramePadding.y*2) + label_size); in LabelTextV() 323 ItemSize(total_bb, style.FramePadding.y); in LabelTextV() 332 RenderText(ImVec2(value_bb.Max.x + style.ItemInnerSpacing.x, value_bb.Min.y + style.FramePadding.y), label); in LabelTextV() 351 const ImGuiStyle& style in BulletTextV() local 551 const ImGuiStyle& style = g.Style; ButtonEx() local 731 const ImGuiStyle& style = g.Style; Scrollbar() local 877 const ImGuiStyle& style = g.Style; ImageButton() local 913 const ImGuiStyle& style = g.Style; Checkbox() local 972 const ImGuiStyle& style = g.Style; RadioButton() local 1032 const ImGuiStyle& style = g.Style; ProgressBar() local 1067 const ImGuiStyle& style = g.Style; Bullet() local 1293 const ImGuiStyle& style = g.Style; BeginCombo() local 2107 const ImGuiStyle& style = g.Style; SliderBehaviorT() local [all...] |
/third_party/skia/src/gpu/ops/ |
H A D | GrOvalOpFactory.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 747 const SkMatrix& viewMatrix, DIEllipseStyle style) { 749 return new (ptr) DIEllipseGeometryProcessor(wideColor, useScale, viewMatrix, style); 765 b->addBits(2, static_cast<uint32_t>(fStyle), "style"); 777 DIEllipseStyle style) 781 , fStyle(style) { 923 auto style = (DIEllipseStyle)(d->fRandom->nextRangeU(0, 2)); 924 return DIEllipseGeometryProcessor::Make(d->allocator(), wideColor, useScale, matrix, style); 1024 const GrStyle& style, 1027 if (style [all...] |
/third_party/skia/src/core/ |
H A D | SkBlurMask.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 105 bool SkBlurMask::BoxBlur(SkMask* dst, const SkMask& src, SkScalar sigma, SkBlurStyle style, in BoxBlur() argument 119 if (style == kOuter_SkBlurStyle) { in BoxBlur() 145 if (style == kInner_SkBlurStyle) { in BoxBlur() 152 switch (style) { in BoxBlur() 396 const SkRect &src, SkBlurStyle style, in BlurRect() 421 if (style == kInner_SkBlurStyle) { in BlurRect() 459 if (style == kInner_SkBlurStyle) { in BlurRect() 476 } else if (style == kOuter_SkBlurStyle) { in BlurRect() 481 } else if (style in BlurRect() 395 BlurRect(SkScalar sigma, SkMask *dst, const SkRect &src, SkBlurStyle style, SkIPoint *margin, SkMask::CreateMode createMode) BlurRect() argument 493 BlurRRect(SkScalar sigma, SkMask *dst, const SkRRect &src, SkBlurStyle style, SkIPoint *margin, SkMask::CreateMode createMode) BlurRRect() argument 506 BlurGroundTruth(SkScalar sigma, SkMask* dst, const SkMask& src, SkBlurStyle style, SkIPoint* margin) BlurGroundTruth() argument [all...] |
/third_party/skia/src/effects/ |
H A D | Sk1DPathEffect.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 64 SkPath1DPathEffect::Style style) : fPath(path) { in SkPath1DPathEffectImpl() 92 fStyle = style; in SkPath1DPathEffectImpl() 112 SkPath1DPathEffect::Style style = buffer.read32LE(SkPath1DPathEffect::kLastEnum_Style); in CreateProc() local 113 return buffer.isValid() ? SkPath1DPathEffect::Make(path, advance, phase, style) : nullptr; in CreateProc() 239 Style style) { in Make() 243 return sk_sp<SkPathEffect>(new SkPath1DPathEffectImpl(path, advance, phase, style)); in Make() 63 SkPath1DPathEffectImpl(const SkPath& path, SkScalar advance, SkScalar phase, SkPath1DPathEffect::Style style) SkPath1DPathEffectImpl() argument 238 Make(const SkPath& path, SkScalar advance, SkScalar phase, Style style) Make() argument
|
/third_party/skia/modules/skottie/tests/ |
H A D | Text.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 35 SkTypeface* onMatchFamilyStyle(const char family[], const SkFontStyle& style) const override { 38 fStyleRequestedWhenMatchingFamily[family] = style; 139 const auto* style = fmgr->styleRequestedWhenMatchingFamily(exp.family); in DEF_TEST() local 140 REPORTER_ASSERT(r, style); in DEF_TEST() 141 REPORTER_ASSERT(r, style->weight() == exp.weight); in DEF_TEST() 142 REPORTER_ASSERT(r, style->slant () == exp.slant ); in DEF_TEST()
|
/third_party/EGL/sdk/docs/man/xhtml/ |
H A D | maketoc.pl | 21 <style type="text/css"> 42 border-style: dotted; 50 border-style: none; 55 border-style: none; 57 </style> 278 print '" style="text-decoration:none"> ';
|
/third_party/node/deps/npm/node_modules/chalk/source/vendor/ansi-styles/ |
H A D | index.js | 77 for (const [styleName, style] of Object.entries(group)) { 79 open: `\u001B[${style[0]}m`, 80 close: `\u001B[${style[1]}m`, 85 codes.set(style[0], style[1]);
|
/third_party/node/deps/npm/node_modules/ansi-styles/ |
H A D | index.js | 77 for (const [styleName, style] of Object.entries(group)) { 79 open: `\u001B[${style[0]}m`, 80 close: `\u001B[${style[1]}m`, 85 codes.set(style[0], style[1]);
|
/third_party/skia/src/ports/ |
H A D | SkFontMgr_custom.h | 4 * Use of this source code is governed by a BSD-style license that can be 27 SkTypeface_Custom(const SkFontStyle& style, bool isFixedPitch, 64 const SkFontStyle& style, bool isFixedPitch, bool sysFont, 81 SkTypeface_File(const SkFontStyle& style, bool isFixedPitch, bool sysFont, 109 void getStyle(int index, SkFontStyle* style, SkString* name) override; 152 sk_sp<SkTypeface> onLegacyMakeTypeface(const char familyName[], SkFontStyle style) const override;
|
/third_party/skia/third_party/externals/egl-registry/sdk/docs/man/xhtml/ |
H A D | maketoc.pl | 21 <style type="text/css"> 42 border-style: dotted; 50 border-style: none; 55 border-style: none; 57 </style> 278 print '" style="text-decoration:none"> ';
|
/third_party/glfw/src/ |
H A D | win32_window.c | 39 // Returns the window style for the specified window 43 DWORD style = WS_CLIPSIBLINGS | WS_CLIPCHILDREN; in getWindowStyle() local 46 style |= WS_POPUP; in getWindowStyle() 49 style |= WS_SYSMENU | WS_MINIMIZEBOX; in getWindowStyle() 53 style |= WS_CAPTION; in getWindowStyle() 56 style |= WS_MAXIMIZEBOX | WS_THICKFRAME; in getWindowStyle() 59 style |= WS_POPUP; in getWindowStyle() 62 return style; in getWindowStyle() 65 // Returns the extended window style for the specified window 69 DWORD style in getWindowExStyle() local 194 const DWORD style = getWindowStyle(window); applyAspectRatio() local 346 DWORD style = GetWindowLongW(window->win32.handle, GWL_STYLE); updateWindowStyles() local 487 DWORD style; maximizeWindowManually() local 1096 const DWORD style = getWindowStyle(window); windowProc() local 1282 DWORD style = getWindowStyle(window); createNativeWindow() local 1894 DWORD style = GetWindowLongW(window->win32.handle, GWL_STYLE); _glfwSetWindowMonitorWin32() local 1915 DWORD style = GetWindowLongW(window->win32.handle, GWL_STYLE); _glfwSetWindowMonitorWin32() local [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | ass.h | 32 * @name Default values for ASS style 101 * with default style. 111 char *ff_ass_get_dialog(int readorder, int layer, const char *style, 118 int readorder, int layer, const char *style, 125 int readorder, int layer, const char *style,
|
/third_party/node/deps/npm/node_modules/@colors/colors/lib/ |
H A D | styles.js | 92 var style = styles[key] = []; 93 style.open = '\u001b[' + val[0] + 'm'; 94 style.close = '\u001b[' + val[1] + 'm';
|
/third_party/skia/src/gpu/ |
H A D | GrUtil.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 65 bool GrIsStrokeHairlineOrEquivalent(const GrStyle& style, in GrIsStrokeHairlineOrEquivalent() argument 68 if (style.pathEffect()) { in GrIsStrokeHairlineOrEquivalent() 71 const SkStrokeRec& stroke = style.strokeRec(); in GrIsStrokeHairlineOrEquivalent()
|
/third_party/icu/icu4j/samples/src/com/ibm/icu/samples/text/messagepattern/ |
H A D | MessagePatternUtilDemo.java | 57 System.out.println(" (no style)"); in printArg() 59 System.out.println(" style: «" + styleString + "»"); in printArg() 68 private static final void printComplexArgStyle(MessagePatternUtil.ComplexArgStyleNode style, in printComplexArgStyle() argument 70 if (style.hasExplicitOffset()) { in printComplexArgStyle() 71 System.out.println(manySpaces.substring(0, depth * 2) + "offset: " + style.getOffset()); in printComplexArgStyle() 74 MessagePattern.ArgType argType = style.getArgType(); in printComplexArgStyle() 75 for (MessagePatternUtil.VariantNode variant : style.getVariants()) { in printComplexArgStyle() 177 private static final void genCodeForPlural(MessagePatternUtil.ComplexArgStyleNode style, in genCodeForPlural() argument 186 style.getVariantsByType(numericVariants, keywordVariants); in genCodeForPlural() 187 double offset = style in genCodeForPlural() 208 genCodeForSelect(MessagePatternUtil.ComplexArgStyleNode style, int depth, boolean firstResult, String argName) genCodeForSelect() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | ListFormatter.java | 54 * Indicates the style of Listformatter 63 * Standard, conjunction style. 70 * Disjunction style. 402 * Create a list formatter that is appropriate for a locale and style. 405 * @param style the style 411 public static ListFormatter getInstance(ULocale locale, Style style) { in getInstance() argument 412 return cache.get(locale, style.getName()); in getInstance() 734 public ListFormatter get(ULocale locale, String style) { in get() argument 735 String key = String.format("%s:%s", locale.toString(), style); in get() 744 load(ULocale ulocale, String style) load() argument [all...] |
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/core/ |
H A D | FontHeaderTable.java | 268 * Mac style bits set in the font header table. 295 for (MacStyle style : MacStyle.values()) { in asSet() 296 if ((value & style.mask()) == style.mask()) { in asSet() 297 set.add(style); in asSet() 305 for (MacStyle style : set) { in value() 306 value |= style.mask(); in value() 322 * Get the Mac style bits as an int. 324 * @return the Mac style bits 331 * Get the Mac style bit 620 setMacStyleAsInt(int style) setMacStyleAsInt() argument 628 macStyle(EnumSet<MacStyle> style) macStyle() argument [all...] |
/third_party/skia/tests/ |
H A D | GrStyledShapeTest.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 101 if (shape.style().hasNonDashPathEffect()) { in can_interchange_winding_and_even_odd_fill() 104 const SkStrokeRec::Style strokeRecStyle = shape.style().strokeRec().getStyle(); in can_interchange_winding_and_even_odd_fill() 107 (shape.style().isSimpleFill() && path.isConvex()); in can_interchange_winding_and_even_odd_fill() 114 // rrect but one has a path effect in its style and the other doesn't then asPath() and the in check_equivalence() 128 bool aHasPE = a.style().hasPathEffect(); in check_equivalence() 129 bool bHasPE = b.style().hasPathEffect(); in check_equivalence() 131 // GrStyledShape will close paths with simple fill style. in check_equivalence() 132 bool allowedClosednessDiff = (a.style().isSimpleFill() != b.style() in check_equivalence() [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | number_fluent.cpp | 180 Derived NumberFormatterSettings<Derived>::integerWidth(const IntegerWidth& style) const& { in integerWidth() 182 copy.fMacros.integerWidth = style; in integerWidth() 187 Derived NumberFormatterSettings<Derived>::integerWidth(const IntegerWidth& style)&& { in integerWidth() argument 189 move.fMacros.integerWidth = style; in integerWidth() 236 Derived NumberFormatterSettings<Derived>::sign(UNumberSignDisplay style) const& { in sign() 238 copy.fMacros.sign = style; in sign() 243 Derived NumberFormatterSettings<Derived>::sign(UNumberSignDisplay style)&& { in sign() argument 245 move.fMacros.sign = style; in sign() 250 Derived NumberFormatterSettings<Derived>::decimal(UNumberDecimalSeparatorDisplay style) const& { in decimal() 252 copy.fMacros.decimal = style; in decimal() 257 decimal(UNumberDecimalSeparatorDisplay style) decimal() argument [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | MessageFormat.java | 61 * of its constructors (not with a <code>getInstance</code> style factory 279 * <p>We recommend you use default styles, predefined style values, skeletons, 1897 * @param partIndex the index of the first ChoiceFormat argument style part. 1920 // Reached the end of the ChoiceFormat style. in findChoiceSubMessage() 2008 * @param partIndex the index of the first PluralFormat argument style part. 2216 Format dateTimeFormatForPatternOrSkeleton(String style) { in dateTimeFormatForPatternOrSkeleton() argument 2218 int i = PatternProps.skipWhiteSpace(style, 0); in dateTimeFormatForPatternOrSkeleton() 2219 if (style.regionMatches(i, "::", 0, 2)) { // Skeleton in dateTimeFormatForPatternOrSkeleton() 2220 return DateFormat.getInstanceForSkeleton(style.substring(i + 2), ulocale); in dateTimeFormatForPatternOrSkeleton() 2222 return new SimpleDateFormat(style, ulocal in dateTimeFormatForPatternOrSkeleton() 2228 createAppropriateFormat(String type, String style) createAppropriateFormat() argument [all...] |