3453 Commits

Author SHA1 Message Date
Baligh Uddin
7f2f60debe Merge "Import translations. DO NOT MERGE" into klp-dev 2013-08-16 18:02:17 +00:00
John Spurlock
869ab8bef4 am 99df31a2: am 1d5ac159: Merge "Maintain TRANSIENT_*_BAR flags until transient bars hidden." into klp-dev
* commit '99df31a254d9f2f11cb4291f0a53bac374f12fba':
  Maintain TRANSIENT_*_BAR flags until transient bars hidden.
2013-08-15 15:21:48 -07: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
50e54a5df6 am 2b5d0264: am ac0a1ea0: Merge "Recover tracking pointer going up mid-gesture in shade." into klp-dev
* commit '2b5d0264b284e8de446c20d3a61aa454bcf62066':
  Recover tracking pointer going up mid-gesture in shade.
2013-08-15 09:47:38 -07: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
e0e9026fc9 am f9310baf: am da68124d: Merge "Defend against NPE." into klp-dev
* commit 'f9310baf2ec9e89134dcfe3cb9f3a7ef1dc158aa':
  Defend against NPE.
2013-08-15 09:14:24 -07: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
3d3572f1ea am 7a4c1afb: am 3dfa5eb9: Merge "Toward regularizing color & level across battery indicators." into klp-dev
* commit '7a4c1afb7a6fe8dbcec23cee3c1b7079a2ded81f':
  Toward regularizing color & level across battery indicators.
2013-08-14 08:15:38 -07:00
Daniel Sandler
3f26da9ab5 am 0a565f3d: am 0155a90e: Merge "How did that get there?" into klp-dev
* commit '0a565f3dcf5cddb5fb5cf07541aa6c55a03241ed':
  How did that get there?
2013-08-14 08:15:30 -07:00
Daniel Sandler
0a61c41349 am 7b9173b6: am a53d38bc: Merge "Drop simultaneous pointer events when tracking velocity." into klp-dev
* commit '7b9173b6f09c99d7d1fe50410515ba5001688764':
  Drop simultaneous pointer events when tracking velocity.
2013-08-14 08:15:12 -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
Daniel Sandler
a53d38bc28 Merge "Drop simultaneous pointer events when tracking velocity." into klp-dev 2013-08-14 02:35:33 +00:00
Daniel Sandler
69f756fe9b Drop simultaneous pointer events when tracking velocity.
They're not really simultaneous, but within 1ms of one
another, which is too close for getEventTime() to
distinguish; these events were causing the velocity
computation to become (understandably) confused and
resulting in failed panel flings.

Bug: 10246454
Change-Id: I3829192cdf9ad2a222ec8deca031d772d58de0da
2013-08-13 19:24:19 -07:00
David Christie
bddf1ab495 am 72e6b98f: am 2163bb09: Merge "Don\'t allow airplane mode to affect location status icon. Gps still operates when airplane mode is on, and consumes just as much power so the icon shouldn\'t be hidden." into klp-dev
* commit '72e6b98fec256f27bfb87d5d95ac997fb287d3d5':
  Don't allow airplane mode to affect location status icon. Gps still operates when airplane mode is on, and consumes just as much power so the icon shouldn't be hidden.
2013-08-13 17:22:09 -07:00
David Christie
72e6b98fec am 2163bb09: Merge "Don\'t allow airplane mode to affect location status icon. Gps still operates when airplane mode is on, and consumes just as much power so the icon shouldn\'t be hidden." into klp-dev
* commit '2163bb0924235dd3c3f47cbd8f25734cd8647ae9':
  Don't allow airplane mode to affect location status icon. Gps still operates when airplane mode is on, and consumes just as much power so the icon shouldn't be hidden.
2013-08-13 17:16:19 -07:00
David Christie
ef20fd1ea0 Don't allow airplane mode to affect location status icon.
Gps still operates when airplane mode is on, and consumes
just as much power so the icon shouldn't be hidden.

Change-Id: I10edc8771d3dd1831e94d26c6f61ca82d805cc12
2013-08-13 16:14:10 -07:00
John Spurlock
78b4b9ac23 am 5d2268ad: am e932e30e: Distinguish transient + transparent bar styles.
* commit '5d2268ad8dce9f55e276c380cce1d473c79bd7d6':
  Distinguish transient + transparent bar styles.
2013-08-13 10:37:16 -07:00
John Spurlock
5d2268ad8d am e932e30e: Distinguish transient + transparent bar styles.
* commit 'e932e30eadb5978591316ffe3d21d60604c0cd91':
  Distinguish transient + transparent bar styles.
2013-08-13 10:34:49 -07:00
John Spurlock
14c2faaa61 am 8fb569e8: am 34e13d90: Update transient navigation confirmation logic.
* commit '8fb569e86c353122d84bda9d985e418015248be3':
  Update transient navigation confirmation logic.
2013-08-13 10:30:14 -07:00
John Spurlock
e932e30ead Distinguish transient + transparent bar styles.
Transient bars = 30% black scrim per spec (formerly view alpha).
Transparent nav bar = Simple gradient drawable from 50% to 0% black.
Transparent status bar = Fully transparent.

Smoother transitions between bar modes will be tricky due to
coordination with window manager, and thus deferred to a separate
future change.

Pre-baked assets instead of the gradient drawable will also be
part of a separate future change, this change is simply meant to
move closer to the final look and feel to minimize confusion for
those kicking the tires on the new flags.

