5753 Commits

Author SHA1 Message Date
Jorim Jaggi
48bc36af05 Handle cases for going to SHADE_LOCKED
- When the user drags down in the empty (not on a notification), we
  scale up the clock in the interaction.
- If there are no notifications at all, we stay in KEYGUARD and let
  the clock spring back.
- Rubberbanding is different for the case when there are no
  notifications or only low-priority notifications, to indicate what
  the user can expect when they lift his finger.

Bug: 16216907
Change-Id: I69d6552c96ef9e3d0d0b526bbd232d68bef47960
2014-07-28 15:46:49 +02:00
Jorim Jaggi
87d84d4d95 Make user avatar bigger on lockscreen when it is tappable
Also fix some other paddings there.

Change-Id: I6c54b070cde96e7fd21ff3533ee6a4b58547028c
2014-07-28 15:35:09 +02:00
Jorim Jaggi
c7dea6ee9b Implement next alarm info in expanded QS.
Also make the representation of alarm on lockscreen consistent with
QS. In addition, fix a bug where pending app transition was overriden
to make the alarm click interaction look nice.

Bug: 15392951
Bug: 15856205
Change-Id: Iacdf6a38c5c1a7484b4b328c9a3fa4d25e071c64
2014-07-28 15:34:59 +02:00
Jorim Jaggi
0d266899da Fix status icon reappearing for legacy activities
When closing the shade, and underneath was an activity without
colored status bars, the animation for letting the status icons
reappear was strange and the icons faded from 0% alpha. The cause was
possibly that we set hasOverlappingRendering on the whole group but
but inner views used layers for setting the alpha value which
violated the contract in the documentation of
hasOverlappingRendering: "The current implementation of the saveLayer
and saveLayerAlpha methods in Canvas necessitates that a View return
true if it uses the methods internally without passing the
CLIP_TO_LAYER_SAVE_FLAG."

Change-Id: I4b0accc8ec3fb8cb553c6860eb7dba8a12d04364
2014-07-28 15:05:15 +02:00
Jorim Jaggi
629718fdc4 am 1698281b: am 91755f3f: am 54815675: Preview layouts for phone/camera affordance.
* commit '1698281bd8eabfc866655277283d446601cc4891':
  Preview layouts for phone/camera affordance.
2014-07-28 12:20:20 +00:00
Jorim Jaggi
8d51a477b5 am 91755f3f: am 54815675: Preview layouts for phone/camera affordance.
* commit '91755f3fbf96da62ad747526e8c0994c27aa1817':
  Preview layouts for phone/camera affordance.
2014-07-28 12:15:43 +00:00
Jorim Jaggi
3e0808d1d5 am 54815675: Preview layouts for phone/camera affordance.
* commit '54815675290855c41303478c5c9fc34323f23221':
  Preview layouts for phone/camera affordance.
2014-07-28 12:11:26 +00:00
Jorim Jaggi
b6cdcbc66b Preview layouts for phone/camera affordance.
Bug: 15126905
Change-Id: I72cbb90718e6add22a7c579a647f9f405793961a
2014-07-28 12:06:24 +00:00
John Spurlock
92a7512f40 am 892d84c7: am fec13d8e: am 416c134e: QS: Cellular tile icon state tweaks.
* commit '892d84c718d608a6fc6b4e26712133f0e4621b71':
  QS: Cellular tile icon state tweaks.
2014-07-27 16:10:50 +00:00
John Spurlock
13755c958c am fec13d8e: am 416c134e: QS: Cellular tile icon state tweaks.
* commit 'fec13d8e1d557d0f7adae99ddf7c78c8bc4b9930':
  QS: Cellular tile icon state tweaks.
2014-07-27 16:07:15 +00:00
John Spurlock
05810e2c5a am 416c134e: QS: Cellular tile icon state tweaks.
* commit '416c134e8909bfd5a72463ea89e6ca1c135f9514':
  QS: Cellular tile icon state tweaks.
