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.java130 FilterRepresentation filterRepresentation) { in getFilterRepresentationCopyFrom() argument
132 if (filterRepresentation == null) { in getFilterRepresentationCopyFrom()
135 int position = getPositionForRepresentation(filterRepresentation); in getFilterRepresentationCopyFrom()
326 public void removeFilter(FilterRepresentation filterRepresentation) { in removeFilter() argument
327 if (filterRepresentation.getFilterType() == FilterRepresentation.TYPE_BORDER) { in removeFilter()
330 == filterRepresentation.getFilterType()) { in removeFilter()
337 if (sameSerializationName(mFilters.elementAt(i), filterRepresentation)) { in removeFilter()
428 public FilterRepresentation getRepresentation(FilterRepresentation filterRepresentation) { in getRepresentation() argument
431 if (sameSerializationName(representation, filterRepresentation)) { in getRepresentation()
/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()
/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()