Searched defs:representation (Results 1 - 25 of 42) sorted by relevance

12

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DFilterDirectRepresentation.java23 FilterDirectRepresentation representation = new FilterDirectRepresentation(getName());
24 copyAllParameters(representation);
25 return representation;
29 protected void copyAllParameters(FilterRepresentation representation) { argument
30 super.copyAllParameters(representation);
31 representation.useParametersFrom(this);
H A DFiltersManagerInterface.java20 ImageFilter getFilterForRepresentation(FilterRepresentation representation); argument
H A DFilterRedEyeRepresentation.java39 FilterRedEyeRepresentation representation = new FilterRedEyeRepresentation();
40 copyAllParameters(representation);
41 return representation;
45 protected void copyAllParameters(FilterRepresentation representation) { argument
46 super.copyAllParameters(representation);
47 representation.useParametersFrom(this);
H A DSimpleImageFilter.java24 FilterRepresentation representation = new FilterBasicRepresentation("Default", 0, 50, 100);
25 representation.setShowParameterValue(true);
26 return representation;
29 public void useRepresentation(FilterRepresentation representation) { argument
30 FilterBasicRepresentation parameters = (FilterBasicRepresentation) representation;
H A DFilterImageBorderRepresentation.java41 FilterImageBorderRepresentation representation =
43 copyAllParameters(representation);
44 return representation;
48 protected void copyAllParameters(FilterRepresentation representation) { argument
49 super.copyAllParameters(representation);
50 representation.useParametersFrom(this);
55 FilterImageBorderRepresentation representation = (FilterImageBorderRepresentation) a;
56 setName(representation.getName());
57 setDrawableResource(representation.getDrawableResource());
62 public boolean equals(FilterRepresentation representation) { argument
[all...]
H A DImageFilterNegative.java15 FilterRepresentation representation = new FilterDirectRepresentation("Negative");
16 representation.setSerializationName(SERIALIZATION_NAME);
17 representation.setFilterClass(ImageFilterNegative.class);
18 representation.setTextId(R.string.negative);
19 representation.setShowParameterValue(false);
20 representation.setEditorId(ImageOnlyEditor.ID);
21 representation.setSupportsPartialRendering(true);
22 representation.setIsBooleanFilter(true);
23 return representation;
29 public void useRepresentation(FilterRepresentation representation) { argument
[all...]
H A DImageFilterWBalance.java33 FilterRepresentation representation = new FilterDirectRepresentation("WBalance");
34 representation.setSerializationName(SERIALIZATION_NAME);
35 representation.setFilterClass(ImageFilterWBalance.class);
36 representation.setFilterType(FilterRepresentation.TYPE_WBALANCE);
37 representation.setTextId(R.string.wbalance);
38 representation.setShowParameterValue(false);
39 representation.setEditorId(ImageOnlyEditor.ID);
40 representation.setSupportsPartialRendering(true);
41 representation.setIsBooleanFilter(true);
42 return representation;
46 useRepresentation(FilterRepresentation representation) argument
[all...]
H A DFilterCurvesRepresentation.java37 FilterCurvesRepresentation representation = new FilterCurvesRepresentation();
38 copyAllParameters(representation);
39 return representation;
43 protected void copyAllParameters(FilterRepresentation representation) { argument
44 super.copyAllParameters(representation);
45 representation.useParametersFrom(this);
54 FilterCurvesRepresentation representation = (FilterCurvesRepresentation) a;
57 Spline sp = representation.mSplines[i];
78 public boolean equals(FilterRepresentation representation) { argument
79 if (!super.equals(representation)) {
[all...]
H A DFilterFxRepresentation.java47 FilterFxRepresentation representation = new FilterFxRepresentation(getName(),0,0);
48 copyAllParameters(representation);
49 return representation;
53 protected void copyAllParameters(FilterRepresentation representation) { argument
54 super.copyAllParameters(representation);
55 representation.useParametersFrom(this);
61 FilterFxRepresentation representation = (FilterFxRepresentation) a;
62 setName(representation.getName());
63 setSerializationName(representation.getSerializationName());
64 setBitmapResource(representation
70 equals(FilterRepresentation representation) argument
85 same(FilterRepresentation representation) argument
[all...]
H A DFilterPointRepresentation.java37 protected void copyAllParameters(FilterRepresentation representation) { argument
38 super.copyAllParameters(representation);
39 representation.useParametersFrom(this);
69 FilterPointRepresentation representation = (FilterPointRepresentation) a;
71 for (FilterPoint redEyeCandidate : representation.mCandidates) {
H A DFilterTinyPlanetRepresentation.java42 FilterTinyPlanetRepresentation representation = new FilterTinyPlanetRepresentation();
43 copyAllParameters(representation);
44 return representation;
48 protected void copyAllParameters(FilterRepresentation representation) { argument
49 super.copyAllParameters(representation);
50 representation.useParametersFrom(this);
55 FilterTinyPlanetRepresentation representation = (FilterTinyPlanetRepresentation) a;
57 mAngle = representation.mAngle;
58 setZoom(representation.getZoom());
82 public boolean equals(FilterRepresentation representation) { argument
[all...]
H A DImageFilterBorder.java41 public void useRepresentation(FilterRepresentation representation) { argument
42 FilterImageBorderRepresentation parameters = (FilterImageBorderRepresentation) representation;
H A DImageFilterColorBorder.java42 public void useRepresentation(FilterRepresentation representation) { argument
44 (FilterColorBorderRepresentation) representation;
H A DImageFilterCurves.java34 public void useRepresentation(FilterRepresentation representation) { argument
35 FilterCurvesRepresentation parameters = (FilterCurvesRepresentation) representation;
H A DImageFilterRedEye.java53 public void useRepresentation(FilterRepresentation representation) { argument
54 FilterRedEyeRepresentation parameters = (FilterRedEyeRepresentation) representation;
H A DImageFilterSharpen.java34 FilterRepresentation representation = new FilterBasicRepresentation("Sharpen", 0, 0, 100);
35 representation.setSerializationName(SERIALIZATION_NAME);
36 representation.setShowParameterValue(true);
37 representation.setFilterClass(ImageFilterSharpen.class);
38 representation.setTextId(R.string.sharpness);
39 representation.setOverlayId(R.drawable.filtershow_button_colors_sharpen);
40 representation.setEditorId(BasicEditor.ID);
41 representation.setSupportsPartialRendering(true);
42 return representation;
45 public void useRepresentation(FilterRepresentation representation) { argument
[all...]
H A DFilterCropRepresentation.java125 protected void copyAllParameters(FilterRepresentation representation) { argument
126 if (!(representation instanceof FilterCropRepresentation)) {
129 super.copyAllParameters(representation);
130 representation.useParametersFrom(this);
H A DFilterRotateRepresentation.java128 protected void copyAllParameters(FilterRepresentation representation) { argument
129 if (!(representation instanceof FilterRotateRepresentation)) {
132 super.copyAllParameters(representation);
133 representation.useParametersFrom(this);
H A DFilterStraightenRepresentation.java96 protected void copyAllParameters(FilterRepresentation representation) { argument
97 if (!(representation instanceof FilterStraightenRepresentation)) {
100 super.copyAllParameters(representation);
101 representation.useParametersFrom(this);
H A DImageFilter.java81 public abstract void useRepresentation(FilterRepresentation representation); argument
H A DImageFilterChanSat.java50 public void useRepresentation(FilterRepresentation representation) { argument
51 mParameters = (FilterChanSatRepresentation) representation;
H A DImageFilterFx.java45 public void useRepresentation(FilterRepresentation representation) { argument
46 FilterFxRepresentation parameters = (FilterFxRepresentation) representation;
H A DImageFilterGrad.java60 public void useRepresentation(FilterRepresentation representation) { argument
61 mParameters = (FilterGradRepresentation) representation;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/history/
H A DHistoryItem.java30 public HistoryItem(ImagePreset preset, FilterRepresentation representation) { argument
32 if (representation != null) {
33 mFilterRepresentation = representation.copy();
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/
H A DUserPresetsManager.java109 public void update(FilterUserPresetRepresentation representation) { argument
112 op.id = representation.getId();
113 op.name = representation.getName();

Completed in 156 milliseconds

12