Home
last modified time | relevance | path

Searched refs:filterRepresentation (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/
DFilterShowActivity.java604 public void removeFilterRepresentation(FilterRepresentation filterRepresentation) { in removeFilterRepresentation() argument
605 if (filterRepresentation == null) { in removeFilterRepresentation()
610 copy.removeFilter(filterRepresentation); in removeFilterRepresentation()
612 if (PrimaryImage.getImage().getCurrentFilterRepresentation() == filterRepresentation) { in removeFilterRepresentation()
618 public void useFilterRepresentation(FilterRepresentation filterRepresentation) { in useFilterRepresentation() argument
619 if (filterRepresentation == null) { in useFilterRepresentation()
622 if (!(filterRepresentation instanceof FilterRotateRepresentation) in useFilterRepresentation()
623 && !(filterRepresentation instanceof FilterMirrorRepresentation) in useFilterRepresentation()
624 && PrimaryImage.getImage().getCurrentFilterRepresentation() == filterRepresentation) { in useFilterRepresentation()
627 if (filterRepresentation instanceof FilterUserPresetRepresentation in useFilterRepresentation()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DImagePreset.java131 FilterRepresentation filterRepresentation) { in getFilterRepresentationCopyFrom() argument
133 if (filterRepresentation == null) { in getFilterRepresentationCopyFrom()
136 int position = getPositionForRepresentation(filterRepresentation); in getFilterRepresentationCopyFrom()
327 public void removeFilter(FilterRepresentation filterRepresentation) { in removeFilter() argument
328 if (filterRepresentation.getFilterType() == FilterRepresentation.TYPE_BORDER) { in removeFilter()
331 == filterRepresentation.getFilterType()) { in removeFilter()
338 if (sameSerializationName(mFilters.elementAt(i), filterRepresentation)) { in removeFilter()
429 public FilterRepresentation getRepresentation(FilterRepresentation filterRepresentation) { in getRepresentation() argument
432 if (sameSerializationName(representation, filterRepresentation)) { in getRepresentation()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
DEditor.java198 FilterRepresentation filterRepresentation = in getLocalRepresentation() local
200 mLocalRepresentation = preset.getFilterRepresentationCopyFrom(filterRepresentation); in getLocalRepresentation()
201 if (mShowParameter == SHOW_VALUE_UNDEFINED && filterRepresentation != null) { in getLocalRepresentation()
202 boolean show = filterRepresentation.showParameterValue(); in getLocalRepresentation()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
DState.java75 public void setFilterRepresentation(FilterRepresentation filterRepresentation) { in setFilterRepresentation() argument
76 mFilterRepresentation = filterRepresentation; in setFilterRepresentation()
DStateAdapter.java111 FilterRepresentation filterRepresentation = state.getFilterRepresentation(); in remove() local
113 activity.removeFilterRepresentation(filterRepresentation); in remove()