Home
last modified time | relevance | path

Searched refs:sweep (Results 1 – 25 of 101) sorted by relevance

12345

/third_party/flutter/flutter/packages/flutter/test/gestures/
Ddouble_tap_test.dart117 GestureBinding.instance.gestureArena.sweep(1);
129 GestureBinding.instance.gestureArena.sweep(2);
151 GestureBinding.instance.gestureArena.sweep(1);
162 GestureBinding.instance.gestureArena.sweep(3);
186 GestureBinding.instance.gestureArena.sweep(4);
197 GestureBinding.instance.gestureArena.sweep(1);
219 GestureBinding.instance.gestureArena.sweep(1);
231 GestureBinding.instance.gestureArena.sweep(2);
253 GestureBinding.instance.gestureArena.sweep(1);
265 GestureBinding.instance.gestureArena.sweep(2);
[all …]
Darena_test.dart78 test('Should win by sweep', () {
84 tester.arena.sweep(primaryKey);
88 test('Should win on release after hold sweep release', () {
96 tester.arena.sweep(primaryKey);
102 test('Should win on sweep after hold release sweep', () {
112 tester.arena.sweep(primaryKey);
Dtap_test.dart104 GestureBinding.instance.gestureArena.sweep(1);
126 GestureBinding.instance.gestureArena.sweep(1);
137 GestureBinding.instance.gestureArena.sweep(1);
166 GestureBinding.instance.gestureArena.sweep(1);
171 GestureBinding.instance.gestureArena.sweep(2);
203 GestureBinding.instance.gestureArena.sweep(3);
236 GestureBinding.instance.gestureArena.sweep(4);
261 GestureBinding.instance.gestureArena.sweep(1);
286 GestureBinding.instance.gestureArena.sweep(1);
314 GestureBinding.instance.gestureArena.sweep(1);
[all …]
/third_party/skia/docs/examples/
DColor_Wheel.cpp13 SkPaint sweep; in draw_color_wheel() local
19 sweep.setShader(SkGradientShader::MakeSweep(0, 0, kColors, nullptr, nullptr, in draw_color_wheel()
21 sweep.setStyle(SkPaint::kStroke_Style); in draw_color_wheel()
22 sweep.setStrokeWidth(stroke); in draw_color_wheel()
23 sweep.setAntiAlias(true); in draw_color_wheel()
24 canvas->drawCircle({0, 0}, (scale - stroke) * 0.5f, sweep); in draw_color_wheel()
DPath_ArcSize.cpp10 for (auto sweep: { SkPathDirection::kCW, SkPathDirection::kCCW } ) { in draw()
14 path.arcTo(70, 40, 30, arcSize, sweep, 156, 100); in draw()
15 if (SkPathDirection::kCCW == sweep && SkPath::kLarge_ArcSize == arcSize) { in draw()
DPath_arcTo_4.cpp10 for (auto sweep: { SkPathDirection::kCW, SkPathDirection::kCCW } ) { in draw()
14 path.arcTo(70, 40, 30, arcSize, sweep, 120.1f, 50); in draw()
15 if (SkPathDirection::kCCW == sweep && SkPath::kLarge_ArcSize == arcSize) { in draw()
DPath_addArc.cpp9 for (auto sweep : { -450.f, -180.f, -90.f, 90.f, 180.f, 360.1f } ) { in draw()
11 path.addArc({10, 10, 35, 45}, start, sweep); in draw()
DBlendModes.cpp14 auto sweep = SkGradientShader::MakeSweep(128, 128, sweepColors, nullptr, 7, 0, &rotMtx); in drawBG() local
16 auto comp = SkShaders::Blend(SkBlendMode::kModulate, std::move(rad), std::move(sweep)); in drawBG()
/third_party/skia/tests/
DPathOpsAngleIdeas.cpp118 static void setQuadHullSweep(const SkDQuad& quad, SkDVector sweep[2]) { in setQuadHullSweep()
119 sweep[0] = quad[1] - quad[0]; in setQuadHullSweep()
120 sweep[1] = quad[2] - quad[0]; in setQuadHullSweep()
130 SkDVector sweep[2], tweep[2]; in checkParallel() local
131 setQuadHullSweep(quad1, sweep); in checkParallel()
142 double s0dt0 = sweep[0].dot(tweep[0]); in checkParallel()
144 double s0xt0 = sweep[0].crossCheck(tweep[0]); in checkParallel()
146 double sDist = sweep[0].length() * m; in checkParallel()
165 SkDVector sweep[2], tweep[2]; in quadHullsOverlap() local
166 setQuadHullSweep(quad1, sweep); in quadHullsOverlap()
[all …]
/third_party/flutter/skia/tests/
DPathOpsAngleIdeas.cpp118 static void setQuadHullSweep(const SkDQuad& quad, SkDVector sweep[2]) { in setQuadHullSweep()
119 sweep[0] = quad[1] - quad[0]; in setQuadHullSweep()
120 sweep[1] = quad[2] - quad[0]; in setQuadHullSweep()
130 SkDVector sweep[2], tweep[2]; in checkParallel() local
131 setQuadHullSweep(quad1, sweep); in checkParallel()
142 double s0dt0 = sweep[0].dot(tweep[0]); in checkParallel()
144 double s0xt0 = sweep[0].crossCheck(tweep[0]); in checkParallel()
146 double sDist = sweep[0].length() * m; in checkParallel()
165 SkDVector sweep[2], tweep[2]; in quadHullsOverlap() local
166 setQuadHullSweep(quad1, sweep); in quadHullsOverlap()
[all …]
/third_party/flutter/skia/docs/examples/
DPath_ArcSize.cpp10 for (auto sweep: { SkPath::kCW_Direction, SkPath::kCCW_Direction } ) { in draw()
14 path.arcTo(70, 40, 30, arcSize, sweep, 156, 100); in draw()
15 if (SkPath::kCCW_Direction == sweep && SkPath::kLarge_ArcSize == arcSize) { in draw()
DPath_arcTo_4.cpp10 for (auto sweep: { SkPath::kCW_Direction, SkPath::kCCW_Direction } ) { in draw()
14 path.arcTo(70, 40, 30, arcSize, sweep, 120.1f, 50); in draw()
15 if (SkPath::kCCW_Direction == sweep && SkPath::kLarge_ArcSize == arcSize) { in draw()
DPath_addArc.cpp9 for (auto sweep : { -450.f, -180.f, -90.f, 90.f, 180.f, 360.1f } ) { in draw()
11 path.addArc({10, 10, 35, 45}, start, sweep); in draw()
/third_party/flutter/skia/samplecode/
DSampleArc.cpp46 void setSweep(SkScalar sweep) { in setSweep() argument
47 if (fSweep != sweep) { in setSweep()
48 fSweep = sweep; in setSweep()
95 static void DrawLabel(SkCanvas* canvas, const SkRect& rect, SkScalar start, SkScalar sweep) { in DrawLabel() argument
100 str.appendScalar(sweep); in DrawLabel()
/third_party/skia/samplecode/
DSampleArc.cpp46 void setSweep(SkScalar sweep) { in setSweep() argument
47 if (fSweep != sweep) { in setSweep()
48 fSweep = sweep; in setSweep()
95 static void DrawLabel(SkCanvas* canvas, const SkRect& rect, SkScalar start, SkScalar sweep) { in DrawLabel() argument
100 str.appendScalar(sweep); in DrawLabel()
/third_party/flutter/flutter/packages/flutter/lib/src/gestures/
Darena.dart135 /// should call [hold] to delay sweep until [release] is called.
141 void sweep(int pointer) {
148 assert(_debugLogDiagnostic(pointer, 'Delaying sweep', state));
166 /// [PointerUpEvent] processing by [sweep]. If a recognizer wishes to delay
173 /// * [sweep]
185 /// If a sweep was attempted on a held arena, the sweep will be done
190 /// * [sweep]
199 sweep(pointer);
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libEGL/
DTexture.hpp35 virtual void sweep() = 0; // Garbage collect if no external references
43 sweep(); in release()
/third_party/skia/src/pathops/
DSkOpAngle.cpp337 const SkDVector* sweep, * tweep; in checkParallel() local
339 sweep = this->fPart.fSweep; in checkParallel()
342 sweep = &scratch[0]; in checkParallel()
350 double s0xt0 = sweep->crossCheck(*tweep); in checkParallel()
437 const SkDVector* sweep = this->fPart.fSweep; in convexHullOverlaps() local
439 double s0xs1 = sweep[0].crossCheck(sweep[1]); in convexHullOverlaps()
440 double s0xt0 = sweep[0].crossCheck(tweep[0]); in convexHullOverlaps()
441 double s1xt0 = sweep[1].crossCheck(tweep[0]); in convexHullOverlaps()
443 double s0xt1 = sweep[0].crossCheck(tweep[1]); in convexHullOverlaps()
444 double s1xt1 = sweep[1].crossCheck(tweep[1]); in convexHullOverlaps()
[all …]
/third_party/flutter/skia/src/pathops/
DSkOpAngle.cpp337 const SkDVector* sweep, * tweep; in checkParallel() local
339 sweep = this->fPart.fSweep; in checkParallel()
342 sweep = &scratch[0]; in checkParallel()
350 double s0xt0 = sweep->crossCheck(*tweep); in checkParallel()
437 const SkDVector* sweep = this->fPart.fSweep; in convexHullOverlaps() local
439 double s0xs1 = sweep[0].crossCheck(sweep[1]); in convexHullOverlaps()
440 double s0xt0 = sweep[0].crossCheck(tweep[0]); in convexHullOverlaps()
441 double s1xt0 = sweep[1].crossCheck(tweep[0]); in convexHullOverlaps()
443 double s0xt1 = sweep[0].crossCheck(tweep[1]); in convexHullOverlaps()
444 double s1xt1 = sweep[1].crossCheck(tweep[1]); in convexHullOverlaps()
[all …]
/third_party/flutter/skia/gm/
Dshallowgradient.cpp81 M(sweep, true)
86 M(sweep, false)
Daddarc.cpp221 SkScalar sweep = ccw ? end - start : start - end; local
223 path->arcTo(bounds, start, sweep, false);
225 path->addArc(bounds, start, sweep);
/third_party/skia/gm/
Dshallowgradient.cpp81 M(sweep, true)
86 M(sweep, false)
/third_party/flutter/skia/src/utils/
DSkParsePath.cpp167 SkScalar angle, largeArc, sweep; in FromSVGString() local
174 && (data = find_scalar(data, &sweep, false, 0)) in FromSVGString()
178 (SkPath::Direction) !SkToBool(sweep), points[0]); in FromSVGString()
/third_party/skia/src/utils/
DSkParsePath.cpp167 SkScalar angle, largeArc, sweep; in FromSVGString() local
174 && (data = find_scalar(data, &sweep, false, 0)) in FromSVGString()
178 (SkPathDirection) !SkToBool(sweep), points[0]); in FromSVGString()
/third_party/flutter/flutter/packages/flutter/test/painting/
Dcolors_test.dart33 test('HSVColor hue sweep test', () {
63 test('HSVColor saturation sweep test', () {
91 test('HSVColor value sweep test', () {
229 test('HSLColor hue sweep test', () {
259 test('HSLColor saturation sweep test', () {
287 test('HSLColor lightness sweep test', () {

12345