summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge "SnapdragonGallery: fix gallery crash commit after onSaveInstanceState"Linux Build Service Account2016-08-141-1/+1
|\
| * SnapdragonGallery: fix gallery crash commit after onSaveInstanceStateKedi Xu2016-08-101-1/+1
| | | | | | | | | | | | | | | | When gallery in crop, background, then rotate the screen will cause gallery crash. Change commit to commitAllowingStateLoss Change-Id: Ia48b93d5bf1f1ae59dca6d6807686a79157bc593 CRs-Fixed: 1052697
* | Merge "SnapdragonGallery: don't show navigation icon when drawer locked"Linux Build Service Account2016-08-141-0/+3
|\ \
| * | SnapdragonGallery: don't show navigation icon when drawer lockedKedi Xu2016-08-091-0/+3
| |/ | | | | | | | | | | | | Set navigation icon to null when the drawer is locked Change-Id: Iaff13551286261a7f390163681a6f8779d934501 CRs-Fixed: 1051982
* | Merge "SnapdragonGallery: Fix select number show nagtive"Linux Build Service Account2016-08-145-9/+73
|\ \
| * | SnapdragonGallery: Fix select number show nagtiveKedi Xu2016-08-045-9/+73
| | | | | | | | | | | | | | | | | | | | | | | | When no items in gallery, then select all, screenshort, deselect the picture, shows -1 Change-Id: Ic3cffb4275af0aa20c8d2b326471979b74e10041 CRs-Fixed: 1049620
* | | Merge "Gallery: Add TruePortrait post proc feature"Linux Build Service Account2016-08-1244-223/+2971
|\ \ \
| * | | Gallery: Add TruePortrait post proc featureJay Wang2016-08-0844-223/+2971
| | |/ | |/| | | | | | | | | | | | | | | | Add TruePortrait post processing feature to Gallery CRs-Fixed: 1029226 Change-Id: Id7ea0a8f810990952008fc28d30df27421c91d14
* / | Gallery2: Fix the photo preview cannot refresh after delete the photozhuw2016-08-051-4/+0
|/ / | | | | | | | | | | | | Delete a wrong conditional branch. Change-Id: I63c064b0f39b1bfd6e3484b598f8b16d0a7bcaa7 CRs-Fixed: 1050960
* | Merge "Gallery: Fix crash after rename or delete photo out of gallery"Linux Build Service Account2016-08-033-3/+10
|\ \
| * | Gallery: Fix crash after rename or delete photo out of galleryzhuw2016-08-023-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | 1. Fix Null Pointer Exception in ProcessingService and FilterShowActivity. 2. Modify PhotoPage to finish itself when receive null data from FilterShowActivity. Change-Id: I8e6e101ea3e98c1bdd87ab7b5499d63c7f348f2b CRs-Fixed: 1042815
* | | Merge "Gallery:Fix page skipping error after the editing"Linux Build Service Account2016-08-034-3/+40
|\| |
| * | Gallery:Fix page skipping error after the editingzhuw2016-08-024-3/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Add isLoading function at ClusterAlbumSet and ClusterAlbum. 2. Add isLoading function at FilterDeleteSet. 3. Modify ReloadTask in PhotoDataAdapter to control the loop by using the isLoading function. Change-Id: If3578294163120a0b52db0696deb7d5a764e0c1c CRs-Fixed: 1042817
* | | Merge "SnapdragonGallery: fix TrueScanner landscape interface"Linux Build Service Account2016-08-032-4/+71
|\ \ \ | | |/ | |/|
| * | SnapdragonGallery: fix TrueScanner landscape interfaceKedi Xu2016-07-292-4/+71
| |/ | | | | | | | | | | | | When in landscape, the photo didn't display right Change-Id: Iafe459657a43c2a979149b7a6820473be49d8fdb CRs-Fixed: 1043205
* | Gallery2: Fix for bug in mpo parsingJay Wang2016-07-281-0/+5
| | | | | | | | | | | | | | Fix bug in mpo parsing when reading from non-MPO image. CRs-Fixed: 1029184 Change-Id: Id12c4f8b9ffcbc3584a00adb92c6216b2d1923ad
* | Gallery: Update DDM logic to support Bayer+MonoJay Wang2016-07-284-38/+84
| | | | | | | | | | | | | | | | Update the MPO parser and ddm logic to support bayer+mono images and also clearsight images. CRs-Fixed: 1029184 Change-Id: I9be33acdf958ce8b525453175dfdbf4dadd46aca
* | Gallery: Fix bug that loads incorrect filter categoryJay Wang2016-07-281-0/+1
|/ | | | | | | | | Add missing break statement in switch case that caused incorrect filter category to be loaded for DUAL camera filters. CRs-Fixed: 1029184 Change-Id: Iaf1037e26ca67ab6d3edb3edec250fd8be70c9e6
* Merge "SnapdragonGallery: fix blank gray picture after modify"Linux Build Service Account2016-07-262-2/+8
|\
| * SnapdragonGallery: fix blank gray picture after modifyKedi Xu2016-07-202-2/+8
| | | | | | | | | | | | | | After modify the pictures in PhotoPage and save, a blank gray picture show in the first Change-Id: Id6ae20c3a51880b6b71987cd024e845aef7d9a98
* | Merge "Gallery2: use even width and height for makeup"Linux Build Service Account2016-07-252-0/+36
|\ \
| * | Gallery2: use even width and height for makeupJay Wang2016-07-132-0/+36
| | | | | | | | | | | | | | | | | | | | | Makeup library requires to have even width and height image. CRs-Fixed: 999059 Change-Id: I30fb80838c4324be7a62564a01804ffd28ec096a
* | | Merge "SnapdragonGallery: Add 64-bit makeup library support"Linux Build Service Account2016-07-251-5/+5
|\ \ \ | |_|/ |/| |
| * | SnapdragonGallery: Add 64-bit makeup library supportJay Wang2016-07-201-5/+5
| |/ | | | | | | | | | | | | | | Change the face detection handle to long for supporting 64-bit makeup library Change-Id: Ibfc15b3ae36c4831190adeb55f379e28589e21cd CRs-Fixed: 1040760
* | Merge "Gallery2: Modified landscape layout of editor crop in editor interface."Linux Build Service Account2016-07-135-23/+129
|\ \
| * | Gallery2: Modified landscape layout of editor crop in editor interface.wqi2016-07-125-23/+129
| |/ | | | | | | | | | | | | | | Modified landscape layout of editor crop and keep function is normal according to UX specification document. Change-Id: I1bbd1239b28b806cbb866b44640d1caf79692ecf CRs-Fixed: 988687
* | Merge "Gallery2: Fix NullPointerException when edit picture."Linux Build Service Account2016-07-131-0/+3
|\ \ | |/ |/|
| * Gallery2: Fix NullPointerException when edit picture.wqi2016-07-081-0/+3
| | | | | | | | | | | | | | Add NullPointerException check of mMasterImage. Change-Id: I278f95d96bd83f2683fc96455e06301e2e1aa3f7 CRs-Fixed: 1005204
* | Merge "Gallery: Modify some layout according to UX."Linux Build Service Account2016-07-1112-57/+91
|\|
| * Gallery: Modify some layout according to UX.Chao Zhang2016-07-086-17/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | 1. change MovieActivity Theme. 2. change toolbar's theme. 3. modify Straighten editor layout. 4. modify click effect of "Video Snapshot" and "Editor Comparison". 5. modify layout of trim video's timebar. 6. change video gesture's max to 1min. 7. fix the selected picture is not selected after onPause() in AlbumPage. Change-Id: Ief77f0efa3c9c1134eb3032992c797218a46db46 CRs-Fixed: 1032085
| * Gallery: Modify the layout according to UX design document.Chao Zhang2016-07-087-40/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 action bar display abnormal on timeline page.Chao Zhang2016-07-061-7/+7
| | | | | | | | | photo page is finished and return before update action bar, so action bar is still grey color. update action bar before finish photo page. Change-Id: I790279c24ef95eeca5e06bf4825a0fb84503b2a7 CRs-Fixed: 1004554
* Gallery2: Fix the strings not translated in editor interface.wqi2016-07-062-2/+20
| | | | | | | | Some of strings not translated after user change language, because of the strings not update. Change-Id: I5e6fa05e38f4c45caf72173ce69864f238470ac1 CRs-Fixed: 1002787
* Gallery2: Adjusting TrueScanner UI interactionJack Yoo2016-07-068-84/+338
| | | | | | | To make it work with new UI frame. Change-Id: Ib538d7921835c0f5231d3f4fba18dd9c8e4f35b4 CRs-Fixed: 1020968
* Gallery2: improve apply filter operation performance in Photo Editor.Chao Zhang2016-06-288-144/+131
| | | | | | | | | 1. modify HazeBuster, SeeStraight and TrueScanner editor interface. 2. open filter directly if has only one category. 3. modify logic of compare button. Change-Id: Ifa6e77d87548024bea67441c5d87fd12eaaf6f7c CRs-Fixed: 1018892
* Gallery2: Fix white gallery screen before showing photohuiyan2016-06-281-0/+4
| | | | | | | | | | | | | Put a white cover View in front of the SurfaceView and hide it after the first draw. This prevents the SurfaceView being transparent before the first draw. So can see the white screen at first. Set the cover View to the black color if start gallery with view single photo action, which can match the background of photopage to avoid see the white screen. Change-Id: I0b3766eb6023f9bcdb7e0329dcafb978b3dc1557 CRs-Fixed: 1021668
* Gallery2: fix timeline title display abnormal.Chao Zhang2016-06-281-0/+2
| | | | | | | | | timeline title will displays abnormal after set a large photo as contact photo. set correct cluster kind to fix it. Change-Id: Iec62a81bb61b09be4466418520baaa7426ecaeaf CRs-Fixed: 1004573
* Gallery: fix edit UI loadingLikai Ding2016-06-171-1/+3
| | | | | | | | Use full name of ProcessService because of package name change. Also fix a crash when makeup library is not present. Change-Id: Ib4a7cea2a77df2473bc8078507d9c5aadf4fe360 CRs-Fixed: 1030458
* Gallery2: Fix null pointer exception from monkey test.huiyan2016-06-141-1/+4
| | | | | | | | | The reference is not instantiated before invoking it. Determine whether the reference is instantiated before invoking it. Change-Id: I12560d85c3b14e0466c127f2422ea554e0b50345 CRs-Fixed: 1019470
* Gallery2: Fix the picture display error after doing rotate operation.huiyan2016-06-141-0/+2
| | | | | | | | | | | | | After rotating the image, use previous canvas to draw the new content, but the canvas is not erased the previous content before using to draw. So if the format of the image is png which alpha is set, the previous content can be seen by the transparent part. Before drawing the new content, the canvas erase the previous content to make the canvas clean. Change-Id: I9f5c3196eed28470673d90d02ce9fdc3fca62727 CRs-Fixed: 996568
* Gallery2: fix sharpness in photo editor doesn't work.Chao Zhang2016-06-141-11/+10
| | | | | | | Use ScriptIntrinsicConvolve3x3 instead local rs file. Change-Id: Ib7c2c36f9571fe5b6d1e50a2ddc26a40e89e2144 CRs-Fixed: 960252
* Gallery2: Fix force closed when print deleted picture.huiyan2016-06-141-1/+6
| | | | | | | | | | When delete the image file, the permissions are also revoked. So securityException occur if read the picture again. Try to catch the securityException and finish it. Change-Id: Ic341425ad097cbdec49be8ddd620ee409f632433 CRs-Fixed: 1004534
* Gallery2: fix crash after editing min/max port valuehuiyan2016-06-141-37/+0
| | | | | | | | | | No permission to set system property when save Min or Max port. The Min or Max port save to preference, not need to set to system property, so it can remove to avoid permission issue. Change-Id: I134b2b01bb9204c337e4f5a5b59863195bb40509 CRs-Fixed: 1004667
* Gallery2: Fix force close when copy pictures from PC to DUThuiyan2016-06-142-4/+7
| | | | | | | | | | | 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: don't use tile for small thumbnailsLikai Ding2016-06-061-24/+24
| | | | | | | | | | A thumbnail on an FHD screen is ~380px while tile size is 256px. It's quite inefficient to upload a thumbnail in 4 such tiles. As devices today can upload bigger textures in less time, tiling is no longer needed for small thumbnails. CRs-Fixed: 1024519 Change-Id: I95f9a5f1c695b7d7f1401b3a294848d46f1c3545
* Gallery: fix several lint issuesLikai Ding2016-06-063-37/+16
| | | | | 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-066-15/+21
| | | | | | | | | | 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: don't check permission on pre-M devicesLikai Ding2016-06-061-1/+3
| | | | | CRs-Fixed: 1024516 Change-Id: I6b9be95ce2e063ed50b910c1d28cf9ce648a37af