876 Commits

Author SHA1 Message Date
Jim Miller
e898ac59db Fix 6299832: Add search target swipe action to navigation bar on phones
This adds a feature to swipe upward on the navigation bar to invoke
voice search on phones.

Change-Id: I462076fd43b1c66c5bf624f00b297c6d3414a19a
2012-04-24 17:25:46 -07:00
Eric Fischer
d671a43887 Import translations. DO NOT MERGE
Change-Id: Ib2edd737c39db1a06e846d3863cbc52eab2777ab
2012-04-24 12:49:19 -07:00
Daniel Sandler
e6f410e984 Remove unneeded sw600dp assets; clean up the needed ones.
These are still FPO, but now they've all been downscaled
from xhdpi.

Change-Id: I02371ea8b9e449fd0f024d034ee0f9f802fda32d
2012-04-23 22:32:42 -04:00
Daniel Sandler
8d98200650 Merge "Expand hit rectangles of main navigation buttons." 2012-04-23 16:40:13 -07:00
Daniel Sandler
6ae7b5807a Expand hit rectangles of main navigation buttons.
There's now no dead space between them. Also, increase the
visual size of the nav icons by 30% (just a quick resample
of the current artwork, to be replaced by custom-drawn
graphics at 130%).

The background glow looks kind of comical right now.

Bug: 6381833
Change-Id: I03ef0ea64a9e953f9f2b29cc03097d250ff52134
2012-04-23 17:15:15 -04:00
Eric Fischer
e8e25e22ac Import translations. DO NOT MERGE
Change-Id: Ib5fcdfa63b7d2049f9e5ee236a8dd394d48da22b
2012-04-23 12:31:22 -07:00
Daniel Sandler
4a066c5c77 Update SystemUI for sw600dp devices.
Devices between 600 and 719dp will now use the two-bar
(phone) SystemUI layout, or something like it, derived from
PhoneStatusBar. Devices above 720dp will use the system bar
from TabletStatusBar.

However, this distinction is not to be made based on dp, at
least, not by the SystemUI; the goal is to drive most of
this switch from the window manager. Therefore most of
SystemUI's sw600dp resources have been folded into the main
set of resources (renaming them to avoid collisions where
appropriate). This allows SystemUI to choose which set of
resources to use entirely by switching status bar
components, entirely independent of Configuration.

(For some resources, particularly around recents, it seemed
more expeditious to keep relying on the device
configuration, so those resources have been bumped up to
sw720dp.)

Bug: 6297838
Change-Id: I3f5414a6a718bdc83f51930d6878cdf97df48c9c
2012-04-21 00:19:47 -04:00
Eric Fischer
0a732ad527 Merge "Import translations. DO NOT MERGE" 2012-04-20 13:28:33 -07:00
Eric Fischer
46c629d5fa Import translations. DO NOT MERGE
Change-Id: Id52413abf313dabc666037b09e191b374f11bf22
2012-04-20 12:56:08 -07:00
Daniel Sandler
c2dd1d1192 Copy new resources to other densities.
Bug: 6372775
Change-Id: Ifea79db30878ba71243c0dfffb9494b0d517db7c
2012-04-20 13:49:26 -04:00
Chris Wren
80a76276dc Add visual feedback for notification expandability.
Change-Id: I0b82a465a126a6d0ec6cf6af87dc56817765b995
2012-04-20 12:45:02 -04:00
Chris Wren
d84e593746 fix press feedback on notification rows
Change-Id: I50de2f4d6142c2553428abc853c820f4354d0640
Bug: 6362246
2012-04-20 09:40:11 -07:00
Eric Fischer
abf5df26b5 Import translations. DO NOT MERGE
Change-Id: I76fa7c707eaf80c47b36d7e9145a26ec9c1670e4
2012-04-19 12:53:14 -07:00
Daniel Sandler
f7a1956b06 Long-press a notification to find out who sent it.
Bug: 5547401
Change-Id: I8d5d73723b3f03f5b0f8717faaca826b1530df7a
2012-04-19 11:39:49 -04:00
Eric Fischer
d97e3ea1f3 Import translations. DO NOT MERGE
Change-Id: Ie7fff3835aff72ad821dec9db5053061186b9100
2012-04-18 13:38:51 -07:00
Daniel Sandler
6a858c347f Gestures for expanding notifications.
Change-Id: I104c157ffcc2d60b3f0a95c59d4322b07103b69f
2012-04-18 11:21:19 -04:00
Eric Fischer
9488700933 Import translations. DO NOT MERGE
Change-Id: I040b3101c38af0ae31039893863012eccc035381
2012-04-16 13:38:47 -07:00
Eric Fischer
5cc53a3f80 Import translations. DO NOT MERGE
Change-Id: I0e4e1a2f1e2af07143ea621cb4f35f1df5190484
2012-04-13 12:56:38 -07:00
Eric Fischer
f320645b6d Import translations. DO NOT MERGE
Change-Id: I165a1adbaf48551ff98259bf3878de6373b7f9af
2012-04-11 12:57:23 -07:00
satok
01038492ff Show physical keyboard control button on the input method switch dialog
Bug: 5240095
Change-Id: Ica768083f95c33dc1e494a28ba7d8b6eb989b0ef
2012-04-11 15:49:35 +09:00
Dianne Hackborn
9801435820 Fix so that status bar doesn't resize when hiding nav bar.
The status bar now extends behind the nav bar, and uses
fitsSystemWindows to ensure its content is not covered.  We
always report a stable content insets (as if the nav bar is
visible) even if the nav bar is hidden, so the content doesn't
jump when transitioing.  This does mean that if you only hide
the nav bar (and not the status bar), when in landscape you
will end up with a status bar whose right side still leaves
room for the nav bar.  But why the hell would you want to do
that?

