Searched refs:representation (Results 26 - 50 of 58) sorted by relevance

123

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
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 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 DFilterUserPresetRepresentation.java45 FilterRepresentation representation = new FilterUserPresetRepresentation(getName(),
47 return representation;
H A DFilterChanSatRepresentation.java86 FilterChanSatRepresentation representation = new FilterChanSatRepresentation();
87 copyAllParameters(representation);
88 return representation;
92 protected void copyAllParameters(FilterRepresentation representation) { argument
93 super.copyAllParameters(representation);
94 representation.useParametersFrom(this);
99 FilterChanSatRepresentation representation = (FilterChanSatRepresentation) a;
102 mAllParam[i].copyFrom(representation.mAllParam[i]);
108 public boolean equals(FilterRepresentation representation) { argument
109 if (!super.equals(representation)) {
[all...]
H A DFilterVignetteRepresentation.java100 FilterVignetteRepresentation representation = new FilterVignetteRepresentation();
101 copyAllParameters(representation);
102 return representation;
106 protected void copyAllParameters(FilterRepresentation representation) { argument
107 super.copyAllParameters(representation);
108 representation.useParametersFrom(this);
163 public boolean equals(FilterRepresentation representation) { argument
164 if (!super.equals(representation)) {
167 if (representation instanceof FilterVignetteRepresentation) {
168 FilterVignetteRepresentation rep = (FilterVignetteRepresentation) representation;
[all...]
H A DFilterDrawRepresentation.java188 FilterDrawRepresentation representation = new FilterDrawRepresentation();
189 copyAllParameters(representation);
190 return representation;
194 protected void copyAllParameters(FilterRepresentation representation) { argument
195 super.copyAllParameters(representation);
196 representation.useParametersFrom(this);
207 FilterDrawRepresentation representation = (FilterDrawRepresentation) a;
208 mParamColor.copyPalletFrom(representation.mParamColor);
210 if (representation.mCurrent != null) {
211 mCurrent = (StrokeData) representation
234 equals(FilterRepresentation representation) argument
[all...]
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 DImageFilterRedEye.java53 public void useRepresentation(FilterRepresentation representation) { argument
54 FilterRedEyeRepresentation parameters = (FilterRedEyeRepresentation) representation;
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 DFilterMirrorRepresentation.java160 protected void copyAllParameters(FilterRepresentation representation) { argument
161 if (!(representation instanceof FilterMirrorRepresentation)) {
164 super.copyAllParameters(representation);
165 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 DImageFilterBorder.java41 public void useRepresentation(FilterRepresentation representation) { argument
42 FilterImageBorderRepresentation parameters = (FilterImageBorderRepresentation) representation;
H A DImageFilterFx.java45 public void useRepresentation(FilterRepresentation representation) { argument
46 FilterFxRepresentation parameters = (FilterFxRepresentation) representation;
H A DFilterGradRepresentation.java140 FilterGradRepresentation representation = new FilterGradRepresentation();
141 copyAllParameters(representation);
142 return representation;
146 protected void copyAllParameters(FilterRepresentation representation) { argument
147 super.copyAllParameters(representation);
148 representation.useParametersFrom(this);
152 public boolean equals(FilterRepresentation representation) { argument
153 if (representation instanceof FilterGradRepresentation) {
154 FilterGradRepresentation rep = (FilterGradRepresentation) 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 DImageFilterVignette.java51 FilterVignetteRepresentation representation = new FilterVignetteRepresentation();
52 return representation;
56 public void useRepresentation(FilterRepresentation representation) { argument
57 mParameters = (FilterVignetteRepresentation) 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/pipeline/
H A DFilterEnvironment.java110 public void applyRepresentation(FilterRepresentation representation, argument
112 ImageFilter filter = mFiltersManager.getFilterForRepresentation(representation);
113 filter.useRepresentation(representation);
122 public Bitmap applyRepresentation(FilterRepresentation representation, Bitmap bitmap) { argument
123 if (representation instanceof FilterUserPresetRepresentation) {
129 ImageFilter filter = mFiltersManager.getFilterForRepresentation(representation);
131 Log.e(LOGTAG,"No ImageFilter for "+representation.getSerializationName());
133 filter.useRepresentation(representation);
H A DCacheProcessing.java43 public void add(FilterRepresentation representation) { argument
44 representations.add(representation);
47 public boolean canMergeWith(FilterRepresentation representation) { argument
49 if (!rep.canMergeWith(representation)) {
74 FilterRepresentation representation = filters.elementAt(i);
75 if (step.canMergeWith(representation)) {
76 step.add(representation.copy());
80 step.add(representation.copy());
97 for (FilterRepresentation representation : representations) {
98 if (representation
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
H A DAction.java61 public Action(FilterShowActivity context, FilterRepresentation representation, int type, argument
63 this(context, representation, type);
69 public Action(FilterShowActivity context, FilterRepresentation representation, int type) { argument
71 setRepresentation(representation);
80 public Action(FilterShowActivity context, FilterRepresentation representation) { argument
81 this(context, representation, CROP_VIEW);
104 public void setRepresentation(FilterRepresentation representation) { argument
105 mRepresentation = representation;
106 mName = representation.getName();
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/
H A DFilterShowActivity.java302 public void loadEditorPanel(FilterRepresentation representation, argument
304 if (representation.getEditorId() == ImageOnlyEditor.ID) {
463 for (FilterRepresentation representation : filtersRepresentations) {
464 if (representation.getTextId() != 0) {
465 representation.setName(getString(representation.getTextId()));
467 mCategoryFiltersAdapter.add(new Action(this, representation));
479 for (FilterRepresentation representation : filtersRepresentations) {
480 mCategoryGeometryAdapter.add(new Action(this, representation));
481 if (representation instanceo
657 showRepresentation(FilterRepresentation representation) argument
1160 updatePreset(FilterUserPresetRepresentation representation) argument
[all...]
/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();
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
H A DStatePanelTrack.java260 FilterRepresentation representation = mCurrentView.getState().getFilterRepresentation();
262 if (representation != MasterImage.getImage().getCurrentFilterRepresentation()) {
264 activity.showRepresentation(representation);
272 FilterRepresentation representation = mCurrentView.getState().getFilterRepresentation();
273 if (representation.getEditorId() == ImageOnlyEditor.ID) {
H A DStateView.java301 FilterRepresentation representation = getState().getFilterRepresentation();
302 activity.removeFilterRepresentation(representation);
327 FilterRepresentation representation = getState().getFilterRepresentation();
332 && representation != image.getCurrentFilterRepresentation()
333 && preset.getRepresentation(representation) != null) {
334 activity.showRepresentation(representation);

Completed in 244 milliseconds

123