summaryrefslogtreecommitdiffstats
path: root/src/com/android/photos/data
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Remove ImageCache from PhotoProvider in favor of MediaCache.George Mount2013-03-294-75/+73
| | | | Change-Id: I4e75a094d1dc033ac892c2b95bdc6b6a4a165304
* Add initial implementation of MediaCache.George Mount2013-03-295-0/+1298
| | | | Change-Id: I94d357bab0e57cc60b8be790d912ba036730298b
* Add album type to albums table.Mangesh Ghiware2013-03-252-1/+4
| | | | Change-Id: Ib4dfb1de9d814d2ee41c5b855b69f09115912e57
* Changes for CanvasProviderJohn Reck2013-03-201-1/+2
| | | | Change-Id: I0f90f08f4413717933083d110d5020f494d9ed5f
* 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
* 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
* Use plurals for table names for consistency.Mangesh Ghiware2013-03-141-2/+2
| | | | Change-Id: I663c0085ed467f3f61f6060147374d9128967e2d
* Sharing support for albums, bulk operations infrastructureBobby Georgescu2013-03-132-2/+22
| | | | Change-Id: I590f60ab85ffbd9cf9d7cd9982627604fa1b427f
* Add delete cascade for Accounts.George Mount2013-03-121-4/+17
| | | | Change-Id: I962c7cb657643c3eddbbeb6a691b26de5553d4df
* Add support for local storage of uploaded pictures.George Mount2013-03-121-1/+1
| | | | Change-Id: I23c86e6a95871effcb76a54b16b9ab7720a63383
* Enable operations on accounts table.Mangesh Ghiware2013-03-111-0/+10
| | | | Change-Id: Ida0e379cad422dbeffb3b4ea89232db7f45a36e4
* Add sharing supportBobby Georgescu2013-03-081-0/+5
| | | | Change-Id: I2c7f18b0d6dd057c1fba96c1133d563f32abf55c
* Support clicking on photos to view themJohn Reck2013-03-081-2/+7
| | | | Change-Id: I511af0cbe46c833d81cbbd563b9c2b4feec2bffe
* Merge "Album set shim" into gb-ub-photos-bryceBobby Georgescu2013-03-071-11/+11
|\
| * Album set shimBobby Georgescu2013-03-071-11/+11
| | | | | | | | Change-Id: I12257ea09b7b5bc4b1d5ef638e685c66df86538a
* | Add batch operations to PhotoProviderGeorge Mount2013-03-073-84/+320
|/ | | | Change-Id: I36b2f0305e2ef7502df7b896c8baedc86519ac52
* Remove redundant Album NAME (replaced by TITLE)Mangesh Ghiware2013-03-072-5/+2
| | | | Change-Id: I0482f8b4bd85e07aefe4af02b1e8dab4702eb9f6
* Merge "Add inserts to PhotoProvider." into gb-ub-photos-bryceGeorge Mount2013-03-071-17/+38
|\
| * Add inserts to PhotoProvider.George Mount2013-03-071-17/+38
| | | | | | | | Change-Id: Ie91df59975d185948c7c2fd96432d311847c3e00
* | Merge "Add album cover art downloading." into gb-ub-photos-bryceGeorge Mount2013-03-071-5/+20
|\|
| * Add album cover art downloading.George Mount2013-03-071-5/+20
| | | | | | | | Change-Id: I660761c3bf59b1b314be9674fc3f1e43f307c686
* | Merge "Data provider shim" into gb-ub-photos-bryceJohn Reck2013-03-072-91/+20
|\ \ | |/ |/|
| * Data provider shimJohn Reck2013-03-062-91/+20
| | | | | | | | | | | | | | Bolt the new UI framework on top of the old data model temporarily to unblock UI work Change-Id: I2f61f70647faca1f6a95b1f02f719ec4277fa5fb
* | Merge "Add required fields to PhotoProvider." into gb-ub-photos-bryceGeorge Mount2013-03-072-64/+150
|\ \
| * | Add required fields to PhotoProvider.George Mount2013-03-062-64/+150
| |/ | | | | | | Change-Id: I1e830702412d4431ba3b01fe4945a4818385b6cd
* / Preliminary AlbumSet UIBobby Georgescu2013-03-051-0/+51
|/ | | | Change-Id: Ie99bd2939bfcb47c80605cbb22b84b1064098e91
* Fix build break.George Mount2013-03-041-3/+0
| | | | Change-Id: If19356395fe005a98036888cd9a688c4d36720ea
* Update PhotoProvider and tests to allow tests to run against GalleryGoogle.apkGeorge Mount2013-03-043-49/+100
| | | | Change-Id: I6630e7a5ba0883b887915f63094885a2dc9f025c
* Fix race conditionJohn Reck2013-03-011-4/+2
| | | | Change-Id: I6cf9207d067d4c0c3c4271d6ce6f44b213d7296b
* Add initial implementation of PhotosProvider.George Mount2013-02-262-0/+625
| | | | Change-Id: I98694cf54bd0fb549703a7184e1816e9590a05ff
* Start of photosJohn Reck2013-02-222-0/+159
| | | | Change-Id: Id53dd96d8873e0fe6c2685e07cd7bdc0cde7ea75
* Replace various BitmapPools with a smarter unified poolBobby Georgescu2013-02-222-0/+274
Make all of gallery use a single shared pool, and pave the way for making the pool more adaptive based on the current workload. Change-Id: Ia32561ad50b1b9716ebe2fd32a7bf02737685dac