Searched defs:rep (Results 1 - 20 of 20) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DFilterTinyPlanetRepresentation.java102 public void deSerializeRepresentation(String[][] rep) { argument
103 super.deSerializeRepresentation(rep);
104 for (int i = 0; i < rep.length; i++) {
105 if (SERIAL_VALUE.equals(rep[i][0])) {
106 setValue(Integer.parseInt(rep[i][1]));
107 } else if (SERIAL_ANGLE.equals(rep[i][0])) {
108 setAngle(Float.parseFloat(rep[i][1]));
H A DFilterCropRepresentation.java63 public boolean equals(FilterRepresentation rep) { argument
64 if (!(rep instanceof FilterCropRepresentation)) {
67 FilterCropRepresentation crop = (FilterCropRepresentation) rep;
H A DFilterRotateRepresentation.java161 public boolean equals(FilterRepresentation rep) { argument
162 if (!(rep instanceof FilterRotateRepresentation)) {
165 FilterRotateRepresentation rotate = (FilterRotateRepresentation) rep;
H A DFilterStraightenRepresentation.java63 public boolean equals(FilterRepresentation rep) { argument
64 if (!(rep instanceof FilterStraightenRepresentation)) {
67 FilterStraightenRepresentation straighten = (FilterStraightenRepresentation) rep;
H A DBaseFiltersManager.java52 FilterRepresentation rep =
54 if (rep != null) {
55 addRepresentation(rep);
66 public void addRepresentation(FilterRepresentation rep) { argument
67 mRepresentationLookup.put(rep.getSerializationName(), rep);
180 FilterRepresentation rep = new FilterImageBorderRepresentation(0);
181 mBorders.add(rep);
187 rep = new FilterImageBorderRepresentation(R.drawable.filtershow_border_4x5);
188 borderList.add(rep);
[all...]
H A DFilterBasicRepresentation.java187 public void deSerializeRepresentation(String[][] rep) { argument
188 super.deSerializeRepresentation(rep);
189 for (int i = 0; i < rep.length; i++) {
190 if (SERIAL_VALUE.equals(rep[i][0])) {
191 mValue = Integer.parseInt(rep[i][1]);
H A DFilterMirrorRepresentation.java90 public boolean equals(FilterRepresentation rep) { argument
91 if (!(rep instanceof FilterMirrorRepresentation)) {
94 FilterMirrorRepresentation mirror = (FilterMirrorRepresentation) rep;
H A DFilterRepresentation.java229 String[][] rep = serializeRepresentation();
230 for (int k = 0; k < rep.length; k++) {
231 writer.name(rep[k][0]);
232 writer.value(rep[k][1]);
259 public void deSerializeRepresentation(String[][] rep) { argument
260 for (int i = 0; i < rep.length; i++) {
261 if (NAME_TAG.equals(rep[i][0])) {
262 mName = rep[i][1];
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DImageMirror.java43 public void setFilterMirrorRepresentation(FilterMirrorRepresentation rep) { argument
44 mLocalRep = (rep == null) ? new FilterMirrorRepresentation() : rep;
H A DImageRotate.java43 public void setFilterRotateRepresentation(FilterRotateRepresentation rep) { argument
44 mLocalRep = (rep == null) ? new FilterRotateRepresentation() : rep;
H A DImageStraighten.java105 public void setFilterStraightenRepresentation(FilterStraightenRepresentation rep) { argument
106 mLocalRep = (rep == null) ? new FilterStraightenRepresentation() : rep;
H A DGeometryMathUtils.java281 FilterRepresentation rep) {
285 if (ImagePreset.sameSerializationName(rep, r)) {
289 if (!rep.isNil()) {
290 geometry.add(rep);
280 replaceInstances(Collection<FilterRepresentation> geometry, FilterRepresentation rep) argument
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
H A DEditorColorBorderTabletUI.java70 public void setColorBorderRepresentation(FilterColorBorderRepresentation rep) { argument
71 mRep = rep;
H A DEditorDrawTabletUI.java74 public void setDrawRepresentation(FilterDrawRepresentation rep) { argument
75 mRep = rep;
H A DEditorChanSat.java83 FilterRepresentation rep = getLocalRepresentation();
84 if (rep == null || !(rep instanceof FilterChanSatRepresentation)) {
87 FilterChanSatRepresentation csrep = (FilterChanSatRepresentation) rep;
142 FilterChanSatRepresentation rep =
144 int value = rep.getValue(FilterChanSatRepresentation.MODE_MASTER);
147 value = rep.getValue(FilterChanSatRepresentation.MODE_RED);
150 value = rep.getValue(FilterChanSatRepresentation.MODE_YELLOW);
153 value = rep.getValue(FilterChanSatRepresentation.MODE_GREEN);
156 value = rep
249 updateSeekBar(FilterChanSatRepresentation rep) argument
254 getParameterToEdit(FilterRepresentation rep) argument
[all...]
H A DEditorVignette.java87 FilterRepresentation rep = getLocalRepresentation();
88 if (rep != null && getLocalRepresentation() instanceof FilterVignetteRepresentation) {
89 FilterVignetteRepresentation drawRep = (FilterVignetteRepresentation) rep;
98 FilterVignetteRepresentation rep =
123 BasicParameterInt p = (BasicParameterInt) rep.getFilterParameter(mode[i]);
130 mImageVignette.setRepresentation(rep);
131 String text = mContext.getString(rep.getTextId()).toUpperCase();
141 FilterRepresentation rep = getLocalRepresentation();
142 if (rep == null || !(rep instanceo
257 updateSeekBar(FilterVignetteRepresentation rep) argument
262 getParameterToEdit(FilterRepresentation rep) argument
[all...]
H A DParametricEditor.java157 protected Parameter getParameterToEdit(FilterRepresentation rep) { argument
160 } else if (rep instanceof Parameter) {
161 return ((Parameter) rep);
170 FilterRepresentation rep = getLocalRepresentation();
171 Parameter param = getParameterToEdit(rep);
H A DEditor.java222 public void commitLocalRepresentation(FilterRepresentation rep) { argument
224 filter.add(rep);
H A DEditorGrad.java84 FilterGradRepresentation rep = (FilterGradRepresentation) tmpRep;
85 boolean f = rep.showParameterValue();
87 mImageGrad.setRepresentation(rep);
91 public void updateSeekBar(FilterGradRepresentation rep) { argument
103 FilterGradRepresentation rep = (FilterGradRepresentation) tmpRep;
104 int min = rep.getParameterMin(mSliderMode);
106 rep.setParameter(mSliderMode, value);
131 private void updateMenuItems(FilterGradRepresentation rep) { argument
132 int n = rep.getNumberOfBands();
179 FilterGradRepresentation rep
204 updateValues(FilterGradRepresentation rep) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
H A DImagePreset.java153 public void updateOrAddFilterRepresentation(FilterRepresentation rep) { argument
154 int pos = getPositionForRepresentation(rep);
156 mFilters.elementAt(pos).useParametersFrom(rep);
158 addFilter(rep.copy());
352 FilterRepresentation rep = preset.getFilterRepresentationForType(
354 addFilter(rep);
371 FilterRepresentation rep = mFilters.elementAt(index);
372 if (rep.getFilterType() != FilterRepresentation.TYPE_GEOMETRY) {
406 FilterRepresentation rep = mFilters.elementAt(i);
407 if (rep
[all...]

Completed in 158 milliseconds