Home
last modified time | relevance | path

Searched defs:hsv (Results 1 – 25 of 370) sorted by relevance

12345678910>>...15

/aosp_15_r20/cts/tests/tests/graphics/src/android/graphics/cts/
H A DColorTest.java386 float[] hsv = new float[2]; in testHSVToColorArrayTooShort() local
392 float[] hsv = new float[3]; in testHSVToColor() local
399 float[] hsv = new float[3]; in testHSVToColorWithAlpha() local
451 float[] hsv = new float[2]; in testRGBToHSVArrayTooShort() local
457 float[] hsv = new float[3]; in testRGBToHSV() local
/aosp_15_r20/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/shadows/
H A DShadowNativeColorTest.java45 float[] hsv = new float[3]; in testColorToHSVShouldBeCorrectForBlue() local
55 float[] hsv = new float[3]; in testColorToHSVShouldBeCorrectForBlack() local
65 float[] hsv = new float[3]; in testRGBToHSVShouldBeCorrectForBlue() local
75 float[] hsv = new float[3]; in testHSVToColorShouldReverseColorToHSV() local
/aosp_15_r20/external/robolectric/integration_tests/ctesque/src/sharedTest/java/android/graphics/
H A DColorTest.java41 float[] hsv = new float[3]; in colorToHSVShouldBeCorrectForBlue() local
51 float[] hsv = new float[3]; in colorToHSVShouldBeCorrectForBlack() local
61 float[] hsv = new float[3]; in RGBToHSVShouldBeCorrectForBlue() local
71 float[] hsv = new float[3]; in HSVToColorShouldReverseColorToHSV() local
/aosp_15_r20/frameworks/base/graphics/java/android/graphics/
H A DColor.java1420 @IntRange(from = 0, to = 255) int blue, @Size(3) float hsv[]) { in RGBToHSV()
1437 public static void colorToHSV(@ColorInt int color, @Size(3) float hsv[]) { in colorToHSV()
1438 RGBToHSV((color >> 16) & 0xFF, (color >> 8) & 0xFF, color & 0xFF, hsv); in colorToHSV() local
1453 public static int HSVToColor(@Size(3) float hsv[]) { in HSVToColor()
1471 public static int HSVToColor(@IntRange(from = 0, to = 255) int alpha, @Size(3) float hsv[]) { in HSVToColor()
1478 private static native void nativeRGBToHSV(int red, int greed, int blue, float hsv[]); in nativeRGBToHSV()
1479 private static native int nativeHSVToColor(int alpha, float hsv[]); in nativeHSVToColor()
/aosp_15_r20/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/
H A DUberColorPickerDialog.java375 float[] hsv = new float[3]; in drawSwatches() local
536 float[] hsv = new float[3]; in setOvalValDimmer() local
548 float[] hsv = new float[3]; in setVerValSlider() local
770 float[] hsv = new float[3]; in changeHSPalette() local
934 float[] hsv = new float[3]; in onTouchEvent() local
/aosp_15_r20/external/robolectric/nativeruntime/src/main/java/org/robolectric/nativeruntime/
H A DColorNatives.java11 public static native void nativeRGBToHSV(int red, int greed, int blue, float[] hsv); in nativeRGBToHSV()
13 public static native int nativeHSVToColor(int alpha, float[] hsv); in nativeHSVToColor()
/aosp_15_r20/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
H A DShadowNativeColor.java23 protected static void nativeRGBToHSV(int red, int greed, int blue, float[] hsv) { in nativeRGBToHSV()
29 protected static int nativeHSVToColor(int alpha, float[] hsv) { in nativeHSVToColor()
H A DShadowColor.java25 protected static void RGBToHSV(int red, int green, int blue, float hsv[]) { in RGBToHSV()
31 protected static int HSVToColor(int alpha, float hsv[]) { in HSVToColor()
/aosp_15_r20/frameworks/base/libs/hwui/jni/
H A Dandroid_graphics_Color.cpp26 SkScalar hsv[3]; in Color_RGBToHSV() local
39 SkScalar* hsv = autoHSV.ptr(); in Color_HSVToColor() local
/aosp_15_r20/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
H A Dimage_ops.cc79 const std::array<xla::XlaOp, 3>& hsv, in HSVToRGB()
133 auto hsv = RGBToHSV(context, b, {red, green, blue}, context->input_type(0), in Compile() local
266 auto hsv = in Compile() local
320 auto hsv = in Compile() local
/aosp_15_r20/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/
H A DPalette.kt39 val hsv = floatArrayOf((Math.random() * 360f).toFloat(), S, V) in randomize() constant
/aosp_15_r20/hardware/google/gfxstream/third-party/glm/include/glm/gtx/
Dcolor_space.inl9 tvec3<T, P> hsv = hsvColor; local
66 tvec3<T, P> hsv = rgbColor; local
/aosp_15_r20/external/oboe/samples/RhythmGame/third_party/glm/gtx/
H A Dcolor_space.inl9 tvec3<T, P> hsv = hsvColor; local
66 tvec3<T, P> hsv = rgbColor; local
/aosp_15_r20/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
DColorPickerDialog.java125 float[] hsv = (float[]) v.getTag(); in toggleClick() local
146 private void setButtonColor(ToggleButton button, float[] hsv) { in setButtonColor()
DColorValueView.java133 float[] hsv = new float[] { in updatePaint() local
167 public void notifyColorListeners(float[] hsv) { in notifyColorListeners()
DColorCompareView.java147 public void setOrigColor(float[] hsv) { in setOrigColor()
155 public void setColor(float[] hsv) { in setColor()
DColorSVRectView.java98 float[] hsv = new float[3]; in fillBitmap() local
219 public void notifyColorListeners(float[] hsv) { in notifyColorListeners()
DColorRectView.java138 float[] hsv = new float[3]; in setUpColorPanel() local
211 public void notifyColorListeners(float[] hsv) { in notifyColorListeners()
DRGBListener.java20 void setColor(int hsv); in setColor()
/aosp_15_r20/packages/apps/Gallery2/jni/filters/
Dhsv.c33 void rgb2hsv( unsigned char *rgb,int rgbOff,unsigned short *hsv,int hsvOff) in rgb2hsv()
82 void hsv2rgb(unsigned short *hsv,int hsvOff, unsigned char *rgb,int rgbOff) in hsv2rgb()
/aosp_15_r20/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
H A DColorSpaceTests.java296 float[] hsv = new float[3]; in testMultiAtlasGlyphsWithColorSpace() local
297 Color.colorToHSV(color.toArgb(), hsv); in testMultiAtlasGlyphsWithColorSpace() local
/aosp_15_r20/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
H A DSwarm.java100 float[] hsv = new float[]{.9f, .99f, .8f}; in Swarm() local
302 float[] hsv = new float[3]; in doInBackground() local
/aosp_15_r20/external/skia/docs/examples/
H A DColorToHSV.cpp9 SkScalar hsv[3]; in draw() local
H A DHSVToColor.cpp10 SkScalar hsv[3]; in draw() local
H A DHSVToColor_2.cpp10 SkScalar hsv[3]; in draw() local

12345678910>>...15