Search in sources :

Example 1 with FilterRedEyeRepresentation

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

the class EditorRedEye method reflectCurrentFilter.

@Override
public void reflectCurrentFilter() {
    super.reflectCurrentFilter();
    FilterRepresentation rep = getLocalRepresentation();
    if (rep != null && getLocalRepresentation() instanceof FilterRedEyeRepresentation) {
        FilterRedEyeRepresentation redEyeRep = (FilterRedEyeRepresentation) rep;
        mImageRedEyes.setRepresentation(redEyeRep);
    }
}
Also used : FilterRedEyeRepresentation(com.android.gallery3d.filtershow.filters.FilterRedEyeRepresentation) FilterRepresentation(com.android.gallery3d.filtershow.filters.FilterRepresentation)

Aggregations

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