/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
D | ImagePreset.java | 34 import com.android.gallery3d.filtershow.filters.FilterRepresentation; 57 private Vector<FilterRepresentation> mFilters = new Vector<FilterRepresentation>(); 71 FilterRepresentation sourceRepresentation = source.mFilters.elementAt(i); in ImagePreset() 76 public Vector<FilterRepresentation> getFilters() { in getFilters() 80 public FilterRepresentation getFilterRepresentation(int position) { in getFilterRepresentation() 81 FilterRepresentation representation = null; in getFilterRepresentation() 96 public static boolean sameSerializationName(FilterRepresentation a, FilterRepresentation b) { in sameSerializationName() 103 public int getPositionForRepresentation(FilterRepresentation representation) { in getPositionForRepresentation() 112 private FilterRepresentation getFilterRepresentationForType(int type) { in getFilterRepresentationForType() 130 public FilterRepresentation getFilterRepresentationCopyFrom( in getFilterRepresentationCopyFrom() [all …]
|
D | CacheProcessing.java | 23 import com.android.gallery3d.filtershow.filters.FilterRepresentation; 36 ArrayList<FilterRepresentation> representations; 40 representations = new ArrayList<FilterRepresentation>(); in CacheStep() 43 public void add(FilterRepresentation representation) { in add() 47 public boolean canMergeWith(FilterRepresentation representation) { in canMergeWith() 48 for (FilterRepresentation rep : representations) { in canMergeWith() 61 FilterRepresentation r1 = representations.get(i); in equals() 62 FilterRepresentation r2 = step.representations.get(i); in equals() 70 public static Vector<CacheStep> buildSteps(Vector<FilterRepresentation> filters) { in buildSteps() 74 FilterRepresentation representation = filters.elementAt(i); in buildSteps() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | BaseFiltersManager.java | 32 protected HashMap<String, FilterRepresentation> mRepresentationLookup = null; 35 protected ArrayList<FilterRepresentation> mLooks = new ArrayList<FilterRepresentation>(); 36 protected ArrayList<FilterRepresentation> mBorders = new ArrayList<FilterRepresentation>(); 37 protected ArrayList<FilterRepresentation> mTools = new ArrayList<FilterRepresentation>(); 38 protected ArrayList<FilterRepresentation> mEffects = new ArrayList<FilterRepresentation>(); 43 mRepresentationLookup = new HashMap<String, FilterRepresentation>(); in init() 52 FilterRepresentation rep = in init() 66 public void addRepresentation(FilterRepresentation rep) { in addRepresentation() 70 public FilterRepresentation createFilterFromName(String name) { in createFilterFromName() 85 public ImageFilter getFilterForRepresentation(FilterRepresentation representation) { in getFilterForRepresentation() [all …]
|
D | FilterRepresentation.java | 28 public class FilterRepresentation { class 52 public FilterRepresentation(String name) { in FilterRepresentation() method in FilterRepresentation 56 public FilterRepresentation copy(){ in copy() 57 FilterRepresentation representation = new FilterRepresentation(mName); in copy() 62 protected void copyAllParameters(FilterRepresentation representation) { in copyAllParameters() 76 public boolean equals(FilterRepresentation representation) { in equals() 147 public void useParametersFrom(FilterRepresentation a) { in useParametersFrom() 165 public boolean same(FilterRepresentation b) { in same() 273 public boolean canMergeWith(FilterRepresentation representation) { in canMergeWith() 274 if (getFilterType() == FilterRepresentation.TYPE_GEOMETRY in canMergeWith() [all …]
|
D | FilterFxRepresentation.java | 21 public class FilterFxRepresentation extends FilterRepresentation { 33 setFilterType(FilterRepresentation.TYPE_FX); in FilterFxRepresentation() 46 public FilterRepresentation copy() { in copy() 53 protected void copyAllParameters(FilterRepresentation representation) { in copyAllParameters() 59 public synchronized void useParametersFrom(FilterRepresentation a) { in useParametersFrom() 70 public boolean equals(FilterRepresentation representation) { in equals() 85 public boolean same(FilterRepresentation representation) { in same()
|
D | FilterImageBorderRepresentation.java | 22 public class FilterImageBorderRepresentation extends FilterRepresentation { 29 setFilterType(FilterRepresentation.TYPE_BORDER); in FilterImageBorderRepresentation() 40 public FilterRepresentation copy() { in copy() 48 protected void copyAllParameters(FilterRepresentation representation) { in copyAllParameters() 53 public void useParametersFrom(FilterRepresentation a) { in useParametersFrom() 62 public boolean equals(FilterRepresentation representation) { in equals()
|
D | FilterStraightenRepresentation.java | 28 public class FilterStraightenRepresentation extends FilterRepresentation { 42 setFilterType(FilterRepresentation.TYPE_GEOMETRY); in FilterStraightenRepresentation() 63 public boolean equals(FilterRepresentation rep) { in equals() 91 public FilterRepresentation copy() { in copy() 96 protected void copyAllParameters(FilterRepresentation representation) { in copyAllParameters() 105 public void useParametersFrom(FilterRepresentation a) { in useParametersFrom()
|
D | FilterPointRepresentation.java | 21 public abstract class FilterPointRepresentation extends FilterRepresentation { 28 setFilterType(FilterRepresentation.TYPE_NORMAL); in FilterPointRepresentation() 34 public abstract FilterRepresentation copy(); in copy() 37 protected void copyAllParameters(FilterRepresentation representation) { in copyAllParameters() 67 public void useParametersFrom(FilterRepresentation a) { in useParametersFrom()
|
D | FilterRotateRepresentation.java | 29 public class FilterRotateRepresentation extends FilterRepresentation { 69 setFilterType(FilterRepresentation.TYPE_GEOMETRY); in FilterRotateRepresentation() 123 public FilterRepresentation copy() { in copy() 128 protected void copyAllParameters(FilterRepresentation representation) { in copyAllParameters() 137 public void useParametersFrom(FilterRepresentation a) { in useParametersFrom() 161 public boolean equals(FilterRepresentation rep) { in equals()
|
D | FilterMirrorRepresentation.java | 33 public class FilterMirrorRepresentation extends FilterRepresentation { 73 setFilterType(FilterRepresentation.TYPE_GEOMETRY); in FilterMirrorRepresentation() 90 public boolean equals(FilterRepresentation rep) { in equals() 155 public FilterRepresentation copy() { in copy() 160 protected void copyAllParameters(FilterRepresentation representation) { in copyAllParameters() 170 public void useParametersFrom(FilterRepresentation a) { in useParametersFrom()
|
D | FilterTinyPlanetRepresentation.java | 33 setFilterType(FilterRepresentation.TYPE_TINYPLANET); in FilterTinyPlanetRepresentation() 41 public FilterRepresentation copy() { in copy() 48 protected void copyAllParameters(FilterRepresentation representation) { in copyAllParameters() 54 public void useParametersFrom(FilterRepresentation a) { in useParametersFrom() 82 public boolean equals(FilterRepresentation representation) { in equals()
|
D | FilterColorBorderRepresentation.java | 31 public class FilterColorBorderRepresentation extends FilterRepresentation { 57 setFilterType(FilterRepresentation.TYPE_BORDER); in FilterColorBorderRepresentation() 78 public FilterRepresentation copy() { in copy() 86 protected void copyAllParameters(FilterRepresentation representation) { in copyAllParameters() 91 public void useParametersFrom(FilterRepresentation a) { in useParametersFrom() 103 public boolean equals(FilterRepresentation representation) { in equals()
|
D | FilterCropRepresentation.java | 28 public class FilterCropRepresentation extends FilterRepresentation { 42 setFilterType(FilterRepresentation.TYPE_GEOMETRY); in FilterCropRepresentation() 63 public boolean equals(FilterRepresentation rep) { in equals() 120 public FilterRepresentation copy() { in copy() 125 protected void copyAllParameters(FilterRepresentation representation) { in copyAllParameters() 134 public void useParametersFrom(FilterRepresentation a) { in useParametersFrom()
|
D | FilterUserPresetRepresentation.java | 22 public class FilterUserPresetRepresentation extends FilterRepresentation { 30 setFilterType(FilterRepresentation.TYPE_FX); in FilterUserPresetRepresentation() 44 public FilterRepresentation copy(){ in copy() 45 FilterRepresentation representation = new FilterUserPresetRepresentation(getName(), in copy()
|
D | ImageFilterWBalance.java | 32 public FilterRepresentation getDefaultRepresentation() { in getDefaultRepresentation() 33 FilterRepresentation representation = new FilterDirectRepresentation("WBalance"); in getDefaultRepresentation() 36 representation.setFilterType(FilterRepresentation.TYPE_WBALANCE); in getDefaultRepresentation() 46 public void useRepresentation(FilterRepresentation representation) { in useRepresentation()
|
D | FilterBasicRepresentation.java | 27 public class FilterBasicRepresentation extends FilterRepresentation implements ParameterInteger { 51 public FilterRepresentation copy() { in copy() 58 protected void copyAllParameters(FilterRepresentation representation) { in copyAllParameters() 64 public void useParametersFrom(FilterRepresentation a) { in useParametersFrom() 76 public boolean equals(FilterRepresentation representation) { in equals()
|
D | FilterCurvesRepresentation.java | 16 public class FilterCurvesRepresentation extends FilterRepresentation { 36 public FilterRepresentation copy() { in copy() 43 protected void copyAllParameters(FilterRepresentation representation) { in copyAllParameters() 49 public void useParametersFrom(FilterRepresentation a) { in useParametersFrom() 78 public boolean equals(FilterRepresentation representation) { in equals()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | GeometryMathUtils.java | 32 import com.android.gallery3d.filtershow.filters.FilterRepresentation; 253 public static GeometryHolder unpackGeometry(Collection<FilterRepresentation> geometry) { in unpackGeometry() 260 Collection<FilterRepresentation> geometry) { in unpackGeometry() 263 for (FilterRepresentation r : geometry) { in unpackGeometry() 280 public static void replaceInstances(Collection<FilterRepresentation> geometry, in replaceInstances() 281 FilterRepresentation rep) { in replaceInstances() 282 Iterator<FilterRepresentation> iter = geometry.iterator(); in replaceInstances() 284 FilterRepresentation r = iter.next(); in replaceInstances() 295 FilterRepresentation currentLocal) { in initializeHolder() 296 Collection<FilterRepresentation> geometry = PrimaryImage.getImage().getPreset() in initializeHolder() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/ |
D | Editor.java | 37 import com.android.gallery3d.filtershow.filters.FilterRepresentation; 59 protected FilterRepresentation mLocalRepresentation = null; 195 public FilterRepresentation getLocalRepresentation() { in getLocalRepresentation() 198 FilterRepresentation filterRepresentation = in getLocalRepresentation() 223 public void commitLocalRepresentation(FilterRepresentation rep) { in commitLocalRepresentation() 224 ArrayList<FilterRepresentation> filter = new ArrayList<FilterRepresentation>(1); in commitLocalRepresentation() 233 public void commitLocalRepresentation(Collection<FilterRepresentation> reps) { in commitLocalRepresentation() 268 FilterRepresentation representation = getLocalRepresentation(); in reflectCurrentFilter()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
D | Action.java | 37 import com.android.gallery3d.filtershow.filters.FilterRepresentation; 44 private FilterRepresentation mRepresentation; 61 public Action(FilterShowActivity context, FilterRepresentation representation, int type, in Action() 69 public Action(FilterShowActivity context, FilterRepresentation representation, int type) { in Action() 80 public Action(FilterShowActivity context, FilterRepresentation representation) { in Action() 100 public FilterRepresentation getRepresentation() { in getRepresentation() 104 public void setRepresentation(FilterRepresentation representation) { in setRepresentation() 192 if (getRepresentation().getFilterType() == FilterRepresentation.TYPE_BORDER) { in available()
|
D | CategoryAdapter.java | 27 import com.android.gallery3d.filtershow.filters.FilterRepresentation; 154 public FilterRepresentation getTinyPlanet() { in getTinyPlanet() 202 FilterRepresentation rep = null; in reflectImagePreset() 204 int pos = preset.getPositionForType(FilterRepresentation.TYPE_FX); in reflectImagePreset() 209 int pos = preset.getPositionForType(FilterRepresentation.TYPE_BORDER); in reflectImagePreset() 216 FilterRepresentation itemRep = getItem(i).getRepresentation(); in reflectImagePreset()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/history/ |
D | HistoryItem.java | 21 import com.android.gallery3d.filtershow.filters.FilterRepresentation; 27 private FilterRepresentation mFilterRepresentation; 30 public HistoryItem(ImagePreset preset, FilterRepresentation representation) { in HistoryItem() 41 public FilterRepresentation getFilterRepresentation() { in getFilterRepresentation()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/ |
D | State.java | 20 import com.android.gallery3d.filtershow.filters.FilterRepresentation; 25 private FilterRepresentation mFilterRepresentation; 71 public FilterRepresentation getFilterRepresentation() { in getFilterRepresentation() 75 public void setFilterRepresentation(FilterRepresentation filterRepresentation) { in setFilterRepresentation()
|
D | StateAdapter.java | 27 import com.android.gallery3d.filtershow.filters.FilterRepresentation; 55 FilterRepresentation currentRep = PrimaryImage.getImage().getCurrentFilterRepresentation(); in getView() 56 FilterRepresentation stateRep = state.getFilterRepresentation(); in getView() 111 FilterRepresentation filterRepresentation = state.getFilterRepresentation(); in remove()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ |
D | FilterShowActivity.java | 95 import com.android.gallery3d.filtershow.filters.FilterRepresentation; 300 public void loadEditorPanel(FilterRepresentation representation, in loadEditorPanel() 458 ArrayList<FilterRepresentation> filtersRepresentations = filtersManager.getEffects(); in fillEffects() 463 for (FilterRepresentation representation : filtersRepresentations) { in fillEffects() 473 ArrayList<FilterRepresentation> filtersRepresentations = filtersManager.getTools(); in fillTools() 479 for (FilterRepresentation representation : filtersRepresentations) { in fillTools() 486 FilterRepresentation representation = new FilterDrawRepresentation(); in fillTools() 558 ArrayList<FilterRepresentation> borders = filtersManager.getBorders(); in fillBorders() 561 FilterRepresentation filter = borders.get(i); in fillBorders() 572 for (FilterRepresentation representation : borders) { in fillBorders() [all …]
|