summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/filmstrip
diff options
context:
space:
mode:
authorAngus Kong <shkong@google.com>2014-01-13 15:06:17 -0800
committerAngus Kong <shkong@google.com>2014-01-14 14:31:11 -0800
commit4567160a43fa5787012bf0b618c216cf18ac0457 (patch)
tree4340b161e0affa86abd19b4bcdd97f8ed9e4ffdd /src/com/android/camera/filmstrip
parent796a3099e03efe661e4a58ef26c5b554734f1898 (diff)
downloadandroid_packages_apps_Camera2-4567160a43fa5787012bf0b618c216cf18ac0457.tar.gz
android_packages_apps_Camera2-4567160a43fa5787012bf0b618c216cf18ac0457.tar.bz2
android_packages_apps_Camera2-4567160a43fa5787012bf0b618c216cf18ac0457.zip
Add more filmstrip fullscreen states.
And callbacks for new state events also. bug:12468756 Change-Id: I0ebdd99f251394a871c1e050e565fc5cd1706324
Diffstat (limited to 'src/com/android/camera/filmstrip')
-rw-r--r--src/com/android/camera/filmstrip/FilmstripController.java22
1 files changed, 18 insertions, 4 deletions
diff --git a/src/com/android/camera/filmstrip/FilmstripController.java b/src/com/android/camera/filmstrip/FilmstripController.java
index 571589c05..658278589 100644
--- a/src/com/android/camera/filmstrip/FilmstripController.java
+++ b/src/com/android/camera/filmstrip/FilmstripController.java
@@ -187,18 +187,32 @@ public interface FilmstripController {
public void onDataUpdated(int dataId);
/**
- * The callback when the item enters full-screen state.
+ * The callback when the item enters augmented full-screen state.
*
* @param dataId The ID of the current focused image data.
*/
- public void onEnterFullScreen(int dataId);
+ public void onEnterFullScreenUiShown(int dataId);
/**
- * The callback when the item leaves full-screen.
+ * The callback when the item leaves augmented full-screen.
*
* @param dataId The ID of the current focused image data.
*/
- public void onLeaveFullScreen(int dataId);
+ public void onLeaveFullScreenUiShown(int dataId);
+
+ /**
+ * The callback when the filmstrip enters no UI full-screen.
+ *
+ * @param dataId The ID of the current focused image data.
+ */
+ public void onEnterFullScreenUiHidden(int dataId);
+
+ /**
+ * The callback when the filmstrip leaves no UI full-screen.
+ *
+ * @param dataId The ID of the current focused image data.
+ */
+ public void onLeaveFullScreenUiHidden(int dataId);
/**
* The callback when the item enters filmstrip.