/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/ |
vl_csc.h | 40 float hue; member in struct:vl_procamp
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_csc.h | 40 float hue; member in struct:vl_procamp
|
/external/chromium_org/ui/gfx/ |
color_utils.cc | 29 int calcHue(double temp1, double temp2, double hue) { 30 if (hue < 0.0) 31 ++hue; 32 else if (hue > 1.0) 33 --hue; 36 if (hue * 6.0 < 1.0) 37 result = temp1 + (temp2 - temp1) * hue * 6.0; 38 else if (hue * 2.0 < 1.0) 40 else if (hue * 3.0 < 2.0) 41 result = temp1 + (temp2 - temp1) * (2.0 / 3.0 - hue) * 6.0 125 double hue = hsl.h; local [all...] |
/external/chromium_org/ui/views/color_chooser/ |
color_chooser_view.h | 23 // choose a color by dragging over the bar for hue and the area for saturation 34 // Called when the user chooses a hue from the UI. 35 void OnHueChosen(SkScalar hue); 40 float hue() const { return hsv_[0]; } function in class:views::ColorChooserView 71 // The view of hue chooser.
|
color_chooser_view.cc | 115 // The class to choose the hue of the color. It draws a vertical bar and 116 // the indicator for the currently selected hue. 121 void OnHueChanged(SkScalar hue); 143 void ColorChooserView::HueView::OnHueChanged(SkScalar hue) { 146 int level = SkScalarDiv(SkScalarMul(hue_max - hue, height), hue_max); 167 // We put indicators on the both sides of the hue bar. 174 // In the hue bar, saturation and value for the color should be always 100%. 232 void OnHueChanged(SkScalar hue); 258 void ColorChooserView::SaturationValueView::OnHueChanged(SkScalar hue) { 259 if (hue_ != hue) { [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
colorsys.py | 15 HLS: Hue, Luminance, Saturation 16 HSV: Hue, Saturation, Value 62 # HLS: Hue, Luminance, Saturation 100 def _v(m1, m2, hue): 101 hue = hue % 1.0 102 if hue < ONE_SIXTH: 103 return m1 + (m2-m1)*hue*6.0 104 if hue < 0.5: 106 if hue < TWO_THIRD [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
colorsys.py | 15 HLS: Hue, Luminance, Saturation 16 HSV: Hue, Saturation, Value 62 # HLS: Hue, Luminance, Saturation 100 def _v(m1, m2, hue): 101 hue = hue % 1.0 102 if hue < ONE_SIXTH: 103 return m1 + (m2-m1)*hue*6.0 104 if hue < 0.5: 106 if hue < TWO_THIRD [all...] |
/external/chromium_org/third_party/skia/src/animator/ |
SkDrawColor.cpp | 36 SkScalar hue; 38 hue = 0; 42 hue = SkScalarMul(green - blue, part60); 43 if (hue < 0) 44 hue += 360 * SK_Scalar1; 47 hue = 120 * SK_Scalar1 + SkScalarMul(blue - red, part60); 49 hue = 240 * SK_Scalar1 + SkScalarMul(red - green, part60); 52 return hue; 61 SkScalar hue = choice == kGetHue ? hsv : RGB_to_HSV(color, kGetHue); local 71 //SkScalar fraction = SkScalarMod(hue, 60 * SK_Scalar1) [all...] |
/external/skia/src/animator/ |
SkDrawColor.cpp | 36 SkScalar hue; 38 hue = 0; 42 hue = SkScalarMul(green - blue, part60); 43 if (hue < 0) 44 hue += 360 * SK_Scalar1; 47 hue = 120 * SK_Scalar1 + SkScalarMul(blue - red, part60); 49 hue = 240 * SK_Scalar1 + SkScalarMul(red - green, part60); 52 return hue; 61 SkScalar hue = choice == kGetHue ? hsv : RGB_to_HSV(color, kGetHue); local 71 //SkScalar fraction = SkScalarMod(hue, 60 * SK_Scalar1) [all...] |
/frameworks/wilhelm/src/itf/ |
ILEDArray.c | 64 if (!(0 <= color.hue && color.hue <= 360000)) 117 color->hue = 0; // red, but per specification 1.0.1 pg. 259: "Default color is undefined."
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
Color.cpp | 99 RGBA32 makeRGBAFromHSLA(double hue, double saturation, double lightness, double alpha) 111 return makeRGBA(static_cast<int>(calcHue(temp1, temp2, hue + 1.0 / 3.0) * scaleFactor), 112 static_cast<int>(calcHue(temp1, temp2, hue) * scaleFactor), 113 static_cast<int>(calcHue(temp1, temp2, hue - 1.0 / 3.0) * scaleFactor), 382 void Color::getHSL(double& hue, double& saturation, double& lightness) const 394 hue = 0.0; 396 hue = (60.0 * ((g - b) / (max - min))) + 360.0; 398 hue = (60.0 * ((b - r) / (max - min))) + 120.0; 400 hue = (60.0 * ((r - g) / (max - min))) + 240.0; 402 if (hue >= 360.0 [all...] |
/hardware/qcom/display/msm8960/libqdutils/ |
qdMetaData.h | 36 int32_t hue; member in struct:HSICData_t
|
/hardware/qcom/display/msm8974/libqdutils/ |
qdMetaData.h | 36 int32_t hue; member in struct:HSICData_t
|
/hardware/qcom/display/msm8x26/libqdutils/ |
qdMetaData.h | 36 int32_t hue; member in struct:HSICData_t
|
/packages/apps/Gallery2/jni/ |
Android.mk | 33 filters/hue.c \
|
/hardware/qcom/display/msm8960/liboverlay/ |
overlayMdp.cpp | 220 if (mParams.params.pa_params.hue != data.hsicData.hue) { 222 "Hue has changed from %d to %d", 223 mParams.params.pa_params.hue,data.hsicData.hue); 254 mParams.params.pa_params.hue = data.hsicData.hue;
|
/hardware/qcom/display/msm8x26/liboverlay/ |
overlayMdp.cpp | 220 if (mParams.params.pa_params.hue != data.hsicData.hue) { 222 "Hue has changed from %d to %d", 223 mParams.params.pa_params.hue,data.hsicData.hue); 254 mParams.params.pa_params.hue = data.hsicData.hue;
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
spectrum.css | 36 .spectrum-hue { 85 .spectrum-hue {
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/ |
ColorRectView.java | 109 double hue = Math.PI * 2 * (mDotX - mBorder) / (mHeight - 2 * mBorder); local 110 mHSVO[0] = ((float) Math.toDegrees(hue) + 360) % 360; 181 double hue = mHSVO[0]; local 184 mDotX = (float) (mBorder + (mHeight - 2 * mBorder) * Math.toRadians(hue) / (Math.PI * 2));
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
ImageFilterHue.java | 25 private static final String SERIALIZATION_NAME = "HUE"; 29 mName = "Hue"; 36 representation.setName("Hue"); 41 representation.setTextId(R.string.hue);
|
saturation.rs | 59 // generate a lookup table for all hue 0 to 4K which goes from 0 to 1 0=min sat 1 = max sat 153 int hue = rgb2hue(in); 155 float t = satLut[hue];
|
/hardware/qcom/display/msm8974/liboverlay/ |
overlayMdp.cpp | 256 if (mParams.params.pa_params.hue != data.hsicData.hue) { 258 "Hue has changed from %d to %d", 259 mParams.params.pa_params.hue,data.hsicData.hue); 290 mParams.params.pa_params.hue = data.hsicData.hue;
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xvmc/ |
attributes.c | 100 context_priv->procamp.hue = value / 1000.0f; 144 *value = context_priv->procamp.hue * 1000;
|
/external/mesa3d/src/gallium/state_trackers/xvmc/ |
attributes.c | 100 context_priv->procamp.hue = value / 1000.0f; 144 *value = context_priv->procamp.hue * 1000;
|
/external/libpng/contrib/gregbook/ |
rpng2-x.c | 1217 double red=0.0, green=0.0, blue=0.0, hue, s, v, f, p, q, t; local 1986 double red=0.0, green=0.0, blue=0.0, hue, s, v, f, p, q, t; local [all...] |