3863 Commits

Author SHA1 Message Date
Adam Powell
94f67e2af6 Fix bug 5205275 - SwitchPreference doesn't allow Switch to slide back
and forth.

Also have the SwitchPreference's Switch widget's onClick listener
toggle the switch rather than invoke the preference's own onClick
method. This will allow subclasses to assign different behavior to
clicking the preference itself if desired.

Change-Id: I97e3b7a786e9f0e8bdc03c0ed6001caa7dcd991b
2011-08-23 21:17:07 -07:00
Justin Ho
a34b06309e Updated spinners
Bug: 5076695, 5165156

Change-Id: I5613d03806ddf27742509e32b4050733ba45dbfb
2011-08-23 16:44:55 -07:00
Justin Ho
09162403b5 Merge "Updated popup assets Bug: 5080369" 2011-08-23 14:22:14 -07:00
Adam Powell
82349c54ce Fix bug 5202226 - Leave menu button visible for no-button phones if
targetSdk < ICS

Compatibility support for existing apps. Apps in the wild that
properly target <=GB phones and HC tablets should be able to expect
that their small-screen UI will continue to work as intended on ICS
devices. Make sure that we show the soft menu button in the nav bar if
the current device was not officially supported in Honeycomb, the app
does not target ICS or newer, and the window does not have an action
bar.

Change-Id: I069c30841d3827a60ef8040831fde6f4c051d0ee
2011-08-23 14:12:06 -07:00
Justin Ho
3f75d161b8 Updated popup assets
Bug: 5080369

Change-Id: Iff129a4509d6242c7b85bd9dc8201fca3c237021
2011-08-23 14:05:32 -07:00
Mathias Agopian
67403e096e BLUR_BEHIND flag is not supported anymore
Bug: 5185650
Change-Id: I56541d4967b90b150a734be1bbeff696eb6a4fb3
2011-08-22 20:03:58 -07:00
Adam Powell
53376cb179 Fix bug 5185375 - ICS Fit+Finish: Full-screen IME
Have extract mode use a light theme to better match the previous behavior.

Change-Id: I7d8f78a6465fee078de03b0a77040296d130a78d
2011-08-22 16:56:08 -07:00
Adam Powell
d257544e14 Fix bug 5142716 - Dialog content font size/padding is inconsistent
across different applications.

Alter font sizing and metrics of standard list item layouts to match
UI spec. This fixes metrics issues in dialogs, menus, and more.

Change-Id: I1e4f6266ac5e0d23e5272d69b5a102e3364ca7aa
2011-08-22 16:08:55 -07:00
Dianne Hackborn
661cd52e0e Add progress dialog for booting after an upgrade.
This introduces a new facility for code during the boot process
to display messages to the user through a progress dialog.  This
is only for use when performing longer-than-usual post-upgrade
operations such as running dexopt on applications or upgrading
databases.

Change-Id: I0e78439ccec3850fb67872c22f235bf12a158dae
2011-08-22 13:42:05 -07:00
Jim Miller
5e82bc0383 Merge "Fix 5026428: Rework unlock attempt logic with active DPM to show better messages" 2011-08-22 13:36:07 -07:00
Svetoslav Ganov
0ba9546b7b Merge "Adding accessibility support to the PIN lock screen." 2011-08-22 12:19:34 -07:00
Eric Fischer
8551f56d0f Merge "Import revised translations." 2011-08-22 12:15:17 -07:00
Eric Fischer
8da527d843 Import revised translations.
Change-Id: I51335fa15a40d471010dbcc96e228b170f06ce7e
2011-08-22 11:09:13 -07:00
Svetoslav Ganov
e8b8e1aed0 Adding accessibility support to the PIN lock screen.
1. The password lock screen is accessible and with this
   change the PIN lock screen is accessibile as well.
   This is enough to cover the enterprise use case of
   imposed lock of the deivce. we will hide the options
   for pattern since it is hard for use by a blind person.
   We may reconsider this for subsequent releases.

bug:4978246

Change-Id: I069f8ebe1ff7ea1591cab42ea580f00f3d31b2e6
2011-08-22 09:46:08 -07:00
Tadashi G. Takaoka
fb3db1f3a2 Update IME switcher icon on notification bar
Bug: 5086639
Change-Id: Ic29e4e864e574da748ed74d02a2e0f2f62ab8fd9
2011-08-22 18:18:13 +09:00
Jim Miller
4f36995777 Fix 5026428: Rework unlock attempt logic with active DPM to show better messages
Prior to this change, we didn't have a mechanism to warn the user when
they were approaching the wipe data threshold dictated by active DPMs.

