46252 Commits

Author SHA1 Message Date
Mike Lockwood
fe87916f04 Merge "UsbManager: Don't display activity picker if there are no apps available for a device" 2011-03-02 21:41:53 -08:00
Jeff Brown
82c67db3a2 Merge "Only set KeyEvent long press flag when repeat count equals 1." 2011-03-02 21:30:25 -08:00
Daniel Sandler
134fa4489e Merge "Pressed states for the notification panel's title area." 2011-03-02 21:20:08 -08:00
Daniel Sandler
8f491b5fbc Pressed states for the notification panel's title area.
Finally, some feedback that you can tap on the thing.

Also tweak the veto press state PNG so you can see that it
has a pressed state.

Bug: 3328753
Change-Id: I5c3b826fae66e480784477f844c6585bef1a0b60
2011-03-03 00:18:44 -05:00
Mike Lockwood
cb067ef52a UsbManager: Don't display activity picker if there are no apps available for a device
BUG: 3506988

Change-Id: Iaf3c50b9ba422e6bcd687338db996a4193441c97
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-03-02 21:10:07 -08:00
Jim Miller
97d1e686c6 Merge "Fix 3502257: Fix glow calculation in EdgeGlow" 2011-03-02 20:52:16 -08:00
Jim Miller
ffc4196c46 Fix 3502257: Fix glow calculation in EdgeGlow
Change-Id: I8e88c399c2b0dcba9f65d1bcf89fdddf432e4ed6
2011-03-02 20:50:58 -08:00
Jim Miller
d544fdc64b Merge "Fix 3504984: Use overscroll fade in Recents." 2011-03-02 20:49:31 -08:00
Jeff Brown
e2e012683d Only set KeyEvent long press flag when repeat count equals 1.
This fixes a Gingerbread regression.

Bug: 3507021
Change-Id: I8c2acb35be718fea7e996175c1407e84315d17ef
2011-03-02 20:34:30 -08:00
Jeff Brown
55acdf7dcd Merge "Wake screen from external HID peripherals." 2011-03-02 19:59:07 -08:00
Jeff Brown
56194ebec6 Wake screen from external HID peripherals.
Added some plumbing to enable the policy to intercept motion
events when the screen is off to handle wakeup if needed.

Added a basic concept of an external device to limit the scope
of the wakeup policy to external devices only.  The wakeup policy
for internal devices should be based on explicit rules such as
policy flags in key layout files.

Moved isTouchEvent to native.

Ensure the dispatcher sends the right event type to userActivity
for non-touch pointer events like HOVER_MOVE and SCROLL.

Bug: 3193114
Change-Id: I15dbd48a16810dfaf226ff7ad117d46908ca4f86
2011-03-02 19:57:07 -08:00
Gilles Debunne
9433fec4c5 Merge "Removed documentation links" 2011-03-02 19:52:30 -08:00
Gloria Wang
396f6de660 Merge "- To track the usage of all audio output devices - To track the currently used audio device - The devices are separated as speaker and other audio devices - Provide the collected data to battery application through pullBatteryData()" 2011-03-02 19:51:04 -08:00
Gloria Wang
6c1bebe33e Merge "Do not call processDrmInfo if acquireDrmInfo returns null" 2011-03-02 19:50:41 -08:00
Gilles Debunne
616f3835a0 Removed documentation links
Broken build.

Should the Paint fields be made public or should the SpanStringBuilder
method be hidden ???

