/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
H A D | FilterPointRepresentation.java | 37 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 D | FilterCurvesRepresentation.java | 37 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 D | FilterUserPresetRepresentation.java | 45 FilterRepresentation representation = new FilterUserPresetRepresentation(getName(), 47 return representation;
|
H A D | FilterChanSatRepresentation.java | 86 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 D | FilterVignetteRepresentation.java | 100 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 D | FilterDrawRepresentation.java | 188 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 D | FilterStraightenRepresentation.java | 96 protected void copyAllParameters(FilterRepresentation representation) { argument 97 if (!(representation instanceof FilterStraightenRepresentation)) { 100 super.copyAllParameters(representation); 101 representation.useParametersFrom(this);
|
H A D | ImageFilterRedEye.java | 53 public void useRepresentation(FilterRepresentation representation) { argument 54 FilterRedEyeRepresentation parameters = (FilterRedEyeRepresentation) representation;
|
H A D | FilterCropRepresentation.java | 125 protected void copyAllParameters(FilterRepresentation representation) { argument 126 if (!(representation instanceof FilterCropRepresentation)) { 129 super.copyAllParameters(representation); 130 representation.useParametersFrom(this);
|
H A D | FilterMirrorRepresentation.java | 160 protected void copyAllParameters(FilterRepresentation representation) { argument 161 if (!(representation instanceof FilterMirrorRepresentation)) { 164 super.copyAllParameters(representation); 165 representation.useParametersFrom(this);
|
H A D | FilterRotateRepresentation.java | 128 protected void copyAllParameters(FilterRepresentation representation) { argument 129 if (!(representation instanceof FilterRotateRepresentation)) { 132 super.copyAllParameters(representation); 133 representation.useParametersFrom(this);
|
H A D | ImageFilterBorder.java | 41 public void useRepresentation(FilterRepresentation representation) { argument 42 FilterImageBorderRepresentation parameters = (FilterImageBorderRepresentation) representation;
|
H A D | ImageFilterFx.java | 45 public void useRepresentation(FilterRepresentation representation) { argument 46 FilterFxRepresentation parameters = (FilterFxRepresentation) representation;
|
H A D | FilterGradRepresentation.java | 140 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 D | ImageFilterColorBorder.java | 42 public void useRepresentation(FilterRepresentation representation) { argument 44 (FilterColorBorderRepresentation) representation;
|
H A D | ImageFilterCurves.java | 34 public void useRepresentation(FilterRepresentation representation) { argument 35 FilterCurvesRepresentation parameters = (FilterCurvesRepresentation) representation;
|
H A D | ImageFilterVignette.java | 51 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 D | HistoryItem.java | 30 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 D | FilterEnvironment.java | 110 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 D | CacheProcessing.java | 43 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 D | Action.java | 61 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 D | FilterShowActivity.java | 302 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 D | UserPresetsManager.java | 109 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 D | StatePanelTrack.java | 260 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 D | StateView.java | 301 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);
|