photophase: use etc1 compression when available

When avaliable this help to decrease the memory footprint. ETC1 compression
requieres to:
- be supported by opengl
- picture couldn't have an alpha channel
- compression times shouldn't be too higher (< 1000 ms)
- initial pictures doesn't be compressed (to speed up boot)

Change-Id: I87e41db3ca7f2ccb82d4af2763609f11d7e67121
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
photophase: increase max acceptable compression time

Change-Id: I43406a07d422f98fc2ab41006b922ff2ed9f8a21
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
photophase: revert etc1 compression feature

Etc1 compression is causing native crashes in maguro and other collateral errors

Change-Id: I84b0c1e0cec8f12c59eb126ceafb12fa8d589d09
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
photophase: prevent npe on low memory

Change-Id: I8d14f08219fd95db0bc068b79ba97f5461c9ac95
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Merge "photophase: prevent npe on low memory" into cm-11.0
photophase: prevent user to operation while album adapter is still in load progress

Change-Id: I783de9a8ec072e4d8d2d27fa9dc9c5c482eb2196
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Merge "photophase: prevent user to operation while album adapter is still in load progress" into cm-11.0
Automatic translation import

Change-Id: Idd012f4a39c44e107a9633847b77d4ee05a4b727