1305 Commits

Author SHA1 Message Date
Chris Wren
0f2aa68e3c proper geometry for heads up on tablets.
also some code cleanup since things are getting complicated.

Bug: 10074485
Change-Id: I900a60f0fdda8d2ef1bcfe01035d6f716e14aa56
2013-08-07 11:07:21 -04:00
John Spurlock
e1f366faf8 Introduce new transparent bars sysui flags.
Two new public sysui flags for views to request transparent
bars:
  View.SYSTEM_UI_FLAG_TRANSPARENT_STATUS
  View.SYSTEM_UI_FLAG_TRANSPARENT_NAVIGATION

This first change simply introduces the flags at the framework
level, and makes the requisite layout tweaks to WM.

As part of this change, expunge the term "hideybars" from the
codebase. The flag to declare support for transient bars is called:
  View.SYSTEM_UI_FLAG_ALLOW_TRANSIENT

Final visuals/transitions between opaque/transparent bars will be
done as a subsequent change. Right now the transparent style is
identical to the transient bars.

Change-Id: I5ead9c5e7b77f212df5b2a5f6e770596cd2226f3
2013-08-06 14:17:22 -04:00
David Christie
c90896a602 Revert icon changes in "Modify quicksettings to have new location behavior." (b/10184973)
This reverts icon changes in commit 03ed0127dae141d99b003ede9ba3ea937128e471.

Change-Id: I78e3af4a745dd4f182369edd9df9c296854e7762
2013-08-05 14:36:58 -07:00
Baligh Uddin
ec4d2aa50d Import translations. DO NOT MERGE
Change-Id: I0799c647e037d672f16c11d39489926a4938e71f
Auto-generated-cl: translation import
2013-08-05 09:47:33 -07:00
David Christie
03ed0127da Modify quicksettings to have new location behavior.
Location tile is always present, and long pressing
toggles the master location enabled switch.

Change-Id: I54d5ccaa3b04e14ebebd68f5fafa8e65311debb4
2013-08-02 13:10:10 -07:00
Baligh Uddin
b291b5e0b7 Import translations. DO NOT MERGE
Change-Id: I412cb6d16cfd7efb9befa89fbaaf46aba6839b46
Auto-generated-cl: translation import
2013-08-01 10:54:29 -07:00
Chris Wren
51c7510e49 allow rich notifications in the heads up.
new shouldInterrupt logic: screen on, not locked, not dreaming, and
  priority above HIGH and noisy, or has fullscreen intent
draft of API allowing devs to give hints about head up display

reuse inflateViews()
add an expand helper to the heads up space
move some things into Entry for reuse

don't allow touches in first second
delay decay if touched
make decay time a resource

add a custom viewgroup for notification rows to get view management
out of the NotificationData class.

Change-Id: I36464f110cfa0dabc3f35db7db6c35c27e8ee2ba
2013-07-23 11:38:56 -04:00
Baligh Uddin
25a78901fd Import translations. DO NOT MERGE
Change-Id: I9a868474b1fa886a461c5f5d81126aabc8d98bef
Auto-generated-cl: translation import
2013-07-18 11:45:05 -07:00
Chris Wren
157026f820 heads up notifications, v0.1
1. re-name intruder alerts to heads up notifications
2. use interrupt for the verb form, instead of intrude
3. new policy: no full screen, high priority, screen on, not locked or dreaming
4. controlled by global setting, with an observer
5. only content view for now, expandable is a todo

to turn it on:
  adb  shell settings put global heads_up_enabled 1
calendar notifications (not pop-up) work well.

Change-Id: I253418c217d0a5cf81dc2fa001f4bad90fafcce5
2013-07-09 11:12:49 -04:00
Baligh Uddin
e323299498 Import translations. DO NOT MERGE
Change-Id: Ief9384906e7c86d91998bc55d74107d9ade5e6c1
Auto-generated-cl: translation import
2013-07-03 11:52:42 -07:00
Baligh Uddin
23265b193a Import translations. DO NOT MERGE
Change-Id: I7533d17db79b24818bb5870f2b6839ab233e110c
Auto-generated-cl: translation import
2013-06-24 17:20:56 -07:00
Wink Saville
1f54f9246e am 42a6682e: am a5dc5846: am cc892d68: Merge "Change default for config_show4GForLte to true." into jb-mr2-dev
* commit '42a6682ec62b4470f2c783c015d95fdc6f64610b':
  Change default for config_show4GForLte to true.
