513 Commits

Author SHA1 Message Date
Winson Chung
40030c8d4d Merge "Binding Pwr+VolDown to take screenshot." 2011-07-01 10:48:07 -07:00
Winson Chung
9112ec3039 Binding Pwr+VolDown to take screenshot.
Change-Id: I77b018538f6bc870f59df0b5336ba95f4582beec
2011-07-01 10:47:07 -07:00
Adam Powell
8c47062522 Add API to report the presence of a permanent menu key on the device.
Action bar now uses this to determine whether to show an overflow menu.

Change-Id: Ife4f724d02bbc0d9d86d94740c85299f6dacae91
2011-06-30 19:40:54 -07:00
Daniel Sandler
41006aaf34 Add 2mm dead zone (12dp) at the top of the navigation bar.
Also update metrics to match clarified spec; in particular,
the navbar is now 48dp tall.

Bug: 4689070
Change-Id: Ia05ae840076df5a984ac85bb63df997943356eb8
2011-06-29 15:10:49 -04:00
Daniel Sandler
5c8da94980 Now showing: Navigation Bar, The Final Layout
Starring, in order of appearance:

  BACK

and

  HOME

and introducing in his first starring role on phones

  RECENTS

with a special guest appearance by

  MENU

presented in PORTRAVISION and LANSCOPE

Change-Id: I0b8459a6f648a4336a0e1a943e02ba82728a75cb
2011-06-28 12:07:35 -04:00
Daniel Sandler
631c57c496 New status bar artwork (includes xhdpi).
Change-Id: I3fc2b6a3c76cb80c4985e1432edb9060069eb28a
2011-06-28 10:49:57 -04:00
Eric Fischer
6d470b7176 Import revised translations.
Change-Id: Ie30d36d7416f687f2d84b0bdf6547cda96446f37
2011-06-20 14:40:53 -07:00
Mike Lockwood
5787a2d5b4 USB connected notification and temporary USB options dialog
This change adds a notification when USB is connected.
Selecting the notification brings up a dialog to allow switching between
MTP and PTP modes, and also allows mounting a CD image for installing AFT.
The UI design is not final - this is a temporary implementation of the UI.

Change-Id: Idd678537aba595fd4cb183ea755bf437f372d826
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-06-17 19:49:05 -04:00
Daniel Sandler
ebce0115e2 ICS updates to notification layouts.
Of note:

1. There is no "X" (veto) button anymore. (Well, there is,
   but it's offscreen so it should still be available to
   assistive devices.) Users can use "Clear all" or the new
   swipe-to-veto gesture to clear notifications.

2. As a consequence of #1, your layout goes all the way to
   the right edge of the notifications panel again. Enjoy
   the extra space!

3. The numeric bubble in the notification icon is now capped
   at "999+" like it is in the expanded notification view.
   (Note that this involves a couple of new public framework
   resources: one to indicate the number beyond which the
   substitution string will be used, and one specifying a
   localizable substitution string.)

Bug: 4651514
Bug: 4686329
Bug: 4501990
Change-Id: I0e6bdb6aec4fe5bfc927eb1aba955d444a9414ec
2011-06-17 13:28:56 -04:00
Michael Jurka
d727cf7e3f Merge "Port recent apps from tablet to phone" 2011-06-15 16:51:22 -07:00
Michael Jurka
3b1fc47d00 Port recent apps from tablet to phone
- wire up to long press on home
- remove unused recents activity
- remove duplicate recents resources in -large directories (using -sw600dp instead)
- fix issue with zoom/scale translation when recents was brought up

Change-Id: I45538ccaff49b46ac3659c4828f9e2b0cd075241
2011-06-15 16:50:04 -07:00
Justin Ho
f4b56eaaba am 40fc6e0d: am c407ef22: am f4096041: Merge "Updated art for compat mode dialog." into honeycomb-mr2
* commit '40fc6e0de578198c9cc5d9a493cb7db77bc938b8':
  Updated art for compat mode dialog.
