import com.android.gallery3d.R;
import com.android.gallery3d.app.PhotoPage;
import com.android.gallery3d.data.LocalAlbum;
+import com.android.gallery3d.filtershow.editors.EditorGrad;
import com.android.gallery3d.filtershow.pipeline.CachingPipeline;
import com.android.gallery3d.filtershow.cache.ImageLoader;
import com.android.gallery3d.filtershow.category.Action;
}
private void fillEditors() {
+ mEditorPlaceHolder.addEditor(new EditorGrad());
mEditorPlaceHolder.addEditor(new EditorDraw());
mEditorPlaceHolder.addEditor(new BasicEditor());
mEditorPlaceHolder.addEditor(new ImageOnlyEditor());
mShowingImageStatePanel ? "ShowPanel" : "HidePanel");
return true;
}
+ case R.id.exportFlattenButton: {
+ Uri sourceUri = MasterImage.getImage().getUri();
+ File dest = SaveImage.getNewFile(this, sourceUri);
+ Intent processIntent = ProcessingService.getSaveIntent(this, MasterImage.getImage()
+ .getPreset(), dest, getSelectedImageUri(), sourceUri, true);
+ startService(processIntent);
+ return true;
+ }
case android.R.id.home: {
saveImage();
return true;
super.onConfigurationChanged(newConfig);
setDefaultValues();
loadXML();
+ fillCategories();
loadMainPanel();
// mLoadBitmapTask==null implies you have looked at the intent