Search in sources :

Example 1 with FilterTinyPlanetRepresentation

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

the class EditorTinyPlanet method reflectCurrentFilter.

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

Aggregations

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