summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/app
Commit message (Collapse)AuthorAgeFilesLines
* Gallery2: Fix potential crashMichael W2018-11-201-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Author: Michael W <baddaemon87@gmail.com> Date: Wed Jul 12 14:16:42 2017 +0200 Gallery2: Fix potential crash * A race between deleting and displaying videos seems to report a higher count of videos available than actually accessible. BUGBASH-489 Change-Id: Iac24002feb8701cc4182c3834f663be017b625d5 Author: KhabarlakKonstantin <habarlack@gmail.com> Date: Tue Oct 3 11:22:40 2017 +0300 Fix crash after deleting a video on Albums tab getMediaItem can return empty list if no more media items available, break folder processing then Number of items returned by getMediaItem can be inconsistent with getMediaItemCount Change-Id: I7f2abce5d3832a1b2c1fe068b629a3474ed742e2 Change-Id: Ibcaeff698da118f484a6f38528b4a2111a009fdd
* Gallery2: Fix views overlapCagdas Caglak2018-11-201-1/+8
| | | | | | | | "No photos found" and camera button were overlapped. Camera button layout params changed and it was moved no data text below and aligned center horizontal. Change-Id: Idd76efaa54dd178eb3ff2cb5fae3ca17ef5acea3
* Gallery2: Everyone or no oneJoey Rizzoli2018-11-201-26/+1
| | | | | | | | hide statusbar only when toolbar is hidden when viewing photo / video for better ui consistency Change-Id: I64e3a951a13a765f38df83de290d9b0d167c90f7 Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
* Gallery2: Replace hamburger menu with bottom barJoey Rizzoli2018-11-206-162/+58
| | | | | Change-Id: I20caa58fe11ee6f4148cb0bcb0ccbcdcf3a9612e Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
* Gallery2: Update menuJoey Rizzoli2018-11-203-6/+0
| | | | | Change-Id: I84a09530a44b2a36d6330a2f2a4bb4baf084191e Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
* 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-203-58/+47
| | | | Change-Id: Ie4387846ad65dcb7a655630dd86047d5ad63bcb9
* Gallery2: Make sure no NPE happensMichael W2018-11-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | Author: Michael W <baddaemon87@gmail.com> Date: Sat Jun 4 16:10:05 2016 +0200 Gallery2: Make sure no NPE happens Fix for the case when getExternalCacheDir returns null Change-Id: I15f4a4a37ac44d70d14ac08cd743d3327f91dde1 Author: Michael W <baddaemon87@gmail.com> Date: Tue Jun 7 21:05:00 2016 +0200 Gallery2: Remove more possible NPEs getCache can return null -> check this before proceeding Change-Id: I834780a4dafbe22f2d345fe5571cb20f3f3e5e2e Change-Id: I820d8314f855329885f6b7ca710efa981b9d327c
* Gallery2: Reduce logspam in video playeremancebo2018-11-204-34/+84
| | | | Change-Id: I71b1356f7e326174378c99b4b0e5e60764a7c139
* Gallery2: Try to open existing cameraMichael W2018-11-201-1/+1
| | | | | | | | | Do not just open Camera2, just open any existing cam Also get rid of context parameter as it's unused (Reference: BugReports 13-20160506-12 Line #5) Change-Id: I120a1561aeceda2fc23721aa2ff4d68710fab76c
* Don't show Camera Icon when no pictures found in Albumsjinwu2018-11-131-6/+0
| | | | | | Remove the camera icon and show action. Change-Id: I758ce1ebc4e25128023423c456b59300cd724f29
* SnapdragonGallery: Fix FC when init() before setContentViewzhuw2018-11-101-1/+5
| | | | | | | don't run init() before setContentView Change-Id: I98ebd60bc6b3a5e5590b3d35fadfc5cf77f55d94 CRs-Fixed: 2161808
* Gallery2: Support GIF animationLikai Ding2018-11-101-0/+10
| | | | | | | This change implements a Java GIF decoder. Change-Id: I227cef76cbacd66b7e87bc59b4f07d518b70a859 Signed-off-by: Xiaojing Zhang <zhangx@codeaurora.org>
* Gallery2: Remove slideshow option if there are only videosyanglv2018-11-101-0/+31
| | | | | | | | | | | Enter Gallery and open folder whose files are all video, press menu key should no slideshow option. Add condition to remove slideshow if the folder are all video files. CRs-Fixed: 574984 Change-Id: Ib1603f1609b6490e44039ab64abefb44f14bd477
* Fix video play status error when press power button twicezhuw2018-09-251-2/+5
| | | | | | | don't response to ACTION_USER_PRESENT before receive ACTION_SCREEN_OFF Change-Id: Ia8b27551e8b987da235c068c774fb2443df6d910
* fix force close during sharezhuw2018-09-201-0/+4
| | | | | | can't share uri started with file: Change-Id: If1be32ce2d6afee444cb926e0c5921325689e69e
* fix video and music can be played at same timezhuw2018-09-191-1/+3
| | | | | | requestAudioFocus() before play video in Gallery Change-Id: If70e51eb86d7d4379473cf5bd2185bed9bb03eaa
* SnapdraongGallery:PrintHelper errorjunjiez2018-09-141-0/+2
| | | | | | | | Catch RuntimeException thrown by PrintHelper when fails to print image to avoid FC Change-Id: I517e48bbfa816fe226a783149551cb9fcdca0dfe CRs-Fixed: 2307627
* Merge "Add a property to control audio effect"Linux Build Service Account2018-09-021-7/+10
|\
| * Add a property to control audio effectjinwu2018-08-271-7/+10
| | | | | | | | Change-Id: Ib97f9387f6e1912c1dacc349e99e02ef1c79038e
* | Fix Time bar don't update replay after trimzhuw2018-08-301-1/+15
|/ | | | | | add start Timer callback, run during start() Change-Id: I648d8a28c7ab9b49c8703ceab482214b992cf8de
* SnapdragonGallery:Add FileProviderjunjiez2018-08-142-2/+13
| | | | | | | | | Add a FileProvider to provide Uri of files to avoid FileUriExposedException when target sdk level is above 24. Change-Id: I05f651c97733d27e5ba42065130dcc0ff963a073 CRs-Fixed: 2296203
* SDGallery:Fix focus close when receive package changed intentzhuw2018-06-191-1/+24
| | | | | | use startForegroundService instead of startService on O-version Change-Id: I936b47cee1f3fbccc33cc4ee60960f27242cbfe7
* Gallery: fix Pause button positionRahul Sharma2017-11-201-1/+2
| | | | | | | Pause button was not visible in the center of the screen during video playback. Fix it using centered view for this. Change-Id: Ib4992ac544029151691d18ec9fa71fb0b6d4eadb
* Merge "Fix crash when set split screen while muting a video"Linux Build Service Account2017-09-041-3/+13
|\
| * Fix crash when set split screen while muting a videozhuw2017-09-011-3/+13
| | | | | | | | | | | | | | don't show dialog or dismiss dialog when activity is destroyed Change-Id: Ia31b52dbac8b7c0974e34b9964c4382d695584fb CRs-Fixed: 2101422
* | Fix the issue of rotation in 3D activityjinwu2017-08-163-15/+36
|/ | | | | | | | The image is fit by width, this will cause the image is beyond the GLView when in landscape. So relayout the GLView after rotation. Change-Id: Id056b698e9873e9d56feb8f217a4a42cf7372e69 CRs-Fixed: 2093443
* Merge "Fix crash when start FilterShowActivity with no permission uri"Linux Build Service Account2017-07-281-1/+2
|\
| * Fix crash when start FilterShowActivity with no permission urizhuw2017-07-261-1/+2
| | | | | | | | | | | | | | make FilterShowActivity to extend AbstractPermissionActivity Change-Id: Id98dff5da8bfb6da918fdf1cd591d2d3d539ba86 CRs-Fixed: 2080417
* | Fix the rorating issue of 3D activityjinwu2017-07-241-2/+14
|/ | | | | | | | Change the ratio of viewport after rotating and also reset the viewport area according to the width and heigh. Change-Id: Ia21fd043a69f18c7cc55bd9ae9bd78c0e4d234a8 CRs-Fixed: 2074163
* Merge "Fix AssertionError int StateManager"Linux Build Service Account2017-07-221-1/+3
|\
| * Fix AssertionError int StateManagerzhuw2017-07-201-1/+3
| | | | | | | | | | | | | | we should verify null pointer before we call getTopState Change-Id: I48a22fdb859d5edbc968948939408ee5eccf6e74 CRs-Fixed: 2079520
* | Merge "Fix ANR at work's wait() in ThreadPool"Linux Build Service Account2017-07-191-4/+3
|\ \ | |/ |/|
| * Fix ANR at work's wait() in ThreadPoolzhuw2017-07-141-4/+3
| | | | | | | | | | | | | | | | no need to call waitdone after cancel in onPause if run is canceled, wait in waitdone will be blocked Change-Id: I0386aefb69d929f6a0fce62072137728b1342662 CRs-Fixed: 2076382
* | Merge "[QSST]add log for slideshow and save watermark"Linux Build Service Account2017-07-171-0/+1
|\ \
| * | [QSST]add log for slideshow and save watermarkzhuw2017-07-121-0/+1
| |/ | | | | | | | | | | | | add log for slideshow and save watermark feature Change-Id: I4419185d464aa4feb6f3bab0dfc0574b971d9fd2 CRs-Fixed: 2074386
* | Merge "Fix the issue of control panel missing"Linux Build Service Account2017-07-122-20/+4
|\ \
| * | Fix the issue of control panel missingjinwu2017-07-112-20/+4
| |/ | | | | | | | | | | | | | | | | | | Press power key to sleep, then after several seconds to wake up, the control panel of video would miss because power key event will cause system ui show event. So change the logic of control panel's show to avoid this. Change-Id: I36f5ed157fc6d7e1654cc53808af9c48092edafe CRs-Fixed: 2070912
* / [QSST]add log for export, save image and video snap shotzhuw2017-07-111-0/+1
|/ | | | | | | | | 1.add log for export 2.add log for save video 3.add log for video snap shot Change-Id: I0b915656f2b66cb48de7404bb3e35c04329273a2 CRs-Fixed: 2074386
* [QSST]add description of play and pause iconzhuw2017-07-041-0/+6
| | | | | | | add description of play and pause icon for QSST case verifying Change-Id: I5cc84bbf4acb995fc5521121c21c6f1ecad3ce27 CRs-Fixed: 2070873
* Fix crash when receive wrong intentzhuw2017-06-201-8/+12
| | | | | | | load media and skip verify permission if uri is null Change-Id: Ia134fcd982058796ad28d798d02df1ec6436151e CRs-Fixed: 2061876
* Gallery: fix player layout in landscape modeLikai Ding2017-06-141-8/+7
| | | | | | | | | Pause button was covered by navigation bar in landscape mode. Window insets should be honored on the left. Also removed excessive calls to TimeBar.getPreferredHeight(). Change-Id: I17d9b5d4dac2509fce35e19768d413a439b9a844 CRs-Fixed: 2015251
* Merge "Fix NullPointerException crash when save state in photopage"Linux Build Service Account2017-06-081-3/+7
|\
| * Fix NullPointerException crash when save state in photopagejinwu2017-06-051-3/+7
| | | | | | | | | | | | | | Verity mcurrentphoto null pointer, if null, go back Change-Id: If331c32fd55411dc8be74daa7460c5b065ff21ae CRs-Fixed: 2045760
* | Gallery: support GDepth and new DDM APILikai Ding2017-05-239-838/+137
|/ | | | | | | | | | | - a GDepth parser - cleaned up 3D effect code - fixed 3D view orientation - merged dual camera filter code - removed MPO code Change-Id: I0a23abbe684082c290d0357908cd7e49636c5e56 CRs-Fixed: 1108834
* Gallery2: Check for validity of BT adapterPraveen Chavan2017-05-021-1/+4
| | | | | | | BT adapter handle may be null if BT service is not up. Check if the adapter handle is valid before invoking methods Change-Id: If480e87d6c758aa42dcc416c8c60ddf6d6ccd579
* SnapdragonGallery: update source codejinwu2017-04-1018-36/+1976
| | | | | | | 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-1/+4
| | | | | | | Delete the surplus compute about col. Change-Id: I303e60aab0aac61e32b43d50924430ec9d7ef09c CRs-Fixed: 1087616
* SnapdragonGallery: Fix app force close because mPhotoView is null.shenfe2016-10-261-0/+3
| | | | | | | If mPhotoView is null, getComponent from mRootPane. Change-Id: Idcae5756ac6e7ef433c97d911214eed8afb87786 CRs-Fixed: 1081820
* Merge "SnapdragonGallery: Fix timetitle doesn't show"Linux Build Service Account2016-10-253-8/+4
|\