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)
commitbd141b5a51c96f6fcaddfa547f0928ce69cf0755
tree61bfe751ed08445400977f7c2a2ec3092b43888c
parent23a5e6f233f688f2e1ca2b10b5d1c615a263e83d
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