HomeSort by relevance Sort by last modified time
    Searched defs:ColorUtils (Results 1 - 9 of 9) sorted by null

  /cts/tests/tests/systemui/src/android/systemui/cts/
ColorUtils.java 22 public class ColorUtils {
  /frameworks/av/include/media/stagefright/foundation/
ColorUtils.h 32 struct ColorUtils {
181 inline static const char *asString(android::ColorUtils::ColorStandard i, const char *def = "??") {
184 case ColorUtils::kColorStandardUnspecified: return "Unspecified";
185 case ColorUtils::kColorStandardBT709: return "BT709";
186 case ColorUtils::kColorStandardBT601_625: return "BT601_625";
187 case ColorUtils::kColorStandardBT601_625_Unadjusted: return "BT601_625_Unadjusted";
188 case ColorUtils::kColorStandardBT601_525: return "BT601_525";
189 case ColorUtils::kColorStandardBT601_525_Unadjusted: return "BT601_525_Unadjusted";
190 case ColorUtils::kColorStandardBT2020: return "BT2020";
191 case ColorUtils::kColorStandardBT2020Constant: return "BT2020Constant"
    [all...]
  /frameworks/support/v4/tests/java/android/support/v4/graphics/
ColorUtilsTest.java 103 ColorUtils.colorToHSL(entry.rgb, hsl);
150 ColorUtils.calculateMinimumAlpha(Color.BLACK, entry.rgb, 3.0f));
152 ColorUtils.calculateMinimumAlpha(Color.BLACK, entry.rgb, 4.5f));
154 ColorUtils.calculateMinimumAlpha(Color.WHITE, entry.rgb, 3.0f));
156 ColorUtils.calculateMinimumAlpha(Color.WHITE, entry.rgb, 4.5f));
162 assertEquals(0f, ColorUtils.circularInterpolate(0, 180, 0f), 0f);
163 assertEquals(90f, ColorUtils.circularInterpolate(0, 180, 0.5f), 0f);
164 assertEquals(180f, ColorUtils.circularInterpolate(0, 180, 1f), 0f);
169 assertEquals(180f, ColorUtils.circularInterpolate(180, 0, 0f), 0f);
170 assertEquals(90f, ColorUtils.circularInterpolate(180, 0, 0.5f), 0f)
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
TaskViewHeader.java 36 import android.support.v4.graphics.ColorUtils;
96 ColorUtils.colorToHSL(color, mTmpHSL);
100 mHighlightPaint.setColor(ColorUtils.HSLToColor(mTmpHSL));
433 ColorUtils.colorToHSL(color, mTmpHSL);
435 mOverlayBackground.setColorAndDim(ColorUtils.HSLToColor(mTmpHSL), dimAlpha);
  /frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/
Palette.java 26 import android.support.v4.graphics.ColorUtils;
441 this(ColorUtils.HSLToColor(hsl), population);
463 ColorUtils.RGBToHSL(mRed, mGreen, mBlue, mHsl);
497 final int lightBodyAlpha = ColorUtils.calculateMinimumAlpha(
499 final int lightTitleAlpha = ColorUtils.calculateMinimumAlpha(
504 mBodyTextColor = ColorUtils.setAlphaComponent(Color.WHITE, lightBodyAlpha);
505 mTitleTextColor = ColorUtils.setAlphaComponent(Color.WHITE, lightTitleAlpha);
510 final int darkBodyAlpha = ColorUtils.calculateMinimumAlpha(
512 final int darkTitleAlpha = ColorUtils.calculateMinimumAlpha(
517 mBodyTextColor = ColorUtils.setAlphaComponent(Color.BLACK, darkBodyAlpha)
    [all...]
ColorCutQuantizer.java 20 import android.support.v4.graphics.ColorUtils;
430 ColorUtils.colorToHSL(rgb, mTempHsl);
  /frameworks/support/v4/java/android/support/v4/graphics/
ColorUtils.java 29 public final class ColorUtils {
42 private ColorUtils() {}
  /prebuilts/sdk/current/support/v13/
android-support-v13.jar 
  /prebuilts/sdk/current/support/v4/
android-support-v4.jar 

Completed in 838 milliseconds