/external/skia/tests/ |
H A D | HSVRoundTripTest.cpp | 13 SkScalar hsv[3]; local 18 SkColorToHSV(color, hsv); 19 SkColor result = SkHSVToColor(0xFF, hsv); 25 color, hsv[0], hsv[1], hsv[2], result);
|
/external/skqp/tests/ |
H A D | HSVRoundTripTest.cpp | 13 SkScalar hsv[3]; local 18 SkColorToHSV(color, hsv); 19 SkColor result = SkHSVToColor(0xFF, hsv); 25 color, hsv[0], hsv[1], hsv[2], result);
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
H A D | ShadowColor.java | 22 * @param hsv Array to store HSV components 25 public static void RGBToHSV(int red, int green, int blue, float hsv[]) { argument 26 java.awt.Color.RGBtoHSB(red, green, blue, hsv); 27 hsv[0] = hsv[0] * 360; 31 public static int HSVToColor(int alpha, float hsv[]) { argument 32 int rgb = java.awt.Color.HSBtoRGB(hsv[0] / 360, hsv[1], hsv[2]);
|
/external/skia/gm/ |
H A D | manypaths.cpp | 17 SkScalar hsv[3]; local 18 hsv[0] = rand->nextRangeF(0.0f, 360.0f); 19 hsv[1] = rand->nextRangeF(0.5f, 1.0f); 20 hsv[2] = rand->nextRangeF(0.5f, 1.0f); 22 return sk_tool_utils::color_to_565(SkHSVToColor(hsv));
|
H A D | ovals.cpp | 131 SkScalar hsv[3]; local 132 hsv[0] = rand->nextRangeF(0.0f, 360.0f); 133 hsv[1] = rand->nextRangeF(0.75f, 1.0f); 134 hsv[2] = rand->nextRangeF(0.75f, 1.0f); 136 return sk_tool_utils::color_to_565(SkHSVToColor(hsv));
|
H A D | roundrects.cpp | 23 SkScalar hsv[3]; local 24 hsv[0] = rand->nextRangeF(0.0f, 360.0f); 25 hsv[1] = rand->nextRangeF(0.75f, 1.0f); 26 hsv[2] = rand->nextRangeF(0.75f, 1.0f); 28 return sk_tool_utils::color_to_565(SkHSVToColor(hsv));
|
/external/skqp/gm/ |
H A D | manypaths.cpp | 17 SkScalar hsv[3]; local 18 hsv[0] = rand->nextRangeF(0.0f, 360.0f); 19 hsv[1] = rand->nextRangeF(0.5f, 1.0f); 20 hsv[2] = rand->nextRangeF(0.5f, 1.0f); 22 return sk_tool_utils::color_to_565(SkHSVToColor(hsv));
|
H A D | ovals.cpp | 131 SkScalar hsv[3]; local 132 hsv[0] = rand->nextRangeF(0.0f, 360.0f); 133 hsv[1] = rand->nextRangeF(0.75f, 1.0f); 134 hsv[2] = rand->nextRangeF(0.75f, 1.0f); 136 return sk_tool_utils::color_to_565(SkHSVToColor(hsv));
|
H A D | roundrects.cpp | 23 SkScalar hsv[3]; local 24 hsv[0] = rand->nextRangeF(0.0f, 360.0f); 25 hsv[1] = rand->nextRangeF(0.75f, 1.0f); 26 hsv[2] = rand->nextRangeF(0.75f, 1.0f); 28 return sk_tool_utils::color_to_565(SkHSVToColor(hsv));
|
/external/skia/include/core/ |
H A D | SkColor.h | 94 hsv[0] is Hue [0 .. 360) 95 hsv[1] is Saturation [0...1] 96 hsv[2] is Value [0...1] 100 @param hsv 3 element array which holds the resulting HSV components. 102 SK_API void SkRGBToHSV(U8CPU red, U8CPU green, U8CPU blue, SkScalar hsv[3]); 105 hsv[0] is Hue [0 .. 360) 106 hsv[1] is Saturation [0...1] 107 hsv[2] is Value [0...1] 109 @param hsv 3 element array which holds the resulting HSV components. 111 static inline void SkColorToHSV(SkColor color, SkScalar hsv[ argument 112 SkRGBToHSV(SkColorGetR(color), SkColorGetG(color), SkColorGetB(color), hsv); local 134 SkHSVToColor(const SkScalar hsv[3]) argument [all...] |
/external/skia/src/core/ |
H A D | SkColor.cpp | 33 void SkRGBToHSV(U8CPU r, U8CPU g, U8CPU b, SkScalar hsv[3]) { argument 34 SkASSERT(hsv); 44 hsv[0] = 0; 45 hsv[1] = 0; 46 hsv[2] = v; 68 hsv[0] = h; 69 hsv[1] = s; 70 hsv[2] = v; 73 SkColor SkHSVToColor(U8CPU a, const SkScalar hsv[3]) { argument 74 SkASSERT(hsv); [all...] |
/external/skqp/include/core/ |
H A D | SkColor.h | 94 hsv[0] is Hue [0 .. 360) 95 hsv[1] is Saturation [0...1] 96 hsv[2] is Value [0...1] 100 @param hsv 3 element array which holds the resulting HSV components. 102 SK_API void SkRGBToHSV(U8CPU red, U8CPU green, U8CPU blue, SkScalar hsv[3]); 105 hsv[0] is Hue [0 .. 360) 106 hsv[1] is Saturation [0...1] 107 hsv[2] is Value [0...1] 109 @param hsv 3 element array which holds the resulting HSV components. 111 static inline void SkColorToHSV(SkColor color, SkScalar hsv[ argument 112 SkRGBToHSV(SkColorGetR(color), SkColorGetG(color), SkColorGetB(color), hsv); local 134 SkHSVToColor(const SkScalar hsv[3]) argument [all...] |
/external/skqp/src/core/ |
H A D | SkColor.cpp | 33 void SkRGBToHSV(U8CPU r, U8CPU g, U8CPU b, SkScalar hsv[3]) { argument 34 SkASSERT(hsv); 44 hsv[0] = 0; 45 hsv[1] = 0; 46 hsv[2] = v; 68 hsv[0] = h; 69 hsv[1] = s; 70 hsv[2] = v; 73 SkColor SkHSVToColor(U8CPU a, const SkScalar hsv[3]) { argument 74 SkASSERT(hsv); [all...] |
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
H A D | image_ops.cc | 59 const std::array<xla::ComputationDataHandle, 3>& hsv, DataType dtype) { 60 xla::ComputationDataHandle hue = hsv[0]; 61 xla::ComputationDataHandle saturation = hsv[1]; 62 xla::ComputationDataHandle value = hsv[2]; 112 auto hsv = RGBToHSV(context, b, {red, green, blue}, context->input_type(0), variable 115 context->SetOutput(0, b->ConcatInDim(hsv, channel_dim)); 237 auto hsv = RGBToHSV(context, b, {red, green, blue}, context->input_type(0), variable 240 hsv[1] = b->Clamp(XlaHelpers::Zero(b, type), b->Mul(hsv[1], scale), 243 auto rgb = HSVToRGB(context->builder(), hsv, contex 57 HSVToRGB( xla::ComputationBuilder* b, const std::array<xla::ComputationDataHandle, 3>& hsv, DataType dtype) argument 287 auto hsv = RGBToHSV(context, b, {red, green, blue}, context->input_type(0), variable [all...] |
/external/robolectric/v3/runtime/ |
H A D | shadows-core-3.1-SNAPSHOT-16.jar | META-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ... |
H A D | shadows-core-3.1-SNAPSHOT-17.jar | META-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ... |
H A D | shadows-core-3.1-SNAPSHOT-18.jar | META-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ... |
H A D | shadows-core-3.1-SNAPSHOT-19.jar | META-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ... |
H A D | shadows-core-3.1-SNAPSHOT-21.jar | META-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ... |
H A D | shadows-core-3.1-SNAPSHOT-22.jar | META-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ... |
H A D | android-all-4.1.2_r1-robolectric-0.jar | META-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ... |
H A D | android-all-4.2.2_r1.2-robolectric-0.jar | META-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ... |
H A D | android-all-4.3_r2-robolectric-0.jar | META-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ... |
H A D | android-all-4.4_r1-robolectric-1.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ... |
/external/robolectric/v1/lib/main/ |
H A D | android.jar | META-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ... |