3768 Commits

Author SHA1 Message Date
John Spurlock
1026479c19 am b77edbfd: Improve transparent bar transitions.
* commit 'b77edbfdab54531023c8bbea7d89b6cefc42096c':
  Improve transparent bar transitions.
2013-08-23 05:24:28 -07:00
John Spurlock
d28cb3e757 Merge "Remove more unused icons." into klp-dev 2013-08-23 12:22:53 +00:00
John Spurlock
b77edbfdab Improve transparent bar transitions.
1. Migrate transparent transitions to the new optimized
background color animations.

2. Ensure sysui animation transparent -> opaque has enough
time to run before window manager crops off the content area.

3. Lose the individual alpha on each status bar icon if the bars
are not opaque.  Animate the alpha if visible, make sure they
play together.

4. Documentation typo fix found in AnimatorSet.

Bug:10344949
Change-Id: I615668ce3c552d3df15dbba5cdeeca67549a0220
2013-08-23 08:08:24 -04:00
John Spurlock
9320645164 Remove more unused icons.
By also removing their obsolete layout referents.

Bug:10344949
Change-Id: Iff8bf686507c63239f058de82ebc776d27480b4f
2013-08-23 08:07:11 -04:00
Geoffrey Borggaard
7d93aa065e am f4e8eb83: Merge "Notify the users if a user installed SSL CA Cert is present." into klp-dev
* commit 'f4e8eb8342b16f9b550243303462c823c4613c19':
  Notify the users if a user installed SSL CA Cert is present.
2013-08-22 11:16:52 -07:00
Geoffrey Borggaard
f4e8eb8342 Merge "Notify the users if a user installed SSL CA Cert is present." into klp-dev 2013-08-22 18:13:53 +00:00
Geoffrey Borggaard
348fc4867e Notify the users if a user installed SSL CA Cert is present.
Adds a tile to quick settings when a cert is present.  Message varies
depending on if this device is managed or a consumer device.
Bug: 10105918
Change-Id: Ifbe78c10638ef6e2a4661e8d18b44b8913a2cf9d
2013-08-22 18:09:57 +00:00
Chris Wren
ff4e490d97 am 6d15a364: use ONGOING as the signal not to auto-hide heads up
* commit '6d15a364f26bd61122bfdd127eee225ca65206f5':
  use ONGOING as the signal not to auto-hide heads up
2013-08-22 09:15:01 -07:00
Chris Wren
49d686deaa am e03f4e1f: handle updates to the notification in the heads up
* commit 'e03f4e1fae518cff08ffcf51a3435cefe4fed1c8':
  handle updates to the notification in the heads up
2013-08-22 09:14:59 -07:00
Chris Wren
6d15a364f2 use ONGOING as the signal not to auto-hide heads up
instead of INSISTENT or NO_CLEAR
required some disambiguation in places where ONGOING is already used.

Bug: 10412149
Change-Id: Iea7d698846c76a464cae511a3a8e3908b114edfe
2013-08-22 10:45:32 -04:00
Chris Wren
e03f4e1fae handle updates to the notification in the heads up
Bug: 10226356
Change-Id: I5bc9aecc3849617092e863868a6df610c615048b
2013-08-22 10:45:31 -04:00
John Spurlock
758b038bc8 am 83208e34: Remove obsolete sysbar icons and layouts.
* commit '83208e34f6a0381d5627886dbf98ff8f313e590f':
  Remove obsolete sysbar icons and layouts.
2013-08-22 06:59:02 -07:00
John Spurlock
83208e34f6 Remove obsolete sysbar icons and layouts.
Remove icons no longer referenced in source or layout files.
Some icons are referenced in obsolete layouts, remove those
as well.

Bug:10344949
Change-Id: Ifc2e4c01534499b687cebd3e32db61e9c7a92e4a
2013-08-22 09:41:39 -04:00
Marco Nelissen
9b64ca7669 Use correct timescale for "date taken" field
Images.DATE_TAKEN is in milliseconds, not seconds.

b/10424911

Change-Id: I7b6231715ee3945bbd473039fb204881b8de3dc0
2013-08-21 13:13:29 -07:00
David Christie
95ea52f3f1 am 8b525e75: Merge "Switch QuickSettings to new LocationMode setting api." into klp-dev
* commit '8b525e75a05c693623a88fc49dfc78958858b4d7':
  Switch QuickSettings to new LocationMode setting api.
2013-08-21 10:45:05 -07:00
David Christie
8b525e75a0 Merge "Switch QuickSettings to new LocationMode setting api." into klp-dev 2013-08-21 17:40:43 +00:00
John Spurlock
e21d5b373a am b06b8b02: Merge "Improve transient bar transitions." into klp-dev
* commit 'b06b8b02674bb6d93f10a5c512aad8694867aa5c':
  Improve transient bar transitions.
