Home
last modified time | relevance | path

Searched refs:getStyle (Results 1 – 25 of 189) sorted by relevance

12345678

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowTypefaceTest.java31 assertThat(typeface.getStyle()).isEqualTo(Typeface.BOLD); in create_withFamilyName_shouldCreateTypeface()
33 assertThat(shadowOf(typeface).getFontDescription().getStyle()).isEqualTo(Typeface.BOLD); in create_withFamilyName_shouldCreateTypeface()
40 assertThat(typeface.getStyle()).isEqualTo(Typeface.ITALIC); in create_withFamily_shouldCreateTypeface()
42 assertThat(shadowOf(typeface).getFontDescription().getStyle()).isEqualTo(Typeface.ITALIC); in create_withFamily_shouldCreateTypeface()
48 assertThat(typeface.getStyle()).isEqualTo(Typeface.ITALIC); in create_withoutFamily_shouldCreateTypeface()
50 assertThat(shadowOf(typeface).getFontDescription().getStyle()).isEqualTo(Typeface.ITALIC); in create_withoutFamily_shouldCreateTypeface()
57 assertThat(typeface.getStyle()).isEqualTo(Typeface.NORMAL); in createFromFile_withFile_shouldCreateTypeface()
65 assertThat(typeface.getStyle()).isEqualTo(Typeface.NORMAL); in createFromFile_withPath_shouldCreateTypeface()
67 assertThat(shadowOf(typeface).getFontDescription().getStyle()).isEqualTo(Typeface.NORMAL); in createFromFile_withPath_shouldCreateTypeface()
76 assertThat(typeface.getStyle()).isEqualTo(Typeface.NORMAL); in createFromAsset_shouldCreateTypeface()
[all …]
/external/skia/include/core/
DSkStrokeRec.h36 Style getStyle() const;
43 return kHairline_Style == this->getStyle(); in isHairlineStyle()
47 return kFill_Style == this->getStyle(); in isFillStyle()
80 Style style = this->getStyle(); in needToApply()
127 return this->getStyle() == other.getStyle(); in hasEqualEffect()
DSkPaint.h217 Style getStyle() const { return (Style)fBitfields.fStyle; } in getStyle() function
632 SkPaint::Style style = this->getStyle(); in computeFastBounds()
/external/skqp/include/core/
DSkStrokeRec.h36 Style getStyle() const;
43 return kHairline_Style == this->getStyle(); in isHairlineStyle()
47 return kFill_Style == this->getStyle(); in isFillStyle()
80 Style style = this->getStyle(); in needToApply()
127 return this->getStyle() == other.getStyle(); in hasEqualEffect()
DSkPaint.h223 Style getStyle() const { return (Style)fBitfields.fStyle; } in getStyle() function
630 SkPaint::Style style = this->getStyle(); in computeFastBounds()
/external/skia/src/gpu/
DGrStyle.cpp94 key[i++] = style.strokeRec().getStyle() | in WriteKey()
115 SkStrokeRec::Style recStyle = fStrokeRec.getStyle(); in initPathEffect()
192 SkASSERT(SkStrokeRec::kFill_Style == strokeRec.getStyle() || in applyToPath()
193 SkStrokeRec::kHairline_Style == strokeRec.getStyle()); in applyToPath()
194 *style = strokeRec.getStyle() == SkStrokeRec::kFill_Style in applyToPath()
DGrShape.cpp581 if (this->style().strokeRec().getStyle() == SkStrokeRec::kStroke_Style || in attemptToSimplifyPath()
582 this->style().strokeRec().getStyle() == SkStrokeRec::kHairline_Style) { in attemptToSimplifyPath()
634 fStyle.strokeRec().getStyle() == SkStrokeRec::kStrokeAndFill_Style && in attemptToSimplifyRRect()
661 if (fStyle.strokeRec().getStyle() == SkStrokeRec::kStrokeAndFill_Style) { in attemptToSimplifyLine()
671 if (fStyle.strokeRec().getStyle() == SkStrokeRec::kStroke_Style && in attemptToSimplifyLine()
726 SkASSERT(fStyle.strokeRec().getStyle() == SkStrokeRec::kStroke_Style); in attemptToSimplifyStrokedLineToRRect()
/external/skqp/src/gpu/
DGrStyle.cpp94 key[i++] = style.strokeRec().getStyle() | in WriteKey()
115 SkStrokeRec::Style recStyle = fStrokeRec.getStyle(); in initPathEffect()
192 SkASSERT(SkStrokeRec::kFill_Style == strokeRec.getStyle() || in applyToPath()
193 SkStrokeRec::kHairline_Style == strokeRec.getStyle()); in applyToPath()
194 *style = strokeRec.getStyle() == SkStrokeRec::kFill_Style in applyToPath()
DGrShape.cpp581 if (this->style().strokeRec().getStyle() == SkStrokeRec::kStroke_Style || in attemptToSimplifyPath()
582 this->style().strokeRec().getStyle() == SkStrokeRec::kHairline_Style) { in attemptToSimplifyPath()
634 fStyle.strokeRec().getStyle() == SkStrokeRec::kStrokeAndFill_Style && in attemptToSimplifyRRect()
661 if (fStyle.strokeRec().getStyle() == SkStrokeRec::kStrokeAndFill_Style) { in attemptToSimplifyLine()
671 if (fStyle.strokeRec().getStyle() == SkStrokeRec::kStroke_Style && in attemptToSimplifyLine()
726 SkASSERT(fStyle.strokeRec().getStyle() == SkStrokeRec::kStroke_Style); in attemptToSimplifyStrokedLineToRRect()
/external/skqp/samplecode/
DSampleFuzz.cpp238 SkPaint::Style s = paint.getStyle(); in do_fuzz()
253 SkPaint::Style s = paint.getStyle(); in do_fuzz()
272 SkPaint::Style s = paint.getStyle(); in do_fuzz()
279 SkPaint::Style s = paint.getStyle(); in do_fuzz()
288 SkPaint::Style s = paint.getStyle(); in do_fuzz()
/external/skia/modules/sksg/src/
DSkSGDraw.cpp37 (paint.getStyle() == SkPaint::kStroke_Style && paint.getStrokeWidth() <= 0); in onRender()
51 if (paint.getStyle() == SkPaint::Style::kFill_Style && fGeometry->contains(p)) { in onNodeAt()
/external/skqp/src/gpu/ops/
DGrAALinearizingConvexPathRenderer.cpp60 if (stroke.getStyle() == SkStrokeRec::kStroke_Style || in onCanDrawPath()
61 stroke.getStyle() == SkStrokeRec::kStrokeAndFill_Style) { in onCanDrawPath()
66 if (strokeWidth < 1.0f && stroke.getStyle() == SkStrokeRec::kStroke_Style) { in onCanDrawPath()
76 if (stroke.getStyle() != SkStrokeRec::kFill_Style) { in onCanDrawPath()
350 stroke.getStyle(), join, miterLimit, args.fUserStencilSettings); in onDrawPath()
/external/skia/src/gpu/ops/
DGrAALinearizingConvexPathRenderer.cpp60 if (stroke.getStyle() == SkStrokeRec::kStroke_Style || in onCanDrawPath()
61 stroke.getStyle() == SkStrokeRec::kStrokeAndFill_Style) { in onCanDrawPath()
66 if (strokeWidth < 1.0f && stroke.getStyle() == SkStrokeRec::kStroke_Style) { in onCanDrawPath()
76 if (stroke.getStyle() != SkStrokeRec::kFill_Style) { in onCanDrawPath()
354 stroke.getStyle(), join, miterLimit, args.fUserStencilSettings); in onDrawPath()
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/representer/
DBaseRepresenter.java134 if (!(nodeItem instanceof ScalarNode && ((ScalarNode) nodeItem).getStyle() == null)) { in representSequence()
157 if (!(nodeKey instanceof ScalarNode && ((ScalarNode) nodeKey).getStyle() == null)) { in representMapping()
160 if (!(nodeValue instanceof ScalarNode && ((ScalarNode) nodeValue).getStyle() == null)) { in representMapping()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowTypeface.java96 protected int getStyle() { in getStyle() method in ShadowTypeface
97 return description.getStyle(); in getStyle()
207 public int getStyle() { in getStyle() method in ShadowTypeface.FontDesc
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/emitter/
DEmitter.java767 if (ev.getStyle() != null && ev.getStyle() == '"' || this.canonical) { in chooseScalarStyle()
770 if (ev.getStyle() == null && ev.getImplicit().canOmitTagInPlainScalar()) { in chooseScalarStyle()
776 if (ev.getStyle() != null && (ev.getStyle() == '|' || ev.getStyle() == '>')) { in chooseScalarStyle()
778 return ev.getStyle(); in chooseScalarStyle()
781 if (ev.getStyle() == null || ev.getStyle() == '\'') { in chooseScalarStyle()
/external/skqp/src/core/
DSkStrokeRec.cpp24 this->init(paint, paint.getStyle(), resScale); in SkStrokeRec()
67 SkStrokeRec::Style SkStrokeRec::getStyle() const { in getStyle() function in SkStrokeRec
DSkDrawProcs.h25 if (SkPaint::kStroke_Style != paint.getStyle()) { in SkDrawTreatAsHairline()
DSkDraw.cpp541 SkASSERT(SkPaint::kFill_Style != paint.getStyle()); in compute_stroke_size()
566 SkPaint::Style style = paint.getStyle(); in ComputeRectType()
641 if (paint.getStyle() != SkPaint::kFill_Style) { in drawRect()
781 if (paint.getPathEffect() || paint.getStyle() != SkPaint::kFill_Style) { in drawRRect()
903 if (origPaint.getPathEffect() || origPaint.getStyle() != SkPaint::kFill_Style) { in drawPath()
946 if (paint->getPathEffect() || paint->getStyle() != SkPaint::kFill_Style) { in drawPath()
1076 if (origPaint.getStyle() != SkPaint::kFill_Style) { in drawBitmap()
1266 SkASSERT(paint.getStyle() == SkPaint::kFill_Style); in draw_into_mask()
/external/skia/src/core/
DSkStrokeRec.cpp24 this->init(paint, paint.getStyle(), resScale); in SkStrokeRec()
67 SkStrokeRec::Style SkStrokeRec::getStyle() const { in getStyle() function in SkStrokeRec
DSkDrawProcs.h25 if (SkPaint::kStroke_Style != paint.getStyle()) { in SkDrawTreatAsHairline()
DSkDraw.cpp541 SkASSERT(SkPaint::kFill_Style != paint.getStyle()); in compute_stroke_size()
566 SkPaint::Style style = paint.getStyle(); in ComputeRectType()
641 if (paint.getStyle() != SkPaint::kFill_Style) { in drawRect()
781 if (paint.getPathEffect() || paint.getStyle() != SkPaint::kFill_Style) { in drawRRect()
903 if (origPaint.getPathEffect() || origPaint.getStyle() != SkPaint::kFill_Style) { in drawPath()
946 if (paint->getPathEffect() || paint->getStyle() != SkPaint::kFill_Style) { in drawPath()
1076 if (origPaint.getStyle() != SkPaint::kFill_Style) { in drawBitmap()
1266 SkASSERT(paint.getStyle() == SkPaint::kFill_Style); in draw_into_mask()
/external/v8/src/objects/
Djs-relative-time-format.cc43 JSRelativeTimeFormat::Style JSRelativeTimeFormat::getStyle(const char* str) { in getStyle() function in v8::internal::JSRelativeTimeFormat
107 style_enum = getStyle(style_str.get()); in InitializeRelativeTimeFormat()
/external/guice/extensions/grapher/src/com/google/inject/grapher/graphviz/
DGraphvizGrapher.java124 attrs.put("style", node.getStyle().toString()); in getNodeAttributes()
134 String cellborder = node.getStyle() == NodeStyle.INVISIBLE ? "1" : "0"; in getNodeLabel()
190 attrs.put("style", edge.getStyle().toString()); in getEdgeAttributes()
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/tokens/
DScalarToken.java44 public char getStyle() { in getStyle() method in ScalarToken

12345678