19874 Commits

Author SHA1 Message Date
Romain Guy
795e42e91a Merge "Add more info to View.getLayoutParams()" 2011-02-22 11:50:32 -08:00
Romain Guy
01c174bce3 Add more info to View.getLayoutParams()
Change-Id: I9abc64c9bbf726a02256a9ab692d9c555a6e3525
2011-02-22 11:51:06 -08:00
Romain Guy
d379d53a5e Add missing docs to AttributeSet.
Change-Id: Ieabc9e63104d274e59c3bd9a4e7ec475c5e32c6b
2011-02-22 11:32:29 -08:00
Romain Guy
f4f9c937b6 Merge "Add missing docs to AttributeSet." 2011-02-22 11:30:09 -08:00
Romain Guy
ffa337483a Fix incorrect id name in ListActivity's documentation.
Change-Id: I83ce45d313f31b15b84abf64294eff19accc30b6
2011-02-22 11:24:15 -08:00
Romain Guy
2569137929 Merge "Fix incorrect id name in ListActivity's documentation." 2011-02-22 11:22:23 -08:00
Romain Guy
84c6b95a77 Add documentation to GridView.
Change-Id: Ic81e498ad05f0c9c33580ecd6ce895ff1b6e00c4
2011-02-22 11:15:42 -08:00
Romain Guy
2b9f895b02 Merge "Add documentation to GridView." 2011-02-22 11:13:29 -08:00
Patrick Scott
e835fd7212 Merge "Scroll layers on touch events." 2011-02-22 11:06:02 -08:00
Cary Clark
16ed2ab09f Merge "don't scale nav slop when zooming" 2011-02-22 11:04:44 -08:00
Jaikumar Ganesh
b7508df1f6 Merge "Fix compiler errors when compiled with debug option." 2011-02-22 10:57:48 -08:00
Jaikumar Ganesh
2653a1e7ca Fix compiler errors when compiled with debug option.
The Logv statement was missing the format specifier.

Change-Id: Ibf986d28dabfdbb3fbfd75381cb349448c6e57e7
2011-02-22 10:53:29 -08:00
Jaikumar Ganesh
d0269f708b Merge "Make BluetoothInputDevice inherit from BluetoothProfile." 2011-02-22 10:43:53 -08:00
Jaikumar Ganesh
4ab0e7746f Make BluetoothInputDevice inherit from BluetoothProfile.
This makes it in sync with BluetoothHeadset and BluetoothA2dp profiles.

Change-Id: I3ddb1d18b04aacb173b7bc376bca21c277a6afe4
2011-02-22 10:42:26 -08:00
Cary Clark
e9290826db don't scale nav slop when zooming
Map the nav slop from device dimensions to content dimensions
so that the nav slop is not scaled when the screen is zoomed.

bug:3465598
Change-Id: I764e7d0ef59107f3f8b3781744df532dd45005b6
2011-02-22 13:20:56 -05:00
Patrick Scott
cfa734a359 Scroll layers on touch events.
Send the LayerAndroid unique id and the current scroll rect during motion up
events and all touch events.

Bug: 3442108
Change-Id: I09a18ded7b7ce15984f61a329b2666f7cfadd0dc
2011-02-22 11:19:02 -05:00
Irfan Sheriff
ebd4e91618 Merge "Do not backup wifi country code settings" 2011-02-21 13:46:56 -08:00
Robert Greenwalt
e5a3e97901 Merge "Remove some unused code." 2011-02-21 13:25:14 -08:00
Irfan Sheriff
32fc71d93d Do not backup wifi country code settings
Country code settings are device specific and
should not be linked to an account

Change-Id: Iead6230bfe7751a9478c45e5dca6b4ba619587b3
2011-02-21 13:15:14 -08:00
Robert Greenwalt
645b83f3ec Remove some unused code.
Change-Id: Id29bf7d2118065e2e772b22d910bda1c6de2a475
2011-02-21 11:22:35 -08:00
Kristian Monsen
8842b5cc10 Turning on debug logs temporary for bug 3424424
Change-Id: Ic911a244e48312b566e6bcad2f635cc85075d897
2011-02-21 15:19:54 +00:00
Kristian Monsen
3e826c99b9 Part of fix for bug 3424424 Browser hanging
Not calling redundant android stack cookie code when the chrome
stack is enabled.

Change-Id: I6faea89295e0cae02f5aa19a6ddeec43a4b73a44
2011-02-21 15:19:54 +00:00
Jeff Brown
cc0c159e9b Add new hover move action and scroll wheel plumbing.
Added support for tracking the mouse position even when the mouse button
is not pressed.  To avoid confusing existing applications, mouse movements
are reported using the new ACTION_HOVER_MOVE action when the mouse button
is not pressed.

Added some more plumbing for the scroll wheel axes.  The values are
reported to Views but they are not yet handled by the framework.

Change-Id: I1706be850d25cf34e5adf880bbed5cc3265cf4b1
2011-02-19 06:14:21 -08:00
Jeff Brown
6f2fba428c Add new axes for joysticks and mouse wheels.
Added API on InputDevice to query the set of axes available.
Added API on KeyEvent and MotionEvent to convert keycodes and axes
to symbolic name strings for diagnostic purposes.
Added API on KeyEvent to query if a given key code is a gamepad button.
Added a new "axis" element to key layout files to specify the
mapping between raw absolute axis values and motion axis ids.
Expanded the axis bitfield to 64bits to allow for future growth.
Modified the Makefile for keyboard prebuilts to run the keymap
validation tool during the build.
Added layouts for two game controllers.
Added default actions for game pad button keys.
Added more tests.
Fixed a bunch of bugs.

