Searched refs:sd (Results 1 - 8 of 8) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DImageFilterDraw.java91 public void paint(FilterDrawRepresentation.StrokeData sd, Canvas canvas, Matrix toScrMatrix, argument
109 public void paint(FilterDrawRepresentation.StrokeData sd, Canvas canvas, Matrix toScrMatrix, argument
111 if (sd == null) {
114 if (sd.mPath == null) {
126 paint.setColor(sd.mColor);
127 paint.setStrokeWidth(toScrMatrix.mapRadius(sd.mRadius));
131 mCacheTransPath.addPath(sd.mPath, toScrMatrix);
158 public void paint(FilterDrawRepresentation.StrokeData sd, Canvas canvas, argument
161 if (sd == null || sd
218 paint(FilterDrawRepresentation.StrokeData sd, Canvas canvas, Matrix toScrMatrix, int quality) argument
[all...]
H A DFilterDrawRepresentation.java114 StrokeData sd = (StrokeData) o;
115 if (mType != sd.mType
116 || mRadius != sd.mRadius
117 || noPoints != sd.noPoints
118 || mColor != sd.mColor) {
121 return mPath.equals(sd.mPath);
271 public void fillStrokeParameters(StrokeData sd){ argument
275 sd.mColor = color;
276 sd.mRadius = size;
277 sd
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/
H A DColorChooser.java71 GradientDrawable sd = ((GradientDrawable) button.getBackground());
72 sd.setColor(palette[i]);
73 sd.setStroke(3, (mSelectedButton == i) ? mSelected : mTransparent);
102 GradientDrawable sd = ((GradientDrawable) mButton[i].getBackground());
103 sd.setColor(palette[i]);
116 GradientDrawable sd = ((GradientDrawable) button.getBackground());
117 sd.setColor(palette[i]);
118 sd.setStroke(3, (mSelectedButton == i) ? mSelected : mTransparent);
152 GradientDrawable sd = ((GradientDrawable) button.getBackground());
153 sd
[all...]
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
H A Ddb_metrics.h122 double sd; local
128 sd=db_sqr((y[0]-x0*mult))+db_sqr((y[1]-x1*mult));
130 return(sd);
136 double sd; local
142 sd=db_sqr((y[0]-x0*mult))+db_sqr((y[1]-x1*mult));
144 return(sd);
156 double sd; local
157 sd=db_SquaredInhomogenousHomographyError(y,H,x);
158 return(1.0+sd*one_over_scale2);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
H A DColorGridDialog.java51 GradientDrawable sd = ((GradientDrawable) button.getBackground());
59 sd.setColor(c);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
H A DEditorColorBorderTabletUI.java175 GradientDrawable sd = ((GradientDrawable) mColorButton[i].getBackground());
176 sd.setColor(mBasColors[i]);
177 sd.setStroke(3, (0 == i) ? mSelected : mTransparent);
229 GradientDrawable sd = ((GradientDrawable) b.getBackground());
230 sd.setColor(color);
250 GradientDrawable sd = ((GradientDrawable) button.getBackground());
251 sd.setColor(mBasColors[i]);
252 sd.setStroke(3, (mSelectedColorButton == i) ? mSelected : mTransparent);
H A DEditorDrawTabletUI.java181 GradientDrawable sd = ((GradientDrawable) mColorButton[i].getBackground());
183 sd.setColor(mBasColors[i]);
184 sd.setStroke(3, (0 == i) ? mSelected : mTransparent);
240 GradientDrawable sd = ((GradientDrawable) b.getBackground());
241 sd.setColor(color);
273 GradientDrawable sd = ((GradientDrawable) button.getBackground());
274 sd.setColor(mBasColors[i]);
275 sd.setStroke(3, (mSelectedColorButton == i) ? mSelected : mTransparent);
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/
H A Ddbreg.h555 double sd; local
561 sd=(y[0]-x0*mult)*(y[0]-x0*mult)+(y[1]-x1*mult)*(y[1]-x1*mult);
563 return(sd);

Completed in 355 milliseconds