3576 Commits

Author SHA1 Message Date
Adam Powell
efebb62581 Fix bug 5032301 - size list menu icons appropriately.
Change-Id: I309923cdd4d37292b390a9b760dec739becb1bbf
2011-07-14 21:52:18 -07:00
Adam Powell
8b09337750 Merge "Smooth the spinners" 2011-07-14 18:58:28 -07:00
Adam Powell
9ac32a4697 Smooth the spinners
Change-Id: I36de60dc05e5c15692d33d030973f27d54a9d465
2011-07-14 18:53:16 -07:00
Dianne Hackborn
b3a26f4d94 Merge "Move LoadAverageService to the SystemUI apk." 2011-07-14 17:23:28 -07:00
Dianne Hackborn
45ce864ef4 Move LoadAverageService to the SystemUI apk.
Change-Id: I442e264802d1e35cd7d27bae121ae75f932595b6
2011-07-14 16:10:16 -07:00
Justin Ho
c843fdd7da Merge "Initial pass at some preload drawables Bug: 5020126" 2011-07-14 14:54:01 -07:00
Justin Ho
7fa1e191f6 Initial pass at some preload drawables
Bug: 5020126

Change-Id: I3c51e89774197caf50351ee55eb6922c9cdd32d5
2011-07-14 14:12:37 -07:00
Philip Milne
d44264a5ee Merge "Rationalize API after adding maximum size feature." 2011-07-14 11:32:09 -07:00
Philip Milne
93cd6a6c78 Rationalize API after adding maximum size feature.
. Change name of Group to Spec
	(with the addition of the fglexibility field, this class no longer represents a group)

. Replace overloaded Group/Spec constructors with factory method

. Bugfix for measure() when alignmentMode == ALIGN_BOUNDS

. Bury as much Java API as possible, to minimize restrictions on future API enhancements

	- make all field access in Group package private
	- use factory methods in place of field assignment

Change-Id: I46a5027a013bf7c3110b77108b8fd0427165cd18
2011-07-13 21:31:20 -07:00
Adam Powell
648b36bc30 Merge "Preserve spacing for icons in menus" 2011-07-13 20:07:41 -07:00
Adam Powell
9151103ff2 Preserve spacing for icons in menus
Change-Id: I3269fcffb98a84b6a5c5f9198afd2b2eae7d5f02
2011-07-13 20:00:40 -07:00
Svetoslav Ganov
76559a65ad Polish of the ActivityChooserView and ShareActionProvider.
1. Addressed the UX comments: ActivityChooserView's default selection
   popup no longer shows a message, rather hightlights the default
   action which now it displays. Alignemnt of the UI.

2. The ShareActionProvider shows a sub-menu if the host item goes
   on the overflow menu.

3. Now the heade layout of the activity chooser view is not needed hence
   dropped and the item and footer ones are merged.

Change-Id: I0b3de623e4c0a805be9ed73a8541e66b8c00e2d2
2011-07-13 13:57:32 -07:00
Fabrice Di Meglio
a6c53c7939 Merge "Introduce TextView drawableStart and drawableEnd" 2011-07-12 18:24:27 -07:00
Fabrice Di Meglio
a3b6b95f99 Introduce TextView drawableStart and drawableEnd
- update also unit tests

Change-Id: I20b82f5fea2cc48c93fd9e26eb03290ad730c08a
2011-07-12 14:04:24 -07:00
Adam Powell
11ed1d6cae Fix bugs around restoring submenu state after activity teardown/restore
Change-Id: I6cb5b3cad39b141dff84b8e0ca62f8f0a76a03b1
2011-07-12 11:35:15 -07:00
Ben Murdoch
06da76bd2d Add missing auto-fill strings.
These strings had a defintion native side, but no corresponding
definition java side which would lead to a crash. Strings taken from
chrome/app/generated_resources.grd - see
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/app/generated_resources.grd?r1=75912&r2=76117&pathrev=88489

Also note that credit_card_number_preview_format is no longer needed.

See also change Ib861245e26197938bb2c5cf0f99c1d797ab0fbf2

Change-Id: I829b5d24e6f9a04211ee91c3f670c8659c004cd9
2011-07-12 14:54:40 +01:00
Ben Murdoch
bfcc595307 Merge Chromium at r12.0.742.93: Update auto-fill regular expressions.
See diff from last update here:
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/autofill/autofill_resources.grd?r1=75368&r2=82248