2011-06-15 15:01:42 -07:00
Justin Ho
40fc6e0de5 am c407ef22: am f4096041: Merge "Updated art for compat mode dialog." into honeycomb-mr2
* commit 'c407ef22222f8f7e6f82abd081ecb65149336f99':
  Updated art for compat mode dialog.
2011-06-15 14:58:56 -07:00
Justin Ho
c407ef2222 am f4096041: Merge "Updated art for compat mode dialog." into honeycomb-mr2
* commit 'f409604122f959653fb789e9133e94a51e369693':
  Updated art for compat mode dialog.
2011-06-15 14:56:03 -07:00
Daniel Sandler
e25f8336a0 Updated art for compat mode dialog.
Also finalizes on the following language & ordering in the menu:

  ( ) Stretch to fill screen
  ( ) Zoom to fill screen

Bug: 4595256
Change-Id: Ie92b1e0d829341fd73043a562e78437af2b128ec
2011-06-15 16:14:55 -04:00
Daniel Sandler
d7c8b6d2a4 am 2897fc4c: am fbb09347: am 5994bff9: Merge "One-time-only compatibility mode explanation dialog." into honeycomb-mr2
* commit '2897fc4cc320d9fea2c6a81d7e2b05b6b820acf0':
  One-time-only compatibility mode explanation dialog.
2011-06-15 06:36:56 -07:00
Daniel Sandler
2932645d99 am d163a616: am 2fdf5880: am 97d5081a: Merge "Final UI for compatibility mode." into honeycomb-mr2
* commit 'd163a6162891f0e14d4536460d839262d2693e9a':
  Final UI for compatibility mode.
2011-06-15 06:36:35 -07:00
Daniel Sandler
2897fc4cc3 am fbb09347: am 5994bff9: Merge "One-time-only compatibility mode explanation dialog." into honeycomb-mr2
* commit 'fbb093479362865da833b89643a8f58347278bc3':
  One-time-only compatibility mode explanation dialog.
2011-06-15 06:25:35 -07:00
Daniel Sandler
d163a61628 am 2fdf5880: am 97d5081a: Merge "Final UI for compatibility mode." into honeycomb-mr2
* commit '2fdf5880611c333e172d4e0cc2c4259bca324699':
  Final UI for compatibility mode.
2011-06-15 06:25:24 -07:00
Daniel Sandler
fbb0934793 am 5994bff9: Merge "One-time-only compatibility mode explanation dialog." into honeycomb-mr2
* commit '5994bff92472b3bdcd5754d8a9156b49269a9c1d':
  One-time-only compatibility mode explanation dialog.
2011-06-15 06:15:11 -07:00
Daniel Sandler
2fdf588061 am 97d5081a: Merge "Final UI for compatibility mode." into honeycomb-mr2
* commit '97d5081ac331884fe0f6f2e5814d4862a974fbe3':
  Final UI for compatibility mode.
2011-06-15 06:15:07 -07:00
Daniel Sandler
552b1f0d22 One-time-only compatibility mode explanation dialog.
Don't miss it!

Bug: 4595256
Change-Id: I80c0949e6118e3ea3af089d4cad160ce63e7d8ce
2011-06-15 01:03:02 -04:00
Daniel Sandler
3b0543acf1 Final UI for compatibility mode.
Bug: 4595256
Change-Id: Idaa96393fb809c828b5f661f29e8b687fdf3d104
2011-06-15 00:12:01 -04:00
Dianne Hackborn
3fe9cc5ea6 resolved conflicts for merge of e95c07bd to master
Change-Id: I9af0c08a9f1c1f68661efe051a66835e850b76f6
2011-06-14 16:13:26 -07:00
Dianne Hackborn
e95c07bd8a am 7c7f8e18: am 0a8a2324: Merge "Fix issue #4603422: Compatibility mode button doesn\'t always update" into honeycomb-mr2
* commit '7c7f8e18dee8b582ec8e30a1412903ceec2ef5f5':
  Fix issue #4603422: Compatibility mode button doesn't always update
