Home
last modified time | relevance | path

Searched refs:edgeType (Results 1 – 25 of 51) sorted by relevance

123

/external/skia/src/gpu/effects/generated/
DGrAARectEffect.cpp26 auto edgeType = _outer.edgeType; in emitCode() local
27 (void)edgeType; in emitCode()
45 (int)_outer.edgeType, in emitCode()
55 (int)_outer.edgeType, in emitCode()
56 (int)_outer.edgeType, in emitCode()
65 auto edgeType = _outer.edgeType; in onSetData() local
66 (void)edgeType; in onSetData()
72 const SkRect& newRect = GrProcessorEdgeTypeIsAA(edgeType) ? rect.makeInset(.5f, .5f) : rect; in onSetData()
86 b->add32((int32_t)edgeType); in onGetGLSLProcessorKey()
91 if (edgeType != that.edgeType) return false; in onIsEqual()
[all …]
DGrCircleEffect.cpp26 auto edgeType = _outer.edgeType; in emitCode() local
27 (void)edgeType; in emitCode()
41 prevRadius, (int)_outer.edgeType, (int)_outer.edgeType, in emitCode()
47 args.fUniformHandler->getUniformCStr(circleVar), (int)_outer.edgeType, in emitCode()
48 (int)_outer.edgeType, (int)_outer.edgeType, args.fOutputColor, args.fInputColor, in emitCode()
56 auto edgeType = _outer.edgeType; in onSetData() local
57 (void)edgeType; in onSetData()
67 if (GrProcessorEdgeTypeIsInverseFill((GrClipEdgeType)edgeType)) { in onSetData()
90 b->add32((int32_t)edgeType); in onGetGLSLProcessorKey()
95 if (edgeType != that.edgeType) return false; in onIsEqual()
[all …]
DGrEllipseEffect.cpp26 auto edgeType = _outer.edgeType; in emitCode() local
27 (void)edgeType; in emitCode()
60 (int)_outer.edgeType, args.fOutputColor, args.fInputColor); in emitCode()
67 auto edgeType = _outer.edgeType; in onSetData() local
68 (void)edgeType; in onSetData()
114 b->add32((int32_t)edgeType); in onGetGLSLProcessorKey()
119 if (edgeType != that.edgeType) return false; in onIsEqual()
126 , edgeType(src.edgeType) in GrEllipseEffect()
DGrCircleEffect.h20 static std::unique_ptr<GrFragmentProcessor> Make(GrClipEdgeType edgeType, SkPoint center, in Make() argument
24 if (radius < .5f && GrProcessorEdgeTypeIsInverseFill(edgeType)) { in Make()
27 return std::unique_ptr<GrFragmentProcessor>(new GrCircleEffect(edgeType, center, radius)); in Make()
32 GrClipEdgeType edgeType; variable
37 GrCircleEffect(GrClipEdgeType edgeType, SkPoint center, float radius) in GrCircleEffect() argument
40 , edgeType(edgeType) in GrCircleEffect()
DGrAARectEffect.h20 static std::unique_ptr<GrFragmentProcessor> Make(GrClipEdgeType edgeType, SkRect rect) { in Make() argument
21 return std::unique_ptr<GrFragmentProcessor>(new GrAARectEffect(edgeType, rect)); in Make()
26 GrClipEdgeType edgeType; variable
30 GrAARectEffect(GrClipEdgeType edgeType, SkRect rect) in GrAARectEffect() argument
33 , edgeType(edgeType) in GrAARectEffect()
DGrEllipseEffect.h22 static std::unique_ptr<GrFragmentProcessor> Make(GrClipEdgeType edgeType, SkPoint center, in Make() argument
36 return std::unique_ptr<GrFragmentProcessor>(new GrEllipseEffect(edgeType, center, radii)); in Make()
41 GrClipEdgeType edgeType; variable
46 GrEllipseEffect(GrClipEdgeType edgeType, SkPoint center, SkPoint radii) in GrEllipseEffect() argument
49 , edgeType(edgeType) in GrEllipseEffect()
/external/guava/guava-tests/test/com/google/common/graph/
DGraphEquivalenceTest.java39 private final EdgeType edgeType; field in GraphEquivalenceTest
48 public GraphEquivalenceTest(EdgeType edgeType) { in GraphEquivalenceTest() argument
49 this.edgeType = edgeType; in GraphEquivalenceTest()
50 this.graph = createGraph(edgeType); in GraphEquivalenceTest()
53 private static MutableGraph<Integer> createGraph(EdgeType edgeType) { in createGraph() argument
54 switch (edgeType) { in createGraph()
60 throw new IllegalStateException("Unexpected edge type: " + edgeType); in createGraph()
64 private static EdgeType oppositeType(EdgeType edgeType) { in oppositeType() argument
65 switch (edgeType) { in oppositeType()
71 throw new IllegalStateException("Unexpected edge type: " + edgeType); in oppositeType()
[all …]
DNetworkEquivalenceTest.java44 private final EdgeType edgeType; field in NetworkEquivalenceTest
53 public NetworkEquivalenceTest(EdgeType edgeType) { in NetworkEquivalenceTest() argument
54 this.edgeType = edgeType; in NetworkEquivalenceTest()
55 this.network = createNetwork(edgeType); in NetworkEquivalenceTest()
58 private static MutableNetwork<Integer, String> createNetwork(EdgeType edgeType) { in createNetwork() argument
59 switch (edgeType) { in createNetwork()
65 throw new IllegalStateException("Unexpected edge type: " + edgeType); in createNetwork()
69 private static EdgeType oppositeType(EdgeType edgeType) { in oppositeType() argument
70 switch (edgeType) { in oppositeType()
76 throw new IllegalStateException("Unexpected edge type: " + edgeType); in oppositeType()
[all …]
/external/guava/android/guava-tests/test/com/google/common/graph/
DGraphEquivalenceTest.java39 private final EdgeType edgeType; field in GraphEquivalenceTest
48 public GraphEquivalenceTest(EdgeType edgeType) { in GraphEquivalenceTest() argument
49 this.edgeType = edgeType; in GraphEquivalenceTest()
50 this.graph = createGraph(edgeType); in GraphEquivalenceTest()
53 private static MutableGraph<Integer> createGraph(EdgeType edgeType) { in createGraph() argument
54 switch (edgeType) { in createGraph()
60 throw new IllegalStateException("Unexpected edge type: " + edgeType); in createGraph()
64 private static EdgeType oppositeType(EdgeType edgeType) { in oppositeType() argument
65 switch (edgeType) { in oppositeType()
71 throw new IllegalStateException("Unexpected edge type: " + edgeType); in oppositeType()
[all …]
DNetworkEquivalenceTest.java44 private final EdgeType edgeType; field in NetworkEquivalenceTest
53 public NetworkEquivalenceTest(EdgeType edgeType) { in NetworkEquivalenceTest() argument
54 this.edgeType = edgeType; in NetworkEquivalenceTest()
55 this.network = createNetwork(edgeType); in NetworkEquivalenceTest()
58 private static MutableNetwork<Integer, String> createNetwork(EdgeType edgeType) { in createNetwork() argument
59 switch (edgeType) { in createNetwork()
65 throw new IllegalStateException("Unexpected edge type: " + edgeType); in createNetwork()
69 private static EdgeType oppositeType(EdgeType edgeType) { in oppositeType() argument
70 switch (edgeType) { in oppositeType()
76 throw new IllegalStateException("Unexpected edge type: " + edgeType); in oppositeType()
[all …]
/external/skqp/src/gpu/effects/
DGrAARectEffect.cpp25 auto edgeType = _outer.edgeType(); in emitCode() local
26 (void)edgeType; in emitCode()
44 (int)_outer.edgeType(), in emitCode()
54 (int)_outer.edgeType(), in emitCode()
55 (int)_outer.edgeType(), in emitCode()
64 auto edgeType = _outer.edgeType(); in onSetData() local
65 (void)edgeType; in onSetData()
71 const SkRect& newRect = GrProcessorEdgeTypeIsAA(edgeType) ? rect.makeInset(.5f, .5f) : rect; in onSetData()
110 GrClipEdgeType edgeType = in TestCreate() local
113 fp = GrAARectEffect::Make(edgeType, rect); in TestCreate()
DGrCircleEffect.cpp25 auto edgeType = _outer.edgeType(); in emitCode() local
26 (void)edgeType; in emitCode()
41 prevRadius, (int)_outer.edgeType(), (int)_outer.edgeType(), in emitCode()
47 args.fUniformHandler->getUniformCStr(fCircleVar), (int)_outer.edgeType(), in emitCode()
48 (int)_outer.edgeType(), (int)_outer.edgeType(), args.fOutputColor, in emitCode()
56 auto edgeType = _outer.edgeType(); in onSetData() local
57 (void)edgeType; in onSetData()
67 if (GrProcessorEdgeTypeIsInverseFill((GrClipEdgeType)edgeType)) { in onSetData()
DGrCircleEffect.fp8 layout(key) in GrClipEdgeType edgeType;
19 static std::unique_ptr<GrFragmentProcessor> Make(GrClipEdgeType edgeType, SkPoint center,
23 if (radius < .5f && GrProcessorEdgeTypeIsInverseFill(edgeType)) {
26 return std::unique_ptr<GrFragmentProcessor>(new GrCircleEffect(edgeType, center, radius));
35 if (GrProcessorEdgeTypeIsInverseFill((GrClipEdgeType) edgeType)) {
54 @if (edgeType == GrClipEdgeType::kInverseFillBW ||
55 edgeType == GrClipEdgeType::kInverseFillAA) {
60 @if (edgeType == GrClipEdgeType::kFillAA ||
61 edgeType == GrClipEdgeType::kInverseFillAA ||
62 edgeType == GrClipEdgeType::kHairlineAA) {
DGrCircleEffect.h18 const GrClipEdgeType& edgeType() const { return fEdgeType; } in edgeType() function
22 static std::unique_ptr<GrFragmentProcessor> Make(GrClipEdgeType edgeType, SkPoint center, in Make() argument
26 if (radius < .5f && GrProcessorEdgeTypeIsInverseFill(edgeType)) { in Make()
29 return std::unique_ptr<GrFragmentProcessor>(new GrCircleEffect(edgeType, center, radius)); in Make()
36 GrCircleEffect(GrClipEdgeType edgeType, SkPoint center, float radius) in GrCircleEffect() argument
39 , fEdgeType(edgeType) in GrCircleEffect()
DGrAARectEffect.h18 const GrClipEdgeType& edgeType() const { return fEdgeType; } in edgeType() function
20 static std::unique_ptr<GrFragmentProcessor> Make(GrClipEdgeType edgeType, SkRect rect) { in Make() argument
21 return std::unique_ptr<GrFragmentProcessor>(new GrAARectEffect(edgeType, rect)); in Make()
28 GrAARectEffect(GrClipEdgeType edgeType, SkRect rect) in GrAARectEffect() argument
31 , fEdgeType(edgeType) in GrAARectEffect()
DGrAARectEffect.fp8 layout(key) in GrClipEdgeType edgeType;
17 @switch (edgeType) {
37 @if (edgeType == GrClipEdgeType::kInverseFillBW || edgeType == GrClipEdgeType::kInverseFillAA) {
44 const SkRect& newRect = GrProcessorEdgeTypeIsAA(edgeType) ?
59 GrClipEdgeType edgeType = static_cast<GrClipEdgeType>(
62 fp = GrAARectEffect::Make(edgeType, rect);
DGrEllipseEffect.h20 const GrClipEdgeType& edgeType() const { return fEdgeType; } in edgeType() function
24 static std::unique_ptr<GrFragmentProcessor> Make(GrClipEdgeType edgeType, SkPoint center, in Make() argument
30 return std::unique_ptr<GrFragmentProcessor>(new GrEllipseEffect(edgeType, center, radii)); in Make()
37 GrEllipseEffect(GrClipEdgeType edgeType, SkPoint center, SkPoint radii) in GrEllipseEffect() argument
40 , fEdgeType(edgeType) in GrEllipseEffect()
DGrOvalEffect.cpp14 std::unique_ptr<GrFragmentProcessor> GrOvalEffect::Make(GrClipEdgeType edgeType, const SkRect& oval, in Make() argument
16 if (GrClipEdgeType::kHairlineAA == edgeType) { in Make()
23 return GrCircleEffect::Make(edgeType, SkPoint::Make(oval.fLeft + w, oval.fTop + w), in Make()
28 return GrEllipseEffect::Make(edgeType, SkPoint::Make(oval.fLeft + w, oval.fTop + h), in Make()
DGrEllipseEffect.cpp25 auto edgeType = _outer.edgeType(); in emitCode() local
26 (void)edgeType; in emitCode()
52 (int)_outer.edgeType()); in emitCode()
65 auto edgeType = _outer.edgeType(); in onSetData() local
66 (void)edgeType; in onSetData()
DGrRRectEffect.cpp81 std::unique_ptr<GrFragmentProcessor> CircularRRectEffect::Make(GrClipEdgeType edgeType, in Make() argument
84 if (GrClipEdgeType::kFillAA != edgeType && GrClipEdgeType::kInverseFillAA != edgeType) { in Make()
88 new CircularRRectEffect(edgeType, circularCornerFlags, rrect)); in Make()
91 CircularRRectEffect::CircularRRectEffect(GrClipEdgeType edgeType, uint32_t circularCornerFlags, in CircularRRectEffect() argument
95 , fEdgeType(edgeType) in CircularRRectEffect()
416 std::unique_ptr<GrFragmentProcessor> EllipticalRRectEffect::Make(GrClipEdgeType edgeType, in Make() argument
418 if (GrClipEdgeType::kFillAA != edgeType && GrClipEdgeType::kInverseFillAA != edgeType) { in Make()
421 return std::unique_ptr<GrFragmentProcessor>(new EllipticalRRectEffect(edgeType, rrect)); in Make()
424 EllipticalRRectEffect::EllipticalRRectEffect(GrClipEdgeType edgeType, const SkRRect& rrect) in EllipticalRRectEffect() argument
427 , fEdgeType(edgeType) { in EllipticalRRectEffect()
[all …]
/external/skia/src/gpu/effects/
DGrCircleEffect.fp8 layout(key) in GrClipEdgeType edgeType;
19 static std::unique_ptr<GrFragmentProcessor> Make(GrClipEdgeType edgeType, SkPoint center,
23 if (radius < .5f && GrProcessorEdgeTypeIsInverseFill(edgeType)) {
26 return std::unique_ptr<GrFragmentProcessor>(new GrCircleEffect(edgeType, center, radius));
35 if (GrProcessorEdgeTypeIsInverseFill((GrClipEdgeType) edgeType)) {
54 @if (edgeType == GrClipEdgeType::kInverseFillBW ||
55 edgeType == GrClipEdgeType::kInverseFillAA) {
60 @if (edgeType == GrClipEdgeType::kFillAA ||
61 edgeType == GrClipEdgeType::kInverseFillAA ||
62 edgeType == GrClipEdgeType::kHairlineAA) {
DGrAARectEffect.fp8 layout(key) in GrClipEdgeType edgeType;
17 @switch (edgeType) {
37 @if (edgeType == GrClipEdgeType::kInverseFillBW || edgeType == GrClipEdgeType::kInverseFillAA) {
44 const SkRect& newRect = GrProcessorEdgeTypeIsAA(edgeType) ?
59 GrClipEdgeType edgeType = static_cast<GrClipEdgeType>(
62 fp = GrAARectEffect::Make(edgeType, rect);
DGrOvalEffect.cpp14 std::unique_ptr<GrFragmentProcessor> GrOvalEffect::Make(GrClipEdgeType edgeType, const SkRect& oval, in Make() argument
16 if (GrClipEdgeType::kHairlineAA == edgeType) { in Make()
23 return GrCircleEffect::Make(edgeType, SkPoint::Make(oval.fLeft + w, oval.fTop + w), in Make()
28 return GrEllipseEffect::Make(edgeType, SkPoint::Make(oval.fLeft + w, oval.fTop + h), in Make()
DGrRRectEffect.cpp81 std::unique_ptr<GrFragmentProcessor> CircularRRectEffect::Make(GrClipEdgeType edgeType, in Make() argument
84 if (GrClipEdgeType::kFillAA != edgeType && GrClipEdgeType::kInverseFillAA != edgeType) { in Make()
88 new CircularRRectEffect(edgeType, circularCornerFlags, rrect)); in Make()
91 CircularRRectEffect::CircularRRectEffect(GrClipEdgeType edgeType, uint32_t circularCornerFlags, in CircularRRectEffect() argument
95 , fEdgeType(edgeType) in CircularRRectEffect()
416 std::unique_ptr<GrFragmentProcessor> EllipticalRRectEffect::Make(GrClipEdgeType edgeType, in Make() argument
418 if (GrClipEdgeType::kFillAA != edgeType && GrClipEdgeType::kInverseFillAA != edgeType) { in Make()
421 return std::unique_ptr<GrFragmentProcessor>(new EllipticalRRectEffect(edgeType, rrect)); in Make()
424 EllipticalRRectEffect::EllipticalRRectEffect(GrClipEdgeType edgeType, const SkRRect& rrect) in EllipticalRRectEffect() argument
427 , fEdgeType(edgeType) { in EllipticalRRectEffect()
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/
DCaptionStyleCompat.java111 @EdgeType public final int edgeType; field in CaptionStyleCompat
151 @EdgeType int edgeType, in CaptionStyleCompat() argument
157 this.edgeType = edgeType; in CaptionStyleCompat()
168 captionStyle.edgeType, captionStyle.edgeColor, captionStyle.getTypeface()); in createFromCaptionStyleV19()
179 captionStyle.hasEdgeType() ? captionStyle.edgeType : DEFAULT.edgeType, in createFromCaptionStyleV21()

123