Searched refs:baseColor (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/java/android/content/res/ |
D | ColorStateList.java | 327 final int baseColor = a.getColor(R.styleable.ColorStateListItem_color, Color.MAGENTA); in inflate() local 355 final int color = modulateColorAlpha(baseColor, alphaMod); in inflate() 447 final int baseColor = a.getColor( in applyTheme() local 451 mColors[i] = modulateColorAlpha(baseColor, alphaMod); in applyTheme() 500 private int modulateColorAlpha(int baseColor, float alphaMod) { in modulateColorAlpha() argument 502 return baseColor; in modulateColorAlpha() 505 final int baseAlpha = Color.alpha(baseColor); in modulateColorAlpha() 507 return (baseColor & 0xFFFFFF) | (alpha << 24); in modulateColorAlpha()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
D | Utilities.java | 195 public static int getColorWithOverlay(int baseColor, int overlayColor, float overlayAlpha) { in getColorWithOverlay() argument 197 (int) (overlayAlpha * Color.red(baseColor) + in getColorWithOverlay() 199 (int) (overlayAlpha * Color.green(baseColor) + in getColorWithOverlay() 201 (int) (overlayAlpha * Color.blue(baseColor) + in getColorWithOverlay()
|
/frameworks/support/v7/appcompat/src/android/support/v7/content/res/ |
D | AppCompatColorStateListInflater.java | 114 final int baseColor = a.getColor(R.styleable.ColorStateListItem_android_color, in inflate() local 144 final int color = modulateColorAlpha(baseColor, alphaMod); in inflate()
|
/frameworks/support/design/src/android/support/design/widget/ |
D | NavigationView.java | 416 ColorStateList baseColor = getResources().getColorStateList(value.resourceId); in createDefaultColorStateList() local 422 int defaultColor = baseColor.getDefaultColor(); in createDefaultColorStateList() 428 baseColor.getColorForState(DISABLED_STATE_SET, defaultColor), in createDefaultColorStateList()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | AppCompatDrawableManager.java | 578 private ColorStateList createButtonColorStateList(Context context, @ColorInt int baseColor) { in createButtonColorStateList() argument 591 colors[i] = ColorUtils.compositeColors(colorControlHighlight, baseColor); in createButtonColorStateList() 595 colors[i] = ColorUtils.compositeColors(colorControlHighlight, baseColor); in createButtonColorStateList() 600 colors[i] = baseColor; in createButtonColorStateList()
|
/frameworks/native/opengl/tests/angeles/ |
D | demo.c | 209 float baseColor[3]; in createSuperShape() local 218 baseColor[a] = ((randomUInt() % 155) + 100) / 255.f; in createSuperShape() 301 color[a] = (int)(ca * baseColor[a] * 255); in createSuperShape()
|