Focal: add new api for detecting the widget we are in.

* use it for whether we are in hdr or not

* Add Samsung ZSL mode

Change-Id: I9558558777a11cc8f6b633e397c809aa6993ceaf
Default orientation to Portrait instead of Landscape

Change-Id: I797f58ad168a87d7c53313c948f30d8753d8d8e6
Merge "Default orientation to Portrait instead of Landscape" into cm-10.2
ReviewDrawer: New implementation

- 2 buttons to access gallery or filter editor
- Can swipe directly through the pictures
- Swipe down (in portrait) to delete

Change-Id: I75870bbd9aade6d0a7e22617122dc8129ac678c3
Focal : Add support library

Add v4 support library

Change-Id: Ibe3faaa72b1c1da361c0cca6d8df27000d971abd
Focal : Remove uneeded jar

Change-Id: I6b75d153819a75755830395a0236e0d6b1888bed
CameraManager: Fix NPE when camera is reset

Change-Id: I5b6912ea13901b60aedf037b946c232e470f3607
Preview: Use GL everywhere + UX changes

- All previews are now using OpenGL surface
- Mode is now retained after pressing back
- Various ReviewDrawer bugfixes
- Pictures orientation is now correct
- Fixed Notifier and FullScreen mode
- Fixed widgets buttons order

Change-Id: I8ea228d9b90a4c262608d96b4bcfefed0640ce5c
Focal: Fix widget highlighting

Fix bug where long pressing on an active widget would remove the highlight.
This becomes especially noticable when multiple widgets are active.

Change-Id: I63db6c51da6dcaf2b9c85f76544262fe7df07d6b
Merge remote-tracking branch 'cm/cm-10.2' into cm-10.2