| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
If the preview is available, load the it first, while
waiting for the full size image to load
Cherry-pick of https://googleplex-android-review.googlesource.com/#/c/238893/
Bug: 7340082
Bug: 7298245
Change-Id: I64934001d832844a776f8d9c1f2abcece552f79c
|
|
|
|
|
|
|
|
|
|
|
| |
By setting the scale type to center, the default icon
is not scaled up.
cherry-pick of https://googleplex-android-review.googlesource.com/#/c/238674/
Bug: 7298245
Bug: 7340457
Change-Id: I66200a1c751ca80e878e55a7b9daa656a6cbe98d
|
|
|
|
|
|
|
|
|
|
|
| |
Class to parse exif headers of images to detect orientation
Modify ImageUtils#decodeStream to parse the exif header and respect
orientation
Bug: 7087307
Change-Id: I93c3a69a50ae26d3fd4e96944439f87e9d511945
|
|
|
|
|
| |
Bug: 7206080
Change-Id: I9b5d332d095335f13b61c9c9ccd8152a462a9eb5
|
|
|
|
|
| |
Bug: 7189283
Change-Id: Ibcb98ae13cf801a6934e0ed4efb4c5349678dcce
|
|
|
|
|
|
|
| |
This allows the MR0/1 behavior to be used when Email/Gmail is
running on older versions of the platform
Change-Id: I1936d36ddb9f09a3b48d38c2ad44e70ac002fbda
|
|
|
|
|
| |
Bug: 7174197
Change-Id: I29ca226b5134888dbe3488f859d9790fe1388984
|
|
|
|
|
|
|
|
| |
Allow the action bar to be updated when the photo list loader
loads data
Bug: 7082929
Change-Id: I476df1fa2ec7dcb1adfe5aed359a5126c60be179
|
|
|
|
|
| |
Bug: 7083179
Change-Id: I9955aeda9a0d2bb6d30ce9f7e7e3961cb47284e0
|
|
|
|
|
| |
Bug: 7049410
Change-Id: I1ed2555203e1541f1481cae4f17f532eaa57c1cd
|
|
|
|
|
|
|
| |
There isn't a need to call swapCursor in a runnable
Bug: 7072747
Change-Id: I0a0a9b6835acc4a1d1748c94f4d8bec4551638b0
|
|
|
|
|
| |
Bug: 7002552
Change-Id: I38ce1231b0ec88ebf02d4d0edb5495b8baac65d5
|
|
|
|
|
|
|
|
| |
Make sure to stop the indeterminate progress bare when we can't
load an image
Bug: 6956516
Change-Id: Ifb69ca2e08a8ddfb351989d8e276e7fb6e3b06e5
|
|
|
|
| |
Change-Id: Ida5ab5c3247a52c5fbbd495d6e127c18493356ce
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: If36065612faadc4d6b44ddbfc9efde0597db4718
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
No longer crashing. But the attachment is now
in a very weird state.
Change-Id: If688d9c19a81124cbd1ecd0266821800f76f3c74
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: Ie3c9a36019e161cf0f7b32cfbeba4749ef5ccfd8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I5624e533d4f35255028cd1a31508dabdb33dfe7f
|
|
Change-Id: Ia6b1cb2ae3b40ef004823a0d84fe3c2f52ed66e9
|