Bug:10012887
Change-Id: I8c35a660187903224a6bfe604b5313e9115c4a73
2013-08-13 13:29:43 -04:00
John Spurlock
8fb569e86c am 34e13d90: Update transient navigation confirmation logic.
* commit '34e13d90eda9bfda7a70998d190a95c88aa3d3d1':
  Update transient navigation confirmation logic.
2013-08-13 10:24:24 -07:00
John Spurlock
34e13d90ed Update transient navigation confirmation logic.
Show the confirmation toast when hiding the transient
navigation bar only the first time per app, per reboot.

Hitting the power key while the transient nav is hidden
is taken as a signal of possible user confusion, so reshow
the prompt the next time.

This requires the confirmation prompt to live in policy
(not sysui).  It arguably should have been here in the first
place, since the transient bar state/policy was here, and
sysui should not have not been able to fail to display
the prompt correctly.

Also take this opportunity to remove a hack wrt positioning
the confirmation properly while the nav bar is transitioning.
Toasts now support LAYOUT_HIDE_NAVIGATION if applied to the
toast's view.

Bug: 10246225
Change-Id: Ieb6355e4ca975c0758918a39e3c2ec13da81c7f4
2013-08-13 13:18:14 -04:00
Baligh Uddin
0f9e61d656 Merge "Import translations. DO NOT MERGE" 2013-08-13 07:29:18 +00:00
Baligh Uddin
43e56c4a91 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-08-13 07:29:07 +00:00
David Christie
a2223bafac am 8810a0c3: am 69b9eff1: Merge "Update Quick Settings to use new consolidated master location method. This is an effort to consolidate the logic of what the "master location switch" means. Quick settings will no longeer explicitly enable/disable gps and network prov
* commit '8810a0c3c242ab0ac252261d7f73258769cc9f2d':
  Update Quick Settings to use new consolidated master location method. This is an effort to consolidate the logic of what the "master location switch" means.  Quick settings will no longeer explicitly enable/disable gps and network providers.
2013-08-12 19:18:10 -07:00
David Christie
8810a0c3c2 am 69b9eff1: Merge "Update Quick Settings to use new consolidated master location method. This is an effort to consolidate the logic of what the "master location switch" means. Quick settings will no longeer explicitly enable/disable gps and network providers." into
* commit '69b9eff155254f1c274b8adbbf5501ddec4da089':
  Update Quick Settings to use new consolidated master location method. This is an effort to consolidate the logic of what the "master location switch" means.  Quick settings will no longeer explicitly enable/disable gps and network providers.
2013-08-12 18:47:21 -07:00
David Christie
69b9eff155 Merge "Update Quick Settings to use new consolidated master location method. This is an effort to consolidate the logic of what the "master location switch" means. Quick settings will no longeer explicitly enable/disable gps and network providers." into klp-dev 2013-08-13 01:44:42 +00:00
Baligh Uddin
af1b0e3fa4 Import translations. DO NOT MERGE
Change-Id: I4edc435e6dfc2c75eb5710d6366b6212a3a07039
Auto-generated-cl: translation import
2013-08-12 09:08:07 -07:00
Baligh Uddin
2bab15e513 Import translations. DO NOT MERGE
Change-Id: Iff45d8191fc4ac1fb7ae48c680cebd3f9dcf83da
Auto-generated-cl: translation import
2013-08-12 09:06:40 -07:00
Baligh Uddin
36afe9b67d Merge "Import translations. DO NOT MERGE" 2013-08-10 00:20:58 +00:00
David Christie
8ffe6171c7 am 262f3ff2: am 8ffe17ae: Merge "Update gps status icon to be a "high power" location icon. Move icon to right side of the screen and synchronize status with AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION." into klp-dev
* commit '262f3ff288d7da3be8db4c38200e5501e87a3445':
  Update gps status icon to be a "high power" location icon. Move icon to right side of the screen and synchronize status with AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION.
2013-08-09 02:37:08 -07:00
John Spurlock
037b958152 am d5e9f2c1: am c059dbe9: Merge "Fix recent regression in hideytoast." into klp-dev
* commit 'd5e9f2c1597eb406a7bda7ccfa9b11f6b18daeab':
  Fix recent regression in hideytoast.
2013-08-09 02:36:46 -07:00
Daniel Sandler
9ff38aabf6 am 4a76922e: am d646882a: Add missing densities for HUN backgrounds.
* commit '4a76922e6c405a9e6f5a98103a88ce4b75b895a5':
  Add missing densities for HUN backgrounds.
2013-08-09 02:36:44 -07:00
Daniel Sandler
e4eaaccea7 am 9a81e154: am f6971c80: Merge "OK, now it\'s a release." into klp-dev
* commit '9a81e154cc1c46d67387d01d7bffb2451fdb7e7e':
  OK, now it's a release.
2013-08-09 02:36:41 -07:00
Baligh Uddin
d69c0a5e68 Import translations. DO NOT MERGE
Change-Id: Ib90fdf8fdad73fa68db6be65c5b4f5cb34b9a740
Auto-generated-cl: translation import
2013-08-09 00:31:01 -07:00
Baligh Uddin
78a4740aa5 Import translations. DO NOT MERGE
Change-Id: I8e06a2ad389d19787557ab26ef10b20e6d667ec4
Auto-generated-cl: translation import
2013-08-09 00:29:33 -07:00
David Christie
262f3ff288 am 8ffe17ae: Merge "Update gps status icon to be a "high power" location icon. Move icon to right side of the screen and synchronize status with AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION." into klp-dev
* commit '8ffe17ae32e72e5d872a36d5048bf912d28e766f':
  Update gps status icon to be a "high power" location icon. Move icon to right side of the screen and synchronize status with AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION.
2013-08-08 15:55:58 -07:00