Also improve documentation on setSystemUiVisibility().

Change-Id: I8087d875f1214ef0085a91b5ed5c2f35ff2fc1b3
2012-04-05 18:31:41 -07:00
Dianne Hackborn
f87d19621d Clean up status bar, system bar, navigation bar management.
The status bar and navigation bar are two completely separate
elements, with their own semantics.  The system bar now classifies
itself as a navigation bar, since that is really how it behaves.

This required rewriting the HDMI resizing code, so that it is
all done by PhoneWindowManager since that is what is responsible
for the size of the navigation bar (and thus now system bar).  This
actually gets rid of a fair amount of code, and means we can also
do the same thing for a pure navigation bar.

Likewise the system bar now has the navigation bar ability to be
hidden when requested by system UI flags.  To get the behavior
we want on Xoom, we only allow the nav bar to be hidden when it
will help provide a better aspect ratio for showing widescreen
videos.

Finally the nav/system bar now animates when hidden and shown.

Change-Id: Ie927154b68376a0b61802f99171ff56b8da92e7a
2012-04-04 16:00:45 -07:00
Michael Jurka
55a25faa6f Reducing height of scroll fade in Recents on phone
Bug: 5149089
Change-Id: I163d3e9b888501999e812cff00d015bed36ca0d6
2012-04-03 04:40:35 -07:00
Daniel Sandler
f3b7343246 The beginning of expanded notifications.
There are now two "rebuilder" classes, each of which
consumes a Notification.Builder and modifies its behavior.
(Inheritance in Builder classes is...not advisable.)

- BigPictureStyle: includes a large Bitmap above the usual
  notification strip.

- BigTextStyle: shows the contentText in a large, wrapping
  TextView instead of truncating to one line.

As for SystemUI, the notification panel now shows the
expanded form if it is available, otherwise the usual
contentView is shown.

(Note that the structure of largeIcon notifications has
changed a bit: The largeIcon is no longer handled by the
status bar at all; it's entirely inside the template now.
Not only does this make the code simpler, and make large
notifications possible, but it fixes the longstanding
irritation that tapping on a largeIcon doesn't highlight the
whole notification row. Man, that feels good.)

Change-Id: I2b9d8a6ea4385659d8cb1ed467c1caf5e12628dd
2012-03-29 00:42:15 -04:00
Daniel Sandler
fa7887bebf Intruder alerts with actions and swipe-to-cancel.
Change-Id: I1d8c7d32bcbf4d3910bb866431e92a8639e4e28b
2012-03-27 22:28:53 -04:00
Eric Fischer
3a2d7ee26d Import translations. DO NOT MERGE
Change-Id: I04b64fd35f290123b9bf81d550fa31f144097811
2012-03-23 13:06:57 -07:00
Eric Fischer
7bf371e200 Import translations. DO NOT MERGE
Change-Id: Ie99a723075c6e17d413dc055bc52feb81b1db73f
2012-03-21 12:49:52 -07:00
Daniel Sandler
e97a776e9c Make navbar deadzone silent in touch exploration.
Bug: 5827342
Change-Id: Id93ab35f488a6aa48318b0f17dc510c443800aff
2012-03-19 22:56:42 -04:00
Eric Fischer
55baedbea0 Import translations. DO NOT MERGE
Change-Id: Ifae737940ed904103eb4177dcb0fe6256f1f1fbb
2012-03-13 14:17:47 -07:00
Eric Fischer
852ac0ed07 Import translations. DO NOT MERGE
Change-Id: Ic90318a02d8cc5ba9974ec78b47d156b721ee795
2012-03-12 13:58:55 -07:00
Andrew Flynn
c5bad6956e am 36fde268: am dfc87c82: Merge "Use a different width for nav icons in sw600dp-port." into ics-scoop
* commit '36fde2688bc32ddd5ed5de834a39ce3c7cd2b6cf':
  Use a different width for nav icons in sw600dp-port.
2012-03-09 11:43:53 -08:00
Andrew Flynn
36fde2688b am dfc87c82: Merge "Use a different width for nav icons in sw600dp-port." into ics-scoop
* commit 'dfc87c82e4a5e77e89c464f7074e50238525913d':
  Use a different width for nav icons in sw600dp-port.