2013-08-21 06:38:53 -07:00
John Spurlock
b06b8b0267 Merge "Improve transient bar transitions." into klp-dev 2013-08-21 13:36:36 +00:00
David Christie
448baa08d0 Switch QuickSettings to new LocationMode setting api.
Change-Id: Ie3981741ae422562e9c703b76d10278f285739c6
2013-08-20 15:22:33 -07:00
John Spurlock
5b9145bf99 Improve transient bar transitions.
1. If app clears transient flag w/ a gesture, the touch-outside
listener would always win, causing an unsightly hide + immediate
reshow.  Instead, give the app some time to clear the flag, then
perform a smooth transition in place.

2. When the transient bars are hidden, we do not know ahead of time
which background will be used on reshow (if transient bars are
revealed, the background is semi-transparent, if transient bars
are cleared, the background is opaque).  Window manager is responsible
for showing windows, but sysui is responsible for setting the view
background.  Therefore, we need some level of coordination between
the two in this case.  Introduce two new non-public sysui flags
that represent the window manager's request to reshow the hidden
bars, but do not reshow until sysui acknowledges (by clearing the flag).
This gives sysui whatever time is necessary to prepare itself for
reshow, avoiding unsightly blip from opaque -> transparent during
the enter animation.

3. When both system bars are hidden, any low-profile changes are
moot.  Avoid unsightly low-profile animations during bar reshow
by suppressing the flag in this case.

4. Improve transient bar home -> launcher transition by cancelling
the -> opaque animation.  This also fixes a bug where hitting
home from the transient bar would leave you with a semi-transparent
bar in a non-transient state.

Bug:10284800
Change-Id: I238210561d8d5f70c1a517283b986c9105a1ec75
2013-08-20 15:37:03 -04:00
Lorenzo Colitti
7515809107 am 743218d7: Merge "Display signal strength on data-only SIMs." into klp-dev
* commit '743218d7a121c02b0648f167e360518266e38419':
  Display signal strength on data-only SIMs.
2013-08-19 18:20:16 -07:00
Lorenzo Colitti
743218d7a1 Merge "Display signal strength on data-only SIMs." into klp-dev 2013-08-20 01:17:31 +00:00
Baligh Uddin
7e7f8d48a6 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-08-19 18:38:51 +00:00
Baligh Uddin
541b77c866 Import translations. DO NOT MERGE
Change-Id: I7fcd9d781a4d960b3edf245a4ee19f1a6b6bd35c
Auto-generated-cl: translation import
2013-08-19 08:23:40 -07:00
John Spurlock
8e514f10e0 am f01f1e9b: Merge "Use panel tracking as signal preventing auto-collapse." into klp-dev
* commit 'f01f1e9b9e6b9ced969d79489619947fd5fedcbe':
  Use panel tracking as signal preventing auto-collapse.
2013-08-19 07:39:05 -07:00
John Spurlock
b2c48e876d am 91bab13b: Merge "Transition bars to opaque on user interaction." into klp-dev
* commit '91bab13b00f49a38b4aab18bceb3c8b9877e723c':
  Transition bars to opaque on user interaction.
2013-08-19 07:35:40 -07:00
John Spurlock
f6efa0df45 am 9bf6f5b0: Merge "Lose navigation bar icon alpha in transparent modes." into klp-dev
* commit '9bf6f5b05abc1fa26fe873554de4ee16c8e855ac':
  Lose navigation bar icon alpha in transparent modes.
2013-08-19 07:35:37 -07:00
John Spurlock
f01f1e9b9e Merge "Use panel tracking as signal preventing auto-collapse." into klp-dev 2013-08-19 14:35:20 +00:00
John Spurlock
3b139a9ed0 Transition bars to opaque on user interaction.
When the transient bars are revealed, smoothly transition the
bar style to opaque to blend with the other panel chrome.

Bug:8706719
Change-Id: I65e5b22e2f91a3db0394c0f571127397ba692f46
2013-08-19 10:22:28 -04:00
Lorenzo Colitti
2ee168ea02 Display signal strength on data-only SIMs.
On SIM cards that support data but not voice, we currently
display a null signal strength icon, which is confusing because
data is actually working.

Fix this by displaying signal bars as well as showing the
"emergency calls only" or "no service" text which indicates that
voice service is not available.

Bug: 3339315
Change-Id: I7d888721e8dc5e22fefd1b8fa85ba046d46a8fba
2013-08-19 20:46:15 +09:00
John Spurlock
a4b70aff34 Use panel tracking as signal preventing auto-collapse.
Keeping track of pointer down at the window view level is unreliable
since gestures can be stolen.

Bug:10328256
Bug:10226720
Change-Id: I92d72f9eed73f90d2a7c5b30a3f6a4aa6549f799
2013-08-17 14:09:37 -04:00
John Spurlock
89835ddf32 Lose navigation bar icon alpha in transparent modes.
Also decouple visual style from bar mode in preparation for future
changes.