Here's the new flow:

- If a device policy manager is installed and sets the max
password attempts, we start warning the user when they are within
a grace period of hitting the max (currently hard-wired to 5).

- We continue to show a dialog after each continued attempt
until the user reaches 0 remaining attempts.

- We now show a message when they hit 0 so they know why their device is
being reset.  The device will reboot and wipe data shortly after this final
dialog is shown.

Also increased the criteria for a pattern attempt from 3 dots to 4 dots
since the user can never set a pattern less than 4 in length. This will
greatly reduce the likelihood of a false wipe on the pattern unlock screens
without compromising security.

Change-Id: I28825ef21dfa2e2b6540e743252c6d50c41e5ad7
2011-08-21 13:57:01 -07:00
Jim Miller
6d97842849 Merge "Fix 5021968: Add input method switcher button to lock screen." 2011-08-19 16:30:13 -07:00
Jim Miller
858f8eaac7 Fix 5021968: Add input method switcher button to lock screen.
This adds an IME switcher button to lock screen.  It is only
shown if the user has more than one applicable and enabled IME installed.

Change-Id: I5f9503a205c2edb27170825539ba4a6ef25418ed
2011-08-19 15:46:03 -07:00
Adam Powell
b7d34e7172 Merge "Fix bug 5174755 - Adjust action bar overflow limits for ifRoom items" 2011-08-19 12:34:28 -07:00
Justin Ho
d4f6025702 Merge "Remove old spinner_ assets from zygote Bug: 5076695" 2011-08-19 12:24:06 -07:00
Adam Powell
bfcdfaf919 Fix bug 5174755 - Adjust action bar overflow limits for ifRoom items
Fix a bug where action menus were not updating after configuration
changes.

Change-Id: Iaeed7d924a7b8b40849fd8e1826ed1c8f4079c94
2011-08-19 12:18:13 -07:00
Justin Ho
d5e4e0a112 Merge "Updated overscroll asset Bug: 5076695" 2011-08-19 12:14:30 -07:00
Justin Ho
13684c3523 Remove old spinner_ assets from zygote
Bug: 5076695

Change-Id: I1dddea226dc1701936e4c9dcc05c6b9d2d3c4db6
2011-08-19 12:13:06 -07:00
Amith Yamasani
7c670365ae Merge "Dismiss the volume overlay dialog when user touches above the dialog as well." 2011-08-19 11:17:48 -07:00
Amith Yamasani
baf6dbfa93 Dismiss the volume overlay dialog when user touches above the dialog as well.
Bug: 5165168
Change-Id: Ib343c3b88371cb93f8241b1085d1a2f36a77b1ac
2011-08-18 17:40:29 -07:00
Adam Powell
931f0b8c07 Merge "Fix bug 5099037 - No delete option when multiple videos are selected" 2011-08-18 16:24:19 -07:00
Adam Powell
23f4cc0353 Fix bug 5099037 - No delete option when multiple videos are selected
Fix some bugs related to how action item slots are allocated in menus.

Fix some padding/margins in ActivityChooserView.

Change-Id: I12096b0165daca902c5bc8e24c1e8d54a35e9557
2011-08-18 16:19:31 -07:00
Jeff Sharkey
9a20fa54c9 Merge "Background data notification, API clean up." 2011-08-18 15:01:10 -07:00
Adam Powell
73f2677dc0 Fix bug 5185010 - android:backgroundSplit doesn't accept a color value
Let both backgroundSplit and backgroundStacked take raw color values.

Change-Id: I05035d6b29bf2973b23da2faf2943d56cba7755f
2011-08-18 14:32:11 -07:00
Jeff Sharkey
11a8c027e4 Merge "Preferences padding and scrollbars to match spec." 2011-08-18 10:52:03 -07:00
Jeff Sharkey
1666dc6041 Merge "Combine list of CharSequence with delimeter." 2011-08-17 18:12:07 -07:00
Amith Yamasani
cb87968865 Merge "Don't force measurement when SearchView is in iconified mode." 2011-08-17 17:28:58 -07:00
Amith Yamasani
a95e488bdc Don't force measurement when SearchView is in iconified mode.
Bug: 5178204

