46356 Commits

Author SHA1 Message Date
Jeff Brown
4b03bb50f9 Merge "Recognize 3D joysticks." 2011-03-03 03:40:34 -08:00
Jeff Brown
e7b2029a0b Recognize 3D joysticks.
Change-Id: Ie4eae09c0334f69c2ccfcf7eaede075f9ba02eab
2011-03-03 03:39:29 -08:00
satok
77459184cc Merge "Add tests for SystemProperties.java" 2011-03-03 02:56:00 -08:00
Jeff Brown
1bc593efeb Merge "Fix off by one errors in touch motion ranges." 2011-03-03 02:41:36 -08:00
satok
edd767d777 Add tests for SystemProperties.java
Change-Id: I878192090848d2c811444a135ec9d8ae6c578ec3
2011-03-03 02:37:36 -08:00
Jeff Brown
d41cff2d3a Fix off by one errors in touch motion ranges.
Report inclusive minimum and maximum ranges for all
axes including X and Y.

Set mouse pointer bounds to 0..width-1, 0..height-1.

Rotate touch and mouse positions more carefully, paying attention
to the maximum bounds when calculating the complement of an axis.

Simplified the InputReader somewhat and removed support for a
couple of poorly defined input device configuration parameters.
We now assume that the touch device provides useful absolute axis
ranges for the X and Y axes since the alternative does not actually
make sense.

Bug: 3413541
Change-Id: I682ce3729e4473de7f1bcf8addb49a3f4484126f
2011-03-03 02:28:51 -08:00
Bjorn Bringert
268c7111f6 Merge "Pass AppData to the app from SearchDialog queries." 2011-03-03 00:18:23 -08:00
Bjorn Bringert
4a85a7dc84 Merge "A Java implementation of the SearchBox API." 2011-03-03 00:11:25 -08:00
Bjorn Bringert
1dda71ae36 Merge "Fixed NPE in ActivityManager's launch count service." 2011-03-03 00:10:03 -08:00
Ray Chen
a2c322f599 3406494 Gallery photos in nonsensical order
Change-Id: Ic992465a6683179bff280753dcaf9aa6372424e6
2011-03-03 15:04:57 +08:00
Jeff Brown
ee57adc238 Merge "Add new ViewConfiguration accessors for key repeat parameters." 2011-03-02 22:51:50 -08:00
Jeff Brown
9225b00a3d Add new ViewConfiguration accessors for key repeat parameters.
Change-Id: I18ea2c510dc85c8f9b68727657ba74298342dd43
2011-03-02 22:50:35 -08:00
Dianne Hackborn
63e1cea248 Merge "Fix issue #3485923: Gmail crash" 2011-03-02 22:44:55 -08:00
Dianne Hackborn
6482517101 Fix issue #3485923: Gmail crash
Allow application to try to recover if a surface OOM error
happens on the client side.

Change-Id: I0308bd99647a35e4bcac448340b7fc6330a828f6
2011-03-02 22:38:58 -08:00
Eric Fischer
ef83a3d591 am 6498f2fe: (-s ours) am 190586b7: Import revised translations. DO NOT MERGE
* commit '6498f2fed29042cce29faadcf0cc6b74180e1ba0':
  Import revised translations.  DO NOT MERGE
  Initialize mRetyMgr when constructing GsmDataConnectionTracker.
2011-03-02 22:26:51 -08:00
Patrick Dubroy
89d576d63d Merge "Make sure we send a cancel event on system bar keys." 2011-03-02 22:19:31 -08:00
Patrick Dubroy
5ee1a3daf0 Make sure we send a cancel event on system bar keys.
Change-Id: Ia444a7cb1ff56ab5d063995bd467fc4b4169985f
2011-03-02 22:13:51 -08:00
Simon Wilson
d984ba1320 am df58a1bb: am 3d79f1ce: am edc68a00: Merge "Attempt to reduce problems from issue #3183612" into gingerbread
* commit 'df58a1bbf8d7f6608848eae4d5d48dcff137dc8c':
  Attempt to reduce problems from issue #3183612
2011-03-02 22:11:19 -08:00
Mike Lockwood
c00e9bffc8 am 093430fd: (-s ours) am b13581a9: (-s ours) am 1110748b: DO NOT MERGE: USB accessory support library
* commit '093430fd5dbbdc6f5e0de6f25f6f9bb381cdd239':
  DO NOT MERGE: USB accessory support library
2011-03-02 22:11:14 -08:00
Mike Lockwood
e0cbec59f3 am 17fc2ce4: (-s ours) am 7866be2b: (-s ours) am 40bbf929: DO NOT MERGE: Backport USB accessory support to gingerbread
* commit '17fc2ce479b70a539cf3aaf0e89829ad6eedc2b6':
  DO NOT MERGE: Backport USB accessory support to gingerbread
2011-03-02 22:11:07 -08:00
Mike Lockwood
d948b85dc9 am 611af238: DO NOT MERGE: UsbManager: Don\'t display activity picker if there are no apps available for an accessory
* commit '611af238185cf924a425a1a2154b8439b8f8d7a5':
  DO NOT MERGE: UsbManager: Don't display activity picker if there are no apps available for an accessory
2011-03-02 22:07:59 -08:00
Mike Lockwood
611af23818 DO NOT MERGE: UsbManager: Don't display activity picker if there are no apps available for an accessory
Change-Id: I1aa578887e42aef375211eadece4c1fddaf234f8
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-03-02 22:00:59 -08:00
Mike Lockwood
4c384fdd9f Merge " UsbManager: Don't display activity picker if there are no apps available for an accessory" 2011-03-02 22:00:02 -08:00
Mike Lockwood
805b6bbea9 UsbManager: Don't display activity picker if there are no apps available for an accessory
Change-Id: I3ef569121e8d7d45584dbca9761451cbdf99a3e9
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-03-02 21:53:39 -08:00
Jeff Brown
570d2dfbbc Merge "Get key repeat timeout and delay from ViewConfiguration." 2011-03-02 21:43:40 -08:00
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
a454767b09 Get key repeat timeout and delay from ViewConfiguration.
Replaces previously hardcoded values.  This ensures that key repeat
takes the accessibility long press timeout setting into account.

Unfortunately the system must be rebooted for the change to take
effect.  We will fix that later.

Change-Id: I3ab70bb037331620b7e532170c1727287b5c6f91
2011-03-02 21:38:11 -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
59fd13c7be Only set KeyEvent long press flag when repeat count equals 1.
This fixes a Gingerbread regression.

Bug: 3507021
Change-Id: Ia6030665b6a406332adc0ee0d8ee3cb735338c8e
2011-03-02 20:49:06 -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
Amith Yamasani
940ef38c7c Pass AppData to the app from SearchDialog queries.
Bug: 3494468

During migration of SearchDialog to use SearchView, the appdata was not
passed along. This fixes the loss.

Change-Id: Ia754086d2bb95294e1d29650a72e4fdddec9c899
2011-03-02 18:43:23 -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