Searched defs:baseColor (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/core/java/android/content/res/
H A DColorStateList.java327 final int baseColor = a.getColor(R.styleable.ColorStateListItem_color, Color.MAGENTA);
355 final int color = modulateColorAlpha(baseColor, alphaMod);
447 final int baseColor = a.getColor(
451 mColors[i] = modulateColorAlpha(baseColor, alphaMod);
500 private int modulateColorAlpha(int baseColor, float alphaMod) { argument
502 return baseColor;
505 final int baseAlpha = Color.alpha(baseColor);
507 return (baseColor & 0xFFFFFF) | (alpha << 24);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DUtilities.java196 public static int getColorWithOverlay(int baseColor, int overlayColor, float overlayAlpha) { argument
198 (int) (overlayAlpha * Color.red(baseColor) +
200 (int) (overlayAlpha * Color.green(baseColor) +
202 (int) (overlayAlpha * Color.blue(baseColor) +
/frameworks/base/core/java/com/android/internal/util/
H A DNotificationColorUtil.java345 * @param baseColor the base color to lighten
350 public static int lightenColor(int baseColor, int amount) { argument
352 ColorUtilsFromCompat.colorToLAB(baseColor, result);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DAppCompatDrawableManager.java610 @ColorInt final int baseColor, final @Nullable ColorStateList tint) {
625 tint == null ? baseColor : tint.getColorForState(states[i], 0));
630 tint == null ? baseColor : tint.getColorForState(states[i], 0));
635 colors[i] = tint == null ? baseColor : tint.getColorForState(states[i], 0);
609 createButtonColorStateList(@onNull final Context context, @ColorInt final int baseColor, final @Nullable ColorStateList tint) argument
/frameworks/native/opengl/tests/angeles/
H A Ddemo.c209 float baseColor[3]; local
218 baseColor[a] = ((randomUInt() % 155) + 100) / 255.f;
301 color[a] = (int)(ca * baseColor[a] * 255);

Completed in 329 milliseconds