Searched refs:toColor (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/libs/hwui/ |
D | PropertyValuesHolder.cpp | 38 void ColorEvaluator::evaluate(SkColor* outColor, const SkColor& fromColor, const SkColor& toColor, in evaluate() argument 40 float a = lerp(SkColorGetA(fromColor) / 255.0f, SkColorGetA(toColor) / 255.0f, fraction); in evaluate() 41 float r = lerp(linearize(SkColorGetR(fromColor)), linearize(SkColorGetR(toColor)), fraction); in evaluate() 42 float g = lerp(linearize(SkColorGetG(fromColor)), linearize(SkColorGetG(toColor)), fraction); in evaluate() 43 float b = lerp(linearize(SkColorGetB(fromColor)), linearize(SkColorGetB(toColor)), fraction); in evaluate()
|
D | PropertyValuesHolder.h | 112 static SkColor interpolateColors(SkColor fromColor, SkColor toColor, float fraction);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
D | GLCanvas.java | 109 public abstract void drawMixed(BasicTexture from, int toColor, in drawMixed() argument 116 public abstract void drawMixed(BasicTexture from, int toColor, in drawMixed() argument
|
D | GLES20Canvas.java | 758 …public void drawMixed(BasicTexture texture, int toColor, float ratio, int x, int y, int w, int h) { in drawMixed() argument 761 drawMixed(texture, toColor, ratio, mTempSourceRect, mTempTargetRect); in drawMixed() 765 …public void drawMixed(BasicTexture texture, int toColor, float ratio, RectF source, RectF target) { in drawMixed() argument 780 fillRect(target.left, target.top, target.width(), target.height(), toColor); in drawMixed()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/mediaoutput/ui/composable/ |
D | MediaOutputComponent.kt | 60 import com.android.systemui.common.ui.compose.toColor in <lambda>() 166 color = targetViewModel.backgroundColor.toColor(), in <lambda>() 191 tint = it.iconColor.toColor(), in <lambda>()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/common/ui/compose/ |
D | Color.kt | 27 fun com.android.systemui.common.shared.model.Color.toColor(): Color { in com() method
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
D | QSIconViewImpl.java | 199 private void animateGrayScale(int fromColor, int toColor, ImageView iv, in animateGrayScale() argument 203 PropertyValuesHolder values = PropertyValuesHolder.ofInt("color", fromColor, toColor); in animateGrayScale() 215 setTint(iv, toColor); in animateGrayScale()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/ |
D | CommunalContainer.kt | 292 toColor = colors.primary, in AnimatedLinearGradient() 315 fun Modifier.animatedRadialGradientBackground(toColor: Color, fromColor: Color): Modifier { in animatedRadialGradientBackground() 357 colors = listOf(fromColor, toColor), in animatedRadialGradientBackground() 370 colors = listOf(fromColor, toColor), in animatedRadialGradientBackground()
|