summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/ui
Commit message (Collapse)AuthorAgeFilesLines
* Fix some bugs introduced by the ActionBarWrapper.Owen Lin2012-08-161-0/+1
| | | | | | bug: 6927267 Change-Id: If05082a4fec25f93d38c6096ebacc5a82e7e7c2e
* Add SimpleMenuXXX implementation for the Gingerbread platform.Owen Lin2012-08-151-2/+20
| | | | | | | | | | | | 1. Add a SimpleMenuInflator to parse the res/menu/xxx.xml files. 2. Add minimal code to show the menu. **NOTE** This change is going to be replaced by the ActionBar compat library when it gets ready and integrated. The purpose of this change is making Gallery/Camera run on GB. Change-Id: Ia7d402c82a6da1b9558ebbd103e161d2471b34dd
* Extract the action bar interface.Owen Lin2012-08-152-75/+44
| | | | | | | | | | | | | So that we can use different implementation for different API levels. **NOTE** This change is going to be replaced by the ActionBar compat library when it gets ready. The purpose of this change is making Gallery/Camera run on GB. bug: 6927267 Change-Id: Ic8bb2518918168ea889db6452d6760de390d96b2
* Merge "Extract EXIF info only for JPEG files" into gb-ub-photos-archesOwen Lin2012-08-131-2/+0
|\
| * Extract EXIF info only for JPEG filesOwen Lin2012-08-131-2/+0
| | | | | | | | | | bug: 6489840 Change-Id: I0ad682bffa5374d0d61ebaa502cc8b90e469b4c8
* | Show album counts in Gallery & other small reskin fixesBobby Georgescu2012-08-132-8/+10
|/ | | | | Bug: 6975144 Change-Id: I2f12c6482cc009aecbca3e26482ebd8944f01bb8
* Merge "First gallery reskin iteration." into gb-ub-photos-archesBobby Georgescu2012-08-105-14/+24
|\
| * First gallery reskin iteration.Bobby Georgescu2012-08-095-14/+24
| | | | | | | | Change-Id: I2b79ca9f40346a777141562c9a4762d7a8b460f6
* | Guard SurfaceTextureScreenNail with TargetApi.Wu-cheng Li2012-08-101-0/+1
|/ | | | | bug:6927809 Change-Id: If03ffbcbf908a960f00bba97be0cdbf317ecabe8
* Merge "Hold WakeLock during MTP import" into gb-ub-photos-archesBobby Georgescu2012-08-082-1/+28
|\
| * Hold WakeLock during MTP importBobby Georgescu2012-08-082-1/+28
| | | | | | | | | | | | | | Bug: 6680729 Bug: 6827858 Change-Id: Ida82db3288a429dacc5830b82ec6bbd954f75cf1
* | Rotate the texture in building PhotoFallbackEffectOwen Lin2012-08-081-3/+18
|/ | | | | bug: 6525127 Change-Id: Iba348450b62190a1a2149cf0d7f20f19625cb6cf
* Move motion event related methods to class MotionEventHelper.Ahbong Chang2012-08-071-94/+2
| | | | | Bug: 6943189 Change-Id: I9084cc8ebb501a5b772ed4e00bd64a3b2e8bafb3
* Do not use ShareActionProvider before API 14.Wu-cheng Li2012-08-012-15/+45
| | | | | | | | Use simple share intent before API 14. bug:6706723 Change-Id: I47930f0b81c7c8c1943054964a093967a7704bf1
* Manually transform the event coordinates on older platforms.Chih-Chung Chang2012-08-011-1/+94
| | | | Change-Id: I070b27112ea028f2a1596dcdfa480537765174b9
* Fix some lint warnings in Gallery.Owen Lin2012-07-301-0/+2
| | | | | | | 1. Implement our own openPipeHelper 2. Add @TargetApi to TileImageViewAdapter Change-Id: I74dca78c4c4f18e0f782afad02d5ba9b410a503e
* Code clean up.Ahbong Chang2012-07-3021-15/+85
| | | | | | | | | Remove unused imports. Remove unused fields. Remove unnecessary cast. Add missing override annotations. Change-Id: Idad2e587697a5015eb5363d7b71fab9de9cc8ffb
* Use actual selection for album/photo detailsMichael Kolb2012-07-262-8/+7
| | | | | | Bug: 6533154 Change-Id: I21ce95d79567396840f08095b986ecc54263a295
* Fix for monkey-generated NPE in PhotoView from bug 6848371Bobby Georgescu2012-07-251-0/+1
| | | | | | | | | In other parts of the code, there are checks for getGLRoot returning null, and one was missing here. Bug: 6848371 Change-Id: I3a7a1e1ea9847a43f4791de84f5f70cc27d53a1a
* Use our own OverScroller for backward compatibility.Owen Lin2012-07-241-1/+1
| | | | Change-Id: Ibcf48a638ab716116d1ce2ff8c2686741ca0a996
* Make CustomMenu compatible with API level 10.Owen Lin2012-07-174-117/+271
| | | | | bug: 6802855 Change-Id: I230c91bd9744935a181881131dcd2275ed89d819
* Only use SurfaceTexture.release and setIconAttribute on newer platforms.Chih-Chung Chang2012-07-131-1/+8
| | | | | | Bug: 6706784 Change-Id: Ic1bb2bb27c3184d791de566d88dbade039fb9d87
* Avoid using setSystemUiVisibility in old platforms.Yuli Huang2012-07-061-0/+2
| | | | | | bug:6785569 Change-Id: I0a19ab2818b6f34d530c5d65e781d3168533d44f
* Don't test the EXTRA_LOCAL_ONLY before HC.Owen Lin2012-07-051-4/+2
| | | | Change-Id: Idebb2aba994e38cf7eead795f1834ff98eaec27d
* Remove dependencies on APIs only exist on newer platforms.Chih-Chung Chang2012-07-033-6/+19
| | | | Change-Id: I606a23863247454051dd183ddf6b77f6bc882685
* Don't reuse bitmap before HoneyComb.Owen Lin2012-07-034-10/+17
| | | | Change-Id: I0df9bf0a8f43e28ed25b436d4c584dc3ceb43c1d
* Avoid using View.SYSTEM_UI_FLAG_LOW_PROFILE.The Android Open Source Project2012-07-021-4/+2
| | | | | | | Use View.STATUS_BAR_HIDDEN instead. Bug:6706727 Change-Id: I0324a251b10eba11350f1813ee975d493bbcfafa
* Do not use NfcAdapter API in old platforms.Yuli Huang2012-06-291-10/+14
| | | | | bug:6698904 Change-Id: I8cab312a212e4cba43187a73bc76d3f2164527a9
* Don't use Build.VERSION_CODES.Owen Lin2012-06-281-2/+1
| | | | | | | | Since they won't be available on old platform. bug: 6752318 Change-Id: I55a9e83dbf05b93c83c68cb31f6edcbc29793283
* Don't reuse bitmaps in BitmapRegionDecoder before JB.Owen Lin2012-06-282-5/+58
| | | | Change-Id: I8a2f520f98116af6861fa2cd1460e6f848bbb4e4
* am 64cebdd1: am 6118af9d: Fix the behavior of deleting the last picture.Chih-Chung Chang2012-06-261-13/+53
|\ | | | | | | | | * commit '64cebdd1eebd2c001e6680f247c6f741889ad989': Fix the behavior of deleting the last picture.
| * Fix the behavior of deleting the last picture.Chih-Chung Chang2012-06-261-13/+53
| | | | | | | | | | | | | | Also fix the jank while deleting multiple pictures quickly. Bug: 6713932, 6712555 Change-Id: I9d64d8bbdcd4ec0dc9a447a51d50f88ff27363b4
* | Merge "Use public OverScroller() instead of a hidden one.."Pin Ting2012-06-251-8/+8
|\ \
| * | Use public OverScroller() instead of a hidden one..Pin Ting2012-06-231-8/+8
| | | | | | | | | | | | | | | Bug:6698374 Change-Id: I3a97d0b4bbfb5e2a1e9f4a656d39db636defcdbd
* | | Guard the use of SYSTEM_UI_FLAG_XXXX with TargetApiOwen Lin2012-06-221-5/+11
| | | | | | | | | | | | | | | | | | bug: 6698718 Change-Id: I6962f0128ce2bd57658b7f3b77d2bc150eff1f60
* | | am 254a6b42: am 82220026: Merge "Fade in/out the undo bar." into jb-devWei Huang2012-06-202-3/+112
|\ \ \ | |/ / |/| / | |/ | | * commit '254a6b42372179bcc9cf6166639325d11411be77': Fade in/out the undo bar.
| * Fade in/out the undo bar.Chih-Chung Chang2012-06-202-3/+112
| | | | | | | | | | | | | | | | The fading out happens after 3 seconds or the user swipes away. Bug: 6610348 Change-Id: Icd4dea7b0396f26556240adab93b9e645a9f1e58
* | Move LongSparseArray into Gallery for unbundling.Owen Lin2012-06-201-1/+1
|/ | | | Change-Id: Ifa0d06818a2d21bd8ddeabe808d792f39c31322f
* Merge "Fix Gallery glitch due to ColorTexture." into jb-devWei Huang2012-06-181-1/+1
|\
| * Fix Gallery glitch due to ColorTexture.Owen Lin2012-06-191-1/+1
| | | | | | | | | | | | | | | | | | Change the initial value of mTextureTarget to GL_TEXTURE_2D, since it is default enabled. bug:6668616 Change-Id: I4bf475ca1a02fed3371e8223003a10e88ce8d519
* | Fix scaling gesture responsiveness.Chih-Chung Chang2012-06-182-7/+16
| | | | | | | | | | Bug: 6632011 Change-Id: I9cfeafa4365354a631565f8ee4a9b53df76d06e9
* | Add swipe-to-delete gesture.Chih-Chung Chang2012-06-187-139/+750
|/ | | | Change-Id: I992e59702f9dfff17da2f4464e48c9228d42b1b3
* Don't display loading text when loading album sets.Yuli Huang2012-06-111-5/+0
| | | | | bug:6635606 Change-Id: I55f0dafd5ead8455ed8bee1f03c06ca03662ebbd
* Update the screen nail size even if screen nail is still the same one.Chih-Chung Chang2012-06-011-2/+1
| | | | | | | Because the rotation value may have changed. Bug: 6594218 Change-Id: I8da2a3041da0e27e1b80723dab8a825a2350c2dd
* Improve scale gesture snapback.Chih-Chung Chang2012-05-311-23/+48
| | | | | | | | | If the picture is zoomed-in, we want to keep the focus point stay in the same position on screen, so we need to adjust the target mCurrentX value. Bug: 6563619 Change-Id: I87b23da99aced1490187e550bd43fad733122577
* If the focused box was at minimal scale, we try to make it theChih-Chung Chang2012-05-301-0/+9
| | | | | | | minimal scale under the new view size. Bug: 6584425 Change-Id: I7dcc748cb3659a06f2ca4d8550d075fdda2949fa
* Move to final position after view size change.Chih-Chung Chang2012-05-302-3/+8
| | | | | Bug: 6584188 Change-Id: If6ab23532bd7040701e358f9cdd813d2f6a71e5c
* Improve image size change handling.Chih-Chung Chang2012-05-292-60/+101
| | | | | | | | | | | | | | | | | | - 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
* Force to stop scrolling in filmstrip mode.Angus Kong2012-05-241-0/+1
| | | | | bug:6554106 Change-Id: I4305ce7068a36e72a325996a88c1d227a2d2b20c
* Merge "Put a black View in front of SurfaceView." into jb-devChih-Chung Chang2012-05-231-0/+17
|\