45428 Commits

Author SHA1 Message Date
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
Gloria Wang
b1bdb64d64 Merge "Move all Widevine code which have dependency on vendor modules to vendor/widevine" 2011-02-19 01:09:53 -08:00
Gloria Wang
e8c89a3199 Move all Widevine code which have dependency on vendor modules to vendor/widevine
Change-Id: If75bce539bae02117fb4f628be64e3a7363375e9
2011-02-18 22:42:26 -08:00
Scott Main
d2d034f154 am b5d35088: resolved conflicts for merge of b842629c to honeycomb-plus-aosp
* commit 'b5d35088cbbbac53b052ec52f199de4ad8b061e7':
  docs: update sizes and sums for tools and ndk
2011-02-18 19:49:10 -08:00
Scott Main
b5d35088cb resolved conflicts for merge of b842629c to honeycomb-plus-aosp
Change-Id: I5628f9e3baad68882b63a2917df3fb0bb1bbdfa6
2011-02-18 19:42:29 -08:00
Xavier Ducrohet
1ca584a2bb LayoutLib: remove assert in resource resolution.
These code paths were valid in case there's a mismatch
between the style/theme/version of Android

Change-Id: I8cb3b2a3f3a1ef5c37ccec0c8ddbb7add69bfbe0
2011-02-18 18:48:08 -08:00
Xavier Ducrohet
82314c013f Merge "LayoutLib: support defStyleRes in obtainStyledAttributes." 2011-02-18 18:14:13 -08:00
Xavier Ducrohet
3e87bfa191 LayoutLib: support defStyleRes in obtainStyledAttributes.
This fix the Spinner rendering.

Change-Id: I20a71d9e07f6c86652a74fba3fc05a027a057ff8
2011-02-18 17:50:38 -08:00
Xavier Ducrohet
250da4bb91 Merge "LayoutLib: properly handle @null references in more places." 2011-02-18 17:46:03 -08:00
Xavier Ducrohet
f20999965b LayoutLib: properly handle @null references in more places.
Change-Id: I240298ab79c19ab0e49cb6da19d6b0187493d3b5
2011-02-18 17:19:08 -08:00
Scott Main
b842629c02 docs: update sizes and sums for tools and ndk
Change-Id: Id7c72a89dc50461a7883b599dcd7a08738049dee
2011-02-18 17:02:10 -08:00
Gloria Wang
9509451743 Merge "- Update from Widevine - Bug fixes" 2011-02-18 16:39:40 -08:00
Gloria Wang
6681984cf6 - Update from Widevine
- Bug fixes

Change-Id: I494cfe145e7aad36f3d8c68841cab847487dd85b
2011-02-18 16:10:53 -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
Scott Main
375adc69ae am 483f7130: am e4da3934: Merge "docs: move new AIDL doc back into the existing doc, but move the side nav location out of tools" into honeycomb
* commit '483f7130b593bb79f8ad0740356963aab42ccf54':
  docs: move new AIDL doc back into the existing doc, but move the side nav location out of tools
2011-02-18 15:14:44 -08:00
Scott Main
483f7130b5 am e4da3934: Merge "docs: move new AIDL doc back into the existing doc, but move the side nav location out of tools" into honeycomb
* commit 'e4da39345209c47b2736f266adfc22a0fdb4c716':
  docs: move new AIDL doc back into the existing doc, but move the side nav location out of tools
2011-02-18 15:11:14 -08:00
Scott Main
e4da393452 Merge "docs: move new AIDL doc back into the existing doc, but move the side nav location out of tools" into honeycomb 2011-02-18 15:08:26 -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
Scott Main
4b6c6249a3 am 55d3fc1b: am 163413f4: Merge "docs: update getting started doc for 3.0; move out of preview docs" into honeycomb
* commit '55d3fc1bd571360dbecd76e9913666ed668e974a':
  docs: update getting started doc for 3.0; move out of preview docs
