Search in sources :

Example 1 with FilterCurvesRepresentation

use of com.android.gallery3d.filtershow.filters.FilterCurvesRepresentation in project android_packages_apps_Gallery2 by LineageOS.

the class EditorCurves method reflectCurrentFilter.

@Override
public void reflectCurrentFilter() {
    super.reflectCurrentFilter();
    FilterRepresentation rep = getLocalRepresentation();
    if (rep != null && getLocalRepresentation() instanceof FilterCurvesRepresentation) {
        FilterCurvesRepresentation drawRep = (FilterCurvesRepresentation) rep;
        mImageCurves.setFilterDrawRepresentation(drawRep);
    }
}
Also used : FilterCurvesRepresentation(com.android.gallery3d.filtershow.filters.FilterCurvesRepresentation) FilterRepresentation(com.android.gallery3d.filtershow.filters.FilterRepresentation)

Aggregations

FilterCurvesRepresentation (com.android.gallery3d.filtershow.filters.FilterCurvesRepresentation)1 FilterRepresentation (com.android.gallery3d.filtershow.filters.FilterRepresentation)1