2579 Commits

Author SHA1 Message Date
Eric Fischer
ff63d5cff6 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-05-09 16:29:53 -07:00
Michael Jurka
8b2e37e5a0 Improve recents on sw600dp devices
Bug: 6405276

- Make thumbnails bigger
- Make thumbnails higher-res
- In landscape, start the thumbnails on the right
- Fix issue where you'd sometimes see "No recent 
apps" flash before the thumbnails appeared
- Fix issue where the first time recents was run
you'd see double the amount of thumbnails

Change-Id: I878caf57a955cb6a0c1b4f0a72b5b993609047f2
2012-05-09 14:43:33 -07:00
Jim Miller
c1fc0f01d2 Merge "Fix 6398209: Improve responsiveness of swipe up to search" into jb-dev 2012-05-09 13:51:46 -07:00
Eric Fischer
3d2196799e Import translations. DO NOT MERGE
Change-Id: I693c366c73da52ac2766343e7ec1e54b94d98705
2012-05-09 12:36:23 -07:00
Daisuke Miyakawa
57b098829f Merge "Have a new constant for "vibrate when ringing" setting" into jb-dev 2012-05-09 10:16:07 -07:00
Daniel Sandler
fc753d2dfa More visual refresh in the phone notification panel.
Bug: 6418617
Change-Id: Iae9b02084989fad3ec8bb8c88a84c0ec96fc4f22
2012-05-09 03:05:58 -04:00
Daniel Sandler
fbab8ae9d5 Fix situations where the shade wouldn't close.
It appears sometimes the Choreographer will call you with an
old frame (i.e. an animation time in the past).

Bug: 6457615
Change-Id: I7135e2f4f524c14fe4f58f9a367f764b66d68edc
2012-05-09 03:05:57 -04:00
Daisuke Miyakawa
3c60eeb133 Have a new constant for "vibrate when ringing" setting
Bug: 6036529
Change-Id: I850d27629a75615647883fdaa2933f337c4824d1
2012-05-08 18:37:41 -07:00
Romain Guy
ad0b0060ba Merge "Make window shade fast on non-high end gfx displays" into jb-dev 2012-05-08 18:02:05 -07:00
Jim Miller
d99e7fd9fa Fix 6398209: Improve responsiveness of swipe up to search
This fixes an issue where the swipe-up gesture for search was broken
on phones and tablets. Because the underlying window was slippery,
there was a race condition between the touch moving outside the window
and the layout flag change in the search panel being noticed.

As a result, the code would sometimes inadvertently dismiss
the search panel even though the gesture was successful.

It also changes the timing slightly so we show the search
panel longer for quick gestures.

Change-Id: I30c04b21d3367db4d41c01f23e27edf366711462
2012-05-08 16:30:42 -07:00
Romain Guy
328b35827e Make window shade fast on non-high end gfx displays
Change-Id: I64a4861845978f9209c2b7d24c40c65ce7483dcb
2012-05-08 15:30:57 -07:00
Eric Laurent
bffc3d1bd3 Silent and Vibrate mode clean up
Clean up related to new Vibration policy.
The vibrate behavior is now only derived from:
 - presence of a vibrator on the device
 - current ringer mode selected: NORMAL, VIBRATE or SILENT
If no vibrator is present the ringer mode can only be NORMAL or SILENT.

The control of ringer mode via volume keys when volume keys control the "master"
stream type (RING on phones, MUSIC on tablets) is as follows:
If a vibrator is present:
 VOL- and volume equals 1: NORMAL => VIBRATE
 VOL- and volume equals 0 and not continuous press: VIBRATE => SILENT
 VOL+ and in SILENT mode: SILENT => VIBRATE
 VOL+ and in VIBRATE mode: VIBRATE => NORMAL, volume = 1
If no vibrator is present:
 VOL- and volume equals 0 and not continuous press: NORMAL => SILENT
 VOL+ and in SILENT mode: SILENT => NORMAL, volume = 0

VIBRATE_ON and VIBRATE_IN_SILENT settings are not stored/retreived any more.

AudioService checks and corrects ringer mode and stream volumes if necessary when reading from
DB at boot time.

Also:
 Added dump for stream volumes in AudioService.
 Added device names missing in AudioSystem for USB accessory and USB device.

Issue: 6036529
Issue: 6414950
Issue: 6448163

Change-Id: I77fb821ec63e4e566320cac2701b4ac466e86aef
2012-05-08 15:10:37 -07:00
Chris Wren
89139d74b2 Allow more kinds of two-finger gestures to open and close notificaitons.
Also make sure glow always animates to zero when set to zero.

