summaryrefslogtreecommitdiffstats
path: root/src/com/android/photos
Commit message (Collapse)AuthorAgeFilesLines
* Ensure no account duplicates.George Mount2013-07-011-2/+2
| | | | | | | Bug 9502314 Add a uniqueness constraint to account name. Change-Id: I1f0607e5ce9b90054b3b98bed1557b223d7e89a7
* Merge "Add decoding to a smaller image by sampling and scaling." into ↵George Mount2013-06-181-6/+63
|\ | | | | | | gb-ub-photos-carlsbad
| * Add decoding to a smaller image by sampling and scaling.George Mount2013-06-171-6/+63
| | | | | | | | | | | | | | This allows opportunistic reuse of bitmaps, but does not require it when downsampling. Change-Id: I06f12bb5416f88a242f67bff3d2ca45894101bcd
* | Remove unused and buggy MtpThumbnailDrawable codeBobby Georgescu2013-06-131-61/+0
|/ | | | | Bug: 8793065 Change-Id: Ib8b08ae8b9e08319f8628581d8e3c5a4688ee4a5
* Copy Tiling changes from G+John Reck2013-05-305-187/+481
| | | | Change-Id: Id229728182a002c29699884289f1354b6cb6e714
* Merge "Recover from bitmap decode failure." into gb-ub-photos-carlsbadGeorge Mount2013-05-281-1/+8
|\
| * Recover from bitmap decode failure.George Mount2013-05-281-1/+8
| | | | | | | | | | | | | | | | Skia errors out when decoding a bitmap into another bitmap sometimes. When this situation is detected, the decode is is retried without reusing a bitmap. Change-Id: I935dec988ed7e115ceda9233a65d3b6083a17468
* | Removed unused handling for intent extras in editor.Ruben Brunk2013-05-281-1/+2
|/ | | | | Bug: 9170644 Change-Id: I569b16d278d1813f5a96f9e0231ed71ff9e33687
* am cdc87e62: Merge "Fix potential synchronization issue in bitmap pool" into ↵Bobby Georgescu2013-05-221-2/+2
|\ | | | | | | | | | | | | gb-ub-photos-bryce * commit 'cdc87e62ee28b5022b2e4d0bc756c264cc26d8e9': Fix potential synchronization issue in bitmap pool
| * Fix potential synchronization issue in bitmap poolBobby Georgescu2013-05-211-2/+2
| | | | | | | | | | | | Bug: 9072712 Change-Id: I7fcecd6ec63e461e06a6565519be6d86e3246155
* | Merge "Combine code for bitmap decoding and add byte array decoding." into ↵George Mount2013-05-211-40/+78
|\ \ | | | | | | | | | gb-ub-photos-carlsbad
| * | Combine code for bitmap decoding and add byte array decoding.George Mount2013-05-211-40/+78
| | | | | | | | | | | | Change-Id: Id780f94a5d939e5423b87f2e1d4ddf18b3dfa126
* | | Add comments to bitmap poolsBobby Georgescu2013-05-212-6/+105
|/ / | | | | | | Change-Id: Ie841316629ef0737dcdd5002b3278cf0bca3a768
* / Fix bitmap buffer size.George Mount2013-05-081-1/+1
|/ | | | | | The buffer size wasn't sufficient for some images. Change-Id: Iba008c5bd4801183450f6076d73d19db531d5f3b
* Fix memory leak in SparseArrayBitmapPoolBobby Georgescu2013-05-071-0/+2
| | | | | Bug: 8857493 Change-Id: Ie5fae457aea91973caa07f8955b1364df573821b
* Merge changes Ia9b2ced0,I7cccfffc into gb-ub-photos-bryceGeorge Mount2013-05-022-3/+149
|\ | | | | | | | | | | * changes: Class to simplify use of GalleryBitmapPool for decoding Bitmaps. Allow prefetch for cache, reducing priority for prefetched images.
| * Class to simplify use of GalleryBitmapPool for decoding Bitmaps.George Mount2013-05-021-0/+122
| | | | | | | | | | | | | | Bug 8446191 Required for I86cfa59f448daa4e7b9fd7ea9ada2d69357e1f63 Change-Id: Ia9b2ced0bfd9c9c1b969c77bc89eaa0fa87687bb
| * Allow prefetch for cache, reducing priority for prefetched images.George Mount2013-05-021-3/+27
| | | | | | | | | | | | | | Bug 8446191 Required for I86cfa59f448daa4e7b9fd7ea9ada2d69357e1f63 Change-Id: I7cccfffc539988d26fc751e16726b05fb2ba21bd
* | Handle onDowngrade in PhotoDatabaseMangesh Ghiware2013-04-301-0/+9
|/ | | | | Bug: 8683352 Change-Id: Iefaa425a753c8242dc345efd96354bbb7b5bb999
* Add _COUNT support for PhotoProvider to help performance of All Photos.George Mount2013-04-111-0/+12
| | | | | | Bug 8594818 Change-Id: Iab14a945e33ffcbf539b1d7acc704538e4bf48b6
* Enforce bmp type in pool, handle MTP image decode failureBobby Georgescu2013-04-011-1/+1
| | | | | | | | | | | | | - GalleryBitmapPool didn't reject bitmap types other than ARGB_8888 which could lead to problems when a different type is used for recycling. - BitmapFactory throws an exception rather than returning null when image decoding fails and an existing bitmap was supplied for recycling, even if the failure was not caused by the use of that bitmap. When decoding things from an MTP device, we need to handle this since unsupported formats may be returned. Change-Id: I8cc8aa46f5a741b360e806814991f74a131e9039
* Merge "Preliminary Album grid header in new gallery" into gb-ub-photos-bryceBobby Georgescu2013-04-013-15/+35
|\
| * Preliminary Album grid header in new galleryBobby Georgescu2013-04-013-15/+35
| | | | | | | | Change-Id: I90942de920795aedc5475f23cc3ede459949cc16
* | Remove ImageCache from PhotoProvider in favor of MediaCache.George Mount2013-03-294-75/+73
| | | | | | | | Change-Id: I4e75a094d1dc033ac892c2b95bdc6b6a4a165304
* | Merge "Add initial implementation of MediaCache." into gb-ub-photos-bryceGeorge Mount2013-03-295-0/+1298
|\ \ | |/ |/|
| * Add initial implementation of MediaCache.George Mount2013-03-295-0/+1298
| | | | | | | | Change-Id: I94d357bab0e57cc60b8be790d912ba036730298b
* | Add HeaderGridView implementationBobby Georgescu2013-03-281-0/+466
|/ | | | Change-Id: Id0e699be0e40310c4919a9d55503edb9b07d4b58
* Add album type to albums table.Mangesh Ghiware2013-03-252-1/+4
| | | | Change-Id: Ib4dfb1de9d814d2ee41c5b855b69f09115912e57
* Merge "Revert "New loading model"" into gb-ub-photos-bryceJohn Reck2013-03-222-3/+5
|\
| * Revert "New loading model"John Reck2013-03-212-3/+5
| | | | | | | | Change-Id: I5d3d4c7a4ca0d11de01278529e1413fc62e6b4ed
* | Merge "Refactor grid fragments in new gallery" into gb-ub-photos-bryceBobby Georgescu2013-03-219-219/+406
|\ \ | |/ |/|
| * Refactor grid fragments in new galleryBobby Georgescu2013-03-209-219/+406
| | | | | | | | Change-Id: I087cd68ddf8a0a23547d85082f146b6effd68f22
* | Changes for CanvasProviderJohn Reck2013-03-201-1/+2
|/ | | | Change-Id: I0f90f08f4413717933083d110d5020f494d9ed5f
* Refactor fragment/activity coupling in new GalleryBobby Georgescu2013-03-207-56/+100
| | | | Change-Id: I7cc54b352197e1975cff286f4add7d0f42637841
* Merge "Add album viewing to new Gallery" into gb-ub-photos-bryceBobby Georgescu2013-03-193-3/+241
|\
| * Add album viewing to new GalleryBobby Georgescu2013-03-193-3/+241
| | | | | | | | Change-Id: I71230541db0b06d41e2d23d51e83f0b3b8e8caf4
* | Merge "Fix notifyChange" into gb-ub-photos-bryceJohn Reck2013-03-181-2/+6
|\ \
| * | Fix notifyChangeJohn Reck2013-03-181-2/+6
| | | | | | | | | | | | Change-Id: I48d6c756a5272465b6cfaa632c879683aa51083d
* | | Merge "Change delete cascade" into gb-ub-photos-bryceGeorge Mount2013-03-181-39/+27
|\ \ \ | |_|/ |/| |
| * | Change delete cascadeGeorge Mount2013-03-181-39/+27
| | | | | | | | | | | | Change-Id: Ib40b0989ed437c923ff82b379e539b1141225529
* | | Fix "drop table" problem.George Mount2013-03-181-1/+1
|/ / | | | | | | | | | | | | Bug 8404285 Should drop table if exists when upgrading, not just drop a table. Change-Id: Ic75fa0efc6ab44be073b2b78a8520e2289cd3148
* | Merge "Improve AlbumSet UI in new gallery" into gb-ub-photos-bryceBobby Georgescu2013-03-151-19/+5
|\ \ | |/ |/|
| * Improve AlbumSet UI in new galleryBobby Georgescu2013-03-151-19/+5
| | | | | | | | Change-Id: I31cbf7cf8c0c7b5f5f3413a59ad94142b13870d2
* | Prepare to switch to panolibsJohn Reck2013-03-154-855/+0
| | | | | | | | Change-Id: Ie29c0014fcb08105cab1ee6043f66b58e5ac85f8
* | Delete and recreate database on upgrade.George Mount2013-03-151-0/+19
|/ | | | Change-Id: I0125697dd673568ddfee7be8d7d0d693018b61d5
* Use cancellationSignal only on API Level 16 and above.George Mount2013-03-151-3/+14
| | | | | | Bug 8390238 Change-Id: If2dacb1eb74e531d004b6f281d32a81f7cd59139
* Merge "Add many contextual actions to new gallery" into gb-ub-photos-bryceBobby Georgescu2013-03-144-18/+162
|\
| * Add many contextual actions to new galleryBobby Georgescu2013-03-144-18/+162
| | | | | | | | Change-Id: Ied57636c7bf0804ad015ddc664e177633c549e08
* | Merge "Update Gallery Pano Provider." into gb-ub-photos-bryceJustin Koh2013-03-141-2/+2
|\ \
| * | Update Gallery Pano Provider.Justin Koh2013-03-141-2/+2
| | | | | | | | | | | | | | | | | | Update Gallery Pano Provider. Use DIP instead of PX. Change-Id: I8871502aa215012a8647401f7ee1e7906e110fe4