Searched refs:mHSVO (Results 1 - 14 of 14) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/
H A DParameterBrightness.java21 float[] mHSVO = new float[4]; field in class:ParameterBrightness
33 mHSVO = hsvo;
37 mHSVO[3] = getValue() / (float) getMaximum();
38 return mHSVO;
H A DParameterHue.java21 float[] mHSVO = new float[4]; field in class:ParameterHue
33 mHSVO = hsvo;
37 mHSVO[3] = getValue() / (float) getMaximum();
38 return mHSVO;
H A DParameterOpacity.java20 float[] mHSVO = new float[4]; field in class:ParameterOpacity
32 mHSVO = hsvo;
36 mHSVO[3] = getValue() / (float) getMaximum();
37 return mHSVO;
H A DParameterSaturation.java21 float[] mHSVO = new float[4]; field in class:ParameterSaturation
33 mHSVO = hsvo;
37 mHSVO[3] = getValue() / (float) getMaximum();
38 return mHSVO;
H A DParameterColor.java27 float[] mHSVO = new float[4]; field in class:ParameterColor
41 Color.colorToHSV(defaultColor, mHSVO);
42 mHSVO[3] = ((defaultColor >> 24) & 0xFF) / (float) 255;
51 mHSVO = hsvo;
52 mValue = Color.HSVToColor((int) (hsvo[3] * 255), mHSVO);
56 return mHSVO;
66 System.arraycopy(p.mHSVO, 0, mHSVO, 0, 4);
90 Color.colorToHSV(mValue, mHSVO);
91 mHSVO[
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
H A DColorSVRectView.java53 private float[] mHSVO = new float[]{0, 1, 1, 1}; field in class:ColorSVRectView
99 hsv[0] = mHSVO[0];
158 mHSVO[2] = sat;
159 mHSVO[1] = value;
160 notifyColorListeners(mHSVO);
181 double hue = mHSVO[0];
182 double sat = mHSVO[1];
183 double val = mHSVO[2];
184 double opc = mHSVO[3];
202 if (hsvo[0] == mHSVO[
[all...]
H A DColorRectView.java52 private float[] mHSVO = new float[4]; field in class:ColorRectView
110 mHSVO[0] = ((float) Math.toDegrees(hue) + 360) % 360;
111 mHSVO[1] = sat;
112 notifyColorListeners(mHSVO);
131 float val = mHSVO[2];
141 hsv[2] = mHSVO[2];
181 double hue = mHSVO[0];
182 double sat = mHSVO[1];
200 System.arraycopy(hsvo, 0, mHSVO, 0, mHSVO
[all...]
H A DColorValueView.java48 private float[] mHSVO = new float[4]; field in class:ColorValueView
101 mHSVO[2] = (mDotY - mBorder) / (mHeight - mBorder * 2);
102 notifyColorListeners(mHSVO);
113 float pos = mHSVO[2] * (mHeight - mBorder * 2);
134 mHSVO[0], mHSVO[1], 0f };
158 System.arraycopy(hsvo, 0, mHSVO, 0, mHSVO.length);
H A DColorBrightnessView.java54 private float[] mHSVO = new float[4]; field in class:ColorBrightnessView
118 mHSVO[3] = (mDotX - mBorder) / (mWidth - mBorder * 2);
119 notifyColorListeners(mHSVO);
131 float pos = mHSVO[3] * (mWidth - mBorder * 2);
151 float[] hsvo = Arrays.copyOf(mHSVO, 4);
181 System.arraycopy(hsv, 0, mHSVO, 0, mHSVO.length);
H A DColorCompareView.java51 private float[] mHSVO = new float[4]; field in class:ColorCompareView
106 System.arraycopy(mOrigHSVO, 0, mHSVO, 0, mOrigHSVO.length);
108 notifyColorListeners(mHSVO);
120 int color = Color.HSVToColor((int) (mHSVO[3] * 255), mHSVO);
156 System.arraycopy(hsv, 0, mHSVO, 0, mHSVO.length);
H A DColorOpacityView.java54 private float[] mHSVO = new float[4]; field in class:ColorOpacityView
123 mHSVO[3] = (mDotX - mBorder) / (mWidth - mBorder * 2);
124 notifyColorListeners(mHSVO);
136 float pos = mHSVO[3] * (mWidth - mBorder * 2);
157 int color2 = Color.HSVToColor(mHSVO);
181 System.arraycopy(hsv, 0, mHSVO, 0, mHSVO.length);
H A DColorSaturationView.java54 private float[] mHSVO = new float[4]; field in class:ColorSaturationView
118 mHSVO[3] = (mDotX - mBorder) / (mWidth - mBorder * 2);
119 notifyColorListeners(mHSVO);
131 float pos = mHSVO[3] * (mWidth - mBorder * 2);
151 float[]hsvo = Arrays.copyOf(mHSVO, 4);
180 System.arraycopy(hsv, 0, mHSVO, 0, mHSVO.length);
H A DColorHueView.java52 private float[] mHSVO = {0.f,0.f,0.f,0.f}; field in class:ColorHueView
133 mHSVO[0] = 360 * (mDotX - mBorder) / (mWidth - mBorder * 2);
134 notifyColorListeners(mHSVO);
148 float pos = mHSVO[0] / 360 * (mWidth - mBorder * 2);
204 System.arraycopy(hsv, 0, mHSVO, 0, mHSVO.length);
H A DColorPickerDialog.java44 float[] mHSVO = new float[4]; // hue=0..360, sat & val opacity = 0...1 field in class:ColorPickerDialog
70 cl.setColor(mHSVO);
94 System.arraycopy(hsvo, 0, mHSVO, 0, mHSVO.length);

Completed in 71 milliseconds