/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/ |
ColorListener.java | 20 void setColor(float[] hsvo);
|
ColorPickerDialog.java | 61 float[] hsvo = new float[] { local 82 c[i].setColor(hsvo); 93 public void setColor(float[] hsvo) { 94 System.arraycopy(hsvo, 0, mHSVO, 0, mHSVO.length); 95 int color = Color.HSVToColor(hsvo); 96 setButtonColor(mSelectedButton, hsvo); 135 public void setOrigColor(float[] hsvo) { 136 mColorCompareView.setOrigColor(hsvo); 139 public void setColor(float[] hsvo) { 140 mColorOpacityView.setColor(hsvo); [all...] |
ColorBrightnessView.java | 151 float[] hsvo = Arrays.copyOf(mHSVO, 4); local 152 hsvo[2] = 1; 153 hsvo[1] = 1; 154 hsvo[3] = 1; 155 int color2 = Color.HSVToColor(hsvo); 156 hsvo[2] = 0; 157 int color1 = Color.HSVToColor(hsvo); 190 public void notifyColorListeners(float[] hsvo) { 192 l.setColor(hsvo);
|
ColorSaturationView.java | 151 float[]hsvo = Arrays.copyOf(mHSVO, 4); local 152 hsvo[3] = 1; 153 hsvo[2] = 1; 154 hsvo[1] = 1; 155 int color2 = Color.HSVToColor(hsvo); 156 hsvo[1] = 0; 157 int color1 = Color.HSVToColor(hsvo); 189 public void notifyColorListeners(float[] hsvo) { 191 l.setColor(hsvo);
|
ColorGridDialog.java | 89 public void setColor(float[] hsvo) { 90 int c = Color.HSVToColor(hsvo) & 0xFFFFFF; 91 int alpha = (int) (hsvo[3] * 255);
|
ColorSVRectView.java | 201 public void setColor(float[] hsvo) { 202 if (hsvo[0] == mHSVO[0] 203 && hsvo[1] == mHSVO[1] 204 && hsvo[2] == mHSVO[2]) { 205 mHSVO[3] = hsvo[3]; // we don't update if color stays the same 208 System.arraycopy(hsvo, 0, mHSVO, 0, mHSVO.length);
|
ColorCompareView.java | 163 public void notifyColorListeners(float[] hsvo) { 165 l.setColor(hsvo);
|
ColorHueView.java | 212 public void notifyColorListeners(float[] hsvo) { 214 l.setColor(hsvo);
|
ColorOpacityView.java | 190 public void notifyColorListeners(float[] hsvo) { 192 l.setColor(hsvo);
|
ColorRectView.java | 199 public void setColor(float[] hsvo) { 200 System.arraycopy(hsvo, 0, mHSVO, 0, mHSVO.length);
|
ColorValueView.java | 157 public void setColor(float[] hsvo) { 158 System.arraycopy(hsvo, 0, mHSVO, 0, mHSVO.length);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/ |
ParameterBrightness.java | 32 public void setColor(float[] hsvo) { 33 mHSVO = hsvo;
|
ParameterHue.java | 32 public void setColor(float[] hsvo) { 33 mHSVO = hsvo;
|
ParameterOpacity.java | 31 public void setColor(float[] hsvo) { 32 mHSVO = hsvo;
|
ParameterSaturation.java | 32 public void setColor(float[] hsvo) { 33 mHSVO = hsvo;
|
ColorChooser.java | 67 float[] hsvo = new float[4]; local 68 Color.colorToHSV(palette[i], hsvo); 69 hsvo[OPACITY_OFFSET] = (0xFF & (palette[i] >> 24)) / (float) 255; 70 button.setTag(hsvo); 98 float[] hsvo = new float[4]; local 99 Color.colorToHSV(palette[i], hsvo); 100 hsvo[OPACITY_OFFSET] = (0xFF & (palette[i] >> 24)) / (float) 255; 101 mButton[i].setTag(hsvo); 124 float[] hsvo = (float[]) button.getTag(); local 125 mParameter.setValue(Color.HSVToColor((int) (hsvo[OPACITY_OFFSET] * 255), hsvo)) [all...] |
ParameterColor.java | 50 public void setColor(float[] hsvo) { 51 mHSVO = hsvo; 52 mValue = Color.HSVToColor((int) (hsvo[3] * 255), mHSVO);
|
SliderBrightness.java | 51 public void setColor(float[] hsvo) { 52 mParameter.setValue((int)(255* hsvo[3]));
|
SliderOpacity.java | 52 public void setColor(float[] hsvo) { 53 mParameter.setValue((int) (255 * hsvo[3]));
|
SliderSaturation.java | 53 public void setColor(float[] hsvo) { 54 mParameter.setValue((int) (255 * hsvo[3]));
|
SliderHue.java | 62 public void setColor(float[] hsvo) { 63 mParameter.setValue((int)(360* hsvo[3]));
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/ |
EditorDrawTabletUI.java | 177 float[] hsvo = new float[4]; local 178 Color.colorToHSV(mBasColors[i], hsvo); 179 hsvo[3] = (0xFF & (mBasColors[i] >> 24)) / (float) 255; 180 mColorButton[i].setTag(hsvo); 192 float[] hsvo = Arrays.copyOf((float[]) mColorButton[buttonNo].getTag(), 4); 201 mHueView.setColor(hsvo); 202 mSatValView.setColor(hsvo); 203 mOpacityView.setColor(hsvo); 204 mColorCompareView.setColor(hsvo); 205 mColorCompareView.setOrigColor(hsvo); 215 float[] hsvo = new float[4]; local [all...] |
EditorColorBorderTabletUI.java | 171 float[] hsvo = new float[4]; local 172 Color.colorToHSV(mBasColors[i], hsvo); 173 hsvo[3] = (0xFF & (mBasColors[i] >> 24)) / (float) 255; 174 mColorButton[i].setTag(hsvo); 183 float[] hsvo = Arrays.copyOf((float[]) mColorButton[buttonNo].getTag(), 4); 192 mHueView.setColor(hsvo); 193 mSatValView.setColor(hsvo); 194 mOpacityView.setColor(hsvo); 195 mColorCompareView.setOrigColor(hsvo); 205 float[] hsvo = new float[4] local [all...] |