OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:representation
(Results
1 - 25
of
149
) sorted by null
1
2
3
4
5
6
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
SimpleImageFilter.java
24
FilterRepresentation
representation
= new FilterBasicRepresentation("Default", 0, 50, 100);
local
25
representation
.setShowParameterValue(true);
26
return
representation
;
29
public void useRepresentation(FilterRepresentation
representation
) {
30
FilterBasicRepresentation parameters = (FilterBasicRepresentation)
representation
;
FilterFxRepresentation.java
50
FilterFxRepresentation
representation
= (FilterFxRepresentation) super.clone();
local
51
representation
.setName(getName());
52
representation
.setBitmapResource(getBitmapResource());
53
representation
.setNameResource(getNameResource());
54
return
representation
;
59
FilterFxRepresentation
representation
= (FilterFxRepresentation) a;
local
60
setName(
representation
.getName());
61
setBitmapResource(
representation
.getBitmapResource());
62
setNameResource(
representation
.getNameResource());
67
public boolean equals(FilterRepresentation
representation
) {
[
all
...]
ImageFilterContrast.java
30
FilterBasicRepresentation
representation
=
local
32
representation
.setName("Contrast");
33
representation
.setFilterClass(ImageFilterContrast.class);
34
representation
.setTextId(R.string.contrast);
35
representation
.setButtonId(R.id.contrastButton);
37
representation
.setMinimum(-100);
38
representation
.setMaximum(100);
39
representation
.setDefaultValue(0);
40
representation
.setSupportsPartialRendering(true);
41
return
representation
;
[
all
...]
ImageFilterExposure.java
30
FilterBasicRepresentation
representation
=
local
32
representation
.setName("Exposure");
33
representation
.setFilterClass(ImageFilterExposure.class);
34
representation
.setTextId(R.string.exposure);
35
representation
.setButtonId(R.id.exposureButton);
36
representation
.setMinimum(-100);
37
representation
.setMaximum(100);
38
representation
.setDefaultValue(0);
39
representation
.setSupportsPartialRendering(true);
40
return
representation
;
[
all
...]
ImageFilterNegative.java
15
FilterRepresentation
representation
= new FilterDirectRepresentation("Negative");
local
16
representation
.setFilterClass(ImageFilterNegative.class);
17
representation
.setTextId(R.string.negative);
18
representation
.setButtonId(R.id.negativeButton);
19
representation
.setShowEditingControls(false);
20
representation
.setShowParameterValue(false);
21
representation
.setEditorId(ImageOnlyEditor.ID);
22
representation
.setSupportsPartialRendering(true);
23
return
representation
;
29
public void useRepresentation(FilterRepresentation
representation
) {
[
all
...]
ImageFilterSaturated.java
31
FilterBasicRepresentation
representation
=
local
33
representation
.setName("Saturated");
34
representation
.setFilterClass(ImageFilterSaturated.class);
35
representation
.setTextId(R.string.saturation);
36
representation
.setButtonId(R.id.saturationButton);
37
representation
.setMinimum(-100);
38
representation
.setMaximum(100);
39
representation
.setDefaultValue(0);
40
representation
.setSupportsPartialRendering(true);
41
return
representation
;
[
all
...]
ImageFilterShadows.java
31
FilterBasicRepresentation
representation
=
local
33
representation
.setName("Shadows");
34
representation
.setFilterClass(ImageFilterShadows.class);
35
representation
.setTextId(R.string.shadow_recovery);
36
representation
.setButtonId(R.id.shadowRecoveryButton);
37
representation
.setMinimum(-100);
38
representation
.setMaximum(100);
39
representation
.setDefaultValue(0);
40
representation
.setSupportsPartialRendering(true);
41
return
representation
;
[
all
...]
ImageFilterVibrance.java
30
FilterBasicRepresentation
representation
=
local
32
representation
.setName("Vibrance");
33
representation
.setFilterClass(ImageFilterVibrance.class);
34
representation
.setTextId(R.string.vibrance);
35
representation
.setButtonId(R.id.vibranceButton);
36
representation
.setMinimum(-100);
37
representation
.setMaximum(100);
38
representation
.setDefaultValue(0);
39
representation
.setSupportsPartialRendering(true);
40
return
representation
;
[
all
...]
FilterRepresentation.java
53
FilterRepresentation
representation
= (FilterRepresentation) super.clone();
local
54
representation
.setName(getName());
55
representation
.setPriority(getPriority());
56
representation
.setFilterClass(getFilterClass());
57
representation
.setSupportsPartialRendering(supportsPartialRendering());
58
representation
.setTextId(getTextId());
59
representation
.setEditorId(getEditorId());
60
representation
.setButtonId(getButtonId());
61
representation
.setOverlayId(getOverlayId());
62
representation
.setOverlayOnly(getOverlayOnly())
[
all
...]
FilterColorBorderRepresentation.java
47
FilterColorBorderRepresentation
representation
= (FilterColorBorderRepresentation) super.clone();
local
48
representation
.setName(getName());
49
representation
.setColor(getColor());
50
representation
.setBorderSize(getBorderSize());
51
representation
.setBorderRadius(getBorderRadius());
52
return
representation
;
57
FilterColorBorderRepresentation
representation
= (FilterColorBorderRepresentation) a;
local
58
setName(
representation
.getName());
59
setColor(
representation
.getColor());
60
setBorderSize(
representation
.getBorderSize())
[
all
...]
FilterImageBorderRepresentation.java
43
FilterImageBorderRepresentation
representation
= (FilterImageBorderRepresentation) super.clone();
local
44
representation
.setName(getName());
45
representation
.setDrawableResource(getDrawableResource());
46
return
representation
;
51
FilterImageBorderRepresentation
representation
= (FilterImageBorderRepresentation) a;
local
52
setName(
representation
.getName());
53
setDrawableResource(
representation
.getDrawableResource());
58
public boolean equals(FilterRepresentation
representation
) {
59
if (!super.equals(
representation
)) {
62
if (
representation
instanceof FilterImageBorderRepresentation)
[
all
...]
ImageFilterDownsample.java
36
FilterBasicRepresentation
representation
= (FilterBasicRepresentation) super.getDefaultRepresentation();
local
37
representation
.setName("Downsample");
38
representation
.setFilterClass(ImageFilterDownsample.class);
39
representation
.setMaximum(100);
40
representation
.setMinimum(1);
41
representation
.setValue(50);
42
representation
.setDefaultValue(50);
43
representation
.setPreviewValue(3);
44
representation
.setTextId(R.string.downsample);
45
representation
.setButtonId(R.id.downsampleButton)
[
all
...]
ImageFilterWBalance.java
32
FilterRepresentation
representation
= new FilterDirectRepresentation("WBalance");
local
33
representation
.setFilterClass(ImageFilterWBalance.class);
34
representation
.setPriority(FilterRepresentation.TYPE_WBALANCE);
35
representation
.setTextId(R.string.wbalance);
36
representation
.setButtonId(R.id.wbalanceButton);
37
representation
.setShowEditingControls(false);
38
representation
.setShowParameterValue(false);
39
representation
.setEditorId(ImageOnlyEditor.ID);
40
representation
.setSupportsPartialRendering(true);
41
return
representation
;
[
all
...]
ImageFilterEdge.java
30
FilterRepresentation
representation
= super.getDefaultRepresentation();
local
31
representation
.setName("Edge");
32
representation
.setFilterClass(ImageFilterEdge.class);
33
representation
.setTextId(R.string.edge);
34
representation
.setButtonId(R.id.edgeButton);
35
representation
.setSupportsPartialRendering(true);
36
return
representation
;