2012-03-09 11:03:00 -08:00
Andrew Flynn
1d9af30b74 Use a different width for nav icons in sw600dp-port.
Change-Id: I6c4024e9f60e14c072d7c01f29fabc89fc51dfb8
2012-03-08 15:56:10 -08:00
Eric Fischer
ae4e6d8d4b Import translations. DO NOT MERGE
Change-Id: I02d61de9903b0c96622dc4d670658c8cd92fa67e
2012-03-08 12:51:06 -08:00
Eric Fischer
1ff8796440 Import translations. DO NOT MERGE
Change-Id: I1d2217605c628c8d31d2604fe9a1ee53b541fd15
2012-03-07 13:17:06 -08:00
Daniel Sandler
6768c11d60 Merge changes I8343449c,I4eaf69a1
* changes:
  New slide-out mechanism.
  Newly reimplemented PhoneStatusBar, now with fewer windows.
2012-03-06 05:18:10 -08:00
Eric Fischer
d42abc32ce Import translations. DO NOT MERGE
Change-Id: Ib8f8a67208b0626263507d3bea3ceb48cf8c7507
2012-03-05 14:26:22 -08:00
Daniel Sandler
079b33d215 New slide-out mechanism.
Instead of sliding the panel in from off-screen, the panel
is now stretched open (cropping the scrolling contents).

This is slower, so the layout has been dramatically
simplified to help performance.

Change-Id: I8343449c2b3fa4b4ee161f1de992d2242635d15e
2012-03-05 15:33:32 -05:00
Daniel Sandler
c6d29fc0f5 Newly reimplemented PhoneStatusBar, now with fewer windows.
Change-Id: I4eaf69a1d46f9180d6911a6559ff24d173ccb35b
2012-03-05 14:40:17 -05:00
Michael Jurka
7a3489552c Add shortcut for voice search
On phones with soft nav bar, make long press on
home launch a voice search intent

Change-Id: I69840a96a08524a76e33a306b799222c879db095
2012-02-28 14:37:35 -08:00
Michael Jurka
f16fc51d96 Remove unnecessary code
Found cleaner way to improve recents scrolling
performance on crespo-- instead of rendering the
background in the items, instead we just set
a window flag. Removed need for a lot of code.
2012-02-27 15:34:52 -08:00
Michael Jurka
99a9655b93 Making recents faster
Improving load time by:
- using window animation for fade-in and not
    waiting to create HW layer
- starting loading of thumbnails/icons earlier
- only initially creating views for the first
    screenful of items
- recycling views

Change-Id: I529b1085fe35d81aaafeb7433ccaed8e0537f01c
2012-02-13 19:11:40 -08:00
Eric Fischer
351fc6b1e3 Import translations. DO NOT MERGE
Change-Id: Icc9762f02ccee5f0f4fe1dc1adb66ef82f42fdf6
2012-02-09 11:33:43 -08:00
Eric Fischer
e42fe553a7 Import translations. DO NOT MERGE
Change-Id: Id6eb7d951bbbd8d01ce11670946282eecd7bc984
2012-02-08 18:46:47 -08:00
Eric Fischer
fb197c2654 Import translations. DO NOT MERGE
Change-Id: I853c3fd2a3ada0c78e461550dc6c61bb5e09404a
2012-01-27 11:55:32 -08:00
Daniel Sandler
bbbf6b9c49 am 70828a1d: am 5b08738a: Merge "Suppress mobile-out-of-service label if wifi connected." into ics-mr1
* commit '70828a1d40c9bf0e5066166216013093298de034':
  Suppress mobile-out-of-service label if wifi connected.
2012-01-26 15:47:06 -08:00
Eric Fischer
3b5e2c3bde Import translations. DO NOT MERGE
Change-Id: I9ecc6b7fd129f9b430d96e4d65c656a2b71bd0af
2012-01-26 14:21:26 -08:00
Daniel Sandler
62a1eb8972 Suppress mobile-out-of-service label if wifi connected.
Carrier name is shown if
 - in service and connected to mobile data
 - in service and connected to wifi

Carrier name is blanked if out of service and connected to
wifi.

"No internet connection" is shown if out of service without
any other route.

Bug: 5903914
Change-Id: I59d4d0c90e4153d73c38f7f0e150becf7e021a5b
2012-01-26 15:35:03 -05:00
Justin Ho
5691f6a882 am e46f8696: am b09f6f96: Merge "Update WiMAX assets to match new style Bug: 5724605" into ics-mr1
* commit 'e46f869629ef27afb149c771e69dbbefe1135f33':
  Update WiMAX assets to match new style Bug: 5724605
2012-01-23 09:18:30 -08:00
Daniel Sandler
e08c3e1520 am aaa7b772: am 639ed754: Hide mobile RSSI on devices without mobile data.
* commit 'aaa7b7728f3ced062273b54e1fc3b9d7d815bdcd':
  Hide mobile RSSI on devices without mobile data.
2012-01-23 09:18:24 -08:00