2014-07-27 16:02:43 +00:00
John Spurlock
d5cd2fd15b QS: Cellular tile icon state tweaks.
Bug:16371677
Bug:15586604
Change-Id: Id66fc8fc0353221aa3ed4f6ebd09b499ccba6b98
2014-07-27 11:55:10 -04:00
Wink Saville
41ea01ff24 am f46fca60: am 2337a859: am cb2871b3: Fix hasService and use it in updateTelephonySignalStrength.
* commit 'f46fca60eb31fc8318c8f5571d93cf090f63a63f':
  Fix hasService and use it in updateTelephonySignalStrength.
2014-07-27 00:57:25 +00:00
Wink Saville
c192e95573 am 2337a859: am cb2871b3: Fix hasService and use it in updateTelephonySignalStrength.
* commit '2337a8594ab5ae79d17e7d06c26acba51ed33ae0':
  Fix hasService and use it in updateTelephonySignalStrength.
2014-07-27 00:53:12 +00:00
Wink Saville
22a2419c7c am cb2871b3: Fix hasService and use it in updateTelephonySignalStrength.
* commit 'cb2871b3d215dba73042c8730e69c5ad873ff755':
  Fix hasService and use it in updateTelephonySignalStrength.
2014-07-27 00:50:19 +00:00
Wink Saville
d32e1b42c4 Fix hasService and use it in updateTelephonySignalStrength.
I introduced the bug in hasService in
change Ia463997eac7b062653b3cef00570d3fffc115ad3 which added
debug and a quick and dirty hack for 16148026.

Change-Id: I9d5fa36a8cdab2ca28487a94a9f2ecd0d0af6a4b
2014-07-27 00:46:59 +00:00
Jeff Brown
2da6665002 am 8bfbd2f6: am 7798e931: am 108f9dc2: Merge "Remove DozeHardware since it will not be used." into lmp-dev
* commit '8bfbd2f61ffb8cc9e167b45ae0306f05af54d10d':
  Remove DozeHardware since it will not be used.
2014-07-26 22:56:17 +00:00
Jeff Brown
8090ac3eaa am 7798e931: am 108f9dc2: Merge "Remove DozeHardware since it will not be used." into lmp-dev
* commit '7798e9313106abfcc39808108b35edc2493ebc6a':
  Remove DozeHardware since it will not be used.
2014-07-26 22:52:04 +00:00
Jeff Brown
981838a45d am 108f9dc2: Merge "Remove DozeHardware since it will not be used." into lmp-dev
* commit '108f9dc260c703544054c44aa32048ff8556a7e0':
  Remove DozeHardware since it will not be used.
2014-07-26 22:48:23 +00:00
John Spurlock
fa8fccf6c7 am 382300fd: am 8ebe80a3: am c9dfaff7: Merge "Doze: Update tease signal to buzz-beep-blink from NoMan." into lmp-dev
* commit '382300fd23cda23040c97f2255edb5d6d351b019':
  Doze: Update tease signal to buzz-beep-blink from NoMan.
2014-07-26 21:28:12 +00:00
John Spurlock
aa2a40d57b am 8ebe80a3: am c9dfaff7: Merge "Doze: Update tease signal to buzz-beep-blink from NoMan." into lmp-dev
* commit '8ebe80a3919861e36988f91ef95be2efb4e5836d':
  Doze: Update tease signal to buzz-beep-blink from NoMan.
2014-07-26 21:24:44 +00:00
John Spurlock
b4f457d4ed am c9dfaff7: Merge "Doze: Update tease signal to buzz-beep-blink from NoMan." into lmp-dev
* commit 'c9dfaff71e485b67f181a3fcec0fed4df964a92f':
  Doze: Update tease signal to buzz-beep-blink from NoMan.
2014-07-26 21:20:26 +00:00
Jorim Jaggi
09f7739e0f am 1e3f2731: am fa6ff9da: am 07d1e212: Use finger velocity for ExpandHelper
* commit '1e3f27312c0f2992edd5c69e3d2f23a55ea9f15a':
  Use finger velocity for ExpandHelper
2014-07-26 17:29:40 +00:00
Jorim Jaggi
65ed38c9ce am fa6ff9da: am 07d1e212: Use finger velocity for ExpandHelper
* commit 'fa6ff9da595610fc2d9b1479ef39bc9aa3592be7':
  Use finger velocity for ExpandHelper