Change-Id: I521c098932dfcfcb728ed2d96afd22b7926e88e9
2011-07-12 14:54:20 +01:00
Adam Powell
6f76635ee0 New assets from UX for dialogs/menu frames
Change-Id: If23f37f1aadb90af175664bdd2ddc485559e6781
2011-07-11 12:06:05 -07:00
Freeman Ng
8516448ea8 Merge "remove old style button bar look" 2011-07-11 10:46:12 -07:00
Mike Lockwood
e6d24ab6a9 Merge "MTP: Return error if user tries to copy a file >= 4GB to a FAT32 file system" 2011-07-11 10:41:08 -07:00
Mike Lockwood
7a59dd2ce3 MTP: Return error if user tries to copy a file >= 4GB to a FAT32 file system
Bug: 4561836

Change-Id: I2bffb93b032038f6c220c24c752ccd7ca66c23a0
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-07-11 13:40:02 -04:00
Freeman Ng
6bc6de6737 remove old style button bar look
bug: 4524233
Change-Id: Ie41f760258b7b673264d802c7dcc554b226e0e6e
2011-07-10 18:35:19 -07:00
Jeff Sharkey
104344e507 Cached NTP time for system services.
Uses NTP server and timeout from secure settings, or fallback to
defaults in resources.  Update various system services to use cached
NTP time when fresh enough, or force updates as needed.

Bug: 4517273
Change-Id: Ie1c4c4883836013d02ca0bbd850cf8949f93b34b
2011-07-10 14:25:18 -07:00
Adam Powell
36f469fa46 The COLORS!!
Add theme attributes and public color resources. Apps can now query
the current theme's various highlight colors. Commonly used color
values for Holo are now available.

Change-Id: If24dc9ee243e740e8caaddf0b78590783fa228c8
2011-07-08 15:36:33 -07:00
Kristian Monsen
7cec24f747 Merge "Merge Chromium at r12.0.742.93: New autofill string" 2011-07-08 11:31:33 -07:00
Kristian Monsen
918b183295 Merge Chromium at r12.0.742.93: New autofill string
Added a string that we now use.

Change-Id: I6df3f2b5c2f01e4d757dadb048cb53bfe9819ff9
2011-07-08 16:45:10 +01:00
Adam Powell
7f8f79a1ff Add ALL CAPS style to TextView/TextAppearance
Switch out ugly hack in action menu items for the new style.

Change-Id: I68a0ed62a352b14d499e6478b82bbc12dcb5a030
2011-07-07 20:39:41 -07:00
Adam Powell
eea5be5447 Merge "Action bar layout tweaks" 2011-07-07 14:35:22 -07:00
Philip Milne
5d1a9840aa Simplify and tidy the API for maximum value support.
Also:

. Remove CAN_SHRINK, FIXED from public view. These can be added later.

Change-Id: I63a64ac4748605da60373c8e3c2109178b5260c2
2011-07-07 14:23:00 -07:00
Adam Powell
160bb7fa60 Action bar layout tweaks
Fix a Spinner issue that reported odd baselines

Fix detection of expandable items for action menus and allocation of cells

Use the right asset for home-as-up in Theme.Holo.Light.SolidActionBar.Inverse

Add TextAppearance.Holo.Widget.ActionBar.Menu as a basis for further
menu item styling

Sync with design for tab/menu text appearance

Change-Id: I32026bbde1cd4e15b6cda30d78d3d48250c84c94
2011-07-07 14:14:38 -07:00
Eric Fischer
b75a798471 Merge "Import revised translations." 2011-07-07 11:33:38 -07:00
Eric Fischer
ff2612bc9d Import revised translations.
Change-Id: Iad20de7deafae6bfec4c37f23a1fcea35aae5a46
2011-07-07 11:27:19 -07:00
Adam Powell
a72ef62e5c Add style/theme definitions for solid action bar configurations.
Change-Id: I540e12ad3d8fc779dac24402286d995f542b5d25
2011-07-06 22:58:50 -07:00
Justin Ho
7b3fd1a53d Updated ActionBar assets
Change-Id: Ia4261a41d97b3ac9206c9dd40e129dcbed96f4fd
2011-07-06 17:12:49 -07:00
Adam Powell
35aecd5884 Updates for action menus
Sync with UX designs for action menus in split action bar mode.
Layout is now based on a grid cell scheme.

Tweak action menu item layouts.

Fix some bugs with drawing LinearLayout dividers.

Rename config resources to follow convention.

Action bar menu items now show text in ALL CAPS. This is done in a
locale-dependent manner, but if it produces problems in specific
locales the config resource config_actionMenuItemAllCaps should be set
to false for that locale.

