Home
last modified time | relevance | path

Searched refs:GradientColor (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/libs/hwui/
DGradientCache.h154 struct GradientColor { struct
162 GradientColor& outColor) const; argument
164 void splitToBytes(uint32_t inColor, GradientColor& outColor) const;
165 void splitToFloats(uint32_t inColor, GradientColor& outColor) const;
167 typedef void (GradientCache::*ChannelMixer)(GradientColor& start, GradientColor& end,
170 void mixBytes(GradientColor& start, GradientColor& end, float amount, uint8_t*& dst) const;
171 void mixFloats(GradientColor& start, GradientColor& end, float amount, uint8_t*& dst) const;
DGradientCache.cpp182 void GradientCache::splitToBytes(uint32_t inColor, GradientColor& outColor) const { in splitToBytes()
189 void GradientCache::splitToFloats(uint32_t inColor, GradientColor& outColor) const { in splitToFloats()
196 void GradientCache::mixBytes(GradientColor& start, GradientColor& end, float amount, in mixBytes()
208 void GradientCache::mixFloats(GradientColor& start, GradientColor& end, float amount, in mixFloats()
239 GradientColor start; in generateTexture()
242 GradientColor end; in generateTexture()
/frameworks/base/core/java/android/content/res/
DGradientColor.java73 public class GradientColor extends ComplexColor { class
124 private GradientColor() { in GradientColor() method in GradientColor
127 private GradientColor(GradientColor copy) { in GradientColor() method in GradientColor
251 public static GradientColor createFromXml(Resources r, XmlResourceParser parser, Theme theme) in createFromXml()
276 static GradientColor createFromXmlInner(@NonNull Resources r, in createFromXmlInner()
285 final GradientColor gradientColor = new GradientColor(); in createFromXmlInner()
296 final TypedArray a = Resources.obtainAttributes(r, theme, attrs, R.styleable.GradientColor); in inflate()
504 private final GradientColor mSrc;
506 public GradientColorFactory(GradientColor src) { in GradientColorFactory()
516 public GradientColor newInstance() { in newInstance()
[all …]
DResourcesImpl.java920 complexColor = GradientColor.createFromXmlInner(wrapper, parser, attrs, theme); in loadComplexColorForCookie()
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
DComplexColor_Accessor.java35 public static GradientColor createGradientColorFromXmlInner(@NonNull Resources r, in createGradientColorFromXmlInner()
38 return GradientColor.createFromXmlInner(r, parser, attrs, theme); in createGradientColorFromXmlInner()
/frameworks/base/graphics/java/android/graphics/drawable/
DVectorDrawable.java22 import android.content.res.GradientColor;
1565 if (fillColors instanceof GradientColor) { in updateStateFromTypedArray()
1567 fillGradient = ((GradientColor) fillColors).getShader(); in updateStateFromTypedArray()
1581 if (strokeColors instanceof GradientColor) { in updateStateFromTypedArray()
1583 strokeGradient = ((GradientColor) strokeColors).getShader(); in updateStateFromTypedArray()
1654 if (mFillColors instanceof GradientColor) { in applyTheme()
1656 ((GradientColor) mFillColors).getShader().getNativeInstance()); in applyTheme()
1664 if (mStrokeColors instanceof GradientColor) { in applyTheme()
1666 ((GradientColor) mStrokeColors).getShader().getNativeInstance()); in applyTheme()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DResourceHelper.java41 import android.content.res.GradientColor;
/frameworks/base/
Dpreloaded-classes705 android.content.res.GradientColor
Dcompiled-classes-phone1052 android.content.res.GradientColor