141024 Commits

Author SHA1 Message Date
Jorim Jaggi
dc96d6310c Implement ability to fling to QS in empty space
Bug: 16009808
Change-Id: I0af174a4d97202dae767e4ae56f43599dbee4e05
2014-07-02 17:20:31 +02:00
Jorim Jaggi
475b21dfe5 Start expanding QS directly when overscrolling to it.
This removes the janky transition from scrolling to flinging.

Change-Id: I691ac94ec06af7f7431ad162e07c21d2c753e99c
2014-07-02 17:10:34 +02:00
Jorim Jaggi
2e115c5d9a Always load resources in SystemUI.
This fixes a bug where resources didn't get loaded after a SysUI
crash.

Change-Id: I3a679890d15ad3c1e13a017840b8258670a23ff8
2014-07-01 21:38:39 +02:00
Jorim Jaggi
1e2b2ba4b3 Merge "Fix clipping of notifications on lockscreen." 2014-06-26 22:01:31 +00:00
Jorim Jaggi
2e34ec3cbb Fix clipping of notifications on lockscreen.
Bug: 15942321
Change-Id: I5838c24987de9ed4d1df550df408536271b047f1
2014-07-01 17:05:35 +02:00
John Spurlock
913054f0f9 Merge "QS: Improve dual tile labels." 2014-06-26 18:42:03 +00:00
John Spurlock
39076ed379 QS: Improve dual tile labels.
Use the solid dropdown caret and improve vertical spacing.

Change-Id: I839fb3130a0fc621a2217e5211fb7b4f053a5685
2014-07-01 10:19:24 -04:00
John Reck
d907e5b1ef Merge "Fix onTrimMemory for HardwareRenderer" 2014-06-30 22:27:39 +00:00
John Reck
f47a594f52 Fix onTrimMemory for HardwareRenderer
Also fixes detachFunctor possibly drawing after return

 Bug: 15189843
 Bug: 15990672

