Home
last modified time | relevance | path

Searched refs:Gradient (Results 1 – 25 of 63) sorted by relevance

123

/third_party/flutter/skia/modules/sksg/include/
DSkSGGradient.h25 class Gradient : public Shader {
46 Gradient() = default;
55 class LinearGradient final : public Gradient {
74 using INHERITED = Gradient;
77 class RadialGradient final : public Gradient {
100 using INHERITED = Gradient;
/third_party/skia/modules/sksg/include/
DSkSGGradient.h25 class Gradient : public Shader {
46 Gradient() = default;
55 class LinearGradient final : public Gradient {
74 using INHERITED = Gradient;
77 class RadialGradient final : public Gradient {
100 using INHERITED = Gradient;
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
DSetupProcessor.hpp59 struct Gradient struct
70 Gradient color[2][4];
71 Gradient texture[8][4];
72 Gradient fog;
75 Gradient gradient[MAX_FRAGMENT_INPUTS][4];
/third_party/flutter/engine/flutter/lib/web_ui/test/
Dgradient_test.dart10 test('Gradient.radial with no focal point', () {
12 new Gradient.radial(
26 () => new Gradient.radial(
41 () => new Gradient.radial(
58 () => new Gradient.radial(
/third_party/flutter/engine/flutter/testing/dart/
Dgradient_test.dart10 test('Gradient.radial with no focal point', () {
12 Gradient.radial(
26 () => Gradient.radial(
41 () => Gradient.radial(
59 () => Gradient.radial(
/third_party/flutter/engine/flutter/lib/ui/painting/
Dgradient.cc16 Gradient; // Because the C++ name doesn't match the Dart name. typedef
18 IMPLEMENT_WRAPPERTYPEINFO(ui, Gradient);
21 V(Gradient, initLinear) \
22 V(Gradient, initRadial) \
23 V(Gradient, initSweep) \
24 V(Gradient, initTwoPointConical)
/third_party/skia/modules/skottie/src/layers/shapelayer/
DGradient.cpp37 ? sk_sp<sksg::Gradient>(sksg::LinearGradient::Make()) in Make()
38 : sk_sp<sksg::Gradient>(sksg::RadialGradient::Make()); in Make()
46 const sk_sp<sksg::Gradient>& node() const { return fGradient; } in node()
51 GradientAdapter(sk_sp<sksg::Gradient> gradient, in GradientAdapter()
123 sksg::Gradient::ColorStop current_stop = { in onSync()
131 std::vector<sksg::Gradient::ColorStop> stops; in onSync()
196 const sk_sp<sksg::Gradient> fGradient;
/third_party/flutter/flutter/packages/flutter/lib/src/painting/
Dgradient.dart7 import 'dart:ui' as ui show Gradient, lerpDouble;
67 /// * [Gradient](dart-ui/Gradient-class.html), the class in the [dart:ui] library.
70 abstract class Gradient {
79 const Gradient({
138 Gradient scale(double factor);
140 /// Linearly interpolates from another [Gradient] to `this`.
162 /// Instead of calling this directly, use [Gradient.lerp].
164 Gradient lerpFrom(Gradient a, double t) {
170 /// Linearly interpolates from `this` to another [Gradient].
193 /// Instead of calling this directly, use [Gradient.lerp].
[all …]
Dflutter_logo.dart7 import 'dart:ui' as ui show Gradient, TextBox, lerpDouble;
305 final ui.Gradient triangleGradient = ui.Gradient.linear(
325 final ui.Gradient rectangleGradient = ui.Gradient.linear(
500 ..shader = ui.Gradient.linear(
/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/
DGradient.java13 public class Gradient extends Shader { class
18 protected Gradient(int[] colors, float[] pos, TileMode tm, Matrix lm, in Gradient() method in Gradient
23 protected Gradient(float[] colors, float[] pos, TileMode tm, Matrix lm, in Gradient() method in Gradient
DRadialGradient.java13 public class RadialGradient extends Gradient {
DLinearGradient.java13 public class LinearGradient extends Gradient {
/third_party/flutter/flutter/packages/flutter/test/painting/
Dgradient_test.dart662 test('Gradient lerp test (with RadialGradient)', () {
700 expect(Gradient.lerp(testGradient1, testGradient3, 0.0), testGradient1);
701 expect(Gradient.lerp(testGradient1, testGradient3, 0.5), testGradient2);
702 expect(Gradient.lerp(testGradient1, testGradient3, 1.0), testGradient3);
703 expect(Gradient.lerp(testGradient3, testGradient1, 0.0), testGradient3);
704 expect(Gradient.lerp(testGradient3, testGradient1, 0.5), testGradient2);
705 expect(Gradient.lerp(testGradient3, testGradient1, 1.0), testGradient1);
708 test('Gradient lerp test (LinearGradient to RadialGradient)', () {
726 expect(Gradient.lerp(testGradient1, testGradient2, 0.0), testGradient1);
727 expect(Gradient.lerp(testGradient1, testGradient2, 1.0), testGradient2);
[all …]
/third_party/mindspore/mindspore/explainer/explanation/_attribution/_backprop/
Dintermediate_layer.py20 from .gradient import Gradient
23 class IntermediateLayerAttribution(Gradient):
Dgradient.py27 class Gradient(Attribution): class
79 super(Gradient, self).__init__(network)
Dmodified_relu.py26 from .gradient import Gradient
29 class ModifiedReLU(Gradient):
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/ui/
Dtile_mode.dart19 /// * [painting.Gradient], the superclass for [LinearGradient] and
23 /// * [dart:ui.Gradient], the low-level class used when dealing with the
24 /// [Paint.shader] property directly, with its [new Gradient.linear] and [new
25 /// Gradient.radial] constructors.
/third_party/skia/modules/skottie/src/effects/
DGradientEffect.cpp75 ? sk_sp<sksg::Gradient>(sksg::LinearGradient::Make()) in onSync()
76 : sk_sp<sksg::Gradient>(sksg::RadialGradient::Make()); in onSync()
114 sk_sp<sksg::Gradient> fGradient;
/third_party/flutter/skia/modules/skottie/src/effects/
DGradientEffect.cpp57 ? sk_sp<sksg::Gradient>(sksg::LinearGradient::Make()) in apply()
58 : sk_sp<sksg::Gradient>(sksg::RadialGradient::Make()); in apply()
93 sk_sp<sksg::Gradient> fGradient;
/third_party/mesa3d/src/gallium/frontends/xvmc/tests/
Dtest_rendering.c105 static void Gradient(short *block, unsigned int start, unsigned int stop, int horizontal, unsigned … in Gradient() function
221 Gradient in main()
238 Gradient in main()
249 Gradient in main()
/third_party/flutter/skia/modules/skottie/src/
DSkottieAdapter.h24 class Gradient; variable
225 GradientAdapter(sk_sp<sksg::Gradient>, size_t stopCount);
230 sk_sp<sksg::Gradient> fGradient;
/third_party/mindspore/mindspore/explainer/explanation/
D__init__.py17 from ._attribution._backprop.gradient import Gradient
/third_party/skia/site/docs/user/api/
Dskpaint_overview.md88 - Radial Gradient Shader
92 - Two-Point Conical Gradient Shader
96 - Sweep Gradient Shader
/third_party/flutter/skia/modules/sksg/src/
DSkSGGradient.cpp15 sk_sp<SkShader> Gradient::onRevalidateShader() { in onRevalidateShader()
/third_party/skia/modules/sksg/src/
DSkSGGradient.cpp16 sk_sp<SkShader> Gradient::onRevalidateShader() { in onRevalidateShader()

123