Bug:10344949
Change-Id: I8e5a94b023cd6a6606c3aab485f81b1494295cee
2013-08-16 16:58:45 -04:00
Baligh Uddin
7f2f60debe Merge "Import translations. DO NOT MERGE" into klp-dev 2013-08-16 18:02:17 +00:00
John Spurlock
99df31a254 am 1d5ac159: Merge "Maintain TRANSIENT_*_BAR flags until transient bars hidden." into klp-dev
* commit '1d5ac159745234d54fd6aa63fa43c85741bcaf6d':
  Maintain TRANSIENT_*_BAR flags until transient bars hidden.
2013-08-15 15:18:07 -07:00
John Spurlock
1d5ac15974 Merge "Maintain TRANSIENT_*_BAR flags until transient bars hidden." into klp-dev 2013-08-15 22:13:14 +00:00
John Spurlock
27735a4ba5 Maintain TRANSIENT_*_BAR flags until transient bars hidden.
Also factor common bar-management code into a separate helper
class called BarController instead of continuing to pollute
PhoneWindowManager with duplicate logic.

Bug:10345412
Change-Id: I880900e61daa6c2c53b169e4885e68ebc62ecb6c
2013-08-15 17:16:28 -04:00
John Spurlock
2b5d0264b2 am ac0a1ea0: Merge "Recover tracking pointer going up mid-gesture in shade." into klp-dev
* commit 'ac0a1ea06f4a11550e3ee476bbb89ece2984e826':
  Recover tracking pointer going up mid-gesture in shade.
2013-08-15 09:42:47 -07:00
John Spurlock
ac0a1ea06f Merge "Recover tracking pointer going up mid-gesture in shade." into klp-dev 2013-08-15 16:38:46 +00:00
Daniel Sandler
f9310baf2e am da68124d: Merge "Defend against NPE." into klp-dev
* commit 'da68124da23acadc192ba996d0e64f6d362a9a26':
  Defend against NPE.
2013-08-15 09:11:57 -07:00
Daniel Sandler
da68124da2 Merge "Defend against NPE." into klp-dev 2013-08-15 16:06:49 +00:00
John Spurlock
48fa91a818 Recover tracking pointer going up mid-gesture in shade.
Keep track of the pointer id used in driving the gesture. If
it happens to go up mid-gesture (another pointer is still down),
continue the gesture with another down pointer, instead of
abruptly jumping on next ACTION_MOVE.

Bug:10246050
Change-Id: Ia6e59658635fd696974fe415f37811d27da80519
2013-08-15 09:29:31 -04:00
Baligh Uddin
0046317044 Import translations. DO NOT MERGE
Change-Id: Ibb2df782552963c6a3a39f57c8fd8cce6f2f7654
Auto-generated-cl: translation import
2013-08-14 11:47:49 -07:00
Daniel Sandler
7a4c1afb7a am 3dfa5eb9: Merge "Toward regularizing color & level across battery indicators." into klp-dev
* commit '3dfa5eb9d9eeb12d761194cb06dc1ba63ed61e95':
  Toward regularizing color & level across battery indicators.
2013-08-13 23:33:11 -07:00
Daniel Sandler
3dfa5eb9d9 Merge "Toward regularizing color & level across battery indicators." into klp-dev 2013-08-14 06:29:05 +00:00
Daniel Sandler
dfaf3bdeeb Toward regularizing color & level across battery indicators.
Each of our existing assets is slightly incorrect in some
way: inconsistent pixel jumps from one percent to the next,
inconsistent color change, etc. The only way to get it
perfectly right is to draw it programmatically.

Bug: 8504254 // inconsistent color change threshold
-- previously --
Bug: 3136046 // in Gingerbread
Bug: 3387973 // Honeycomb
Bug: 5070948 // ICS
Change-Id: I6a3e7409ecec55e10328541ecb1e9d54aebdbe96
2013-08-13 23:21:08 -07:00
Daniel Sandler
0a565f3dcf am 0155a90e: Merge "How did that get there?" into klp-dev
* commit '0155a90eb4197a9aa1f8d53c90b02e5b53167183':
  How did that get there?
2013-08-13 22:30:10 -07:00
Daniel Sandler
0155a90eb4 Merge "How did that get there?" into klp-dev 2013-08-14 05:24:34 +00:00
Daniel Sandler
8800e46d84 How did that get there?
Whoever checked this in: Turn in your badge and your gun.

Change-Id: I635dbc3bae6a58bf425241fb4105e26cc03a9869
2013-08-13 22:19:50 -07:00
Daniel Sandler
24e028e0ec Defend against NPE.
During SystemUI startup, populating accessibility for other
views can race with attaching SignalClusterView to its parent.

Bug: 9999664
Change-Id: Iba34a3edba403ae65ff3c37b953d0736068a67b9
2013-08-13 20:18:01 -07:00
Daniel Sandler
7b9173b6f0 am a53d38bc: Merge "Drop simultaneous pointer events when tracking velocity." into klp-dev
* commit 'a53d38bc286ee35ab77843ad5b4c6b2fb9e81ac5':
  Drop simultaneous pointer events when tracking velocity.
2013-08-13 19:41:59 -07:00