Change-Id: I8ecea19104357ea53ad53b23d02a707ec422161d
2011-03-02 19:50:20 -08:00
Svetoslav Ganov
2da0c5826d Merge "Add system wide management of core settings" 2011-03-02 19:17:06 -08:00
Mathias Agopian
f99c91c9cf Merge "remove some logs" 2011-03-02 18:51:00 -08:00
Mathias Agopian
32ae094d87 remove some logs
Change-Id: Ia476184048ee419e19330a56dc8e6553189f6a24
2011-03-02 18:45:50 -08:00
Chet Haase
9402a667e9 Merge "Cancel LayoutTransition animations selectively" 2011-03-02 18:39:11 -08:00
Chet Haase
e8e45d32fd Cancel LayoutTransition animations selectively
A recent change to LayoutTransition caused new layout transitions to
cancel any previously-running animations. This was to handle situations
where a transition adding an item needed transitions removing items to
finish their job first (and vice versa). But canceling *all* running
animations from transitions caused some artifacts, like making the status
bar icons blink or fade in, depending on which one was started last.

The new approach is to cancel just the ones we care about: adding animations
cancel removing animations, and vice versa. Either one cancels 'changing'
animations, which prevents objects from being animated to the old end
locations, since the new transition will animate them to the correct new
end locations.

Change-Id: I68ac351b05365cace6639b6618422395c35c83fd
2011-03-02 18:37:31 -08:00
Jean-Michel Trivi
2a2b25ef25 Merge "Fix bug 3425610 Adjust Lock sound level" 2011-03-02 18:37:07 -08:00
Jean-Michel Trivi
b163d068be Fix bug 3425610 Adjust Lock sound level
After the correction for the speaker output processing, the lock
 sound became almost inaudible. This new asset is louder.

Change-Id: I2232f307f647cafc8a5c6d5dd482833367a73c56
2011-03-02 18:33:30 -08:00
Jim Miller
67edceb096 Fix 3504984: Use overscroll fade in Recents.
Change-Id: I3a5bdc53876edd01d8a0022be4d0a0ed38864eed
2011-03-02 18:32:16 -08:00
Svetoslav Ganov
54d068ec6a Add system wide management of core settings
bug:3505060

Since we want to have some settings that are used very frequently
by many applications (long-press timeout is one example) these should
be managed efficiently to reduce lookups from different processes
because in the case of a cache miss a disk I/O is performed. Now
the system manages such core settings and propagates them to the
application processes.

Change-Id: Ie793211baf8770f2181ac8ba9d7c2609dfaa32a7
2011-03-02 18:22:49 -08:00
Mike Lockwood
aabf823593 Merge "UsbService: Make sure the USB accessory function is disabled when we disconnect" 2011-03-02 18:20:25 -08:00
Romain Guy
acc3944dd1 Merge "Add an API to force Views to render their layer." 2011-03-02 18:18:06 -08:00
Romain Guy
f1ae10640f Add an API to force Views to render their layer.
Change-Id: Id5776f3b0880fdf75835f16560a1d03a3175d139
2011-03-02 18:16:04 -08:00
Gilles Debunne
5a39c95c00 Extra @Override removed in SpanStringBuilder
These were added in 99657 by using a misconfigured eclipse
save action that adds @Overirde to interfaces (Java 1.6 only).

Change-Id: I766bbde917b0bb063cb6d588ee276787e2f7db66
2011-03-02 18:06:13 -08:00
Mike Lockwood
b98d02b8b2 UsbService: Make sure the USB accessory function is disabled when we disconnect
BUG: 3493041

Change-Id: I95a34742d4b670a13ba5717f0551f3ce40af3c24
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-03-02 17:58:48 -08:00
Gilles Debunne
2ea39e2d1b Merge "Added documentation for SpannableStringBuilder.getTextRunCursor" 2011-03-02 17:56:01 -08:00
Gilles Debunne
f09d510cd1 Added documentation for SpannableStringBuilder.getTextRunCursor
Bug 3370244

Change-Id: I621a1599ff18da928044dd37a0d7cc861cc6f48f
2011-03-02 17:42:36 -08:00
Dianne Hackborn
cbf9cb35bb Merge "Fix issue #3400119: API to specify a black background behind a window transition" 2011-03-02 17:19:39 -08:00
Dianne Hackborn
de75cb4738 Fix issue #3400119: API to specify a black background behind a window transition
There is now an API, which is used for task switching.