2014-07-26 17:25:49 +00:00
Jorim Jaggi
00c9cb0930 am 07d1e212: Use finger velocity for ExpandHelper
* commit '07d1e2123eda201b1baf2c34b5fc4d270f0c706e':
  Use finger velocity for ExpandHelper
2014-07-26 17:21:48 +00:00
Jorim Jaggi
28c0b714ac Use finger velocity for ExpandHelper
Makes sure that the animation continuing the expand has the exact
same velocity as the finger started the expand. At the end of the
animation, the velocity slows nicely down (reusing logic from
FlingAnimationUtils, yay!).

Change-Id: If9a286a1a3d1bde649cf0475367a63a2188ca3c0
2014-07-26 17:16:39 +00:00
ztenghui
29e2dd95fd am 5b942f14: am 6038139c: am ed2a502c: Merge "API REVIEW: VectorDrawable" into lmp-dev
* commit '5b942f1430bc5bf6ee35455919b7985d8fdefdc2':
  API REVIEW: VectorDrawable
2014-07-25 23:42:46 +00:00
Jorim Jaggi
2332ad8c29 am 43dd7d05: am 172ef792: am 6f4d51f1: Add possible string to survive string freeze.
* commit '43dd7d053809036334bd2d572e9fb527e9276dea':
  Add possible string to survive string freeze.
2014-07-25 23:42:42 +00:00
ztenghui
1310718917 am 6038139c: am ed2a502c: Merge "API REVIEW: VectorDrawable" into lmp-dev
* commit '6038139cd42822b9ae6bfc8275bbba75216e7532':
  API REVIEW: VectorDrawable
2014-07-25 23:38:06 +00:00
Jorim Jaggi
41051cb70d am 172ef792: am 6f4d51f1: Add possible string to survive string freeze.
* commit '172ef792323ae3fcc5ab1e3bcd1dfc509d41e58c':
  Add possible string to survive string freeze.
2014-07-25 23:38:02 +00:00
ztenghui
97f3ebf4b4 am ed2a502c: Merge "API REVIEW: VectorDrawable" into lmp-dev
* commit 'ed2a502c3fae8b4faae3a4e83b4b5e111319905f':
  API REVIEW: VectorDrawable
2014-07-25 23:32:59 +00:00
Jorim Jaggi
f2e3029d64 am 6f4d51f1: Add possible string to survive string freeze.
* commit '6f4d51f1a1de790d82c581d659fba636b10820bb':
  Add possible string to survive string freeze.
2014-07-25 23:32:56 +00:00
Jorim Jaggi
ab3d017e11 Add possible string to survive string freeze.
Winter is coming!

Change-Id: I806e8ece14895f9d79127dd7f98b6818d72ecbf1
2014-07-25 23:27:34 +00:00
Winson Chung
55880aa966 am e9f1671c: am 1f3cac65: am bee771f7: Fixing issue with Recents not triggering correctly for secondary users. (Bug 15689540)
* commit 'e9f1671c3f694033e88c2bcb2b3578e2ddf8e38f':
  Fixing issue with Recents not triggering correctly for secondary users. (Bug 15689540)
2014-07-25 23:13:38 +00:00
Winson Chung
d500ba674a am 1f3cac65: am bee771f7: Fixing issue with Recents not triggering correctly for secondary users. (Bug 15689540)
* commit '1f3cac657ed909419b2f43767e5009d038cee454':
  Fixing issue with Recents not triggering correctly for secondary users. (Bug 15689540)
2014-07-25 23:08:45 +00:00
Winson Chung
717d0bdcf0 am bee771f7: Fixing issue with Recents not triggering correctly for secondary users. (Bug 15689540)
* commit 'bee771f7316b19c79e03c6a06287d9d03c3d2af6':
  Fixing issue with Recents not triggering correctly for secondary users. (Bug 15689540)
