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

1 2 3 4 5 6 7

  /frameworks/base/libs/hwui/tests/unit/
TypefaceTests.cpp 85 EXPECT_EQ(700, bold->fStyle.weight());
86 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, bold->fStyle.slant());
90 EXPECT_EQ(300, light->fStyle.weight());
91 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, light->fStyle.slant());
98 EXPECT_EQ(400, normal->fStyle.weight());
99 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, normal->fStyle.slant());
104 EXPECT_EQ(700, bold->fStyle.weight());
105 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, bold->fStyle.slant());
110 EXPECT_EQ(400, italic->fStyle.weight());
111 EXPECT_EQ(minikin::FontStyle::Slant::ITALIC, italic->fStyle.slant())
    [all...]
  /external/skqp/src/gpu/
GrPath.h 30 , fStyle(style)
50 GrStyle fStyle;
GrShape.cpp 11 fStyle = that.fStyle;
155 if (this->isEmpty() && !fStyle.hasNonDashPathEffect()) {
160 fStyle.adjustBounds(&bounds, this->bounds());
313 int styleCnt = GrStyle::KeySize(parent.fStyle, apply, styleKeyFlags);
330 GrStyle::WriteKey(fInheritedKey.get() + parentCnt, parent.fStyle, apply, scale,
352 GrShape::GrShape(const GrShape& that) : fStyle(that.fStyle) {
390 SkPathEffect* pe = parent.fStyle.pathEffect();
406 SkStrokeRec strokeRec = parent.fStyle.strokeRec()
    [all...]
GrShape.h 49 GrShape(const SkPath& path, const GrStyle& style) : fStyle(style) {
55 : fStyle(style) {
66 : fStyle(style) {
85 : fStyle(style) {
94 GrShape(const SkPath& path, const SkPaint& paint) : fStyle(paint) {
100 : fStyle(paint) {
104 fRRectData.fStart = DefaultRRectDirAndStartIndex(rrect, fStyle.hasPathEffect(),
110 : fStyle(paint) {
114 fRRectData.fStart = DefaultRectDirAndStartIndex(rect, fStyle.hasPathEffect(),
143 const GrStyle& style() const { return fStyle; }
    [all...]
GrPath.cpp 39 int cnt0 = GrStyle::KeySize(fStyle, GrStyle::Apply::kPathEffectAndStrokeRec);
47 write_style_key(key0.get(), fStyle);
  /external/skia/src/gpu/gl/
GrGLPathRange.cpp 15 fStyle(style),
28 fStyle(style),
36 const SkStrokeRec& stroke = fStyle.strokeRec();
40 bool forceFill = fStyle.pathEffect() ||
68 GrGLPath::InitPathObjectStroke(gpu, fBasePathID + index, fStyle.strokeRec());
72 if (!fStyle.isSimpleFill()) {
79 if (!fStyle.applyToPath(tmpPath.init(), &fill, *skPath, SK_Scalar1)) {
GrGLPathRange.h 57 const GrStyle fStyle;
  /external/skqp/src/gpu/gl/
GrGLPathRange.cpp 15 fStyle(style),
28 fStyle(style),
36 const SkStrokeRec& stroke = fStyle.strokeRec();
40 bool forceFill = fStyle.pathEffect() ||
68 GrGLPath::InitPathObjectStroke(gpu, fBasePathID + index, fStyle.strokeRec());
72 if (!fStyle.isSimpleFill()) {
79 if (!fStyle.applyToPath(tmpPath.init(), &fill, *skPath, SK_Scalar1)) {
GrGLPathRange.h 57 const GrStyle fStyle;
  /external/skia/src/gpu/
GrShape.cpp 11 fStyle = that.fStyle;
169 if (this->isEmpty() && !fStyle.hasNonDashPathEffect()) {
174 fStyle.adjustBounds(&bounds, this->bounds());
335 int styleCnt = GrStyle::KeySize(parent.fStyle, apply, styleKeyFlags);
352 GrStyle::WriteKey(fInheritedKey.get() + parentCnt, parent.fStyle, apply, scale,
391 result.fStyle = style;
397 GrShape::GrShape(const GrShape& that) : fStyle(that.fStyle) {
438 SkPathEffect* pe = parent.fStyle.pathEffect()
    [all...]
GrPath.h 30 , fStyle(style)
50 GrStyle fStyle;
GrPath.cpp 39 int cnt0 = GrStyle::KeySize(fStyle, GrStyle::Apply::kPathEffectAndStrokeRec);
47 write_style_key(key0.get(), fStyle);
GrShape.h 49 GrShape(const SkPath& path, const GrStyle& style) : fStyle(style) {
55 : fStyle(style) {
66 : fStyle(style) {
85 : fStyle(style) {
94 GrShape(const SkPath& path, const SkPaint& paint) : fStyle(paint) {
100 : fStyle(paint) {
104 fRRectData.fStart = DefaultRRectDirAndStartIndex(rrect, fStyle.hasPathEffect(),
110 : fStyle(paint) {
114 fRRectData.fStart = DefaultRectDirAndStartIndex(rect, fStyle.hasPathEffect(),
146 const GrStyle& style() const { return fStyle; }
    [all...]
  /external/skia/experimental/sksg/
SkSGPaintNode.h 32 SG_ATTRIBUTE(Style , SkPaint::Style, fStyle )
51 SkPaint::Style fStyle = SkPaint::kFill_Style;
SkSGPaintNode.cpp 27 fPaint.setStyle(fStyle);
  /external/skqp/experimental/sksg/
SkSGPaintNode.h 32 SG_ATTRIBUTE(Style , SkPaint::Style, fStyle )
51 SkPaint::Style fStyle = SkPaint::kFill_Style;
SkSGPaintNode.cpp 27 fPaint.setStyle(fStyle);
  /external/skia/bench/
MorphologyBench.cpp 32 MorphologyType fStyle;
39 fStyle = style;
67 switch (fStyle) {
  /external/skia/samplecode/
SampleBlur.cpp 42 SkBlurStyle fStyle;
62 if (gRecs[i].fStyle != NONE) {
63 paint.setMaskFilter(SkBlurMaskFilter::Make(gRecs[i].fStyle,
  /external/skia/src/core/
SkFontDescriptor.h 59 SkFontStyle getStyle() { return fStyle; }
60 void setStyle(SkFontStyle style) { fStyle = style; }
80 SkFontStyle fStyle;
  /external/skqp/bench/
MorphologyBench.cpp 32 MorphologyType fStyle;
39 fStyle = style;
67 switch (fStyle) {
  /external/skqp/samplecode/
SampleBlur.cpp 42 SkBlurStyle fStyle;
62 if (gRecs[i].fStyle != NONE) {
63 paint.setMaskFilter(SkBlurMaskFilter::Make(gRecs[i].fStyle,
  /external/skqp/src/core/
SkFontDescriptor.h 59 SkFontStyle getStyle() { return fStyle; }
60 void setStyle(SkFontStyle style) { fStyle = style; }
80 SkFontStyle fStyle;
  /external/skia/include/core/
SkTypeface.h 47 return fStyle;
51 bool isBold() const { return fStyle.weight() >= SkFontStyle::kSemiBold_Weight; }
54 bool isItalic() const { return fStyle.slant() != SkFontStyle::kUpright_Slant; }
308 void setFontStyle(SkFontStyle style) { fStyle = style; }
375 SkFontStyle fStyle;
  /external/skqp/include/core/
SkTypeface.h 47 return fStyle;
51 bool isBold() const { return fStyle.weight() >= SkFontStyle::kSemiBold_Weight; }
54 bool isItalic() const { return fStyle.slant() != SkFontStyle::kUpright_Slant; }
308 void setFontStyle(SkFontStyle style) { fStyle = style; }
375 SkFontStyle fStyle;

Completed in 1550 milliseconds

1 2 3 4 5 6 7