Jeff Brown
59abe7e090
Replace epoll() with poll() and rename PollLoop to Looper.
...
As part of this change, consolidated and cleaned up the Looper API so
that there are fewer distinctions between the NDK and non-NDK declarations
(no need for two callback types, etc.).
Removed the dependence on specific constants from sys/poll.h such as
POLLIN. Instead looper.h defines events like LOOPER_EVENT_INPUT for
the events that it supports. That should help make any future
under-the-hood implementation changes easier.
Fixed a couple of compiler warnings along the way.
Change-Id: I449a7ec780bf061bdd325452f823673e2b39b6ae
2010-09-14 01:59:45 -07:00
Jeff Brown
37163248ad
Merge "Fix PointerLocationView when pointer ids are not zero-based." into gingerbread
2010-09-12 20:45:31 -07:00
Jeff Brown
77b34573ee
Merge "Don't play a sound if a volume key press is canceled." into gingerbread
2010-09-12 18:11:42 -07:00
Jeff Brown
fa89eab3e4
Merge "Undo API patch due to field pulled up to superclass." into gingerbread
2010-09-12 18:11:05 -07:00
Kenny Root
4744fabc25
Merge changes Ie3648509,I53db73c3 into gingerbread
...
* changes:
Move native library removal function to helper
Initialize native library path in PackageSetting
2010-09-12 17:59:41 -07:00
Jeff Brown
a665ca805c
Input dispatcher ANR handling enhancements.
...
This change is essentially a rewrite of the main input dispatcher loop
with the target identification folded in. Since the input dispatcher now
has all of the window state, it can make better decisions about
when to ANR.
Added a .5 second deadline for processing app switch keys. This behavior
predates Gingerbread but had not previously been ported.
Fixed some timing inaccuracies in the ANR accounting that could cause
applications to ANR sooner than they should have.
Added a mechanism for tracking key and motion events that have been
dispatched to a window so that appropriate cancelation events can be
synthesized when recovering from ANR. This change helps to keep
applications in sync so they don't end up with stuck buttons upon
recovery from ANRs.
Added more comments to describe the tricky parts of PollLoop.
Change-Id: I13dffca27acb436fc383980db536abc4d8b9e6f1
2010-09-12 16:52:03 -07:00
Adam Powell
f76fc380f5
Merge "Allow two finger pan and scale on touchscreens with FEATURE_TOUCHSCREEN_MULTITOUCH_DISTINCT." into gingerbread
2010-09-12 10:25:55 -07:00
Jaikumar Ganesh
8dd3d8442f
Merge "Register ServiceStateChanged to CallManager." into gingerbread
2010-09-10 15:54:19 -07:00
Gilles Debunne
6f4a9a5cc0
Merge "Changed menu and expandedMenu background color to dark." into gingerbread
2010-09-10 14:16:29 -07:00
Brad Fitzpatrick
70b429291e
Merge "Enable strictmode logging in system_server & add a lock." into gingerbread
2010-09-10 14:05:57 -07:00
Jesse Wilson
b19eac8c26
Merge "Delete AWT from frameworks/base." into gingerbread
2010-09-10 14:04:01 -07:00
Eric Fischer
fcc41ded9e
Merge "Import revised translations. DO NOT MERGE" into gingerbread
2010-09-10 13:18:37 -07:00
Joe Onorato
1fb9730c03
Merge "Make @deprecated without a comment an error DO NOT MERGE" into gingerbread
2010-09-10 12:45:18 -07:00
Joe Onorato
feec77f426
Merge "Fix the last remaining @deprecated tag without comment warning." into gingerbread
2010-09-10 12:44:36 -07:00
Scott Main
76107392f7
am 51c18989: docs: update platform dashboard
...
Merge commit '51c18989cf44d14a7ff82c45d9886b7ea55bd068' into gingerbread
* commit '51c18989cf44d14a7ff82c45d9886b7ea55bd068':
docs: update platform dashboard
2010-09-10 12:34:06 -07:00
Wink Saville
401a1c673e
Merge "Fix bug 2972138 Lost cell data connection and didn't get it back, DO NOT MERGE." into gingerbread
2010-09-10 11:30:15 -07:00
James Dong
425981524a
Merge "Fixed a copy and paste error" into gingerbread
2010-09-10 11:21:42 -07:00
Eric Laurent
215af644b3
Merge "LVM release 1.09 delivery" into gingerbread
2010-09-10 10:24:02 -07:00
Robert Greenwalt
64c9bb57d9
Merge "add ART for inet connection condition" into gingerbread
2010-09-10 09:58:05 -07:00
Joseph Wen
2e6dedaa6d
Merge "Fix bug in JNI BitmapFactory" into gingerbread
2010-09-10 02:32:05 -07:00
Hung-ying Tyan
0d93a6efbc
Merge "SIP: add SipErrorCode for error feedback." into gingerbread
2010-09-10 02:19:22 -07:00
Dianne Hackborn
f1481181ed
Merge "DO NOT MERGE. I like'd ctate's change so much I'm doin it myself!" into gingerbread
2010-09-09 23:12:24 -07:00
Dianne Hackborn
9c82c48d52
Always set the scheduling group when starting a new thread.
...
Change-Id: Ia33acf13fc3752707f3819928c36315e223fa1bd
2010-09-09 22:12:25 -07:00
Dianne Hackborn
ad70b5ab4b
Merge "Add toast when an app intercepts the launch of another app." into gingerbread
2010-09-09 21:31:34 -07:00
Dianne Hackborn
a632141971
Merge "Fix doc of fullScreenIntent." into gingerbread
2010-09-09 21:31:08 -07:00
Dianne Hackborn
faa2348d30
Merge "Small fixes to battery stats." into gingerbread
2010-09-09 21:30:52 -07:00
Dirk Dougherty
3a58916ce2
am 74a74d3c: Doc change: Fixes for toggle image and adt release date.
...
Merge commit '74a74d3c355ec4bfa09bf32d6dd877233af09d48' into gingerbread
* commit '74a74d3c355ec4bfa09bf32d6dd877233af09d48':
Doc change: Fixes for toggle image and adt release date.
2010-09-09 18:53:36 -07:00
Rich Cannings
a13697f701
Merge "Remove the use of FileInputStream.available()" into gingerbread
2010-09-09 16:41:29 -07:00
Andreas Huber
8c423e61be
Merge "TimedEventQueue now explicitly sets its scheduling policy to foreground as it should." into gingerbread
2010-09-09 16:39:09 -07:00
Jaikumar Ganesh
e3138edec6
Merge "DO NOT MERGE: Remove Device Bluez-Dbus interface watch." into gingerbread
2010-09-09 15:18:36 -07:00
Mike Lockwood
738ba833cb
Merge "Only pulse notification light if a new notification has been received since the screen was last turned off" into gingerbread
2010-09-09 14:02:19 -07:00
Gilles Debunne
29d6cb8e31
Merge "Made context menu appear when tapping inside selection." into gingerbread
2010-09-09 11:56:28 -07:00
Mathias Agopian
55f31ddfc7
Merge "option to enable multisampling" into gingerbread
2010-09-09 11:55:00 -07:00
Mathias Agopian
8296221138
option to enable multisampling
...
multisampling can be enabled by specifying the number of
samples desired on the command line.
Change-Id: I5f93c93ae7ada54bcd646c1065e07890d0cb9808
2010-09-09 11:53:17 -07:00
Steve Howard
992c471ca9
Merge "Hidden API to control sorting of download manager queries." into gingerbread
2010-09-09 11:22:38 -07:00
Mathias Agopian
e7bca18f79
Merge "Fix a few typos in EGL wrapper" into gingerbread
2010-09-09 11:20:02 -07:00
Mathias Agopian
77fbf8ddd9
Fix a few typos in EGL wrapper
...
Change-Id: I3b815ca6ec334ca12088f9721eece33df42b2e46
2010-09-09 11:12:54 -07:00
Jaikumar Ganesh
839a78ea47
Merge "Fix to get A2DP to connect after unpairing" into gingerbread
2010-09-09 10:23:55 -07:00
Andreas Huber
3a264b5768
Merge "Instead of asserting return a runtime error if the maximum sample size cannot be determined." into gingerbread
2010-09-09 10:13:26 -07:00
James Dong
ed77ca44e1
Merge "When 32-bit offset is used, if the requested max file size is greater than the 32-bit offset limit, set the limit to the max 32-bit offset limit." into gingerbread
2010-09-09 10:13:08 -07:00
Gilles Debunne
67e272dded
Merge "Fix for text selection in horizontally scrolled TextViews." into gingerbread
2010-09-09 10:02:05 -07:00
Andreas Huber
172f2f2dc0
Merge "Instead of asserting, publish no tracks if an MP3Extractor is used on non-mp3 content." into gingerbread
2010-09-09 09:59:03 -07:00
Robert Greenwalt
47418849f7
Merge "Add network condition reporting." into gingerbread
2010-09-09 09:41:05 -07:00
Chia-chi Yeh
1d736aa30f
Merge "RTP: prevent buffer overflow in AudioRecord." into gingerbread
2010-09-09 02:37:07 -07:00
Mathias Agopian
b1ef9664ad
Merge "add a fps counter to sanangeles demo" into gingerbread
2010-09-08 18:57:42 -07:00
Mathias Agopian
879ba138fc
add a fps counter to sanangeles demo
...
Change-Id: I9a9473ce213301cc7661fddfb1ef5a6ffcb346d4
2010-09-08 18:55:42 -07:00
Dirk Dougherty
225bcbbb3c
am 3eb07ea4: Merge "Doc change: Add notes for SDK Tools r7 and ADT 0.9.8." into froyo
...
Merge commit '3eb07ea483225974484c018d7d5affbf4815ceb2' into gingerbread
* commit '3eb07ea483225974484c018d7d5affbf4815ceb2':
Doc change: Add notes for SDK Tools r7 and ADT 0.9.8.
2010-09-08 18:05:58 -07:00
Dirk Dougherty
f84969b2cf
Merge "Doc change: Add notes for SDK Tools r7 and ADT 0.9.8." into froyo
2010-09-08 17:52:45 -07:00
James Dong
bc18f2f224
Merge "HW audio encoder expects timestamp via kKeyTime from each input buffer" into gingerbread
2010-09-08 17:51:59 -07:00
Mike LeBeau
cfe9e734e8
Merge "Add MediaStore.ACTION_MEDIA_PLAY_FROM_SEARCH intent for open-ended search and play of music. This is used, for instance, by Google's new "listen to" Voice Action." into gingerbread
2010-09-08 17:43:15 -07:00