1705 Commits

Author SHA1 Message Date
Daniel Sandler
8046724da3 am e95658c9: New backgrounds for notifications.
* commit 'e95658c98e4154a2daf0ed70d15d24f8bf3153f0':
  New backgrounds for notifications.
2012-05-10 09:26:40 -07:00
Eric Fischer
977f04d79a am ff63d5cf: Merge "Import translations. DO NOT MERGE" into jb-dev
* commit 'ff63d5cff613f54f9ba0e9c28267b250909421b9':
  Import translations. DO NOT MERGE
2012-05-10 09:25:10 -07:00
Michael Jurka
47468ec892 am 8b2e37e5: Improve recents on sw600dp devices
* commit '8b2e37e5a0e10d234ffe6815e9a462283cad3d78':
  Improve recents on sw600dp devices
2012-05-10 09:24:02 -07:00
Daniel Sandler
e95658c98e New backgrounds for notifications.
Note that PRIORITY_MIN notifications have a special
background treatment.

Bug: 6418617
Change-Id: I5f96330fcc53ac39e80a025baa0c134bd1e971b8
2012-05-10 04:52:18 -07:00
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
319a945d58 am c1fc0f01: Merge "Fix 6398209: Improve responsiveness of swipe up to search" into jb-dev
* commit 'c1fc0f01d2b0af2216870a40ae4cb6572588d194':
  Fix 6398209: Improve responsiveness of swipe up to search
2012-05-09 13:54:27 -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
Daniel Sandler
b5d45d976b am 2f4b10e2: Merge "More visual refresh in the phone notification panel." into jb-dev
* commit '2f4b10e2d4320db490b03eb198ce034302ef00fc':
  More visual refresh in the phone notification panel.
2012-05-09 07:44:49 -07:00
Daniel Sandler
d9b110a6a1 am 4530d95c: Merge "Fix situations where the shade wouldn\'t close." into jb-dev
* commit '4530d95cc9dee50ffdaed08900410ba1da0ea10e':
  Fix situations where the shade wouldn't close.
2012-05-09 07:44:48 -07:00
Romain Guy
1b48a2b369 am ad0b0060: Merge "Make window shade fast on non-high end gfx displays" into jb-dev
* commit 'ad0b0060ba952eb9f852a2c487e21c5734452d19':
  Make window shade fast on non-high end gfx displays
2012-05-09 01:49:31 -07:00
Eric Laurent
776339fe4c am c8ade15d: Merge "Silent and Vibrate mode clean up" into jb-dev
* commit 'c8ade15dadd680c5e4b201f3b7b0823a13dedb3e':
  Silent and Vibrate mode clean up
2012-05-09 01:48:30 -07:00
Chris Wren
41aa322403 am 89139d74: Allow more kinds of two-finger gestures to open and close notificaitons. Also make sure glow always animates to zero when set to zero.
* commit '89139d74b27305a29ca082c75d94dcbed5f84625':
  Allow more kinds of two-finger gestures to open and close notificaitons. Also make sure glow always animates to zero when set to zero.
2012-05-09 01:46:40 -07:00
Daniel Sandler
d682551f33 am 28612b29: Merge "Visual refresh of notification panel header." into jb-dev
* commit '28612b29f0dd3a650cc4b3ab2f7403f63e3e115c':
  Visual refresh of notification panel header.
2012-05-09 01:46:34 -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
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
Jim Miller
8676726dcf am 06e8d664: Merge "Fix 6397736: Swipe up to search layout fixes" into jb-dev
* commit '06e8d6647db54aa76dda92a5a785737e66d262de':
  Fix 6397736: Swipe up to search layout fixes
2012-05-07 14:37:39 -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
3b08f16da2 am 7833e5f5: Merge "Import translations. DO NOT MERGE" into jb-dev
* commit '7833e5f53228dd3f34c0f41550fea8564ed3222a':
  Import translations. DO NOT MERGE
2012-05-07 13:30:19 -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
1f86ff5ac7 am 908c7dcf: Merge "Restore do-not-disturb mode on tablets." into jb-dev
* commit '908c7dcf8292aae1067a946f12af88a9677a1878':
  Restore do-not-disturb mode on tablets.
2012-05-07 06:03:44 -07:00
Daniel Sandler
73f5c91cae am 20cfb606: Merge "Close notification blame popups when the panel disappears." into jb-dev
* commit '20cfb6066a047ebee2552cfbe65c2176adbc34b2':
  Close notification blame popups when the panel disappears.
2012-05-07 06:01:02 -07: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
Jean-Baptiste Queru
e7339d804d resolved conflicts for merge of acb5f383 to jb-dev-plus-aosp
Change-Id: I79f0394b20a61dc7e6faabdb74c66277f71dfcb3
2012-05-04 19:18:00 -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
Jean-Baptiste Queru
4b27125d88 Merge changes Ib28636e6,I93ebc433
* changes:
  WallpaperManagerService does not properly propagate setDimensionHints()
  ImageWallpaper : get bitmap width before calc screen offset
2012-05-04 11:05:44 -07: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
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