Home
last modified time | relevance | path

Searched refs:matrix4 (Results 1 – 25 of 36) sorted by relevance

12

/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/surface/
Dtransform.dart10 PersistedTransform(PersistedTransform oldLayer, this.matrix4)
13 final Float64List matrix4;
17 _transform = parent._transform.multiplied(Matrix4.fromFloat64List(matrix4));
29 rootElement.style.transform = float64ListToCssTransform(matrix4);
36 if (identical(oldSurface.matrix4, matrix4)) {
41 for (int i = 0; i < matrix4.length; i++) {
42 if (matrix4[i] != oldSurface.matrix4[i]) {
/third_party/flutter/engine/flutter/lib/ui/painting/
Dgradient.cc39 const tonic::Float64List& matrix4) { in initLinear() argument
50 bool has_matrix = matrix4.data() != nullptr; in initLinear()
52 sk_matrix = ToSkMatrix(matrix4); in initLinear()
67 const tonic::Float64List& matrix4) { in initRadial() argument
75 bool has_matrix = matrix4.data() != nullptr; in initRadial()
77 sk_matrix = ToSkMatrix(matrix4); in initRadial()
93 const tonic::Float64List& matrix4) { in initSweep() argument
101 bool has_matrix = matrix4.data() != nullptr; in initSweep()
103 sk_matrix = ToSkMatrix(matrix4); in initSweep()
122 const tonic::Float64List& matrix4) { in initTwoPointConical() argument
[all …]
Dmatrix.cc20 SkMatrix ToSkMatrix(const tonic::Float64List& matrix4) { in ToSkMatrix() argument
21 FML_DCHECK(!matrix4.empty()); in ToSkMatrix()
25 if (matrix4_index < matrix4.size()) in ToSkMatrix()
26 sk_matrix[i] = matrix4[matrix4_index]; in ToSkMatrix()
Dgradient.h39 const tonic::Float64List& matrix4);
47 const tonic::Float64List& matrix4);
56 const tonic::Float64List& matrix4);
67 const tonic::Float64List& matrix4);
Dpath.cc213 tonic::Float64List& matrix4) { in addPathWithMatrix() argument
218 SkMatrix matrix = ToSkMatrix(matrix4); in addPathWithMatrix()
235 tonic::Float64List& matrix4) { in extendWithPathAndMatrix() argument
241 SkMatrix matrix = ToSkMatrix(matrix4); in extendWithPathAndMatrix()
265 fml::RefPtr<CanvasPath> CanvasPath::transform(tonic::Float64List& matrix4) { in transform() argument
267 path_.transform(ToSkMatrix(matrix4), &path->path_); in transform()
Dpath.h88 tonic::Float64List& matrix4);
93 tonic::Float64List& matrix4);
98 fml::RefPtr<CanvasPath> transform(tonic::Float64List& matrix4);
Dimage_shader.cc36 const tonic::Float64List& matrix4) { in initWithImage() argument
41 SkMatrix sk_matrix = ToSkMatrix(matrix4); in initWithImage()
Dimage_filter.cc48 void ImageFilter::initMatrix(const std::vector<double>& matrix4, in initMatrix() argument
51 ToSkMatrix(matrix4), static_cast<SkFilterQuality>(filterQuality), in initMatrix()
Dmatrix.h13 SkMatrix ToSkMatrix(const tonic::Float64List& matrix4);
Dimage_shader.h33 const tonic::Float64List& matrix4);
Dimage_filter.h26 void initMatrix(const std::vector<double>& matrix4, int filter_quality);
Dcanvas.cc150 void Canvas::transform(const tonic::Float64List& matrix4) { in transform() argument
153 canvas_->concat(ToSkMatrix(matrix4)); in transform()
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/compositor/
Dmatrix.dart16 js.JsArray<double> toSkMatrix(Float64List matrix4) {
21 if (matrix4Index < matrix4.length)
22 skMatrix[i] = matrix4[matrix4Index];
Dpath.dart36 void addPath(ui.Path path, ui.Offset offset, {Float64List matrix4}) {
108 void extendWithPath(ui.Path path, ui.Offset offset, {Float64List matrix4}) {
181 ui.Path transform(Float64List matrix4) {
Dlayer_scene_builder.dart165 ui.TransformEngineLayer pushTransform(Float64List matrix4,
167 final Matrix4 matrix = Matrix4.fromList(matrix4);
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/
Dvalidators.dart36 bool matrix4IsValid(Float64List matrix4) {
37 assert(matrix4 != null, 'Matrix4 argument was null.');
38 assert(matrix4.length == 16, 'Matrix4 must have 16 entries.');
Dbitmap_canvas.dart347 void transform(Float64List matrix4) {
348 super.transform(matrix4);
371 if (matrix4[2] != 0.0 ||
372 matrix4[3] != 0.0 ||
373 matrix4[7] != 0.0 ||
374 matrix4[8] != 0.0 ||
375 matrix4[9] != 0.0 ||
376 matrix4[10] != 1.0 ||
377 matrix4[11] != 0.0 ||
378 matrix4[14] != 0.0 ||
[all …]
Dengine_canvas.dart33 void transform(Float64List matrix4);
207 void transform(Float64List matrix4) {
208 _currentTransform.multiply(Matrix4.fromFloat64List(matrix4));
Drecording_canvas.dart134 void transform(Float64List matrix4) {
135 _paintBounds.transform(matrix4);
136 _commands.add(PaintTransform(matrix4));
459 final Float64List matrix4;
461 PaintTransform(this.matrix4);
465 canvas.transform(matrix4);
471 …return 'transform(Matrix4.fromFloat64List(Float64List.fromList(<double>[${matrix4.join(', ')}])))';
479 serializedCommands.add(<dynamic>[6]..addAll(matrix4));
1366 void transform(Float64List matrix4) {
1367 final Matrix4 m4 = Matrix4.fromFloat64List(matrix4);
/third_party/flutter/engine/flutter/lib/ui/
Dpainting.dart42 bool _matrix4IsValid(Float64List matrix4) {
43 assert(matrix4 != null, 'Matrix4 argument was null.');
44 assert(matrix4.length == 16, 'Matrix4 must have 16 entries.');
45 assert(matrix4.every((double value) => value.isFinite), 'Matrix4 entries must be finite.');
2055 /// If `matrix4` is specified, the path will be transformed by this matrix
2058 void addPath(Path path, Offset offset, {Float64List matrix4}) {
2061 if (matrix4 != null) {
2062 assert(_matrix4IsValid(matrix4));
2063 _addPathWithMatrix(path, offset.dx, offset.dy, matrix4);
2074 /// If `matrix4` is specified, the path will be transformed by this matrix
[all …]
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/ui/
Dpainting.dart14 bool _matrix4IsValid(Float64List matrix4) {
15 assert(matrix4 != null, 'Matrix4 argument was null.');
16 assert(matrix4.length == 16, 'Matrix4 must have 16 entries.');
1260 matrix4, // TODO(flutter_web): see https://github.com/flutter/flutter/issues/32819
1283 /// If `matrix4` is provided, the gradient fill will be transformed by the
1284 /// specified 4x4 matrix relative to the local coordinate system. `matrix4`
1296 Float64List matrix4,
1305 center, radius, colors, colorStops, tileMode, matrix4);
1310 colorStops, tileMode, matrix4);
1337 /// If `matrix4` is provided, the gradient fill will be transformed by the
[all …]
Dcompositing.dart204 TransformEngineLayer pushTransform(Float64List matrix4,
206 if (matrix4 == null) {
207 throw ArgumentError('"matrix4" argument cannot be null');
209 if (matrix4.length != 16) {
210 throw ArgumentError('"matrix4" must have 16 entries.');
212 return _pushSurface(engine.PersistedTransform(oldLayer, matrix4));
/third_party/flutter/engine/flutter/lib/web_ui/test/
Dmock_engine_canvas.dart96 void transform(Float64List matrix4) {
97 _called('transform', arguments: matrix4);
/third_party/flutter/flutter/packages/flutter/test/widgets/
Dlist_wheel_scroll_view_test.dart565 matrix4: equals(<dynamic>[
625 matrix4: equals(<dynamic>[
654 matrix4: equals(<dynamic>[
683 matrix4: equals(<dynamic>[
712 matrix4: equals(<dynamic>[
747 matrix4: equals(<dynamic>[
792 matrix4: equals(<dynamic>[
/third_party/flutter/engine/flutter/lib/ui/compositing/
Dscene_builder.cc75 tonic::Float64List& matrix4) { in pushTransform() argument
76 SkMatrix sk_matrix = ToSkMatrix(matrix4); in pushTransform()

12