It's a working example to apply photo effects using Media Effects APIs; Effect, EffectContext and EffectFactory.
Download the source code files (Android Studio Format) .
Download the APK .
The Open Document, FloatingActionButton and Snackbar parts come from last example "Hello World to open photo using Intent.ACTION_OPEN_DOCUMENT, with FloatingActionButton and Snackbar".
The Media Effect part copy from a sample of Media Effects, come with Android Studio. You can import sample in Android Studio to check the details.