summaryrefslogtreecommitdiffstats
path: root/photoviewer
Commit message (Collapse)AuthorAgeFilesLines
...
| | * Import translations. DO NOT MERGEBaligh Uddin2012-08-1412-0/+96
| | | | | | | | | | | | | | | Change-Id: Idf2d71d2ceb7b626fb04338e3cdd8f7d1e271b90 Auto-generated-cl: translation import
| | * Import translations. DO NOT MERGEBaligh Uddin2012-08-1335-0/+280
| | | | | | | | | | | | | | | Change-Id: Ic971bb44b23672e2bd887a1167111a85a34eac64 Auto-generated-cl: translation import
* | | Abort posted runnable if cursor is no longer openMarc Blank2012-08-211-0/+4
| | | | | | | | | | | | | | | Bug: 7002552 Change-Id: I38ce1231b0ec88ebf02d4d0edb5495b8baac65d5
* | | Import translations. DO NOT MERGEBaligh Uddin2012-08-201-1/+1
| | | | | | | | | | | | | | | Change-Id: Idbc0ec87eb8a3b07a380375df7ccd63fc5b258bb Auto-generated-cl: translation import
* | | Import translations. DO NOT MERGEBaligh Uddin2012-08-176-9/+9
| | | | | | | | | | | | | | | Change-Id: I0b76b4206e7ceca5b8456ad19a540e1be3d58de8 Auto-generated-cl: translation import
* | | Import translations. DO NOT MERGEBaligh Uddin2012-08-161-2/+2
| | | | | | | | | | | | | | | Change-Id: I3b0bfe3884f03d4ebdec81109a2d13791a4faafc Auto-generated-cl: translation import
* | | Merge "Import translations. DO NOT MERGE" into jb-ub-mailBaligh Uddin2012-08-151-0/+8
|\ \ \ | |/ / |/| |
| * | Import translations. DO NOT MERGEBaligh Uddin2012-08-151-0/+8
| | | | | | | | | | | | | | | Change-Id: Icd9cda3aa634cddf8429e243a2bf9a84311931be Auto-generated-cl: translation import
* | | Fix some photo view problemsPaul Westbrook2012-08-154-34/+33
|/ / | | | | | | | | | | | | | | Make sure to stop the indeterminate progress bare when we can't load an image Bug: 6956516 Change-Id: Ifb69ca2e08a8ddfb351989d8e276e7fb6e3b06e5
* | Import translations. DO NOT MERGEBaligh Uddin2012-08-1412-0/+96
| | | | | | | | | | Change-Id: I986e7913c40cf76c35081b1aa4a25e29bb8987a7 Auto-generated-cl: translation import
* | Import translations. DO NOT MERGEBaligh Uddin2012-08-1335-0/+280
|/ | | | | Change-Id: If457f15f47a6b6b2ab3df6320b75cad7e8c4f6c5 Auto-generated-cl: translation import
* Created a sample photo viewer implementation.Andrew Sapperstein2012-08-1021-3/+341
| | | | Change-Id: Ida5ab5c3247a52c5fbbd495d6e127c18493356ce
* Import translations. DO NOT MERGEBaligh Uddin2012-08-101-1/+1
| | | | | Change-Id: Ieb0d6ac2c8f37ae7df5aaf28a4b810cbfa978291 Auto-generated-cl: translation import
* Import translations. DO NOT MERGEBaligh Uddin2012-08-082-4/+2
| | | | | Change-Id: Iadfae19e66548dece07927db956c9b5274a1c20d Auto-generated-cl: translation import
* Merge "Import translations. DO NOT MERGE" into jb-ub-mailBaligh Uddin2012-08-0848-240/+50
|\
| * Import translations. DO NOT MERGEBaligh Uddin2012-08-0748-240/+50
| | | | | | | | | | Change-Id: Ibb4ce7447707d7edf991109809a23890715adbd9 Auto-generated-cl: translation import
* | Made title and subtitle not show immediately.Andrew Sapperstein2012-08-073-29/+7
| | | | | | | | | | | | | | | | Fixes an issue where we used to show the app title for an instant before getting the data for the photo. Now we show nothing until we have the photo data. Change-Id: I2a77b18af2ec2051848c188e0dad7ca04be4f285
* | Fix Build.Andrew Sapperstein2012-08-071-2/+0
|/ | | | Change-Id: If36065612faadc4d6b44ddbfc9efde0597db4718
* Enabled optional support for showing progress.Andrew Sapperstein2012-08-039-57/+200
| | | | | | | | | | | | | | | | Added some progress bars to the "empty" view so that implementors of the API can show the progress of things like downloads or loading. Additionally, added a retry button and an optional text that allows you to indicate status to the user. Due to a bug in the framework, we actually use two progress bars (one determinate and one indeterminate) to update our status. Created a wrapper that allows the controlling of both progress bars in sync. Change-Id: I710e06317948d376d445abf1603545982ac8479d
* ActionBar now auto-hides like Gallery's version.Andrew Sapperstein2012-07-307-37/+84
| | | | | | | | | | | | 5 second delay from opened. Will not hide on first appearance. Has be closed and re-opened. Also, eliminated the progress spinner when the photo hadn't yet loaded. Additionally, modified the action bar to match gallery's transparency. Change-Id: I69e72d787bc2cda9c18df6a9cf1800d155d6876a
* Fixes a bug where scaling would not be performed.Andrew Sapperstein2012-07-271-1/+10
| | | | | | | | | Had to add an additional case to the page transform that handles the new issue where the just disappeared view is actually behind the screen but still getting touch events. Victory. Change-Id: Ifb760fd7d7510fec37c4101d448dbc980575b1be
* Partial fix of 6890014.Andrew Sapperstein2012-07-273-6/+3
| | | | | | | No longer crashing. But the attachment is now in a very weird state. Change-Id: If688d9c19a81124cbd1ecd0266821800f76f3c74
* Showing a default preview photo.Andrew Sapperstein2012-07-264-4/+27
| | | | | | | | | If we do not have a preview and are currently waiting on a full photo, we will show a stock photo. Currently shows a grey box as we do not have assets yet. Change-Id: I155071598b20bf81b2b60bdd8ac881a64b8ee1b7
* Finalized the photo viewer transitions.Andrew Sapperstein2012-07-256-43/+3
| | | | | | | | Changed the black background to be on the FrameLayout behind the view pager rather than on the the photo view. Also deleted some dead code. Change-Id: I19759d3f7e93c32b6c6aceda0c296610f90f20f7
* Added transitions to photo viewer.Andrew Sapperstein2012-07-241-1/+26
| | | | Change-Id: Ie3c9a36019e161cf0f7b32cfbeba4749ef5ccfd8
* Support showing previews in the photo viewer.Andrew Sapperstein2012-07-235-44/+69
| | | | | | | | | | | | | | | | The photo viewer now supports the notion of a preview of the full image. The preview is not pinchable in any manner and displays a circular progress bar over top of it while we are downloading the full version of the image. To enable this functionality, there is a new column in the PhotoContract API called thumbnailUri. If it is not set to null and if the attempted load of the contentUri is unsuccessful, we will attempt to load a thumbnail version that will show until the contentUri is finished loading. Change-Id: I5547a5fc6a30ee6a30f137dc1dee76a77fb5b304
* Reloading bitmaps if cursor updates.Andrew Sapperstein2012-07-237-241/+111
| | | | Change-Id: I5624e533d4f35255028cd1a31508dabdb33dfe7f
* Import translations. DO NOT MERGEYing Wang2012-07-131-2/+2
| | | | | Change-Id: I63a6ae5791be411633854b5aceafdb078762d21b Auto-generated-cl: translation import
* Import translations. DO NOT MERGEYing Wang2012-07-093-4/+4
| | | | | Change-Id: I0573c5d15cee5ea742e76fab1180b7370ff0f6b2 Auto-generated-cl: translation import
* Import translations. DO NOT MERGEYing Wang2012-07-032-3/+3
| | | | | Change-Id: Ieb61e2c54d4e017b68bb99783bfbbc8909774977 Auto-generated-cl: translation import
* Import translations. DO NOT MERGEEric Fischer2012-07-022-1/+28
| | | | | Change-Id: I0ce0c10be5638276aa9b818dae0dc218da20f672 Auto-generated-cl: translation import
* Import translations. DO NOT MERGEYing Wang2012-06-2918-0/+486
| | | | | Change-Id: I3b52620101e5cc70e113115daca365854aa492d1 Auto-generated-cl: translation import
* Import translations. DO NOT MERGEEric Fischer2012-06-2828-0/+756
| | | | | Change-Id: I98a1120cd481bf6dcb24b5387c69e2c8d4a45d53 Auto-generated-cl: translation import
* Import translations. DO NOT MERGEYing Wang2012-06-271-0/+27
| | | | Change-Id: Ib683da0aa64c2c63dfc672ea18b7417aded3ec5c
* Initial import of the photo viewer.Andrew Sapperstein2012-06-2521-0/+3847
Change-Id: Ia6b1cb2ae3b40ef004823a0d84fe3c2f52ed66e9