Home
last modified time | relevance | path

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

12

/external/skia/src/gpu/effects/generated/
DGrAARectEffect.cpp27 auto edgeType = _outer.edgeType; in emitCode() local
28 (void)edgeType; in emitCode()
54 (int)_outer.edgeType, in emitCode()
58 (int)_outer.edgeType, in emitCode()
59 (int)_outer.edgeType); in emitCode()
72 auto edgeType = _outer.edgeType; in onSetData() local
73 (void)edgeType; in onSetData()
83 GrProcessorEdgeTypeIsAA(edgeType) ? rect.makeOutset(.5f, .5f) : rect; in onSetData()
97 b->addBits(2, (uint32_t)edgeType, "edgeType"); in onGetGLSLProcessorKey()
102 if (edgeType != that.edgeType) return false; in onIsEqual()
[all …]
DGrCircleEffect.cpp27 auto edgeType = _outer.edgeType; in emitCode() local
28 (void)edgeType; in emitCode()
46 (int)_outer.edgeType, in emitCode()
47 (int)_outer.edgeType, in emitCode()
65 (int)_outer.edgeType, in emitCode()
66 (int)_outer.edgeType); in emitCode()
73 auto edgeType = _outer.edgeType; in onSetData() local
74 (void)edgeType; in onSetData()
84 if (GrProcessorEdgeTypeIsInverseFill((GrClipEdgeType)edgeType)) { in onSetData()
107 b->addBits(2, (uint32_t)edgeType, "edgeType"); in onGetGLSLProcessorKey()
[all …]
DGrEllipseEffect.cpp27 auto edgeType = _outer.edgeType; in emitCode() local
28 (void)edgeType; in emitCode()
83 (int)_outer.edgeType); in emitCode()
96 auto edgeType = _outer.edgeType; in onSetData() local
97 (void)edgeType; in onSetData()
142 b->addBits(2, (uint32_t)edgeType, "edgeType"); in onGetGLSLProcessorKey()
147 if (edgeType != that.edgeType) return false; in onIsEqual()
154 , edgeType(src.edgeType) in GrEllipseEffect()
165 (int)edgeType, in onDumpInfo()
DGrCircleEffect.h22 GrClipEdgeType edgeType, in Make() argument
27 if (radius < .5f && GrProcessorEdgeTypeIsInverseFill(edgeType)) { in Make()
31 new GrCircleEffect(std::move(inputFP), edgeType, center, radius))); in Make()
36 GrClipEdgeType edgeType; variable
42 GrClipEdgeType edgeType, in GrCircleEffect() argument
48 , edgeType(edgeType) in GrCircleEffect()
DGrAARectEffect.h22 GrClipEdgeType edgeType, in Make() argument
25 new GrAARectEffect(std::move(inputFP), edgeType, rect)); in Make()
30 GrClipEdgeType edgeType; variable
35 GrClipEdgeType edgeType, in GrAARectEffect() argument
40 , edgeType(edgeType) in GrAARectEffect()
DGrEllipseEffect.h24 GrClipEdgeType edgeType, in Make() argument
41 new GrEllipseEffect(std::move(inputFP), edgeType, center, radii))); in Make()
46 GrClipEdgeType edgeType; variable
52 GrClipEdgeType edgeType, in GrEllipseEffect() argument
58 , edgeType(edgeType) in GrEllipseEffect()
/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/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/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()
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()
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()
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 …]
DGrConvexPolyEffect.h41 static std::unique_ptr<GrFragmentProcessor> Make(GrClipEdgeType edgeType, int n, in Make() argument
43 if (n <= 0 || n > kMaxEdges || GrClipEdgeType::kHairlineAA == edgeType) { in Make()
46 return std::unique_ptr<GrFragmentProcessor>(new GrConvexPolyEffect(edgeType, n, edges)); in Make()
73 GrConvexPolyEffect(GrClipEdgeType edgeType, int n, const SkScalar edges[]);
/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()
/external/skia/src/gpu/effects/
DGrCircleEffect.fp9 layout(key) in GrClipEdgeType edgeType;
21 GrClipEdgeType edgeType, SkPoint center, float radius) {
24 if (radius < .5f && GrProcessorEdgeTypeIsInverseFill(edgeType)) {
28 new GrCircleEffect(std::move(inputFP), edgeType, center, radius)));
39 if (GrProcessorEdgeTypeIsInverseFill((GrClipEdgeType) edgeType)) {
58 @if (edgeType == GrClipEdgeType::kInverseFillBW ||
59 edgeType == GrClipEdgeType::kInverseFillAA) {
65 @if (edgeType == GrClipEdgeType::kFillAA ||
66 edgeType == GrClipEdgeType::kInverseFillAA) {
DGrAARectEffect.fp9 layout(key) in GrClipEdgeType edgeType;
20 @switch (edgeType) {
36 @if (edgeType == GrClipEdgeType::kInverseFillBW || edgeType == GrClipEdgeType::kInverseFillAA) {
46 const SkRect& newRect = GrProcessorEdgeTypeIsAA(edgeType) ?
61 GrClipEdgeType edgeType = static_cast<GrClipEdgeType>(
64 return GrAARectEffect::Make(d->inputFP(), edgeType, rect);
DGrRRectEffect.cpp85 GrClipEdgeType edgeType, in Make() argument
87 if (GrClipEdgeType::kFillAA != edgeType && GrClipEdgeType::kInverseFillAA != edgeType) { in Make()
91 new CircularRRectEffect(std::move(inputFP), edgeType, circularCornerFlags, rrect))); in Make()
95 GrClipEdgeType edgeType, in CircularRRectEffect() argument
102 , fEdgeType(edgeType) in CircularRRectEffect()
438 GrClipEdgeType edgeType, const SkRRect& rrect) { in Make() argument
439 if (GrClipEdgeType::kFillAA != edgeType && GrClipEdgeType::kInverseFillAA != edgeType) { in Make()
443 new EllipticalRRectEffect(std::move(inputFP), edgeType, rrect))); in Make()
447 GrClipEdgeType edgeType, in EllipticalRRectEffect() argument
453 , fEdgeType(edgeType) { in EllipticalRRectEffect()
[all …]

12