/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
H A D | FilterDirectRepresentation.java | 23 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 D | SimpleImageFilter.java | 24 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 D | FilterFxRepresentation.java | 47 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 D | ImageFilterContrast.java | 31 FilterBasicRepresentation representation = 33 representation.setName("Contrast"); 34 representation.setSerializationName(SERIALIZATION_NAME); 36 representation.setFilterClass(ImageFilterContrast.class); 37 representation.setTextId(R.string.contrast); 38 representation.setMinimum(-100); 39 representation.setMaximum(100); 40 representation.setDefaultValue(0); 41 representation.setSupportsPartialRendering(true); 42 return representation; [all...] |
H A D | ImageFilterExposure.java | 30 FilterBasicRepresentation representation = 32 representation.setName("Exposure"); 33 representation.setSerializationName(SERIALIZATION_NAME); 34 representation.setFilterClass(ImageFilterExposure.class); 35 representation.setTextId(R.string.exposure); 36 representation.setMinimum(-100); 37 representation.setMaximum(100); 38 representation.setDefaultValue(0); 39 representation.setSupportsPartialRendering(true); 40 return representation; [all...] |
H A D | ImageFilterNegative.java | 15 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 D | ImageFilterSaturated.java | 31 FilterBasicRepresentation representation = 33 representation.setName("Saturated"); 34 representation.setSerializationName(SERIALIZATION_NAME); 35 representation.setFilterClass(ImageFilterSaturated.class); 36 representation.setTextId(R.string.saturation); 37 representation.setMinimum(-100); 38 representation.setMaximum(100); 39 representation.setDefaultValue(0); 40 representation.setSupportsPartialRendering(true); 41 return representation; [all...] |
H A D | ImageFilterShadows.java | 31 FilterBasicRepresentation representation = 33 representation.setName("Shadows"); 34 representation.setSerializationName(SERIALIZATION_NAME); 35 representation.setFilterClass(ImageFilterShadows.class); 36 representation.setTextId(R.string.shadow_recovery); 37 representation.setMinimum(-100); 38 representation.setMaximum(100); 39 representation.setDefaultValue(0); 40 representation.setSupportsPartialRendering(true); 41 return representation; [all...] |
H A D | ImageFilterVibrance.java | 30 FilterBasicRepresentation representation = 32 representation.setName("Vibrance"); 33 representation.setSerializationName(SERIALIZATION_NAME); 34 representation.setFilterClass(ImageFilterVibrance.class); 35 representation.setTextId(R.string.vibrance); 36 representation.setMinimum(-100); 37 representation.setMaximum(100); 38 representation.setDefaultValue(0); 39 representation.setSupportsPartialRendering(true); 40 return representation; [all...] |
H A D | FilterImageBorderRepresentation.java | 41 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 D | FiltersManagerInterface.java | 20 ImageFilter getFilterForRepresentation(FilterRepresentation representation); argument
|
H A D | ImageFilterWBalance.java | 33 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 D | ImageFilterEdge.java | 30 FilterRepresentation representation = super.getDefaultRepresentation(); 31 representation.setName("Edge"); 32 representation.setSerializationName(SERIALIZATION_NAME); 33 representation.setFilterClass(ImageFilterEdge.class); 34 representation.setTextId(R.string.edge); 35 representation.setSupportsPartialRendering(true); 36 return representation;
|
H A D | ImageFilterHighlights.java | 35 FilterBasicRepresentation representation = 37 representation.setName("Highlights"); 38 representation.setSerializationName(SERIALIZATION_NAME); 39 representation.setFilterClass(ImageFilterHighlights.class); 40 representation.setTextId(R.string.highlight_recovery); 41 representation.setMinimum(-100); 42 representation.setMaximum(100); 43 representation.setDefaultValue(0); 44 representation.setSupportsPartialRendering(true); 45 return representation; [all...] |
H A D | ImageFilterHue.java | 34 FilterBasicRepresentation representation = 36 representation.setName("Hue"); 37 representation.setSerializationName(SERIALIZATION_NAME); 38 representation.setFilterClass(ImageFilterHue.class); 39 representation.setMinimum(-180); 40 representation.setMaximum(180); 41 representation.setTextId(R.string.hue); 42 representation.setEditorId(BasicEditor.ID); 43 representation.setSupportsPartialRendering(true); 44 return representation; [all...] |
H A D | FilterTinyPlanetRepresentation.java | 42 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 D | ImageFilterKMeans.java | 38 FilterBasicRepresentation representation = (FilterBasicRepresentation) super.getDefaultRepresentation(); 39 representation.setName("KMeans"); 40 representation.setSerializationName(SERIALIZATION_NAME); 41 representation.setFilterClass(ImageFilterKMeans.class); 42 representation.setMaximum(20); 43 representation.setMinimum(2); 44 representation.setValue(4); 45 representation.setDefaultValue(4); 46 representation.setPreviewValue(4); 47 representation [all...] |
H A D | ImageFilterBwFilter.java | 33 FilterBasicRepresentation representation = (FilterBasicRepresentation) super.getDefaultRepresentation(); 34 representation.setName("BW Filter"); 35 representation.setSerializationName(SERIALIZATION_NAME); 37 representation.setFilterClass(ImageFilterBwFilter.class); 38 representation.setMaximum(180); 39 representation.setMinimum(-180); 40 representation.setTextId(R.string.bwfilter); 41 representation.setSupportsPartialRendering(true); 42 return representation;
|
H A D | ImageFilterDownsample.java | 38 FilterBasicRepresentation representation = (FilterBasicRepresentation) super.getDefaultRepresentation(); 39 representation.setName("Downsample"); 40 representation.setSerializationName(SERIALIZATION_NAME); 42 representation.setFilterClass(ImageFilterDownsample.class); 43 representation.setMaximum(100); 44 representation.setMinimum(1); 45 representation.setValue(50); 46 representation.setDefaultValue(50); 47 representation.setPreviewValue(3); 48 representation [all...] |
H A D | ImageFilterSharpen.java | 33 FilterRepresentation representation = new FilterBasicRepresentation("Sharpen", 0, 0, 100); 34 representation.setSerializationName(SERIALIZATION_NAME); 35 representation.setShowParameterValue(true); 36 representation.setFilterClass(ImageFilterSharpen.class); 37 representation.setTextId(R.string.sharpness); 38 representation.setOverlayId(R.drawable.filtershow_button_colors_sharpen); 39 representation.setEditorId(R.id.imageShow); 40 representation.setSupportsPartialRendering(true); 41 return representation; 44 public void useRepresentation(FilterRepresentation representation) { argument [all...] |
H A D | FilterRepresentation.java | 57 FilterRepresentation representation = new FilterRepresentation(mName); 58 representation.useParametersFrom(this); 59 return representation; 62 protected void copyAllParameters(FilterRepresentation representation) { argument 63 representation.setName(getName()); 64 representation.setFilterClass(getFilterClass()); 65 representation.setFilterType(getFilterType()); 66 representation.setSupportsPartialRendering(supportsPartialRendering()); 67 representation.setTextId(getTextId()); 68 representation 76 equals(FilterRepresentation representation) argument 273 canMergeWith(FilterRepresentation representation) argument [all...] |
H A D | FilterBasicRepresentation.java | 52 FilterBasicRepresentation representation = new FilterBasicRepresentation(getName(),0,0,0); 53 copyAllParameters(representation); 54 return representation; 58 protected void copyAllParameters(FilterRepresentation representation) { argument 59 super.copyAllParameters(representation); 60 representation.useParametersFrom(this); 66 FilterBasicRepresentation representation = (FilterBasicRepresentation) a; 67 setMinimum(representation.getMinimum()); 68 setMaximum(representation.getMaximum()); 69 setValue(representation 76 equals(FilterRepresentation representation) argument [all...] |
H A D | FilterColorBorderRepresentation.java | 79 FilterColorBorderRepresentation representation = 81 copyAllParameters(representation); 82 return representation; 86 protected void copyAllParameters(FilterRepresentation representation) { argument 87 super.copyAllParameters(representation); 88 representation.useParametersFrom(this); 93 FilterColorBorderRepresentation representation = (FilterColorBorderRepresentation) a; 94 setName(representation.getName()); 95 setColor(representation.getColor()); 96 mParamColor.copyPalletFrom(representation 103 equals(FilterRepresentation representation) argument [all...] |
H A D | FilterRedEyeRepresentation.java | 39 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);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
H A D | ImagePreset.java | 81 FilterRepresentation representation = null; 83 representation = mFilters.elementAt(position).copy(); 85 return representation; 103 public int getPositionForRepresentation(FilterRepresentation representation) { argument 105 if (sameSerializationName(mFilters.elementAt(i), representation)) { 140 FilterRepresentation representation = mFilters.elementAt(position); 141 if (representation != null) { 142 representation = representation.copy(); 144 return representation; 347 addFilter(FilterRepresentation representation) argument 419 isNoneBorderFilter(FilterRepresentation representation) argument 424 isNoneFxFilter(FilterRepresentation representation) argument [all...] |