1637 Commits

Author SHA1 Message Date
Gilles Debunne
dbd3fe77a1 Merge "Animation settings reset to default" 2011-07-08 14:56:14 -07:00
Gilles Debunne
fa53d3002f Animation settings reset to default
Change-Id: Ie53c031ceb88d356742e80693edc14198506d54a
2011-07-08 11:21:09 -07:00
Jim Miller
3c728fe61d Fix 4689527: Improved curation for Recents + misc cleanup
This sets a threshhold for both the curation animation as well as the
snap back animation.  It now limits these to 500ms and 250ms, respectively.

Cleaned up misc log spew.

Updated after review.

Change-Id: Ie11a2fc4556b396257c33c3ebd7513c4c220ff95
2011-07-07 22:18:25 -07:00
Michael Jurka
4a6d113ba0 Merge "Handling Resources.NotFoundException in Recents" 2011-07-07 16:28:03 -07:00
Michael Jurka
4917b0dca8 Handling Resources.NotFoundException in Recents 2011-07-07 15:42:35 -07:00
Jim Miller
a7987101d5 Merge "Fix 4689527: Update Recents" 2011-07-07 13:58:13 -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
Jim Miller
f2a16b27af Fix 4689527: Update Recents
Fixed layout in landscape mode where recents only filled half the screen
because "match_parent" in the layout was being ignored. The fix is to
have a temporary ViewGroup as the parent to ensure the layout parameters
are valid.

Changed to solid 70% opaque background on phone.

Removed "dismiss" chevron from phone layout.

Removes glow on phones.

Change-Id: Id5319eeba4fdd8c9ef5792168b35162cc1bbfe38
2011-07-06 17:44:35 -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
Mike Lockwood
a2e66343b6 Merge "Revert "USB connected notification and temporary USB options dialog"" 2011-07-06 07:59:36 -07:00
Chia-chi Yeh
100155a310 VPN: convert prepare() into a form which helps solve race conditions.
When someone tries to revoke packageA, it is possible that packageA is
already revoked by packageB. In this case packageB should not be revoked,
and the new prepare() can help solve this problem.

Change-Id: Iee056a191dd99467b8ad1b5379a17b02d404bad1
2011-07-03 17:03:27 -07:00
Chia-chi Yeh
34e7813e96 VPN: minor refinement.
Change-Id: I2b59cbe8554b6c6f8da48c465252489394f32653
2011-07-03 03:07:07 -07:00
Mike Lockwood
3ac588b09a Revert "USB connected notification and temporary USB options dialog"
This reverts commit 5787a2d5b4e5bd60087eb7fbb13c97c7d0ba113e.

Change-Id: Ia5f097ffaa3798a42f71d005cffd5007556882d5
2011-07-02 22:07:25 -04:00
Chia-chi Yeh
d6315c0ebb Merge "VPN: give legacy VPN a fake package name." 2011-07-02 03:19:48 -07:00
Chia-chi Yeh
e9107901ae VPN: give legacy VPN a fake package name.
And add more comments.

Change-Id: I0cbc495fcb2c8dd105e16a841619b3b9bd227eae
2011-07-02 01:48:50 -07:00
Dianne Hackborn
63acea6ad4 Merge "When removing a task, also kill its processes." 2011-07-01 17:13:40 -07:00
Dianne Hackborn
8894cc5ed4 When removing a task, also kill its processes.
Change-Id: I5945fef21ad6f028e71e36d3cb55d35e0b6401a6
2011-07-01 17:12:04 -07:00
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
Chia-chi Yeh
5db03df1ff VpnDialogs: prepare for the usages of legacy VPN.
- Use PendingIntent to start activities.
- Handle configs without package names.
- Switch to system UID.

Change-Id: Ia78112a97e3628b603d9e059705e32694ebe142b
2011-07-01 00:10:32 -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
Christopher Tate
f12fbcd608 Fix settings restore even harder
Change-Id: If6920743ae92dcf811a87a1eefd357f849c03a23
2011-06-28 16:16:42 -07: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
Christopher Tate
28cdb9e104 Fix settings restore
Also correct the debug-mode logging of error locations in backup data.
Bug 4914182

Change-Id: Ie7dda0192afa819e42490b7ffd2d3db6f11968f6
2011-06-24 15:06:48 -07:00
Daniel Sandler
e07141a562 am e89d4b5d: am e0da3f3b: am 444336dd: Merge "Fix crazy notification panel background." into honeycomb-mr2
* commit 'e89d4b5d6952031c31f15db95435e7541e5df08c':
  Fix crazy notification panel background.