2014-07-25 23:05:17 +00:00
Winson Chung
c37e129539 Fixing issue with Recents not triggering correctly for secondary users. (Bug 15689540) 2014-07-25 22:47:33 +00:00
Winson Chung
f273e89d24 am ee69d74e: am 206c4deb: am 6615b209: Announcing when a task is dismissed (for accessibility). (Bug 9181212)
* commit 'ee69d74efec964721b4c733ba71766f28df7f521':
  Announcing when a task is dismissed (for accessibility). (Bug 9181212)
2014-07-25 22:14:21 +00:00
Winson Chung
2a909e07de am 206c4deb: am 6615b209: Announcing when a task is dismissed (for accessibility). (Bug 9181212)
* commit '206c4deb69d209a71ea2f2af5a2eb69039a864c8':
  Announcing when a task is dismissed (for accessibility). (Bug 9181212)
2014-07-25 22:07:49 +00:00
Winson Chung
81531c72e0 am 6615b209: Announcing when a task is dismissed (for accessibility). (Bug 9181212)
* commit '6615b20987d56b63a97da44864704d56cfe7be0d':
  Announcing when a task is dismissed (for accessibility). (Bug 9181212)
2014-07-25 22:02:56 +00:00
Winson Chung
2b92253021 Announcing when a task is dismissed (for accessibility). (Bug 9181212) 2014-07-25 21:58:26 +00:00
Jeff Brown
13c726795f Merge "Remove DozeHardware since it will not be used." into lmp-dev 2014-07-25 21:16:23 +00:00
Jeff Brown
0f208eb707 Remove DozeHardware since it will not be used.
Bug: 16516536
Change-Id: I14597d3c9470c94e3bc5b8cff500d2fe6b2fd977
2014-07-26 15:41:21 -07:00
ztenghui
4883a5ab5e Merge "API REVIEW: VectorDrawable" into lmp-dev 2014-07-25 21:16:23 +00:00
ztenghui
a95c8abb36 API REVIEW: VectorDrawable
- Merge <size> and <viewport> attributes all in to top-level <vector> tag
- Indent attributes under <group> in java doc.
- Updata android:stroke to be android:strokeColor, likewise android:fill
- Instead of android:clipToPath, make this a different clip-path tag.
- Document units of the various attributes
- Add example code for defining a VectorDrawable resource

More than that:
= Refactor the code to better support clipPath as a sub-class.
= Update all the xml files to use the new attributes and clip-path tag.

TODO:
-- Remove clipToPath, since that should happen on build break Friday.

bug:16488254

Change-Id: I6db5680ef83cb26c8f064a60fc7d6e7142974b0f
2014-07-25 23:26:41 +00:00
John Spurlock
f7ce0125a3 am 4a65634b: am 08e7eb03: am ec2b8cb3: Merge "Volume: Show safe media warning in settings." into lmp-dev
* commit '4a65634b3638e1b324ee8899785ab0e86a36778c':
  Volume: Show safe media warning in settings.
2014-07-25 21:13:29 +00:00
John Spurlock
d27b22ede9 am 08e7eb03: am ec2b8cb3: Merge "Volume: Show safe media warning in settings." into lmp-dev
* commit '08e7eb032a7790559846e177b7b3dd39c8839a3f':
  Volume: Show safe media warning in settings.
2014-07-25 21:07:26 +00:00
John Spurlock
646a6501e7 am ec2b8cb3: Merge "Volume: Show safe media warning in settings." into lmp-dev
* commit 'ec2b8cb3482486d3114ea6f33af272f5e86a56d3':
  Volume: Show safe media warning in settings.
2014-07-25 20:57:59 +00:00
Dan Sandler
1a0883f66a am 42d5fd9f: am d3584b78: am c9d55d0c: Merge "Notification inspector." into lmp-dev
* commit '42d5fd9f919c6e715921b19b2c55480837cdc42c':
  Notification inspector.
2014-07-25 19:42:41 +00:00
Dan Sandler
7fcd9e6db0 am d3584b78: am c9d55d0c: Merge "Notification inspector." into lmp-dev
* commit 'd3584b78d3105105b5fba189adfe54d5dabde6c5':
  Notification inspector.
2014-07-25 19:37:46 +00:00