2013-06-19 10:17:03 -07:00
Wink Saville
65a90d0709 Change default for config_show4GForLte to true.
Bug: 9265217
Change-Id: I962910de7826ce9825de2d2dfb9e50b84d0e7c75
2013-06-18 14:47:14 -07:00
Baligh Uddin
b052b9139a Import translations. DO NOT MERGE
Change-Id: I070b09bc5d8bac8f0d5b36da87fe97cc205c0de2
Auto-generated-cl: translation import
2013-06-17 07:29:56 -07:00
Baligh Uddin
3db7115886 Merge "Import translations. DO NOT MERGE" 2013-06-16 02:17:36 +00:00
John Spurlock
b2e90390e6 Merge "Remove unused do-not-disturb items." 2013-06-15 12:57:17 +00:00
John Spurlock
75d71b7e94 Merge "Stabilize hideybar confirmation toast." 2013-06-15 12:56:27 +00:00
Baligh Uddin
ca1fb945b9 Import translations. DO NOT MERGE
Change-Id: If9b1d6c029d0484d7197322a3c33df6b523dd341
Auto-generated-cl: translation import
2013-06-14 19:30:11 -07:00
Baligh Uddin
4a9e422680 Import translations. DO NOT MERGE
Change-Id: I45fbf411dc3f8cdb9a5ebd889ccf3a2868abb5a9
Auto-generated-cl: translation import
2013-06-14 19:27:44 -07:00
John Spurlock
0ac7b73b81 Remove unused do-not-disturb items.
Change-Id: I3dd3e242a8a1db0148e3ff4386ff812a4cca66bc
2013-06-14 16:09:57 -04:00
John Spurlock
e91322c2a5 Remove unused status_bar_icon.xml
Change-Id: I9d665203712d4865f5aa788600c89fbc876b14dd
2013-06-14 15:40:51 -04:00
John Spurlock
e804cb56d0 Stabilize hideybar confirmation toast.
Remove gravity workaround no longer needed after recent window
manager layout fix.

Also migrate instable code-based toast text calculation to use
the resource system properly.

Change-Id: Ifa380e387389ed9917336ad19dfde49f67a5fb10
2013-06-14 14:04:21 -04:00
John Spurlock
1623b8cf7f Merge "Remove TabletStatusBar from systemui package." 2013-06-13 13:54:43 +00:00
John Spurlock
b0e49fc93c Remove TabletStatusBar from systemui package.
Change-Id: Ie8b556dbba8751617582f8c717ee83e480938b27
2013-06-12 15:59:37 -04:00
Baligh Uddin
9b9955730e Import translations. DO NOT MERGE
Change-Id: I2d495385d9abb76e0e92f7019a86b7894e56f8b4
Auto-generated-cl: translation import
2013-06-12 10:39:43 -07:00
Baligh Uddin
d4f64a317a Import translations. DO NOT MERGE
Change-Id: Ic6b8f9443618863dbe34ca26e5832bee11ccc014
Auto-generated-cl: translation import
2013-06-12 10:38:17 -07:00
Daniel Sandler
ea28f9bc62 am 4a9fcaf4: am cd5b3310: Merge "Add LTE overlays for signal strength indicators." into jb-mr2-dev
* commit '4a9fcaf49f6da3f28334bb8e5eddea51c0b6fc59':
  Add LTE overlays for signal strength indicators.
2013-06-11 14:13:58 -07:00
Baligh Uddin
93b79fd410 Import translations. DO NOT MERGE
Change-Id: Ieae6313e43826f41d8a1ebef998ff4495184d1d1
Auto-generated-cl: translation import
2013-06-10 08:24:15 -07:00
Baligh Uddin
b0a32e8139 Merge "Import translations. DO NOT MERGE" 2013-06-07 15:53:31 +00:00
Daniel Sandler
2fe71d013f Add LTE overlays for signal strength indicators.
Note that operators that wish to show "4G" instead of "LTE"
on these networks can set config_show4GForLTE to true.

Bug: 9265513
Bug: 9265217
Change-Id: If7f3580da7266b0d0c62639e30684393d4e03392
2013-06-06 21:31:04 -04:00
John Spurlock
cdc05e0014 Remove remaining universe bits from sysui.
The logic has been gone for a while, a few resources remained.

Change-Id: I96b85741eec1582ef0947035344eb420994690fd
2013-06-06 15:39:51 -04:00
Baligh Uddin
e442bcccd8 Import translations. DO NOT MERGE
Change-Id: I60757236ce9b356004d1957685418f46077e87c8
Auto-generated-cl: translation import
2013-06-05 09:50:15 -07:00
Baligh Uddin
179cffe5a0 Import translations. DO NOT MERGE
Change-Id: Ia370f49ef3fbc9e163b0db22181ba8ad68caef05
Auto-generated-cl: translation import
2013-06-03 09:45:51 -07:00
Baligh Uddin
f4ae104ec4 Import translations. DO NOT MERGE
Change-Id: I34f5a0541c873ce23afc3a434210bf53d07bedfb
Auto-generated-cl: translation import
2013-05-29 17:29:53 -07:00
John Spurlock
dcf4f21460 Hideybars feature confirmation toast bar.
Enhance Toast to support new standard toast bar style, similar
to the undo bar in Gmail.  Toast bars can be interactive,
and can have a single action.  Add a new toast duration to
indicate persistent toasts (no auto-hide delay).

