Home
last modified time | relevance | path

Searched refs:LinearGradient (Results 1 – 22 of 22) sorted by relevance

/external/skia/modules/sksg/include/
DSkSGGradient.h55 class LinearGradient final : public Gradient {
57 static sk_sp<LinearGradient> Make() { in Make()
58 return sk_sp<LinearGradient>(new LinearGradient()); in Make()
69 LinearGradient() = default;
/external/skqp/modules/sksg/include/
DSkSGGradient.h55 class LinearGradient final : public Gradient {
57 static sk_sp<LinearGradient> Make() { in Make()
58 return sk_sp<LinearGradient>(new LinearGradient()); in Make()
69 LinearGradient() = default;
/external/lottie/lottie/src/main/java/com/airbnb/lottie/animation/content/
DGradientStrokeContent.java4 import android.graphics.LinearGradient;
31 private final LongSparseArray<LinearGradient> linearGradientCache = new LongSparseArray<>();
88 private LinearGradient getLinearGradient() { in getLinearGradient()
90 LinearGradient gradient = linearGradientCache.get(gradientHash); in getLinearGradient()
103 gradient = new LinearGradient(x0, y0, x1, y1, colors, positions, Shader.TileMode.CLAMP); in getLinearGradient()
DGradientFillContent.java5 import android.graphics.LinearGradient;
45 private final LongSparseArray<LinearGradient> linearGradientCache = new LongSparseArray<>();
152 private LinearGradient getLinearGradient() { in getLinearGradient()
154 LinearGradient gradient = linearGradientCache.get(gradientHash); in getLinearGradient()
163 gradient = new LinearGradient(startPoint.x, startPoint.y, endPoint.x, endPoint.y, colors, in getLinearGradient()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowLinearGradient.java3 import android.graphics.LinearGradient;
9 @Implements(LinearGradient.class)
/external/skia/modules/skottie/src/effects/
DGradientEffect.cpp75 ? sk_sp<sksg::Gradient>(sksg::LinearGradient::Make()) in onSync()
98 auto* lg = static_cast<sksg::LinearGradient*>(fGradient.get()); in onSync()
/external/skia/experimental/pvg/
Ddraw_msg.proto154 message LinearGradient { message
177 LinearGradient linear_gradient = 3;
/external/skqp/experimental/pvg/
Ddraw_msg.proto154 message LinearGradient { message
177 LinearGradient linear_gradient = 3;
/external/skia/modules/skottie/src/layers/shapelayer/
DGradient.cpp37 ? sk_sp<sksg::Gradient>(sksg::LinearGradient::Make()) in Make()
71 auto* grad = static_cast<sksg::LinearGradient*>(fGradient.get()); in onSync()
/external/skia/modules/sksg/src/
DSkSGGradient.cpp37 sk_sp<SkShader> LinearGradient::onMakeShader(const std::vector<SkColor4f>& colors, in onMakeShader()
/external/skqp/modules/sksg/src/
DSkSGGradient.cpp37 sk_sp<SkShader> LinearGradient::onMakeShader(const std::vector<SkColor>& colors, in onMakeShader()
/external/skqp/modules/skottie/src/
DSkottieAdapter.h22 class LinearGradient; variable
191 LinearGradientAdapter(sk_sp<sksg::LinearGradient>, size_t stopCount);
DSkottieAdapter.cpp209 LinearGradientAdapter::LinearGradientAdapter(sk_sp<sksg::LinearGradient> grad, size_t stopCount) in LinearGradientAdapter()
213 auto* grad = static_cast<sksg::LinearGradient*>(fGradient.get()); in onApply()
DSkottieShapeLayer.cpp162 auto linear_node = sksg::LinearGradient::Make(); in AttachGradient()
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
DTimeSeriesActivity.java82 …lineFill.setShader(new LinearGradient(0, 0, 200, 200, Color.WHITE, Color.GREEN, Shader.TileMode.CL… in onCreate()
DStepChartExampleActivity.java78 …lineFill.setShader(new LinearGradient(0, 0, 0, 250, Color.WHITE, Color.BLUE, Shader.TileMode.MIRRO… in onCreate()
DXYPlotWithBgImgActivity.java17 …private Shader WHITE_SHADER = new LinearGradient(1, 1, 1, 1, Color.WHITE, Color.WHITE, Shader.Tile…
/external/ImageMagick/MagickCore/
Ddraw.h74 LinearGradient, enumerator
Dpaint.c528 if ((type == LinearGradient) && (gradient->gradient_vector.y2 != 0.0)) in GradientImage()
537 if ((type == LinearGradient) && (artifact != (const char *) NULL)) in GradientImage()
Ddraw.c1934 case LinearGradient: in GetStopColorOffset()
2167 if (gradient->type == LinearGradient) in DrawGradientImage()
2206 if (gradient->type == LinearGradient) in DrawGradientImage()
3962 type=LinearGradient; in RenderMVGContent()
Doption.c1489 { "Linear", LinearGradient, UndefinedOptionFlag, MagickFalse },
/external/ImageMagick/coders/
Dgradient.c252 LinearGradient : RadialGradient,PadSpread,stops,2,exception); in ReadGRADIENTImage()