summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/ui
Commit message (Collapse)AuthorAgeFilesLines
* Gallery2: Remove 3D overscroll effectMichael Bestas2018-11-204-268/+8
| | | | Change-Id: Ia711a824e353ac45a3f0013c315e8727f0c40c3e
* Gallery2: Update themeJoey Rizzoli2018-11-201-1/+2
| | | | | | | * Expose icons colors too Change-Id: If2a7cac0779e20f39fdb3037df9d48581106ef3e Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
* Gallery2: Change all share intents to chooser stylemaxwen2018-11-201-21/+18
| | | | Change-Id: Ie4387846ad65dcb7a655630dd86047d5ad63bcb9
* Gallery2: Add record time to details viewFlamefire2018-11-202-0/+18
| | | | Change-Id: Idef3a68699fc25898f9408b64afc6a7c6b45a86e
* Gallery: TileImageView: fix NPEAnas Karbila2018-11-201-1/+1
| | | | | | | * GetGLRoot() can return null when the job is still running but the GL has already been detached Change-Id: Ic58b4752f64390efdf14ca1a33a81a8f77100ee0 Signed-off-by: Alex Naidis <alex.naidis@linux.com>
* Fix the issue of view don't reload when onPausejinwu2018-11-131-1/+0
| | | | | | Just let the view go normally when menu of via as show. Change-Id: I31f3e702b7f42cbc86a90eee4ea1510e721121c1
* Gallery2: Support GIF animationLikai Ding2018-11-101-2/+2
| | | | | | | This change implements a Java GIF decoder. Change-Id: I227cef76cbacd66b7e87bc59b4f07d518b70a859 Signed-off-by: Xiaojing Zhang <zhangx@codeaurora.org>
* Fix focus close when Up event occurs before destroyzhuw2018-04-221-1/+3
| | | | | | add null point filter Change-Id: I767ff9f9d493957c958d3b844f3c943b291c5cbb
* Speeding up decoding imagejinwu2017-09-073-8/+14
| | | | | | | | 1. Enlarge the image cache of Thumbnail when scale is too small. 2. Make image about 1.5 bigger than original after double tap. Change-Id: I59288a6517dc3a3ce7394a473142d25c5fe02013 CRs-Fixed: 2094870
* Fix crash when show dialog after onSaveInstanceStatezhuw2017-06-281-0/+57
| | | | | | | | 1. add BaseDialogFragment and overwrite show(...) 2. modify some subclass of DialogFragment to extend BaseDialogFragment Change-Id: Ic15d1d712f0fa08da741e22bec680d01c20a22cd CRs-Fixed: 2062499
* SnapdragonGallery: update source codejinwu2017-04-103-0/+6
| | | | | | | Update the newest source code from N to O. Change-Id: I4404638c3111c40bb5d182c770383d9d4760eec2 CRs-Fixed: 2021069
* SnapdragonGallery: Fix select picture error when RTL.shenfe2016-11-111-4/+0
| | | | | | | Delete the surplus compute about col. Change-Id: I303e60aab0aac61e32b43d50924430ec9d7ef09c CRs-Fixed: 1087616
* SnapdrgonGallery: Fix app force close because of lack of info.shenfe2016-11-021-3/+6
| | | | | | | If lack of info, display null. Change-Id: Ib0974d314825ab81da27f64b7d2af71963ede379 CRs-Fixed: 1062092
* SnapdragonGallery: Fix photo show blank.shenfe2016-10-231-0/+4
| | | | | | | If the picture not running complete, it can't be selected. Change-Id: Id8d96e484f7ab12b3c360e6ec9d5a9faaf714fd3 CRs-Fixed: 1080039
* SnapdragonGallery: Fix PhotoView leakKedi Xu2016-09-262-0/+9
| | | | | | | Fast entry and exit PhotoPage, will lead to OOM. Change-Id: I1f43ce224d4bbe6e49b49b3affeaffae7a9722e2 CRs-Fixed: 1070587
* Merge "Gallery: speed up TileImageView"Linux Build Service Account2016-09-141-15/+8
|\
| * Gallery: speed up TileImageViewLikai Ding2016-07-201-15/+8
| | | | | | | | | | | | | | | | | | | | For a 1920x1080 screen, 40 256x256 tiles are needed. However, tile uploading is limited to 1 tile per frame, which will last for 40 frames in this case. Remove the limit and use available time in onGLIdle(). Change-Id: I688a158dff0c03aca2d7f063df6134b0ffc0b08a CRs-Fixed: 962597
* | Merge "SnapdragonGallery: Fix display "Deselect all" when leaving selected mode"Linux Build Service Account2016-09-123-0/+18
|\ \
| * | SnapdragonGallery: Fix display "Deselect all" when leaving selected modezhuw2016-09-043-0/+18
| | | | | | | | | | | | | | | | | | | | | Add a value to prevent popup showing when leaving selected mode Change-Id: I880ad0c55615e4fca39759280e858e5fde1337b7 CRs-Fixed: 1063256
* | | SnapdragonGallery: Fix first picture thumbnail doesn't showKedi Xu2016-09-081-1/+3
|/ / | | | | | | | | | | | | | | When delete the last picture and add one picture, the first picture's thumbnail doesn't show. Change-Id: I5d73f11a28d2f649e102ee127909632cc446fd75 CRs-Fixed: 1062720
* | SnapdragonGallery: Fix anr in PotoPageKedi Xu2016-09-023-64/+0
| | | | | | | | | | | | | | | | When lock and unlock the screen in PotoPage, Gallery will anr because of dead lock. Change-Id: I3bdda0d69d7dcd7ee2317a9bdd5c2c4ad14b1034 CRs-Fixed: 1059897
* | SnapdragonGallery: Fix select number show nagtiveKedi Xu2016-08-041-1/+44
|/ | | | | | | | When no items in gallery, then select all, screenshort, deselect the picture, shows -1 Change-Id: Ic3cffb4275af0aa20c8d2b326471979b74e10041 CRs-Fixed: 1049620
* Merge "Gallery: Modify some layout according to UX."Linux Build Service Account2016-07-112-2/+15
|\
| * Gallery: Modify the layout according to UX design document.Chao Zhang2016-07-082-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | 1. Modify toolbar layout according to UX design document. 2. Add touch effect to all buttons if need. 3. Modify video gesture indicator text color. 4. Don't use createChooser if only one app resolve Intent. 5. Modify export dialog layout in Photo Editor. 6. Modify truescanner icon. 7. Modify filter's label color. Change-Id: I987966ce76e5cab7bc50e5d2e52d1f7b5bdf2113 CRs-Fixed: 1017208
* | Gallery: fix lock/unlock orderLikai Ding2016-07-071-2/+2
|/ | | | | | | Fix lock/unlock order to prevent ANR. Change-Id: I08cee044f9ba10461a276ab2b8af877f821324f4 CRs-Fixed: 1011429
* Gallery2: Fix force close when copy pictures from PC to DUThuiyan2016-06-141-3/+6
| | | | | | | | | | | When copying pictures IndexOutOfBoundsException occur, and the reference is null before invoking it. Make sure the index is not out bounds. Determine whether the reference is null before invoking it. Change-Id: I35752c2fee23efd092e0bb2171d0e50cb6110bad CRs-Fixed: 1002766
* Gallery: fix several lint issuesLikai Ding2016-06-062-25/+9
| | | | | CRs-Fixed: 1024516 Change-Id: Ia629e83e244fd1400b87edfefdba0b9a540d8153
* Gallery: remove fade-in animationLikai Ding2016-06-061-9/+0
| | | | | | | Remove fade-in animation for timeline items so it looks faster. CRs-Fixed: 1024519 Change-Id: I30231880d023374f7bb7af6c3f80d9d4fc749815
* Gallery: faster texture uploadLikai Ding2016-06-064-4/+13
| | | | | | | | | | TileTexture.Uploader uses a fixed time slot (4ms) to upload tiles. However, typical GL idle time is much longer than that. To better utilize it, a third parameter is added to onGLIdle method to indicate the due time. This can cut ~170ms on certain devices. CRs-Fixed: 1024519 Change-Id: I8347b87f85815a4deaf10eb10f234a56b047681e
* Gallery: SystemProperties wrapperLikai Ding2016-06-031-7/+1
| | | | | CRs-Fixed: 986672 Change-Id: I84c1c24604ef2bb5890e8054f4a8ef9b43f1a07e
* Gallery: rename project and make it buildLikai Ding2016-05-2919-19/+19
| | | | Change-Id: I18f3b067694be923a263732a90b8e59904db0186
* Gallery2: modify some UI interface according to UI document.Chao Zhang2016-05-063-4/+9
| | | | | | | | | | | 1. Modify layout of actionbar when selected photo; 2. Modify menu string in Video Page; 3. Modify compare button's position in photo editor; 4. Modify bottom panel's height in photo editor; 5. Set video play icon to 48dp in PhotoView; Change-Id: Ic660d5dde87998e87eb02482ac7ba7e2ba2f0bb1 CRs-Fixed: 1010984
* Merge "Gallery2: fix photo count display abnormal on Timeline title." into ↵Linux Build Service Account2016-04-201-2/+0
|\ | | | | | | android_ui.lnx.1.2-dev
| * Gallery2: fix photo count display abnormal on Timeline title.Chao Zhang2016-04-191-2/+0
| | | | | | | | | | | | | | Don't ellipsis photo count string on Timeline title. Change-Id: I348bb6b31daff516c50530d4d393481041ada84e CRs-Fixed: 1000943
* | Gallery: fix crash after deletionLikai Ding2016-04-151-15/+22
|/ | | | | | | | If an image is deleted, before UI update, it can still be selected. Add checks to avoid crash. Change-Id: I1eaa74fb62c5f4d205b82854bc75d442bf59fee0 CRs-Fixed: 991985
* Merge "Gallery2: Fix NullPointerException when scroll pictures in TimeLine." ↵Linux Build Service Account2016-04-071-3/+4
|\ | | | | | | into android_ui.lnx.1.2-dev
| * Gallery2: Fix NullPointerException when scroll pictures in TimeLine.zdi2016-04-041-3/+4
| | | | | | | | | | | | | | | | Fix NullPointerException when scroll pictures in TimeLine with steps: scroll pictures --> slideshow --> backpress. Change-Id: I5d43f8951aeea3bc5dabb306be5366d7db108b39 CRs-Fixed: 980466
* | Gallery2: Fix the selected picture is not selected after unlock.huiyan2016-03-291-1/+4
|/ | | | | | | | | | | The TimeLinePage leave selection mode when onPause. So the selected picture is not selected when onResume. The TimeLinePage don't leave selection mode when onPause. If page is in selection mode, make toolbar invisible when onResume. Change-Id: Ieecdca955e66d783ada293db2b43039948fc443c CRs-Fixed: 986687
* Merge "Gallery2: enhance performance of update supported operation." into ↵Linux Build Service Account2016-03-291-23/+60
|\ | | | | | | android_ui.lnx.1.2-dev
| * Gallery2: enhance performance of update supported operation.Chao Zhang2016-03-271-23/+60
| | | | | | | | | | | | | | | | | | | | | | | | getSelectedMediaObjects() in updateSupportedOperation() is low performance if there are lots of photos, so menu options will not in correct state immediately, then crash occurred if click menu option. Use mSelectionManager.getSelectedCount() before getSelectedMediaObjects() to disable menu options and share items if need. Change-Id: I937a219ed294151c464f1d7b6ba2e526eef00c82 CRs-Fixed: 985315
* | Merge "Gallery2: Play gif photo directly in photopage" into ↵Linux Build Service Account2016-03-291-2/+2
|\ \ | | | | | | | | | android_ui.lnx.1.2-dev
| * | Gallery2: Play gif photo directly in photopagehuiyan2016-03-271-2/+2
| |/ | | | | | | | | | | | | Implement new feature: Remove play icon and play the gif photo directly Change-Id: I95f82ca8ab912a98a5120ce2c01fe2fe33c9a875 CRs-Fixed: 987942
* / Gallery: improve timeline loading performanceLikai Ding2016-03-283-252/+153
|/ | | | | | | | | Rewritten TimeLineSlotView for memory consumption and performance. Slot position can be calculated by SubMediaSetCount on the fly. There is no need to iterate over all media items. Change-Id: I4372e0fa949b3321b9eb0ff476be52b6c8098a3b CRs-Fixed: 984190
* Gallery2: Adjust the style of share and change icons in action barhuiyan2016-03-241-9/+8
| | | | | | | | Implement new requirement: change the share option to diplay in screen bottom, and change the svg image of icons in tool bar. Change-Id: I7b49232b83379a16bc6e962d0c3d009cbf0cfe24 CRs-Fixed: 988020
* Merge "Gallery2: fix no prompt when select a album which include 300 ↵Linux Build Service Account2016-03-241-5/+28
|\ | | | | | | photos." into android_ui.lnx.1.2-dev
| * Gallery2: fix no prompt when select a album which include 300 photos.Chao Zhang2016-03-231-5/+28
| | | | | | | | | | | | | | when select a album, it need calculate the count of all items. Change-Id: Id137b8da9cec520106aa5c87ccaeed2bb519357e CRs-Fixed: 989257
* | Merge "Gallery2: fix panorama picture display abnormal in list view mode." ↵Linux Build Service Account2016-03-231-1/+8
|\ \ | |/ |/| | | into android_ui.lnx.1.2-dev
| * Gallery2: fix panorama picture display abnormal in list view mode.Chao Zhang2016-03-171-1/+8
| | | | | | | | | | | | | | | | | | | | Panorama picture's rotation is 90, it will display abnormal if rendered in a rectangle canvas. In list view mode, let content always rendered in a square canvas. Change-Id: Idf5550661f016a9c202a2f2941c4bb93f29afd44 CRs-Fixed: 984855
* | Merge "Gallery2: Modify the UI of audio effect." into android_ui.lnx.1.2-devLinux Build Service Account2016-03-171-1/+2
|\ \
| * | Gallery2: Modify the UI of audio effect.zdi2016-03-101-1/+2
| |/ | | | | | | | | | | | | Modify the UI of audio effect according to UX specification document. Change-Id: I03b337290f4d8dbf3600ee04c3796a5883c03046 CRs-Fixed: 986763