GoogleGit

commit52b703c5d0c4cff72bafdec0e2229368d3cc20d0[log][tgz]
authorJeff Sharkey <jsharkey@android.com>Mon Nov 12 16:50:17 2012 -0800
committerJeff Sharkey <jsharkey@android.com>Wed Nov 14 16:21:54 2012 -0800
tree0f5674a22b1113f32927f1585a8dc1adc9d2ea7b
parenta40a349c0107660bfb4004467550725a3ca3ec97[diff]
Show remaining time in download notifications.

Calculate speed of in-progress downloads and estimate time remaining
until completion.  Uses a moving average that is weighted 1:1 with
the most recent 500ms sample.  Funnels timing data to notifications
through DownloadHandler.

Bug: 6777872
Change-Id: I9155f2979aa330bd1172f63bbfca1d053815cee5
6 files changed
tree: 0f5674a22b1113f32927f1585a8dc1adc9d2ea7b
  1. Android.mk
  2. AndroidManifest.xml
  3. CleanSpec.mk
  4. MODULE_LICENSE_APACHE2
  5. NOTICE
  6. docs/
  7. res/
  8. src/
  9. tests/
  10. ui/