Searched refs:rep (Results 1 - 25 of 38) sorted by relevance

12

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
H A DBasicEditor.java69 FilterBasicRepresentation rep = getBasicRepresentation();
70 if (rep == null) {
73 return rep.getMaximum();
78 FilterBasicRepresentation rep = getBasicRepresentation();
79 if (rep == null) {
82 return rep.getMinimum();
92 FilterBasicRepresentation rep = getBasicRepresentation();
93 if (rep == null) {
96 return rep.getValue();
106 FilterBasicRepresentation rep
[all...]
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...]
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 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 DEditorTinyPlanet.java46 FilterRepresentation rep = getLocalRepresentation();
47 if (rep != null && rep instanceof FilterTinyPlanetRepresentation) {
48 FilterTinyPlanetRepresentation drawRep = (FilterTinyPlanetRepresentation) rep;
H A DEditorColorBorder.java66 FilterColorBorderRepresentation rep = getColorBorderRep();
67 if (rep == null) {
74 String val = rep.getValueString();
87 FilterRepresentation rep = getLocalRepresentation();
88 if (rep != null && getLocalRepresentation() instanceof FilterColorBorderRepresentation) {
146 FilterColorBorderRepresentation rep = getColorBorderRep();
147 if (rep == null) {
155 rep.setPramMode(FilterColorBorderRepresentation.PARAM_SIZE);
158 rep.setPramMode(FilterColorBorderRepresentation.PARAM_RADIUS);
161 rep
[all...]
H A DEditorMirror.java59 FilterRepresentation rep = getLocalRepresentation();
60 if (rep == null || rep instanceof FilterMirrorRepresentation) {
61 mImageMirror.setFilterMirrorRepresentation((FilterMirrorRepresentation) rep);
H A DEditorStraighten.java63 FilterRepresentation rep = getLocalRepresentation();
64 if (rep == null || rep instanceof FilterStraightenRepresentation) {
66 .setFilterStraightenRepresentation((FilterStraightenRepresentation) rep);
H A DEditorCurves.java57 FilterRepresentation rep = getLocalRepresentation();
58 if (rep != null && getLocalRepresentation() instanceof FilterCurvesRepresentation) {
59 FilterCurvesRepresentation drawRep = (FilterCurvesRepresentation) rep;
H A DEditorRedEye.java53 FilterRepresentation rep = getLocalRepresentation();
54 if (rep != null && getLocalRepresentation() instanceof FilterRedEyeRepresentation) {
55 FilterRedEyeRepresentation redEyeRep = (FilterRedEyeRepresentation) rep;
H A DEditorDraw.java89 FilterDrawRepresentation rep = getDrawRep();
94 if (rep == null) {
104 String val = rep.getValueString();
121 FilterRepresentation rep = getLocalRepresentation();
122 if (rep != null && getLocalRepresentation() instanceof FilterDrawRepresentation) {
201 FilterDrawRepresentation rep = getDrawRep();
202 if (rep == null) {
211 rep.setPramMode(FilterDrawRepresentation.PARAM_SIZE);
214 rep.setPramMode(FilterDrawRepresentation.PARAM_STYLE);
217 rep
[all...]
H A DEditorRotate.java59 FilterRepresentation rep = getLocalRepresentation();
60 if (rep == null || rep instanceof FilterRotateRepresentation) {
61 mImageRotate.setFilterRotateRepresentation((FilterRotateRepresentation) rep);
/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 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 DFilterVignetteRepresentation.java73 FilterVignetteRepresentation rep = (FilterVignetteRepresentation) a;
74 mCenterX = rep.mCenterX;
75 mCenterY = rep.mCenterY;
76 mRadiusX = rep.mRadiusX;
77 mRadiusY = rep.mRadiusY;
78 mParamVignette.setValue(rep.mParamVignette.getValue());
79 mParamExposure.setValue(rep.mParamExposure.getValue());
80 mParamSaturation.setValue(rep.mParamSaturation.getValue());
81 mParamContrast.setValue(rep.mParamContrast.getValue());
82 mParamFalloff.setValue(rep
[all...]
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];
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 DFilterStraightenRepresentation.java63 public boolean equals(FilterRepresentation rep) { argument
64 if (!(rep instanceof FilterStraightenRepresentation)) {
67 FilterStraightenRepresentation straighten = (FilterStraightenRepresentation) rep;
H A DFilterCropRepresentation.java63 public boolean equals(FilterRepresentation rep) { argument
64 if (!(rep instanceof FilterCropRepresentation)) {
67 FilterCropRepresentation crop = (FilterCropRepresentation) rep;
H A DFilterMirrorRepresentation.java90 public boolean equals(FilterRepresentation rep) { argument
91 if (!(rep instanceof FilterMirrorRepresentation)) {
94 FilterMirrorRepresentation mirror = (FilterMirrorRepresentation) rep;
H A DFilterRotateRepresentation.java161 public boolean equals(FilterRepresentation rep) { argument
162 if (!(rep instanceof FilterRotateRepresentation)) {
165 FilterRotateRepresentation rotate = (FilterRotateRepresentation) rep;
/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;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/presets/
H A DUserPresetsAdapter.java64 FilterRepresentation rep = action.getRepresentation();
65 if (rep instanceof FilterUserPresetRepresentation) {
66 mDeletedRepresentations.add((FilterUserPresetRepresentation) rep);
73 FilterRepresentation rep = action.getRepresentation();
74 rep.setName(action.getName());
75 if (rep instanceof FilterUserPresetRepresentation) {
76 mChangedRepresentations.add((FilterUserPresetRepresentation) rep);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
H A DCategoryAdapter.java202 FilterRepresentation rep = null;
206 rep = preset.getFilterRepresentation(pos);
211 rep = preset.getFilterRepresentation(pos);
214 if (rep != null) {
220 if (rep.getName().equalsIgnoreCase(

Completed in 276 milliseconds

12