diff options
author | Chih-Chung Chang <chihchung@google.com> | 2012-05-29 15:28:36 -0700 |
---|---|---|
committer | Chih-Chung Chang <chihchung@google.com> | 2012-05-29 21:14:38 -0700 |
commit | 860b7463c16f44a7b8fce01a79161ce3e8d47214 (patch) | |
tree | 05762a4a51727b31f77b841e2d7a29426140b366 /src/com/android/gallery3d/ui/GLRoot.java | |
parent | b603e674b9e0bc7372fd535f7f3ac0b9b4e3a689 (diff) | |
download | android_packages_apps_Snap-860b7463c16f44a7b8fce01a79161ce3e8d47214.tar.gz android_packages_apps_Snap-860b7463c16f44a7b8fce01a79161ce3e8d47214.tar.bz2 android_packages_apps_Snap-860b7463c16f44a7b8fce01a79161ce3e8d47214.zip |
Improve image size change handling.
- When the camera relative frame is set, we delay the change for camera
rectange until the next setImageSize call. This avoids the unwanted
intermediate state if we change them separately.
- Don't draw other screennails when the camera is in full screen. This
avoids showing other screennails when the image size changes.
- When the aspect ratio of the image changes, we assume the view angle
of the longer side doesn't change (so the aspect ratio change is because
the view angle of the shorter side changes). This matches what camera
preview does.
Bug: 6566612
Change-Id: I7603416f31c96ba77c96cdc2a3d0b79f8921c491
Diffstat (limited to 'src/com/android/gallery3d/ui/GLRoot.java')
0 files changed, 0 insertions, 0 deletions