2011-06-23 07:41:37 -07:00
Mike Lockwood
f59717ddb5 Combine UsbManager.setPrimaryFunction and setDefaultFunction
Due to the property trigger on persist.sys.usb.config,
setting the default function also sets the current function.
Now we combine both of these methods into setCurrentFunction, which has
a "makeDefault" option to make the new function the default.

This change should eliminate some problems with setting properties due to
multiple property triggers happening at the same time.

Change-Id: I9851299e9c2ee20475eada1a8104c0d50bf5a9e1
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-06-22 15:19:33 -04:00
Mike Lockwood
7730ad569d Fix window leak in UsbPreferenceActivity
Change-Id: I4160e73a4e840662c6ac724e27460853fb259eae
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-06-22 12:02:10 -04:00
Daniel Sandler
edbdd3a024 Fix statusbar crash when DeskClock alarms go off.
Bug: 4723790
Change-Id: Ia819b6a35b5b103d28f6db3b25c815f77827f80f
2011-06-21 12:57:08 -04:00
Mike Lockwood
422bf6702f USB: Make MTP/PTP toggle in the USB preferences set the default mode
Change-Id: I438f7f24f06298ad41a99199c26c45bd7884afdd
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-06-20 21:54:55 -04:00
Daniel Sandler
e89d4b5d69 am e0da3f3b: am 444336dd: Merge "Fix crazy notification panel background." into honeycomb-mr2
* commit 'e0da3f3bc9aaefbf3e3737b69e91b7823f639751':
  Fix crazy notification panel background.
2011-06-20 17:34:33 -07:00
Daniel Sandler
e0da3f3bc9 am 444336dd: Merge "Fix crazy notification panel background." into honeycomb-mr2
* commit '444336dd5f233c59e5a222d366d2498c888664b5':
  Fix crazy notification panel background.
2011-06-20 17:30:38 -07:00
Eric Fischer
6d470b7176 Import revised translations.
Change-Id: Ie30d36d7416f687f2d84b0bdf6547cda96446f37
2011-06-20 14:40:53 -07:00
Daniel Sandler
f1dd26b6fd Fix crazy notification panel background.
The compatibility mode dialog (shown only once, ever) was clobbering its layout params.

Bug: 4723617
Change-Id: I7899293b72c8e480a97a10a88f62754ff415f343
2011-06-20 14:44:35 -04:00
Mike Lockwood
17b90780e2 Merge "USB connected notification and temporary USB options dialog" 2011-06-17 20:54:38 -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
Chia-chi Yeh
ced4bb1df7 Merge "VpnDialogs: migrate to VpnConfig." 2011-06-17 15:31:54 -07:00
Chia-chi Yeh
42bd53a9ff VpnDialogs: migrate to VpnConfig.
Also hide the configure button when configureActivity is not set.

Change-Id: Ic8eeec89970bb67d42397754d1f54a2744183eed
2011-06-17 15:27:41 -07: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
Robert Greenwalt
5a3e91f870 DO NOT MERGE
backport of change 113518 from honeycomb-LTE.  Fixes NPE in the
statusbar.

bug:4518551
Change-Id: I9a85e6799d12052e7bc8c54d651bee789d885a2f
2011-06-16 14:21:04 -07:00
Chia-chi Yeh
b2eeb05889 Merge "VpnDialogs: use IConnectivityManager instead or ConnectivityManager." 2011-06-15 17:07:09 -07:00
Chia-chi Yeh
f530da67b4 VpnDialogs: use IConnectivityManager instead or ConnectivityManager.
Change-Id: I8870a43ecbffa606d2e29f6c4b1b1a605b2b79e5
2011-06-15 17:05:25 -07: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
Eric Fischer
a5608e3a67 am c0e84cf3: am 5e451faa: Merge "Import revised translations. DO NOT MERGE" into honeycomb-mr2
* commit 'c0e84cf3210fc6b5929d024fafbe75f08167c44e':
  Import revised translations.  DO NOT MERGE
2011-06-15 16:47:08 -07:00
Eric Fischer
c0e84cf321 am 5e451faa: Merge "Import revised translations. DO NOT MERGE" into honeycomb-mr2
* commit '5e451faa0c22e943fb76d812f699d51fa11c5495':
  Import revised translations.  DO NOT MERGE
2011-06-15 16:41:44 -07:00
Eric Fischer
5e451faa0c Merge "Import revised translations. DO NOT MERGE" into honeycomb-mr2 2011-06-15 16:38:43 -07:00
Eric Fischer
dbad552d17 Import revised translations. DO NOT MERGE
Change-Id: Iaff03724a335f856f7d28b1bc2c219f4208c4151
2011-06-15 15:06:18 -07:00