Description was changed from ========== [Downloads] Fill in the drawer * Add a pair of ...
4 years, 6 months ago
(2016-06-13 23:54:53 UTC)
#1
Description was changed from
==========
[Downloads] Fill in the drawer
* Add a pair of methods to ApiCompatibilityUtils for
grabbing storage size information.
* Add a small widget for displaying how much space is used
compared to how large storage is.
* Add a way to select a filter for the downloads. It's not
currently hooked up to anything.
* Add a bunch of icons for the sections.
BUG=616324
==========
to
==========
[Downloads] Fill in the drawer
Current screenshot:
https://drive.google.com/a/google.com/file/d/0B7c8ZkXVwskDd1pocmo5dUdHcG8/vie...
* Add a pair of methods to ApiCompatibilityUtils for
grabbing storage size information.
* Add a small widget for displaying how much space is used
compared to how large storage is.
* Add a way to select a filter for the downloads. It's not
currently hooked up to anything.
* Add a bunch of icons for the sections.
BUG=616324
==========
nyquist@ for changes to base/ ianwen@ for changes to Downloads UI
4 years, 6 months ago
(2016-06-13 23:56:28 UTC)
#3
nyquist@ for changes to base/
ianwen@ for changes to Downloads UI
nyquist
//base lgtm
4 years, 6 months ago
(2016-06-14 00:07:04 UTC)
#4
//base lgtm
Ian Wen
https://chromiumcodereview.appspot.com/2063983002/diff/20001/chrome/android/java/res/layout/download_manager_ui_drawer_filter.xml File chrome/android/java/res/layout/download_manager_ui_drawer_filter.xml (right): https://chromiumcodereview.appspot.com/2063983002/diff/20001/chrome/android/java/res/layout/download_manager_ui_drawer_filter.xml#newcode9 chrome/android/java/res/layout/download_manager_ui_drawer_filter.xml:9: <ImageView Q: Can we achieve the same effect with ...
4 years, 6 months ago
(2016-06-16 20:39:22 UTC)
#5
Fought with the NavigationView in Android for a while but: * I couldn't get it ...
4 years, 6 months ago
(2016-06-21 18:23:03 UTC)
#6
Fought with the NavigationView in Android for a while but:
* I couldn't get it to be styled correctly because of missing attributes in
dummy.package
* Setting colors programatically resulted in no colors being set at all
* The margins are off compared to the mocks
Will revisit when UX gets back to me.
https://chromiumcodereview.appspot.com/2063983002/diff/20001/chrome/android/j...
File chrome/android/java/res/layout/download_manager_ui_drawer_filter.xml
(right):
https://chromiumcodereview.appspot.com/2063983002/diff/20001/chrome/android/j...
chrome/android/java/res/layout/download_manager_ui_drawer_filter.xml:9:
<ImageView
On 2016/06/16 20:39:21, Ian Wen wrote:
> Q: Can we achieve the same effect with TextView and android:drawableStart?
Done.
https://chromiumcodereview.appspot.com/2063983002/diff/20001/chrome/android/j...
File
chrome/android/java/src/org/chromium/chrome/browser/download/ui/DownloadManagerUi.java
(right):
https://chromiumcodereview.appspot.com/2063983002/diff/20001/chrome/android/j...
chrome/android/java/src/org/chromium/chrome/browser/download/ui/DownloadManagerUi.java:64:
StatFs statFs = new StatFs(Environment.getExternalStoragePublicDirectory(
On 2016/06/16 20:39:21, Ian Wen wrote:
> Move it to somewhere else so that we can make it called less often?
Done.
https://chromiumcodereview.appspot.com/2063983002/diff/20001/chrome/android/j...
chrome/android/java/src/org/chromium/chrome/browser/download/ui/DownloadManagerUi.java:74:
int percentage = (int) (100.0 * usedBytes / fileSystemBytes);
On 2016/06/16 20:39:21, Ian Wen wrote:
> Nit: maybe add a special case for fileSystemBytes == 0?
Done.
https://chromiumcodereview.appspot.com/2063983002/diff/20001/chrome/android/j...
chrome/android/java/src/org/chromium/chrome/browser/download/ui/DownloadManagerUi.java:85:
private static final int[][] FILTER_INFO = new int[][] {
On 2016/06/16 20:39:21, Ian Wen wrote:
> INFO looks like it's not an array. How about FILTERS or FILTER_LIST?
Done.
https://chromiumcodereview.appspot.com/2063983002/diff/20001/chrome/android/j...
chrome/android/java/src/org/chromium/chrome/browser/download/ui/DownloadManagerUi.java:97:
private int mSelectedIndex;
On 2016/06/16 20:39:21, Ian Wen wrote:
> Q: the first item is always selected by default, unless the user clicks
> something?
Not exactly in the spec, but "All downloads" seems like a logical place to
start.
Description was changed from ========== [Downloads] Fill in the drawer Current screenshot: https://drive.google.com/a/google.com/file/d/0B7c8ZkXVwskDd1pocmo5dUdHcG8/view?usp=sharing * Add ...
4 years, 6 months ago
(2016-06-21 23:28:55 UTC)
#12
Message was sent while issue was closed.
Description was changed from
==========
[Downloads] Fill in the drawer
Current screenshot:
https://drive.google.com/a/google.com/file/d/0B7c8ZkXVwskDd1pocmo5dUdHcG8/vie...
* Add a pair of methods to ApiCompatibilityUtils for
grabbing storage size information.
* Add a small widget for displaying how much space is used
compared to how large storage is.
* Add a way to select a filter for the downloads. It's not
currently hooked up to anything.
* Add a bunch of icons for the sections.
BUG=616324
==========
to
==========
[Downloads] Fill in the drawer
Current screenshot:
https://drive.google.com/a/google.com/file/d/0B7c8ZkXVwskDd1pocmo5dUdHcG8/vie...
* Add a pair of methods to ApiCompatibilityUtils for
grabbing storage size information.
* Add a small widget for displaying how much space is used
compared to how large storage is.
* Add a way to select a filter for the downloads. It's not
currently hooked up to anything.
* Add a bunch of icons for the sections.
BUG=616324
==========
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago
(2016-06-21 23:28:56 UTC)
#13
Message was sent while issue was closed.
Committed patchset #4 (id:60001)
commit-bot: I haz the power
Description was changed from ========== [Downloads] Fill in the drawer Current screenshot: https://drive.google.com/a/google.com/file/d/0B7c8ZkXVwskDd1pocmo5dUdHcG8/view?usp=sharing * Add ...
4 years, 6 months ago
(2016-06-21 23:30:16 UTC)
#14
Message was sent while issue was closed.
Description was changed from
==========
[Downloads] Fill in the drawer
Current screenshot:
https://drive.google.com/a/google.com/file/d/0B7c8ZkXVwskDd1pocmo5dUdHcG8/vie...
* Add a pair of methods to ApiCompatibilityUtils for
grabbing storage size information.
* Add a small widget for displaying how much space is used
compared to how large storage is.
* Add a way to select a filter for the downloads. It's not
currently hooked up to anything.
* Add a bunch of icons for the sections.
BUG=616324
==========
to
==========
[Downloads] Fill in the drawer
Current screenshot:
https://drive.google.com/a/google.com/file/d/0B7c8ZkXVwskDd1pocmo5dUdHcG8/vie...
* Add a pair of methods to ApiCompatibilityUtils for
grabbing storage size information.
* Add a small widget for displaying how much space is used
compared to how large storage is.
* Add a way to select a filter for the downloads. It's not
currently hooked up to anything.
* Add a bunch of icons for the sections.
BUG=616324
Committed: https://crrev.com/0d50f320bce6339ef0ede78f69ab17e947b0cb64
Cr-Commit-Position: refs/heads/master@{#401137}
==========
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/0d50f320bce6339ef0ede78f69ab17e947b0cb64 Cr-Commit-Position: refs/heads/master@{#401137}
4 years, 6 months ago
(2016-06-21 23:30:17 UTC)
#15
Issue 2063983002: [Downloads] Fill in the drawer
(Closed)
Created 4 years, 6 months ago by gone
Modified 4 years, 6 months ago
Reviewers: Ian Wen, nyquist
Base URL: https://chromium.googlesource.com/chromium/src.git@download_activity
Comments: 12