OSDN Git Service

Support drawing in different orientation in Gallery.
authorChih-Chung Chang <chihchung@google.com>
Thu, 26 Apr 2012 02:10:49 +0000 (10:10 +0800)
committerChih-Chung Chang <chihchung@google.com>
Mon, 30 Apr 2012 08:16:26 +0000 (16:16 +0800)
commitad08811a71e246d45ecdf97402f08cf7bd68e83b
tree5f4eb9ad54e4c3d1aef67c4047624977d1f287e2
parentac9c2f6f230660a657f9d3b64c7a3bbf8b3bd598
Support drawing in different orientation in Gallery.

Bug 6312994: Swipe UX: do not directly show the camera roll when camera starts
Bug 6313191: Swipe UX: Change swipe direction after the user rotated the device
Bug 6313192: Swiping UX: make Gallery display in rotated mode
Bug 6399447: Filmstrip: in Gallery, pressing Back from filmstrip doesn't perform the right animation
Bug 6399974: Filmstrip: when swiping from full-screen photo to filmstrip mode, camera view and the photo-roll don't align correctly
Bug 6400014: Swiping UX: in Camera portrait mode, tapping on the Thumbnail doesn't align camera view and the photo-roll correctly
Bug 6401075: Able to scroll through the gallery pics while capturing video.
Bug 6405087: Filmstrip does not change with orientation

Change-Id: I8c479d87800c63b7a95c199c0c1c3bc512d66d42
18 files changed:
src/com/android/gallery3d/app/AbstractGalleryActivity.java
src/com/android/gallery3d/app/AlbumPage.java
src/com/android/gallery3d/app/AppBridge.java [new file with mode: 0644]
src/com/android/gallery3d/app/CameraScreenNail.java [deleted file]
src/com/android/gallery3d/app/GalleryActivity.java
src/com/android/gallery3d/app/OrientationManager.java [new file with mode: 0644]
src/com/android/gallery3d/app/PhotoDataAdapter.java
src/com/android/gallery3d/app/PhotoPage.java
src/com/android/gallery3d/app/SinglePhotoDataAdapter.java
src/com/android/gallery3d/ui/GLRoot.java
src/com/android/gallery3d/ui/GLRootView.java
src/com/android/gallery3d/ui/GLView.java
src/com/android/gallery3d/ui/PhotoView.java
src/com/android/gallery3d/ui/PositionController.java
src/com/android/gallery3d/ui/ScreenNailHolder.java [deleted file]
src/com/android/gallery3d/ui/TileImageView.java
tests/src/com/android/gallery3d/ui/GLRootMock.java
tests/src/com/android/gallery3d/ui/GLRootStub.java