2011-06-14 15:22:12 -07:00
Dianne Hackborn
7c7f8e18de am 0a8a2324: Merge "Fix issue #4603422: Compatibility mode button doesn\'t always update" into honeycomb-mr2
* commit '0a8a2324239d7604e2a68349585aa67b59b25f4c':
  Fix issue #4603422: Compatibility mode button doesn't always update
2011-06-14 15:14:34 -07:00
Dianne Hackborn
7d04932ef5 Fix issue #4603422: Compatibility mode button doesn't always update
We now tell the system bar every time the top activity has changed for
it to re-evaluate its UI state.

Also fix issue #: 4607102 Low rider notifications.  It turns out this
was due to the change in the dialog asset; the notification UI was relying
on this having a lot of padding to make it sit above the status bar.
Now we have an explicitly mechanism to set how much it overlaps (or doesn't)
the status bar.

Change-Id: Iab5ebd86e620ff4fc4cd77206e18af962ec2830e
2011-06-14 15:05:16 -07:00
Daniel Sandler
08d08f667e Use the new animated notification layout on tablets.
(See change Ib46b2d3e.)

Change-Id: I46635ed97596bf1ebe65cd29ef80f3b189102d8a
2011-06-13 10:28:28 -04:00
Daniel Sandler
d42497e516 Rebuilt notification list using a new custom layout.
This will allow what is currently impossible with
layoutTransition: smoothly animating container bounds.

Current enter animation: alpha fade
Current exit animation: fade + slide right

Change-Id: Ib46b2d3ee982a276ca2142d360e62538e52b0897
Next: replace "X" with swipe-to-cancel.
2011-06-12 00:11:09 -04:00
Dianne Hackborn
6b592723c9 resolved conflicts for merge of f51ded0f to master
Change-Id: Ida356524a68aeb2b9b0013dfbb6ab4bd11e616e2
2011-06-10 12:45:36 -07:00
Dianne Hackborn
f51ded0f8f am a8d7ea06: am 220cd77d: Merge "Enforce public resource restriction on bag parents." into honeycomb-mr2
* commit 'a8d7ea067cf22baeee2ff0a33e5a8c5a35936942':
  Enforce public resource restriction on bag parents.
2011-06-09 16:06:07 -07:00
Dianne Hackborn
a8d7ea067c am 220cd77d: Merge "Enforce public resource restriction on bag parents." into honeycomb-mr2
* commit '220cd77de62956eb76c5084e1d1341d69bfd214a':
  Enforce public resource restriction on bag parents.
2011-06-09 16:02:02 -07:00
Dianne Hackborn
426431adcc Enforce public resource restriction on bag parents.
Need to put some more styles in the SDK to avoid breaking apps.

Also, welcome Android 3.2.

Change-Id: Ia31d07c9b1b91ad868d8630437fdc1b5ae24f37d
2011-06-09 15:27:39 -07:00
Dianne Hackborn
891266e36e am b5b98f87: am dfe824ef: Merge "DO NOT MERGE. Experimental compatibility mode UI." into honeycomb-mr2
* commit 'b5b98f877a09907a9a3b0c7e590e6e0ddd575158':
  DO NOT MERGE. Experimental compatibility mode UI.
2011-06-07 15:52:38 -07:00
Dianne Hackborn
b5b98f877a am dfe824ef: Merge "DO NOT MERGE. Experimental compatibility mode UI." into honeycomb-mr2
* commit 'dfe824ef3e5d8b2adac97c667cd51c7dfdb3c7af':
  DO NOT MERGE. Experimental compatibility mode UI.
2011-06-07 15:39:43 -07:00
Daniel Sandler
56e6dbd8b1 DO NOT MERGE. Experimental compatibility mode UI.
♫ Just another button, for you and me, in the status bar. ♫

(cherry picked from commit 45c0401a0647a5fdc5f37168463c14ad57c5644b)

Change-Id: Ib35d136deadf16f693003b61ea6cfee411f4aa3d
2011-06-07 14:11:09 -07:00
Daniel Sandler
45c0401a06 Experimental compatibility mode UI.
♫ Just another button, for you and me, in the status bar. ♫

Change-Id: I11ecac63341d4c421dbaffba931861605ebad286
2011-06-07 15:29:07 -04:00
Eric Fischer
e34ed24f4d am e9d32283: am b16b020d: Merge "Import revised translations. DO NOT MERGE" into honeycomb-mr2
* commit 'e9d32283e4eca1ee27218ed66f754a694678ac6d':
  Import revised translations.  DO NOT MERGE
2011-06-06 11:50:16 -07:00
Eric Fischer
e9d32283e4 am b16b020d: Merge "Import revised translations. DO NOT MERGE" into honeycomb-mr2
* commit 'b16b020dd32147fbaaf7de47d5de16bfee10967a':
  Import revised translations.  DO NOT MERGE
2011-06-06 10:54:41 -07:00
Eric Fischer
b5c6212de1 Import revised translations. DO NOT MERGE
Change-Id: I4bfd9ec60da3b224c71406851f0a7f8bbf0c1120
2011-06-03 17:24:55 -07:00
Eric Fischer
3124e6ebe7 Merge "Import revised translations." 2011-06-03 10:22:58 -07:00
satok
3fc1f85a37 resolved conflicts for merge of 7e2181c0 to master
Change-Id: Ifc3efad0c8ccf9bb880f53eeced39a5a91344af0
2011-06-03 10:26:15 +09:00
Eric Fischer
95cab5414d Import revised translations.
Change-Id: Iffa8d66bf709a6daa6a3cd464ac55b6e34857d71
2011-06-02 16:54:11 -07:00
Dianne Hackborn
ed60f81940 resolved conflicts for merge of 76450622 to master
Change-Id: I26ccd8f264e65f100d894f43cf597a781552db83
2011-06-02 09:20:52 -07:00
Joe Onorato
7052f307f4 am 7f818d0a: am 94a06bd8: am 6fb093b1: Merge "Move status bar icons to sw600." into honeycomb-mr2
* commit '7f818d0a97ecd7793811ff5549a4b67521d93f49':
  Move status bar icons to sw600.
2011-05-31 16:02:26 -07:00
Daniel Sandler
37445f5026 Turn off navbar by default...again.
Change-Id: I8471e31f3125dda7972a579bf4cf41ee091770ca
2011-05-31 16:21:36 -04:00
Daniel Sandler
f86f898f8a Move navigation bar to right-hand-side of seascape.
This means the navbar will either be at the bottom (portrait
and reverse portrait) or the right (landscape and seascape)
irrespective of the physical bottom of the device.

Change-Id: Ib51cab22f246785c9cebcc688bcdb848eb776361
2011-05-31 15:46:14 -04:00
satok
7e2181c0de am 93b05690: am 5485ff61: Reduce the number of notification icons on narrow screens.
* commit '93b05690ff006fa3f96ed5e09031e18d529ae794':
  Reduce the number of notification icons on narrow screens.
2011-05-28 00:06:55 -07:00
satok
93b05690ff am 5485ff61: Reduce the number of notification icons on narrow screens.
* commit '5485ff6141ccebad2c171a9a51ffdbcb72703bd7':
  Reduce the number of notification icons on narrow screens.
2011-05-28 00:02:54 -07:00
satok
5485ff6141 Reduce the number of notification icons on narrow screens.
For devices with minimum width between 600 and 720 dp, show
only 3 icons (and then, only in portrait). All other
configurations will show 5.

Bug: 4501374
Change-Id: I88168560fc2876c26cd3eb57f2db0b0cfe8b4fdd
2011-05-28 15:58:30 +09:00