Change-Id: I064c2dd85e012e89551f29153efcfc17f9106333
2011-07-06 16:30:38 -07:00
Christopher Tate
79ec80db70 Make full backup API available to apps
New methods for full backup/restore have been added to BackupAgent
(still hidden): onFullBackup() and onRestoreFile().  The former is the
entry point for a full app backup to adb/socket/etc: the app then writes
all of its files, entire, to the output.  During restore, the latter
new callback is invoked, once for each file being restored.

The full backup/restore interface does not use the previously-defined
BackupDataInput / BackupDataOutput classes, because those classes
provide an API designed for incremental key/value data structuring.
Instead, a new FullBackupDataOutput class has been introduced, through
which we restrict apps' abilities to write data during a full backup
operation to *only* writing entire on-disk files via a new BackupAgent
method called fullBackupFile().

"FullBackupAgent" exists now solely as a concrete shell class that
can be instantiated in the case of apps that do not have their own
BackupAgent implementations.

Along with the API change, responsibility for backing up the .apk
file and OBB container has been moved into the framework rather than
have the application side of the transaction do it.

Change-Id: I12849b06b1a6e4c44d080587c1e9828a52b70dae
2011-07-06 14:40:32 -07:00
Brian Carlstrom
be87cc945b Merge "Adding additional details to ssl_certificate view" 2011-07-06 12:39:25 -07:00
Brian Carlstrom
4a06281052 Adding additional details to ssl_certificate view
Change-Id: I3da80988b749fe60174c3c8df856d714ede518ba
2011-07-06 12:07:41 -07:00
Justin Ho
4481c35567 Merge "Updated Action Bar up affordance and menu button, refresh of ic_menu from designer tree Adding all xhdpi versions of these assets as well." 2011-07-06 08:04:06 -07:00
Chia-chi Yeh
44e27b5c74 VPN: remove the old VpnService.
Now VPN is (kind of) integrated into ConnectivityService.

Change-Id: If98e456e779f8e97f562d99c57d909b1f5d9db55
2011-07-02 20:21:09 -07:00
Svetoslav Ganov
51ac0e94a8 Adding a ShareView and ActionProvider for menus.
1. Adding a widget for sharing contenet with other applications.
   The widget orders the share targets based on previous shares.
   It displays the share target list as either a popup anchored to
   itslef or as a dialog.

2. Added a ShareDataModel that will back widgets or other classes
   that are interested in share targets for a given intent ordered
   according to share history. This class is backing the ShareView

3. Added ActionProvider mechanism for the MenuItems. The action
   provider of a menu creates the action view as well as performs
   a default action if the menu item is on the overflow menu and
   is triggered but none of the menu callback has handled that.

bug:4590827

Change-Id: Iaa4add2df2538b8c6c7edbeaf2880486d4fd75c5
2011-07-01 23:35:26 -07:00
Jeff Brown
a4d1bc5172 Drop obsolete touch screen hacks.
Change-Id: I47354c37ee2cc2b36340eb709bb5043b3ba78ed9
2011-07-01 19:23:40 -07:00
Fabrice Di Meglio
f03712bf54 Merge "Fix default TextView textDirection heuristic" 2011-07-01 15:35:52 -07:00
Fabrice Di Meglio
0b28c757ad Fix default TextView textDirection heuristic
- use "first strong" instead of "locale"
- optimize "any rtl" heuristic too
- fix a few wording issues too

Change-Id: I239a11a49a7a6a6d45165f593c96e8b6b84f0661
2011-07-01 14:44:29 -07:00
Fabrice Di Meglio
0e591ab277 Merge "Add charCount heuristic to TextView textDirection" 2011-07-01 14:15:08 -07:00
Fabrice Di Meglio
8f5026562f Add charCount heuristic to TextView textDirection
- threshold set to 60% (using a constant)
- fix also one issue during layout direction resolution (parent could be null so delay resolution
up to when parent is no more null)

Change-Id: I65f24a297aac6bc0d5d482ee31b55db0b201e5bf
2011-07-01 14:08:19 -07:00
Justin Ho
21738b9430 Updated Action Bar up affordance and menu button, refresh of ic_menu from designer tree
Adding all xhdpi versions of these assets as well.

Change-Id: Ic2e4738f3fa6105c5182a396b6fa75d386f40402
2011-07-01 13:27:16 -07:00
Mike Lockwood
54965341b1 Merge "USB: Update strings for USB connected notifications" 2011-07-01 12:00:20 -07:00
Mike Lockwood
d8404d2fdd USB: Update strings for USB connected notifications
We now have different strings depending on the current USB mode.

Change-Id: Icc6392d5700a6fee008b75287d8eb0f06db1d880
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-07-01 14:55:23 -04:00
Philip Milne
d307878ebc Merge "Support for maximum values in layout GridLayout." 2011-07-01 11:31:46 -07:00