Consolidate PiP demos in ApiDemos app
Put various configurations for PiP into one Activity, access by navigate
to `App > Activity > Picture in Picture`. Current supports
- Enter PiP with on-screen button
- Enter PiP by swiping up to home or tap on home button
- Toggle the auto enter PiP flag on and off
- Toggle the source rect hint on and off
- Toggle the seamless resize flag on and off
- Change the position of current and next source rect hint
- Tablet layout on foldables
The upcoming content PiP will also be hosted here.
Added also support passing the intent extra, full command
```
adb shell am start \
--ez auto_pip [true|false] \
--ez source_rect_hint [true|false] \
--ez seamless_resize [true|false] \
--es current_position [start|end] \
com.example.android.apis/.app.PictureInPicture
```
Bug: 175727044
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/gdcklbUsT7SmbUhNcVSXfd
Test: manual, see Video
Change-Id: I60233f2d6e428d11d4ab1b566e36c38fd4c4f937
11 files changed