diff options
author | Sam Judd <judds@google.com> | 2014-03-21 13:25:48 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-03-21 13:25:48 -0700 |
commit | 553a0a5508d0a476c1cebc1297ca6385924376f2 (patch) | |
tree | 2dbf1a70001c37870e37270450c7607932d4c935 /src/com/android/camera/filmstrip | |
parent | 82411163a2467b2bc3dd42da183f98638365ad8a (diff) | |
parent | 48d6492ccc56cb7d62a30ecc1f8576dc44e25718 (diff) | |
download | android_packages_apps_Camera2-553a0a5508d0a476c1cebc1297ca6385924376f2.tar.gz android_packages_apps_Camera2-553a0a5508d0a476c1cebc1297ca6385924376f2.tar.bz2 android_packages_apps_Camera2-553a0a5508d0a476c1cebc1297ca6385924376f2.zip |
am 48d6492c: Merge "Best effort fix to prevent stretched videos." into gb-ub-photos-denali
* commit '48d6492ccc56cb7d62a30ecc1f8576dc44e25718':
Best effort fix to prevent stretched videos.
Diffstat (limited to 'src/com/android/camera/filmstrip')
-rw-r--r-- | src/com/android/camera/filmstrip/FilmstripController.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/com/android/camera/filmstrip/FilmstripController.java b/src/com/android/camera/filmstrip/FilmstripController.java index 46ba12b05..e3a6484cd 100644 --- a/src/com/android/camera/filmstrip/FilmstripController.java +++ b/src/com/android/camera/filmstrip/FilmstripController.java @@ -250,5 +250,15 @@ public interface FilmstripController { * @param newDataId The ID of the focused data of {@code -1} if none. */ public void onDataFocusChanged(int prevDataId, int newDataId); + + /** + * The callback when we scroll. + * + * @param firstVisiblePosition The position of the first rendered item (may be slightly offscreen depending on + * the orientation of the device). + * @param visibleItemCount The total number of rendered items. + * @param totalItemCount The total number of items in the filmstrip. + */ + public void onScroll(int firstVisiblePosition, int visibleItemCount, int totalItemCount); } } |