Update the focused state drawables when focus changes. Blue
underlines were not showing up consistently.

Bug: 5174426

Also use the correct style for the search icon so that it matches
other actionbar actions.

Change-Id: I8beed4cf435b074280a5dd79f7a4da4a39152b71
2011-08-17 16:43:55 -07:00
Jeff Sharkey
ce4a193ea8 Preferences padding and scrollbars to match spec.
Adjust preferences ListView to use direct padding instead of applying
to outer parent.  Also display scrollbars outsideOverlay on small
screens.

Change-Id: I750c53d2452d8842d487a091075c32f009f2c2fc
2011-08-17 16:31:24 -07:00
Jeff Sharkey
fa4d7754ed Combine list of CharSequence with delimeter.
Change-Id: I7d86b89a84f6d91e5441c8af63310b37f16974fc
2011-08-17 15:49:30 -07:00
Jeff Sharkey
3a844fcf5a Background data notification, API clean up.
When restricting background data, show ongoing notification to give
easy access to re-enable. Deprecate getBackgroundDataSetting() API
to always return true, since NetworkInfo.isConnected() is new source
of truth. Handle upgrade path by reading from existing secure value,
and kick one last broadcast when changing value. Remove background
data code from ConnectivityService.

Remove warning alerts, since they push ifaces into restricted list;
should only happen when iface has limit.

Bug: 5163559, 5129421
Change-Id: I0064d9d643656a4d32aaae51d4a58bce49fe295f
2011-08-17 14:12:42 -07:00
Claudia de Veaux
50d34a7595 Merge "Edits to remove "fail" references, plus edits to "stopped by mistake" dialog. Bugs: 5174094 and 5165745" 2011-08-17 12:52:04 -07:00
Justin Ho
e117d0bda1 Merge "Updated day_picker Bug: 5076695" 2011-08-17 11:17:32 -07:00
Justin Ho
071bb808ee Updated day_picker
Bug: 5076695

Change-Id: I02366c9a784d40587f0028fe45c7dc584205a511
2011-08-17 10:23:51 -07:00
Justin Ho
59984f65ad Updated overscroll asset
Bug: 5076695

Change-Id: I36e0783cb40f8f18c98a3a1faaa5b816600e63b3
2011-08-17 10:22:41 -07:00
Svetoslav Ganov
d859c45927 Merge "Breaks the build" 2011-08-17 05:27:07 -07:00
Svetoslav Ganov
709349396b Breaks the build
Revert "Adding accessibility support to the PIN lock screen."

This reverts commit 0d67c8900276494cd38539bce40342e11ed83508
2011-08-17 05:16:17 -07:00
Svetoslav Ganov
309b18e791 Merge "Adding accessibility support to the PIN lock screen." 2011-08-17 04:31:37 -07:00
Claudia de Veaux
f78c3c6d43 Edits to remove "fail" references, plus edits to "stopped by mistake" dialog.
Bugs: 5174094 and 5165745

Change-Id: Ie3e94b4fd5c814a5cbb52af7e2b8c8568ed0b89a

Reverted change from "failed" to "unsuccessful" on line 1928 per Dianne. This is a message to someone running a low-level factory test.

Adding escape to single quote.
2011-08-16 20:23:47 -07:00
Amith Yamasani
d140605fb4 Merge "Rename an asset and update ic_commit_* drawables." 2011-08-16 16:45:13 -07:00
Amith Yamasani
ed2d658af0 Merge "Move the padding to the text field in SearchView." 2011-08-16 16:19:56 -07:00
Amith Yamasani
465b08cf4d Move the padding to the text field in SearchView.
Side padding/margins were being applied to both the iconified
and the expanded view. This moves the margin to just the expanded view.

Bug: 5081112
Change-Id: I08c8cd97db2c893a0404065555d2770a6ab902ec
2011-08-16 15:38:42 -07:00
Amith Yamasani
69566a663b Rename an asset and update ic_commit_* drawables.
Bug: 5167680
Change-Id: I90b48c8600dba02d8f84c18a7b61f4b041544f0b
2011-08-16 15:26:25 -07:00
repo sync
4a56c437b6 Merge "P2p enhancements" 2011-08-16 14:50:56 -07:00
Gilles Debunne
4cee03a85f Merge "Change the behavior of SuggestionSpan." 2011-08-16 13:23:25 -07:00