3543 Commits

Author SHA1 Message Date
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
Philip Milne
48b55244d2 Support for maximum values in layout GridLayout.
A cell's ability to shrink or stretch is now integrated with the
constraints system, which is now supplied with both upper and lower
bounds.

Also:

. Remove package private access (pseudo) annotation
. Remove rowWeight and columnWeight attributes and fields
. Remove code to handle weights

Change-Id: I9e2432101d15466c621f51ae362435051fab5764
2011-07-01 11:08:19 -07:00
Amith Yamasani
a4ad22a5de Merge "Reduce some padding in the search dialog to get more text space." 2011-07-01 10:30:00 -07:00
Kristian Monsen
5faaadffbf Merge changes I7e8401a4,I412ddf36
* changes:
  Merge Chromium at r11.0.696.0: New autofill strings
  Merge Chromium at r11.0.696.0: Using setter instead of direct variable access
2011-07-01 08:04:11 -07:00
Chia-chi Yeh
2e46061cd2 Merge "VPN: refactor a little bit for the upcoming integration of legacy VPN." 2011-06-30 23:27:53 -07:00
Chia-chi Yeh
a4b87b5e98 VPN: refactor a little bit for the upcoming integration of legacy VPN.
Change-Id: I0fe0dffe59d8d9c9a0fdd05e07b07aa6c8da0a80
2011-06-30 23:21:55 -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
Amith Yamasani
0b5620907f Reduce some padding in the search dialog to get more text space.
Change-Id: I7a2327fcb511c28dff705332c8b7b2ea26ee97e6
2011-06-30 19:10:42 -07:00
Brian Carlstrom
77dd02df71 Merge "Add body id to ssl_certificate layout" 2011-06-30 18:06:12 -07:00
Brian Carlstrom
2ddef21f6e Add body id to ssl_certificate layout
Change-Id: I81d6d0a9fb8fd8a97db1c667e2dc245fba584d15
2011-06-30 18:04:26 -07:00
Svetoslav Ganov
1e75fbd8fe Merge "Updating accessibility documentation." 2011-06-30 14:19:02 -07:00
Svetoslav Ganov
38e8b4e5bc Updating accessibility documentation.
Change-Id: Ice8cf9ac6918b3bfa553776c68d4619fa6559cf8
2011-06-30 14:18:34 -07:00
Justin Ho
ab337a01ce Merge "Textfield assets from Gingerbread for compatibility" 2011-06-30 07:56:53 -07:00
Justin Ho
be9fbbc9e8 Merge "Initial upscaled progress spinners from Gingerbread in xhdpi" 2011-06-30 07:56:43 -07:00
Justin Ho
65b1847722 Merge "Updated popup assets in xhdpi. Padding issues will be resolved in a separate CL." 2011-06-30 07:56:24 -07:00
Kristian Monsen
6f38f0f68e Merge Chromium at r11.0.696.0: New autofill strings
Corresponding native change:
https://android-git.corp.google.com/g/#change,118079

Change-Id: I7e8401a4909c903ee4806825ff82a49e3cf6dacb
2011-06-30 13:48:14 +01:00
Jeff Sharkey
428e84388a Extend network stats to signatureOrSystem.
Change-Id: I82cc99797b5d5bc3bb9a876b67f311643174da33
2011-06-30 00:50:52 -07:00
Jeff Sharkey
845678fcbf Merge "Permissions to protect bandwidth statistics." 2011-06-30 00:49:12 -07:00
Svetoslav Ganov
e2474bc711 Merge "Adding right margin in the DatePicker" 2011-06-29 14:25:44 -07:00
Svetoslav Ganov
d17c79dd54 Adding right margin in the DatePicker
Change-Id: I1bdd10484aecfaa096dfc62ac78482d75f5b770d
2011-06-29 14:24:47 -07:00
Justin Ho
32387c75d2 Updated popup assets in xhdpi.
Padding issues will be resolved in a separate CL.

Change-Id: Ibd7865ba03620e4409a06c10950f91a15440659d
2011-06-29 13:32:10 -07:00
Justin Ho
19966276b9 Textfield assets from Gingerbread for compatibility
Change-Id: I3daa4b296a2474843018f94c54fae2c343124314
2011-06-29 13:27:08 -07:00
Justin Ho
e7d57c7f56 Initial upscaled progress spinners from Gingerbread in xhdpi
Change-Id: If5ceacfe9edb65ef0935af6b5c0589f53638cee5
2011-06-29 13:06:03 -07:00
Justin Ho
5c226b8358 Merge "Merging spinners from Gingerbread" 2011-06-29 12:56:48 -07:00
Justin Ho
0b1d272859 Merging spinners from Gingerbread
Change-Id: I91defbce958510db7523e65b9022f66232741730
2011-06-29 12:41:50 -07:00
Fabrice Di Meglio
83955ef12f Merge "Add textDirection support for TextView and ViewGroup" 2011-06-29 11:02:23 -07:00
Svetoslav Ganov
01fa0d7aae Date and time pickers do not show properly on phone
1. Copied the default NumberPicker layout to sw-600dip
   i.e. in the layouts for tablets and changed the
   layout to fit on the screen. No mini calendar on
   phones - you need an microsope to see it.

2. Fixed a two pixel off erroro in NumberPicker noticable
   when the scroll wheel fades away.

bug:4259424

Change-Id: I07a73faff1e95dffd30424cc8addd35f2fe30e8f
2011-06-28 22:25:03 -07:00
Fabrice Di Meglio
222688682e Add textDirection support for TextView and ViewGroup
- use ViewGroup inheritance if defined
- use different heuristics (inherit, firstStrong, anyRtl, ltr, rtl)
- add more unit tests

Change-Id: Ic1325aa7d9e4689b181e0a2d08b7dd7fb3f0dbeb
2011-06-28 20:29:08 -07:00
Justin Ho
1619a65b58 Merge "Removing unused drawables" 2011-06-28 17:32:52 -07:00
Justin Ho
981aa899a6 Removing unused drawables
Change-Id: I5d7306ee91a47b82dddf42214999edc06903f939
2011-06-28 15:59:37 -07:00
Jim Miller
5b0eb1778a Merge "Fix 4691563: Don't show lock before unlock screen" 2011-06-28 12:57:25 -07:00
Adam Powell
a1d9ae69ff Fix bug 4961844 - Allow split style action bar to have 2 different colors
Add the actionBarSplitStyle theme attribute. It defaults to the value
of actionBarStyle.

Change-Id: I5e929114d9cc163df0dd429aa0714b88a1f6a7a9
2011-06-28 11:36:24 -07:00
Jim Miller
2e4aa18884 Fix 4691563: Don't show lock before unlock screen
- Rename config_enableSlidingTabFirst to config_enableLockBeforeUnlockScreen and
default to 'false' on all devices.
- Use new larger handle asset.

Change-Id: I2537158b67642eb3f4c4a22a0bc388bf3022d408
2011-06-27 18:00:46 -07:00
Brian Carlstrom
5106476bbf Merge "Moving ssl_certificate layout, resources, and helper code to SslCertificate Add IKeyChainService.deleteCaCertificate" 2011-06-27 15:15:29 -07:00