Bug: 6430737
Bug: 6423826
Change-Id: I1ebeb6c0012ac17a942901bfd22e579393348584
2012-05-08 08:10:37 -07:00
Daniel Sandler
28612b29f0 Merge "Visual refresh of notification panel header." into jb-dev 2012-05-08 07:34:17 -07:00
Kenny Root
29bb27ef90 Merge "Add encryption parameters to package installation" into jb-dev 2012-05-07 18:41:27 -07:00
Anonymous Coward
ceb1b0bfae Add encryption parameters to package installation
Change-Id: Ic9f8ab9f8110f08bb3c00725cfce5b8ee7b766f3
2012-05-07 16:34:49 -07:00
Jim Miller
06e8d6647d Merge "Fix 6397736: Swipe up to search layout fixes" into jb-dev 2012-05-07 14:34:00 -07:00
Eric Fischer
b9f0cf1c73 Import translations. DO NOT MERGE
Change-Id: Icee68860c27c90d2ef41c0e29660fcda35ec658d
2012-05-07 13:07:46 -07:00
Daniel Sandler
9ff6378916 Visual refresh of notification panel header.
CLOCK - 2 LINE DATE - ROTATION LOCK - SETTINGS ---- CLEAR ALL

Bug: 6418617
Change-Id: I477b59d83aaefc6943ed3cfd5bb4e3f4072a8471

Conflicts:

	packages/SystemUI/res/values/strings.xml
2012-05-07 09:04:53 -04:00
Daniel Sandler
908c7dcf82 Merge "Restore do-not-disturb mode on tablets." into jb-dev 2012-05-07 05:59:30 -07:00
Daniel Sandler
20cfb6066a Merge "Close notification blame popups when the panel disappears." into jb-dev 2012-05-07 05:59:05 -07:00
Jim Miller
354619c1cc Fix 6397736: Swipe up to search layout fixes
This fixes several layout issues on phones and tablets with MultiWaveView.

It adds a new background scrim to be shown behind the MultiWaveView
on the navigation bar.

MultiWaveView is updated to handle gravity constraints which makes layouts
much more flexible across devices.

Change-Id: I64068f4eaa81ef6c464247049117d53432fcacbd
2012-05-06 22:39:18 -07:00
Michael Jurka
9d69b4463f Fix NPE for real
Bug: 6444814
2012-05-04 15:46:32 -07:00
Jim Miller
0799440ab3 Fix 6414061: Add new ACTION_ASSIST intent.
Change-Id: I3d334f67723ac89f6001267e0f06ad76190b929f
2012-05-04 13:52:14 -07:00
Daniel Sandler
d2217f0c32 Restore do-not-disturb mode on tablets.
Bug: 6195112
Change-Id: Iecb850942df43fb8861cbbf2e2343c2aabfc4263
2012-05-04 16:44:16 -04:00
Daniel Sandler
469e96e206 Close notification blame popups when the panel disappears.
Also be sure to cancel the longpress listeners when things
change.

Finally, increase the longpress timeout to 1.5x normal
longpress.

Bug: 6441520
Change-Id: Icea4d2a5c98a9a51a15f0762454de9e5cd454c50
2012-05-04 15:56:19 -04:00
Daniel Sandler
e825b3e3d4 Merge "Back button dismisses notifications again." into jb-dev 2012-05-04 10:17:01 -07:00
Daniel Sandler
c4f2a5652d Back button dismisses notifications again.
Bug: 6441337
Change-Id: Iabc97cd2a3f66ee2af5406807b3023908965b8c8
2012-05-04 11:58:01 -04:00
Jeff Brown
6098c1f44b Fix status bar animation jank on last frame.
Change-Id: Idd99f37c76038de1c02a8297c6454c357a846294
2012-05-03 17:00:04 -07:00
Jeff Brown
ed5f45ab8f Animate status bar flings on vsync.
Use the Choreographer for timing animations.  Ideally we would
rewrite this code to use the animation framework instead, but
this change to use the Choreographer directly is easier and less
intrusive for now.

Change-Id: Ibb322de9424d4d109203951d48263766200ed7e8
2012-05-03 16:18:18 -07:00
Daniel Sandler
5380cdc2e1 Merge "Hide icons for low-priority notifications." into jb-dev 2012-05-03 08:28:25 -07:00
Daniel Sandler
58b173b1ca Hide icons for low-priority notifications.
Anything below PRIORITY_LOW will usually be hidden (unless
the NotificationManagerService has a compelling reason to
adjust the priority).