Change-Id: I64c48cb674c461a8eeaba407b697e09f72c98ce3
2014-06-30 16:36:26 -07:00
Jorim Jaggi
1928aabc09 Merge "Fix scrim in PIN/PUK." 2014-06-26 22:01:31 +00:00
Jorim Jaggi
a77b85b836 Fix scrim in PIN/PUK.
Bug: 15949149
Change-Id: Ia68903445f256ad5db3d46d6916d57b57218a14d
2014-07-01 15:49:38 +02:00
Jorim Jaggi
93439da0ed Fix scrim flashing when no security is set.
Change-Id: Iccd07c39b57c7bcf3d4d26a00a46926df56eddbc
2014-07-01 15:49:21 +02:00
Jorim Jaggi
b472b347b5 Improve peek behavior and fix a few bugs in PanelView
- A single tap on the bar peeks and then dismisses it a again.
- Wait for the peek until the layout has happened.
- Add logic to only peek if user is not flinging.
- Fix a few bugs with panel holes (onExpandingStarted/Finished not
  called correctly.

Bug: 15856091
Bug: 15407838
Bug: 15942322

Change-Id: I1aedf9d01bc8db3d7fed7cea6e341b0be18a8bd9
2014-07-01 15:41:50 +02:00
Jorim Jaggi
b7240136b7 Improve fling logic for opening the notification shade
Bug: 15858126
Change-Id: I800b00f80b315218358ea9acbd3614e6d5c87c45
2014-07-01 15:08:30 +02:00
Jorim Jaggi
3857ac4b3f Fix a bug where a short fling resulted in a bad state
Change-Id: I43900d1cb72a03e2fb2e6cb2dea44bfad9792fcc
2014-06-30 22:53:43 +02:00
Jorim Jaggi
2580a976ec Improve motion when expanding/collapsing status bar.
- Don't fade the whole panel anymore.
- Parallax effect for QS header translation, fade on keyguard.
- Improve fling curve for dismissing the panel.
- Improve peeking behavior.

Bug: 14804452
Bug: 15407838
Change-Id: I34b7bcd457cb8a037e0bb06e9802ec66d2b39b73
2014-06-30 22:53:27 +02:00
Jorim Jaggi
605f190202 Keep a mirror of the system icons while expanding the panel
Because the icons are shown in two different places at the same time
(in the QS header and the status bar), we introduce a mirror view
which does nothing except draw the contents of the other view to
draw it at both locations during the animation.

Bug: 15407838
Change-Id: I82edc8b4fb7347fa8dadfb81762d22796d37fa3c
2014-06-30 21:12:34 +02:00
Jorim Jaggi
e205379658 Merge "Fix scrim flashing when no security is set." 2014-06-26 21:23:48 +00:00
Jorim Jaggi
3c98b6e628 Merge "Improve peek behavior and fix a few bugs in PanelView" 2014-06-26 21:33:38 +00:00
Jorim Jaggi
2f4688fbbd Merge "Improve fling logic for opening the notification shade" 2014-06-26 21:23:48 +00:00
Chet Haase
cb923d99e9 null-check before derefing title in MenuItemImpl
The toString() method in MenuItemImpl returns mTitle.toString(),
which crashes when the title is null (which it can be, since there
is no requirement that a title be non-null, and you can get one
by simply not assigning a title to begin with or by setting it
to null).

Issue #13420311 MenuItemImpl can't handle a null title

Change-Id: I701d1d565f1d254ffdd41ca64c1abaf2906edb79
2014-07-01 13:31:48 +00:00
Hector Dearman
a70d1d99de Deprecate the Cookie Sync Manager
The CookieSyncManager is largely useless as the WebView
automatically syncs cookies every 30s (whether you like it
or not). The one method which needs to be saved is sync,
there is no other way to force a sync without this.
We move sync to the CookieManager and rename it to flush
for greater consistency.

Bug: 11060034
Change-Id: I8a14998020eea54f196fc6ed845b09ed69cfd447
2014-07-01 13:12:29 +01:00
Narayan Kamath
c7400b0ce6 am 8c1c0a68: am 7f319c47: am 1dc550fa: Merge "Fix packing of values at offset 16."
* commit '8c1c0a6881b1507f9ae25d753b64de185a7615b2':
  Fix packing of values at offset 16.
2014-07-01 10:43:41 +00:00
Narayan Kamath
8c1c0a6881 am 7f319c47: am 1dc550fa: Merge "Fix packing of values at offset 16."
* commit '7f319c47c8f5e947638eb1e5e73789ff83123bba':
  Fix packing of values at offset 16.
2014-07-01 10:23:44 +00:00
Narayan Kamath
7f319c47c8 am 1dc550fa: Merge "Fix packing of values at offset 16."
* commit '1dc550fa7333257a130d71866be37181f8ee553b':
  Fix packing of values at offset 16.
2014-07-01 09:22:10 +00:00
Robert Ly
9baaf2ce84 am 7459dfed: Merge "docs: add new UX images for notifications and wear" into klp-modular-dev
* commit '7459dfed6c4353a9437f5c5fbbbc1738f465a432':
  docs: add new UX images for notifications and wear
2014-07-01 02:52:30 +00:00
Robert Ly
7459dfed6c Merge "docs: add new UX images for notifications and wear" into klp-modular-dev 2014-06-30 22:24:07 +00:00
Robert Ly
bdc5428410 docs: add new UX images for notifications and wear
Change-Id: I936209db7260c77aec425f3457497cd70a66b767
2014-06-30 19:33:37 -07:00
Quddus Chong
62395c9379 am 5212ee08: Merge "docs: Add Javadocs for GMS Longhorn." into klp-modular-dev
* commit '5212ee08f3061c07a6a323e9169b63b596c4c824':
  docs: Add Javadocs for GMS Longhorn.
2014-06-30 21:51:32 +00:00
Quddus Chong
69fc782a8b am 85a25e02: Merge "docs: Added "What\'s New" for GMS Longhorn (Google Play Services 5.0)" into klp-modular-dev
* commit '85a25e02004f77595e352e03c1fdb11b6126db69':
  docs: Added "What's New" for GMS Longhorn (Google Play Services 5.0)
2014-06-30 21:51:28 +00:00
Tim Kilbourn
6f1a231a0b am 326b1857: Merge "Fix docs" into klp-modular-dev
* commit '326b1857a5ced49f249358751e05ce237bfaefc8':
  Fix docs
2014-06-30 20:54:30 +00:00
Robert Ly
07fd3652aa am e1e35d13: docs: fix notifications docs
* commit 'e1e35d13023224c22a54ce074c45d2f8729b1c60':
  docs: fix notifications docs
2014-06-30 20:17:33 +00:00
Robert Ly
e1e35d1302 docs: fix notifications docs
Change-Id: I14f55619ae0e0c53811c09410fec5ef8bf577ff6
2014-06-30 13:11:39 -07:00
Quddus Chong
5212ee08f3 Merge "docs: Add Javadocs for GMS Longhorn." into klp-modular-dev 2014-06-30 17:43:33 +00:00
Brian Carlstrom
c30f36accb Update preloaded-classes for ART DO NOT MERGE
Change-Id: If0b1bfa2fa1fc80351c11ff2936e1b204539aa64
2014-06-30 09:30:54 -07:00
Dirk Dougherty
7ec3cf540a am 7ecb89fc: Merge "Change card title for admob." into klp-modular-dev
* commit '7ecb89fc1e2b07e51dcc52fe6e778855dfb92c15':
  Change card title for admob.
2014-06-30 01:06:15 +00:00
Dirk Dougherty
d64ac2a67f am 14ec9ade: Merge "Doc change: API diff 20." into klp-modular-dev
* commit '14ec9adefa1cad0c5444bc938f0edaebaf4d1eee':
  Doc change: API diff 20.
2014-06-30 01:06:11 +00:00
Robert Ly
c32386ea44 am 4cdf8373: add api 20
* commit '4cdf83735de741bb44a9078b080dbdaf9db891a0':
  add api 20
2014-06-30 01:00:08 +00:00
Robert Ly
7b7f68ec94 am 63234bf7: Merge "Revert "add API reference docs filtering for level 20"" into klp-modular-dev
* commit '63234bf7ab9a05f2e8fb858a31af270ca82b33ad':
  Revert "add API reference docs filtering for level 20"
2014-06-30 01:00:03 +00:00
Robert Ly
bc2b05299d resolved conflicts for merge of 4d329a8f to klp-modular-dev-plus-aosp
Change-Id: Id8096712bc63fe16f93dca4a7963440e11087f7a
2014-06-29 17:55:24 -07:00
Robert Ly
4cdf83735d add api 20
DO NOT MERGE

Change-Id: Iae685158ac9c08e3a074e36d60004faf995fd1c7
2014-06-29 16:53:54 -07:00
Robert Ly
05759ef766 am 6fff230d: Merge "docs : fix broken links" into klp-modular-dev
* commit '6fff230d64b869ec9a3f3bb10ea5ae30b041a85a':
  docs : fix broken links
2014-06-29 23:42:55 +00:00
Robert Ly
2b906dfb95 am 50b55d61: docs: update notifications docs
* commit '50b55d61af63098d0b95e38afdc5c381b3373cd6':
  docs: update notifications docs
2014-06-29 23:42:50 +00:00
Robert Ly
50b55d61af docs: update notifications docs
Change-Id: I0473c75c31c4012dbb3fc81d155da237f8f1f7fd
2014-06-29 16:20:28 -07:00
Scott Main
e2af77e635 am 7b5abd15: Merge "docs: fix L Preview G+ links (permanently)" into klp-modular-dev
* commit '7b5abd15ab15c9f36783dd00c1953d9cf16c33f7':
  docs: fix L Preview G+ links (permanently)
2014-06-28 02:39:37 +00:00
smain@google.com
fa8e81135a am d2b869d0: revisions to the app structure design guide
* commit 'd2b869d052e65958545f2dc49c3eef8ff0066280':
  revisions to the app structure design guide
2014-06-28 02:32:24 +00:00
Robert Ly
49ba77b441 am 4c42ab4b: (-s ours) Merge "Revert "Add api 20 to list used by reference docs."" into klp-modular-dev
* commit '4c42ab4ba59d75eca4883ece2944c30ca36b760f':
  Revert "Add api 20 to list used by reference docs."
2014-06-28 02:32:19 +00:00
Robert Ly
684abbb448 am e774eb93: (-s ours) Merge "Add api 20 to list used by reference docs." into klp-modular-dev
* commit 'e774eb939875c02135c7ce9af8e81322a7c0ab59':
  Add api 20 to list used by reference docs.
2014-06-28 02:26:16 +00:00
smain@google.com
d2b869d052 revisions to the app structure design guide
Change-Id: I15e68e454180b848db81791350ba7985817c0930
2014-06-27 18:43:50 -07:00
smain@google.com
323d0c56aa am 67421351: Merge "fix links to wear downloads" into klp-modular-dev
* commit '67421351cc6fd99aef741bb3bc2599bcb1288d1d':
  fix links to wear downloads
2014-06-27 22:57:57 +00:00