Change-Id: I73f9166c3b3c5bcf4970845b58088ad467525525
2011-02-19 05:23:10 -08:00
Shimeng (Simon) Wang
a54fa6a931 Merge "A method refactoring and a simple rounding fix." 2011-02-18 15:37:30 -08:00
Shimeng (Simon) Wang
f7107d7e78 A method refactoring and a simple rounding fix.
issue: 3382398
Change-Id: I3b43c6e4954b5040a266da60c9a97314f1a5b91f
2011-02-18 15:30:34 -08:00
Adam Powell
e7c943926d Merge "Add an API to listen for window attach/detach events on a View." 2011-02-18 15:17:16 -08:00
Adam Powell
4afd62b18c Add an API to listen for window attach/detach events on a View.
Fix bug 3312949 - inconsistent state in MenuPopupHelper

Change-Id: Ie802ada3f8de4cf71c92fcc7c6abce9ba85e7b75
2011-02-18 15:03:20 -08:00
Wink Saville
a4738cf78f Merge "Changes for ril.h version 6." 2011-02-18 14:05:34 -08:00
Wink Saville
5284090631 Changes for ril.h version 6.
Change-Id: Iacd9d362c4836546ac277cf3571227d426a721aa
2011-02-18 12:40:47 -08:00
Adam Powell
c9bcc5618c Merge "Fix styling for legacy light themed lists" 2011-02-18 12:16:17 -08:00
Adam Powell
8107f9552b Fix styling for legacy light themed lists
Change-Id: I1ec470f967376dd97b69cdf42face1386180a484
2011-02-18 12:14:32 -08:00
Eric Laurent
c5075c0add Merge "Added bluetooth SCO stream to VolumePanel" 2011-02-18 10:44:49 -08:00
Shimeng (Simon) Wang
10d63fada8 Merge "Make sure zoom width is changed before fit-to-screen." 2011-02-18 09:50:11 -08:00
Shimeng (Simon) Wang
a05fa96834 Make sure zoom width is changed before fit-to-screen.
issue: 3466509
Change-Id: I7cdb9544fcb3f261ebd0a831ab4a5cd685c5fc77
2011-02-18 09:31:59 -08:00
Cary Clark
43f608f928 don't start long press when selecting text
The timers to initiate short press and long press shouldn't
be started if text is selected. Since these presses won't
provide any feedback (e.g., the context menu doesn't show
up), with them disabled, the long press can turn into a
drag.

bug:3440375
Change-Id: I019796334a8f3090922747ae3c9e21d3b87b4a3c
2011-02-18 12:10:08 -05:00
Ben Murdoch
42509799f2 Fix crash downloading posters for HTML5 video.
We use the apache HTTP stack to download the poster images
for HTML5 video. This will crash if there is no host to use
as the "Host" header when making the request. Limit the java
poster downloader to just http or https for now. WebKit seems
able to display posters over other schemes like file://, but
doesn't always get the dimensions right. This fix just stops
us crashing.

Bug: 3180037
Change-Id: Idf51efda5b9ca1f2fe373c1fdb9c6bb7d5e254c8
2011-02-18 14:37:15 +00:00
Xia Wang
e355e75aaf Merge "Add ping test to verify data connection." 2011-02-17 18:53:16 -08:00
Vasu Nori
12669b6c80 bring back sqlite WAL tests now that the feature is in.
Change-Id: I92103915845b7cf3f41f95e909051b6669c63ec4
2011-02-17 18:11:40 -08:00
Shimeng (Simon) Wang
88196e38ed Merge "Reset initial zoom overview state when user takes zoom action." 2011-02-17 17:47:15 -08:00
Eric Laurent
e2ad901f4a Added bluetooth SCO stream to VolumePanel
This is a preliminary change to enable control of BLUETOOTH_SCO stream
volume while in a video chat with a bluetooth headset.
The complete change requires a new icon for BT SCO volume.

Change-Id: I6cd22f0c73d80a9b404b228650b9a30ef144cedc
2011-02-17 17:31:51 -08:00
Gilles Debunne
46b7d441c6 Composing span is removed when insertion point is moved
Bug 3457633

Change-Id: I8896823b7e700dd52acec180c2a1d8e2f6ac5ae1
2011-02-17 16:03:12 -08:00
Xia Wang
6bffe14c78 Add ping test to verify data connection.
Change-Id: I88e06934747e9e98bd440ae84268e69486c74734
2011-02-17 15:32:37 -08:00
Shimeng (Simon) Wang
459c423956 Reset initial zoom overview state when user takes zoom action.
This will prevent wrong fit-to-screen when a new picture comes.

issue: 3466509
Change-Id: I37d5509190766ba16665527bbdef968bddff8915
2011-02-17 15:02:34 -08:00
Irfan Sheriff
3ca6d6bbfe Merge "data activity reporting on wifi" 2011-02-17 14:06:52 -08:00
Irfan Sheriff
227bec4915 data activity reporting on wifi
Initial checkin, need icons to complete the feature

Bug: 3412258

Change-Id: I9a3ecc8159cc314d84707065dafe23d402409a84
2011-02-17 13:57:55 -08:00
Paul Westbrook
754537cf9f Merge "Revert "turn off sqlite WAL until bugs bug:3024421 and bug:3353077 are fixed"" 2011-02-17 13:14:22 -08:00
Christian Sonntag
0a56e4ecda Merge "Turn on wallpaper restore debug logs" 2011-02-17 13:08:47 -08:00
Jeff Brown
2172ab226b Merge "Fix a regression with MotionEvent parceling." 2011-02-17 13:03:15 -08:00
Jeff Brown
ebbd5d14ad Fix a regression with MotionEvent parceling.
Also added some more unit tests.

Change-Id: I413654294d1a998eec056884e6df5eaa50f3daf4
2011-02-17 13:01:34 -08:00