Use the new toast bar to implement a feature hint when hiding
the navigation bar in hideybars mode.

Per UX, the feature confirmation bar can also be dismissed on
any outside touch as long as the user confirmed it using the
OK button at least once globally.

Bug: 8754108
Change-Id: Iaa85d3b4da7ada1952a562f1e31de04380f5d587
2013-05-28 13:09:23 -04:00
Baligh Uddin
187da85c39 Import translations. DO NOT MERGE
Change-Id: Iaf53e2af9ac67e74522a8e27e762c04eadf25468
Auto-generated-cl: translation import
2013-05-22 22:37:20 -07:00
Baligh Uddin
96bab3ee26 Import translations. DO NOT MERGE
Change-Id: Id6d49e71d91347df267d43230558dc62ac7aa644
Auto-generated-cl: translation import
2013-05-17 10:32:11 -07:00
Baligh Uddin
0e1fe11e28 Import translations. DO NOT MERGE
Change-Id: I6ca9fe333df62cd61004cefef44cf0a9a48a9624
Auto-generated-cl: translation import
2013-05-13 07:44:02 -07:00
Craig Mautner
c20054a166 Eliminate flash when going from home to recents
When the wallpaper animation is coupled to the recents animation it
will go from fully transparent to visible along with it. In master
this is causing noticable jank if we are going from the home screen
where it was previously visible. Detaching the wallpaper animation
from the recents animation fixes it.

Change-Id: If1d1a1478530610017d954983b00ca6101cbaa8b
2013-05-08 14:27:02 -07:00
Baligh Uddin
4c76214fe7 Import translations. DO NOT MERGE
Change-Id: Ib1038b7f235b8f7388d2472fd1cab81a611b04c2
Auto-generated-cl: translation import
2013-05-06 09:55:32 -07:00
Baligh Uddin
918200edf7 Import translations. DO NOT MERGE
Change-Id: Ia6b724bc2426c4248b3b83569f21dd0ffe91bb3a
Auto-generated-cl: translation import
2013-05-01 08:45:23 -07:00
Baligh Uddin
d976fe792e Import translations. DO NOT MERGE
Change-Id: I1c5619a53271ddb3289ef2b6527274ef252e35e0
Auto-generated-cl: translation import
2013-04-29 22:48:39 -07:00
Baligh Uddin
7497dee4be Import translations. DO NOT MERGE
Change-Id: Ia8b07132b35a3e227344420446a09d1c587dab38
Auto-generated-cl: translation import
2013-04-26 09:13:04 -07:00
Baligh Uddin
578bf77c1f Import translations. DO NOT MERGE
Change-Id: I9b9d05b9e3e05827d75db4e5ae843e7fd2149d30
Auto-generated-cl: translation import
2013-04-24 08:37:25 -07:00
Baligh Uddin
7b75ad49b4 Import translations. DO NOT MERGE
Change-Id: Ie2c873a6a5a8ea2f505412cdf2ce603741758608
Auto-generated-cl: translation import
2013-04-22 09:06:52 -07:00
Baligh Uddin
1f53f5bb4e Import translations. DO NOT MERGE
Change-Id: Ifab4d7366d3359eee3f5e4adad7ec05c00d9b0d6
Auto-generated-cl: translation import
2013-04-17 09:15:39 -07:00
Daniel Sandler
1aec006be7 am 21f492b7: am cfd48d77: Merge "Rebuild quick settings tile layouts." into jb-mr2-dev
* commit '21f492b76a019828a3ff9785641c92dd548fed98':
  Rebuild quick settings tile layouts.
2013-04-16 11:38:01 -07:00
Daniel Sandler
b5538e6421 Rebuild quick settings tile layouts.
The chief motivation here is to allow two lines of text when
necessary. So much refactoring over so small a thing, but
the result is satisfying: most quick settings tiles do not
need their own layouts. Additionally, tiles with odd-shaped
icons (I'm looking at you, alien potato mode) no longer fall
off the grid.

It should be possible to further reduce the complexity of
quick settings, but for now this will suffice.

Bug: 7216734 // vertical alignment issues
Bug: 7216868 // wrap text in QS tiles
Bug: 7365911 // NPE in some tiles
Change-Id: I0c6ef275e44f745dfac52c2a7303072ae48e3873
2013-04-15 22:09:55 -04:00
Baligh Uddin
a1a67eb23d Import translations. DO NOT MERGE
Change-Id: Ifb0c975361e9e00feb3957139cf2c15a463a5319
Auto-generated-cl: translation import
2013-04-15 09:19:05 -07:00
Baligh Uddin
2ea3c41c60 Import translations. DO NOT MERGE
Change-Id: I82b577fe2ce4219c5afdce07b539238fde0de090
Auto-generated-cl: translation import
2013-04-10 09:30:09 -07:00