Bug: 6357857
Change-Id: Ic8a806a6db87b0473014a5d006279991272a44ea
2012-05-03 11:25:29 -04:00
Daniel Sandler
c5d76e041a Merge "Move bar panels above the system bar window layer." into jb-dev 2012-05-03 08:02:56 -07:00
Daniel Sandler
4ce64fb364 Move bar panels above the system bar window layer.
We use the new TYPE_NAVIGATION_BAR_PANEL for this instead of
TYPE_STATUS_BAR_PANEL (which is indeed above the status bar,
but far below the navigation bar, which is the window type
used for the system bar now.)

Bug: 6319161 (ticker underneath system bar)
Bug: 6437342 (missing clear all button on system bar)
Change-Id: Ib58c0003c4c81db64edca2c1bbc2d764c3237ed0
2012-05-03 10:53:10 -04:00
Daniel Sandler
115f48a222 Merge "Large-screen notification panel size + positioning." into jb-dev 2012-05-03 07:30:50 -07:00
Kenny Root
03f22533a7 Merge "Fix some problems with ASECs" into jb-dev 2012-05-02 22:46:55 -07:00
Daniel Sandler
21b274e8a0 Large-screen notification panel size + positioning.
On sw600 devices we show the notification panel in a smaller
rectangle, centered in portrait and left-aligned in
landscape.

Also remove a bunch of -large resources that shouldn't be
used anymore.

Bug: 6297838
Change-Id: I8ed3445ccb7df16e30870a4322d89786467c54df
2012-05-03 01:14:07 -04:00
Daniel Sandler
f32c8e4365 Merge "Add MASTER_CLEAR perm to SystemUI for SD card formatting." into jb-dev 2012-05-02 17:39:04 -07:00
Kenny Root
bf023589b3 Fix some problems with ASECs
On devices that had external storage, permissions weren't set correctly
on non-forward-locked applications. Also, moving forward locked
applications didn't work since DefaultContainerService wasn't able to
read it.

Fixed some faulty unit tests as well.

Bug: 6427212
Change-Id: I5c1f0bf5278549069c78939f0708c4c43a7d4006
2012-05-02 17:09:57 -07:00
Daniel Sandler
0f5985c1da Add MASTER_CLEAR perm to SystemUI for SD card formatting.
Bug: 6422105
Change-Id: Ic6e2aef5f6cdc14c2bace54ddfce1181bf8bdef3
2012-05-01 15:43:32 -04:00
Daniel Sandler
4f85eb5872 Move legacy menu key to bottom right on sw600dp.
It's too easy to press if it's *all* the way to the right,
though, so there a 2dp margin separating it from the bezel.

Bug: 6399312
Change-Id: If4ebcd4cfcee0c667bcc6142af86c04445f41fea
2012-05-01 13:50:29 -04:00
Jeff Sharkey
4e33c6cafa Merge "Add permission for NetworkOverLimitActivity." into jb-dev 2012-04-30 17:19:35 -07:00
Jeff Sharkey
e6b6533811 Add permission for NetworkOverLimitActivity.
Bug: 6421080
Change-Id: Icefdf3da7a4a421d27aa1449ac01ea8ae1451d49
2012-04-30 17:15:36 -07:00
Jeff Sharkey
a549218e43 Merge "Avoid showing popup when View detatched." into jb-dev 2012-04-30 16:06:27 -07:00
Michael Jurka
029abfdc66 Merge "Fix NPE" into jb-dev 2012-04-30 15:58:51 -07:00
Michael Jurka
a8eac1deb5 Fix NPE 2012-04-30 15:54:28 -07:00
Jeff Sharkey
af232ed38a Avoid showing popup when View detatched.
Bug: 6388558
Change-Id: I12cfde91b142916ce137ebd4e96107a12ad2b4b7
2012-04-30 15:19:55 -07:00
Eric Fischer
6113ce3be4 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-04-30 14:48:35 -07:00
Eric Fischer
7e69d2a989 Import translations. DO NOT MERGE
Change-Id: I6296e47e9d38e51ec634f8595ff2bfc782f40c8a
2012-04-30 12:48:16 -07:00
Daniel Sandler
c40db82a12 Fix build
Change-Id: Ic4b76ffd9696998b63e2d7f4891cd721f95037ea
2012-04-30 14:24:01 -04:00