Search in sources :

Example 6 with FilterVignetteRepresentation

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

the class EditorVignette method selectMenuItem.

protected void selectMenuItem(MenuItem item) {
    if (getLocalRepresentation() != null && getLocalRepresentation() instanceof FilterVignetteRepresentation) {
        FilterVignetteRepresentation csrep = (FilterVignetteRepresentation) getLocalRepresentation();
        switchToMode(csrep, getParameterIndex(item.getItemId()), item.getTitle().toString());
    }
}
Also used : FilterVignetteRepresentation(com.android.gallery3d.filtershow.filters.FilterVignetteRepresentation)

Aggregations

FilterVignetteRepresentation (com.android.gallery3d.filtershow.filters.FilterVignetteRepresentation)6 TextView (android.widget.TextView)2 BasicParameterInt (com.android.gallery3d.filtershow.controller.BasicParameterInt)2 FilterRepresentation (com.android.gallery3d.filtershow.filters.FilterRepresentation)2 MenuItem (android.view.MenuItem)1 View (android.view.View)1 PopupMenu (android.widget.PopupMenu)1 SeekBar (android.widget.SeekBar)1 Parameter (com.android.gallery3d.filtershow.controller.Parameter)1