Class ShadowNativeColor

java.lang.Object
org.robolectric.shadows.ShadowNativeColor

Shadow for Color that is backed by native code
  • Constructor Details

    • ShadowNativeColor

      public ShadowNativeColor()
  • Method Details

    • nativeRGBToHSV

      @Implementation(minSdk=26) protected static void nativeRGBToHSV(int red, int greed, int blue, float[] hsv)
    • nativeHSVToColor

      @Implementation(minSdk=26) protected static int nativeHSVToColor(int alpha, float[] hsv)