/external/skia/src/gpu/geometry/ |
D | GrStyledShape.cpp | 16 fStyle = that.fStyle; in operator =() 53 SkASSERT(result.fStyle.isSimpleFill()); in MakeFilled() 82 if (this->isEmpty() && !fStyle.hasNonDashPathEffect()) { in styledBounds() 87 fStyle.adjustBounds(&bounds, this->bounds()); in styledBounds() 269 int styleCnt = GrStyle::KeySize(parent.fStyle, apply, styleKeyFlags); in setInheritedKey() 286 GrStyle::WriteKey(fInheritedKey.get() + parentCnt, parent.fStyle, apply, scale, in setInheritedKey() 311 result.fStyle = style; in MakeArc() 320 , fStyle(that.fStyle) in GrStyledShape() 342 SkPathEffect* pe = parent.fStyle.pathEffect(); in GrStyledShape() 360 SkStrokeRec strokeRec = parent.fStyle.strokeRec(); in GrStyledShape() [all …]
|
D | GrStyledShape.h | 72 : fShape(path), fStyle(style) { in fShape() 80 : fShape(rrect), fStyle(style) { in fShape() 89 , fStyle(style) { in fShape() 99 : fShape(rect), fStyle(style) { in fShape() 133 const GrStyle& style() const { return fStyle; } in style() 167 fShape.asPath(out, fStyle.isSimpleFill()); in asPath() 194 return fShape.convex(fStyle.isSimpleFill()); in knownToBeConvex() 304 GrStyle fStyle; variable
|
/external/skqp/src/gpu/ |
D | GrShape.cpp | 13 fStyle = that.fStyle; in operator =() 171 if (this->isEmpty() && !fStyle.hasNonDashPathEffect()) { in styledBounds() 176 fStyle.adjustBounds(&bounds, this->bounds()); in styledBounds() 337 int styleCnt = GrStyle::KeySize(parent.fStyle, apply, styleKeyFlags); in setInheritedKey() 354 GrStyle::WriteKey(fInheritedKey.get() + parentCnt, parent.fStyle, apply, scale, in setInheritedKey() 383 result.fStyle = style; in MakeArc() 388 GrShape::GrShape(const GrShape& that) : fStyle(that.fStyle) { in GrShape() 429 SkPathEffect* pe = parent.fStyle.pathEffect(); in GrShape() 445 SkStrokeRec strokeRec = parent.fStyle.strokeRec(); in GrShape() 446 if (!parent.fStyle.applyPathEffectToPath(&this->path(), &strokeRec, *srcForPathEffect, in GrShape() [all …]
|
D | GrShape.h | 50 GrShape(const SkPath& path, const GrStyle& style) : fStyle(style) { in GrShape() 55 GrShape(const SkRRect& rrect, const GrStyle& style) : fStyle(style) { in GrShape() 66 : fStyle(style) { in GrShape() 84 GrShape(const SkRect& rect, const GrStyle& style) : fStyle(style) { in GrShape() 93 GrShape(const SkPath& path, const SkPaint& paint) : fStyle(paint) { in GrShape() 98 GrShape(const SkRRect& rrect, const SkPaint& paint) : fStyle(paint) { in GrShape() 102 fRRectData.fStart = DefaultRRectDirAndStartIndex(rrect, fStyle.hasPathEffect(), in GrShape() 107 GrShape(const SkRect& rect, const SkPaint& paint) : fStyle(paint) { in GrShape() 111 fRRectData.fStart = DefaultRectDirAndStartIndex(rect, fStyle.hasPathEffect(), in GrShape() 143 const GrStyle& style() const { return fStyle; } in style() [all …]
|
D | GrPath.h | 30 , fStyle(style) in GrPath() 50 GrStyle fStyle; variable
|
/external/skia/modules/skottie/tests/ |
D | Text.cpp | 83 { "fName" : "f1", "fFamily": "f1", "fStyle" : "Regular" }, in DEF_TEST() 84 { "fName" : "f2", "fFamily": "f2", "fStyle" : "Medium" }, in DEF_TEST() 85 { "fName" : "f3", "fFamily": "f3", "fStyle" : "Bold" }, in DEF_TEST() 86 { "fName" : "f4", "fFamily": "f4", "fStyle" : "Light" }, in DEF_TEST() 87 { "fName" : "f5", "fFamily": "f5", "fStyle" : "Extra" }, in DEF_TEST() 88 { "fName" : "f6", "fFamily": "f6", "fStyle" : "ExtraBold" }, in DEF_TEST() 90 { "fName" : "f7" , "fFamily": "f7" , "fStyle" : "Regular Italic" }, in DEF_TEST() 91 { "fName" : "f8" , "fFamily": "f8" , "fStyle" : "Medium Italic" }, in DEF_TEST() 92 { "fName" : "f9" , "fFamily": "f9" , "fStyle" : "Bold Italic" }, in DEF_TEST() 93 { "fName" : "f10", "fFamily": "f10", "fStyle" : "Light Oblique" }, in DEF_TEST() [all …]
|
/external/skia/modules/skparagraph/src/ |
D | ParagraphCache.cpp | 79 hash = mix(hash, SkGoodHash()(relax(ph.fStyle.fHeight))); in operator ()() 80 hash = mix(hash, SkGoodHash()(relax(ph.fStyle.fWidth))); in operator ()() 81 hash = mix(hash, SkGoodHash()(ph.fStyle.fAlignment)); in operator ()() 82 hash = mix(hash, SkGoodHash()(ph.fStyle.fBaseline)); in operator ()() 83 if (ph.fStyle.fAlignment == PlaceholderAlignment::kBaseline) { in operator ()() 84 hash = mix(hash, SkGoodHash()(relax(ph.fStyle.fBaselineOffset))); in operator ()() 89 if (ts.fStyle.isPlaceholder()) { in operator ()() 92 hash = mix(hash, SkGoodHash()(relax(ts.fStyle.getLetterSpacing()))); in operator ()() 93 hash = mix(hash, SkGoodHash()(relax(ts.fStyle.getWordSpacing()))); in operator ()() 94 hash = mix(hash, SkGoodHash()(ts.fStyle.getLocale())); in operator ()() [all …]
|
D | Iterators.h | 32 fCurrentLocale = fCurrentStyle->fStyle.getLocale(); in consume() 33 while (++fCurrentStyle != fTextStyles.end() && !fCurrentStyle->fStyle.isPlaceholder()) { in consume() 34 if (fCurrentStyle->fStyle.getLocale() != fCurrentLocale) { in consume()
|
D | OneLineShaper.cpp | 211 block.fStyle.getHalfLeading(), in finish() 432 for (auto& ff : block.fStyle.getFontFeatures()) { in iterateThroughFontStyles() 455 if (block.fStyle.matchOneAttribute(StyleType::kFont, combinedBlock.fStyle)) { in iterateThroughFontStyles() 465 combinedBlock.fStyle = block.fStyle; in iterateThroughFontStyles() 595 SkPoint::Make(placeholder.fStyle.fWidth, placeholder.fStyle.fHeight), in iterateThroughShapingRegions() 610 advanceX += placeholder.fStyle.fWidth; in iterateThroughShapingRegions() 638 fHeight = block.fStyle.getHeightOverride() ? block.fStyle.getHeight() : 0; in shape() 639 fUseHalfLeading = block.fStyle.getHalfLeading(); in shape() 644 matchResolvedFonts(block.fStyle, [&](sk_sp<SkTypeface> typeface) { in shape() 647 SkFont font(std::move(typeface), block.fStyle.getFontSize()); in shape() [all …]
|
/external/skia/modules/skparagraph/include/ |
D | TextStyle.h | 71 TextDecorationStyle fStyle; member 78 this->fStyle == other.fStyle && 183 TextDecorationStyle getDecorationStyle() const { return fDecoration.fStyle; } in getDecorationStyle() 189 void setDecorationStyle(TextDecorationStyle style) { fDecoration.fStyle = style; } in setDecorationStyle() 297 Block(size_t start, size_t end, const TextStyle& style) : fRange(start, end), fStyle(style) {} in Block() 298 Block(TextRange textRange, const TextStyle& style) : fRange(textRange), fStyle(style) {} in Block() 306 TextStyle fStyle; member 320 , fStyle(style) in Placeholder() 326 PlaceholderStyle fStyle; member
|
/external/skqp/tools/fonts/ |
D | SkTestFontMgr.cpp | 32 , fStyle(style) in TypefaceEntry() 36 SkFontStyle fStyle; member 43 if (style) { *style = fTypefaces[index].fStyle; } in getStyle() 68 sk_make_sp<SkTestTypeface>(sk_make_sp<SkTestFont>(sub.fFont), sub.fStyle); in FontMgr() 77 … family->fTypefaces.emplace_back(std::move(typeface), sub.fStyle, sub.fStyleName); in FontMgr() 88 … fFamilies.back()->fTypefaces.emplace_back(std::move(typeface), sub.fStyle, sub.fStyleName); in FontMgr()
|
/external/skia/tools/fonts/ |
D | TestFontMgr.cpp | 32 : fTypeface(std::move(typeface)), fStyle(style), fStyleName(styleName) {} in TypefaceEntry() 34 SkFontStyle fStyle; member 42 *style = fTypefaces[index].fStyle; in getStyle() 68 sk_make_sp<TestTypeface>(sk_make_sp<SkTestFont>(sub.fFont), sub.fStyle); in FontMgr() 78 std::move(typeface), sub.fStyle, sub.fStyleName); in FontMgr() 91 sub.fStyle, in FontMgr()
|
/external/icu/icu4c/source/i18n/ |
D | scientificnumberformatter.cpp | 245 fStyle(styleToAdopt) { in ScientificNumberFormatter() 249 if (fDecimalFormat == NULL || fStyle == NULL) { in ScientificNumberFormatter() 266 fStyle(NULL) { in ScientificNumberFormatter() 269 fStyle = other.fStyle->clone(); in ScientificNumberFormatter() 274 delete fStyle; in ~ScientificNumberFormatter() 287 return fStyle->format( in format()
|
D | reldatefmt.cpp | 84 const UnicodeString& getAbsoluteUnitString(int32_t fStyle, 87 const SimpleFormatter* getRelativeUnitFormatter(int32_t fStyle, 91 const SimpleFormatter* getRelativeDateTimeUnitFormatter(int32_t fStyle, 132 int32_t fStyle, UDateAbsoluteUnit unit, UDateDirection direction) const { in getAbsoluteUnitString() argument 133 int32_t style = fStyle; in getAbsoluteUnitString() 144 int32_t fStyle, in getRelativeUnitFormatter() argument 161 return getRelativeDateTimeUnitFormatter(fStyle, rdtunit, pastFutureIndex, pluralUnit); in getRelativeUnitFormatter() 166 int32_t fStyle, in getRelativeDateTimeUnitFormatter() argument 171 int32_t style = fStyle; in getRelativeDateTimeUnitFormatter() 753 fStyle(UDAT_STYLE_LONG), in UPRV_FORMATTED_VALUE_SUBCLASS_AUTO_IMPL() [all …]
|
/external/skia/src/core/ |
D | SkMaskCache.cpp | 25 , fStyle(style) in RRectBlurKey() 29 sizeof(fSigma) + sizeof(fStyle) + sizeof(fRRect)); in RRectBlurKey() 33 int32_t fStyle; member 104 , fStyle(style) in RectsBlurKey() 120 sizeof(fSigma) + sizeof(fStyle) + sizeof(fSizes)); in RectsBlurKey() 124 int32_t fStyle; member
|
D | SkFontDescriptor.cpp | 71 result->fStyle = SkFontStyle((styleBits >> 16) & 0xFFFF, in Deserialize() 153 uint32_t styleBits = (fStyle.weight() << 16) | (fStyle.width() << 8) | (fStyle.slant()); in serialize()
|
/external/skqp/src/core/ |
D | SkMaskCache.cpp | 25 , fStyle(style) in RRectBlurKey() 29 sizeof(fSigma) + sizeof(fStyle) + sizeof(fRRect)); in RRectBlurKey() 33 int32_t fStyle; member 104 , fStyle(style) in RectsBlurKey() 120 sizeof(fSigma) + sizeof(fStyle) + sizeof(fSizes)); in RectsBlurKey() 124 int32_t fStyle; member
|
D | SkFontDescriptor.cpp | 62 result->fStyle = SkFontStyle((styleBits >> 16) & 0xFFFF, in Deserialize() 120 uint32_t styleBits = (fStyle.weight() << 16) | (fStyle.width() << 8) | (fStyle.slant()); in serialize()
|
D | SkFontDescriptor.h | 59 SkFontStyle getStyle() const { return fStyle; } in getStyle() 60 void setStyle(SkFontStyle style) { fStyle = style; } in setStyle() 80 SkFontStyle fStyle; variable
|
/external/skia/include/core/ |
D | SkTypeface.h | 49 return fStyle; in fontStyle() 53 bool isBold() const { return fStyle.weight() >= SkFontStyle::kSemiBold_Weight; } in isBold() 56 bool isItalic() const { return fStyle.slant() != SkFontStyle::kUpright_Slant; } in isItalic() 355 void setFontStyle(SkFontStyle style) { fStyle = style; } in setFontStyle() 435 SkFontStyle fStyle; variable
|
/external/skqp/include/core/ |
D | SkTypeface.h | 49 return fStyle; in fontStyle() 53 bool isBold() const { return fStyle.weight() >= SkFontStyle::kSemiBold_Weight; } in isBold() 56 bool isItalic() const { return fStyle.slant() != SkFontStyle::kUpright_Slant; } in isItalic() 364 void setFontStyle(SkFontStyle style) { fStyle = style; } in setFontStyle() 444 SkFontStyle fStyle; variable
|
/external/skqp/bench/ |
D | MorphologyBench.cpp | 32 MorphologyType fStyle; member in MorphologyBench 39 fStyle = style; in MorphologyBench() 67 switch (fStyle) { in onDraw()
|
D | BlurBench.cpp | 33 SkBlurStyle fStyle; member in BlurBench 39 fStyle = bs; in BlurBench() 67 paint.setMaskFilter(SkMaskFilter::MakeBlur(fStyle, in onDraw()
|
/external/skia/bench/ |
D | MorphologyBench.cpp | 32 MorphologyType fStyle; member in MorphologyBench 39 fStyle = style; in MorphologyBench() 67 switch (fStyle) { in onDraw()
|
D | BlurBench.cpp | 33 SkBlurStyle fStyle; member in BlurBench 39 fStyle = bs; in BlurBench() 67 paint.setMaskFilter(SkMaskFilter::MakeBlur(fStyle, in onDraw()
|