Also improved how we handle rotation animation when we can't take a
screen shot, to cleanly revert to the old freeze behavior.  This removes
the need to special case the emulator.

Change-Id: I7227432a2309370437ec6ac78db02c6f1e7eedd5
2011-03-02 17:15:58 -08:00
Mike Lockwood
37b05d7d61 Merge "MtpClient: remove finalize override to avoid multiple calls to unregisterReceiver" 2011-03-02 17:14:57 -08:00
Justin Ho
65c1ddc2bd Merge "Updated text select handles, paste dialogs, updated list section dividers (fixing previously incorrect asset.)" 2011-03-02 17:14:37 -08:00
Amith Yamasani
a3c9ad7170 Merge "Fix a race condition when entering and exiting a preference fragment quickly." 2011-03-02 17:13:46 -08:00
Gloria Wang
4ef690a38b Do not call processDrmInfo if acquireDrmInfo returns null
Change-Id: Ib762d429daaa8cb2310951cc54f26d75aacaf673
2011-03-02 17:06:16 -08:00
Justin Ho
579a884b01 Updated text select handles, paste dialogs, updated list section dividers (fixing previously incorrect asset.)
Change-Id: I0e747c18b87bfc64d87054c065f321ff872dbd8e
2011-03-02 17:04:00 -08:00
Mike Lockwood
1bdeef34ef MtpClient: remove finalize override to avoid multiple calls to unregisterReceiver
BUG: 3497801

Change-Id: I4ed0166efcc509a18361287c5816bc4844089025
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-03-02 16:59:53 -08:00
Gloria Wang
9b3f1521b5 - To track the usage of all audio output devices
- To track the currently used audio device
- The devices are separated as speaker and other audio devices
- Provide the collected data to battery application through pullBatteryData()

Change-Id: I374c755266b5ac6b1c6c630400f4daf901ea8acc
2011-03-02 16:53:24 -08:00
Jamie Gennis
28a8cb75e8 Merge "Stagefright: Use the ANW min undequeued bufs query." 2011-03-02 16:44:51 -08:00
Gloria Wang
51caf91f02 Merge "To support DRM files without file extension" 2011-03-02 16:26:18 -08:00
Andreas Huber
ce80b0ca33 Merge "Resize internal PES buffers dynamically instead of relying on a fixed maximum size." 2011-03-02 16:22:20 -08:00
Andreas Huber
56e84ba150 Resize internal PES buffers dynamically instead of relying on a fixed maximum size.
Change-Id: Ibe720e6148799e32d039ccdb4b269659bc779952
2011-03-02 16:18:33 -08:00
Amith Yamasani
81d860013c Fix a race condition when entering and exiting a preference fragment quickly.
Bug: 3413715

Fragment was going through STARTED/RESUMED/STARTED/CREATED very quickly and
bindPreferences() was a delayed call that happened after mView was nullified.
Removing the MSG_BIND_PREFERENCES when view is destroyed.

Change-Id: Iec43102c004a266c412b993f17e1a8c1699fb0b1
2011-03-02 16:11:31 -08:00
Andreas Huber
00fa3a729c Merge "Allow optional specification of a PTS timestamp when signalling a discontinuity." 2011-03-02 16:11:01 -08:00
Chia-chi Yeh
b2c8628ed3 Merge "RTP: update javadocs." 2011-03-02 16:02:57 -08:00
Chia-chi Yeh
c52f5b2ec5 RTP: update javadocs.
Change-Id: If600df0eb1e6135aed9f3b2eacfb6bc9ed5d78ff
2011-03-03 08:01:01 +08:00
Jeff Brown
192f0b0608 Merge "Fade out the mouse pointer after inactivity or other events." 2011-03-02 15:54:42 -08:00
Romain Guy
058f47e845 Merge "We need to go deeper. Bug #3431907" 2011-03-02 15:48:33 -08:00