/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/ |
H A D | ParameterBrightness.java | 21 float[] mHSVO = new float[4]; field in class:ParameterBrightness 33 mHSVO = hsvo; 37 mHSVO[3] = getValue() / (float) getMaximum(); 38 return mHSVO;
|
H A D | ParameterHue.java | 21 float[] mHSVO = new float[4]; field in class:ParameterHue 33 mHSVO = hsvo; 37 mHSVO[3] = getValue() / (float) getMaximum(); 38 return mHSVO;
|
H A D | ParameterOpacity.java | 20 float[] mHSVO = new float[4]; field in class:ParameterOpacity 32 mHSVO = hsvo; 36 mHSVO[3] = getValue() / (float) getMaximum(); 37 return mHSVO;
|
H A D | ParameterSaturation.java | 21 float[] mHSVO = new float[4]; field in class:ParameterSaturation 33 mHSVO = hsvo; 37 mHSVO[3] = getValue() / (float) getMaximum(); 38 return mHSVO;
|
H A D | ParameterColor.java | 27 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 D | ColorSVRectView.java | 53 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 D | ColorRectView.java | 52 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 D | ColorValueView.java | 48 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 D | ColorBrightnessView.java | 54 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 D | ColorCompareView.java | 51 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 D | ColorOpacityView.java | 54 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 D | ColorSaturationView.java | 54 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 D | ColorHueView.java | 52 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 D | ColorPickerDialog.java | 44 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);
|