2011-02-18 10:55:07 -08:00
Daniel Sandler
43bee0fef9 Merge "Visual indication of do-not-disturb mode in system bar." 2011-02-18 10:52:37 -08:00
Eric Laurent
c5075c0add Merge "Added bluetooth SCO stream to VolumePanel" 2011-02-18 10:44:49 -08:00
Scott Main
55d3fc1bd5 am 163413f4: Merge "docs: update getting started doc for 3.0; move out of preview docs" into honeycomb
* commit '163413f4360af8a8b010fa69a131fb0177df96a7':
  docs: update getting started doc for 3.0; move out of preview docs
2011-02-18 10:40:59 -08:00
Daniel Sandler
ce6ff64034 Visual indication of do-not-disturb mode in system bar.
Bug: 3408005
Change-Id: I934a6684bb3e90e2ada848872b5670f6b6e3e055
2011-02-18 13:32:14 -05:00
Scott Main
163413f436 Merge "docs: update getting started doc for 3.0; move out of preview docs" into honeycomb 2011-02-18 10:26:41 -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
Alex Sakhartchouk
bdbdf0148d Merge "Fixing font renderer attribute slot locations." 2011-02-18 09:17:15 -08:00
Alex Sakhartchouk
3d9b774515 Merge "Fix UI in image processing." 2011-02-18 09:12:30 -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
Robert Ly
7a2222b260 am d2acfd6d: am a58f58da: Merge "Doc change: fixing renderscript samples" into honeycomb
* commit 'd2acfd6d04545562fcacd266e175461f26b25da9':
  Doc change: fixing renderscript samples
2011-02-17 20:23:49 -08:00
Scott Main
9e7d5f9876 am aa680857: (-s ours) am 0ddd2d1e: DO NOT MERGE Delete unused/broken samples and tests from the renderscript libs, so we can publish the entire contents of libs/rs/java/ for samples in HC
* commit 'aa680857e6ba107dfc9c76c5a342f6f907120c22':
  DO NOT MERGE Delete unused/broken samples and tests from the renderscript libs, so we can publish the entire contents of libs/rs/java/ for samples in HC
2011-02-17 20:23:45 -08:00
Robert Ly
d2acfd6d04 am a58f58da: Merge "Doc change: fixing renderscript samples" into honeycomb
* commit 'a58f58daf94caa7e50c04707a67ba1a9dacb0a9c':
  Doc change: fixing renderscript samples
2011-02-17 20:21:35 -08:00
Scott Main
aa680857e6 am 0ddd2d1e: DO NOT MERGE Delete unused/broken samples and tests from the renderscript libs, so we can publish the entire contents of libs/rs/java/ for samples in HC
* commit '0ddd2d1ea7cda544efc4d25601e1cdc0236e44d8':
  DO NOT MERGE Delete unused/broken samples and tests from the renderscript libs, so we can publish the entire contents of libs/rs/java/ for samples in HC
2011-02-17 20:21:24 -08:00
Santosh Madhava
28926cb964 Merge "Fix for issue 3439595 : Java/JNI - Movide studio playback picks previous frames" 2011-02-17 19:10:02 -08:00
Robert Ly
a58f58daf9 Merge "Doc change: fixing renderscript samples" into honeycomb 2011-02-17 18:53:36 -08:00
Xia Wang
e355e75aaf Merge "Add ping test to verify data connection." 2011-02-17 18:53:16 -08:00
Scott Main
adaf5a7097 docs: update getting started doc for 3.0; move out of preview docs
Change-Id: Ibf6f001eca76ebff2f3be1f38691dbd33220a33e
2011-02-17 18:49:10 -08:00
Robert Ly
6518f486a5 Doc change: fixing renderscript samples
Change-Id: Ie5d17df121ec4bc5fd46448c1670d306322b92d8
2011-02-17 18:44:31 -08:00
Dianne Hackborn
ffae14aa6f Merge "Explode WindowManagerService." 2011-02-17 18:30:11 -08:00
Chung-yih Wang
6166bacbb0 Merge "Make SIP AuthName APIs public." 2011-02-17 18:29:38 -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