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.java606 public void removeFilterRepresentation(FilterRepresentation filterRepresentation) { in removeFilterRepresentation() argument
607 if (filterRepresentation == null) { in removeFilterRepresentation()
612 copy.removeFilter(filterRepresentation); in removeFilterRepresentation()
614 if (MasterImage.getImage().getCurrentFilterRepresentation() == filterRepresentation) { in removeFilterRepresentation()
620 public void useFilterRepresentation(FilterRepresentation filterRepresentation) { in useFilterRepresentation() argument
621 if (filterRepresentation == null) { in useFilterRepresentation()
624 if (!(filterRepresentation instanceof FilterRotateRepresentation) in useFilterRepresentation()
625 && !(filterRepresentation instanceof FilterMirrorRepresentation) in useFilterRepresentation()
626 && MasterImage.getImage().getCurrentFilterRepresentation() == filterRepresentation) { in useFilterRepresentation()
629 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 = MasterImage.getImage().getCurrentFilterRepresentation(… in getLocalRepresentation() local
199 mLocalRepresentation = preset.getFilterRepresentationCopyFrom(filterRepresentation); in getLocalRepresentation()
200 if (mShowParameter == SHOW_VALUE_UNDEFINED && filterRepresentation != null) { in getLocalRepresentation()
201 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()