OSDN Git Service
Steve Howard [Fri, 30 Jul 2010 18:09:48 +0000 (11:09 -0700)]
Merge "Update Context.getSystemService() docs for download manager." into gingerbread
Mathias Agopian [Fri, 30 Jul 2010 03:52:26 +0000 (20:52 -0700)]
Merge "fix [
2870926] Issue 9802: EGL wrapper has not been implemented correctly for eglQuerySurface()." into gingerbread
Mathias Agopian [Thu, 29 Jul 2010 23:51:38 +0000 (16:51 -0700)]
Added SensorManager.getMinDelay()
Exposed the new "min delay" sensor property through native and
java sensor apis. This allows the caller to know what is the
maximum rate at which a sensor can return events, or, if a sensor
works in "update" mode (events returned only when the value changes).
Also augmented SensorManager.regusterSensorEvent() so that it can
accept a value in microsecond in addition to the 4 constants already
defined.
Change-Id: If425e9979892666df8c989d7de3c362230fa19e0
The Android Open Source Project [Thu, 29 Jul 2010 22:46:48 +0000 (15:46 -0700)]
am
392edec1: Merge from open-source froyo
Merge commit '
392edec1162e9d00bcb66b271f43908f75d42ace' into gingerbread
* commit '
392edec1162e9d00bcb66b271f43908f75d42ace':
Fix a bug where we cleaned an apps external data when upgrading it. :(
The Android Open Source Project [Thu, 29 Jul 2010 22:38:41 +0000 (15:38 -0700)]
Merge from open-source froyo
Change-Id: Ifa75fce9bd362b06ecb622219ef501e61e89fd76
Dianne Hackborn [Thu, 29 Jul 2010 21:07:14 +0000 (14:07 -0700)]
Merge "Fix a bug where we cleaned an apps external data when upgrading it. :(" into gingerbread
Christopher Tate [Thu, 29 Jul 2010 20:53:37 +0000 (13:53 -0700)]
Merge "Attempt to fix the SDK build" into gingerbread
Christopher Tate [Thu, 29 Jul 2010 20:16:38 +0000 (13:16 -0700)]
Attempt to fix the SDK build
On the assumption that the local min() function declaration is in
conflict with some 'min' #define floating around, rename the local
function to min_of().
Change-Id: I62aa27f213c6093cc78805de611cf4aa75f0eef2
Jeff Brown [Thu, 29 Jul 2010 20:05:52 +0000 (13:05 -0700)]
Fix touch input in landscape mode.
Change-Id: I7d47e9b02e6443ed604a6bf842028a5db934d90d
Jeff Brown [Wed, 28 Jul 2010 22:48:59 +0000 (15:48 -0700)]
DO NOT MERGE: Fix input event injection ANRs on UI thread.
Added a new asynchronous injection mode and made the existing
synchronization mechanism more robust.
Change-Id: Ia4aa04fd9b75ea2461a844c5b7933c831c1027e6
Andreas Huber [Thu, 29 Jul 2010 18:07:49 +0000 (11:07 -0700)]
am
16263d9f: Squashed commit of the following:
Merge commit '
16263d9f8cc01392c2f3678b381ce897647c8c81' into gingerbread
* commit '
16263d9f8cc01392c2f3678b381ce897647c8c81':
Squashed commit of the following:
Chris Tate [Thu, 29 Jul 2010 01:14:51 +0000 (18:14 -0700)]
Merge "Change unistd.h to stddef.h to be correct" into gingerbread
Adam Powell [Wed, 28 Jul 2010 23:56:13 +0000 (16:56 -0700)]
Merge "Fix a bug that could cause flings to last too long using a Scroller" into gingerbread
Kenny Root [Wed, 28 Jul 2010 23:46:12 +0000 (16:46 -0700)]
Change unistd.h to stddef.h to be correct
size_t should be defined through inclusion of stddef.h instead of unistd.h
Change-Id: Ieaadacfca1e1c44c2533ea95f73fc060c1519b52
Kenny Root [Wed, 28 Jul 2010 23:41:49 +0000 (16:41 -0700)]
Merge "Add stdint.h to fix sim-eng" into gingerbread
Kenny Root [Wed, 28 Jul 2010 23:37:20 +0000 (16:37 -0700)]
Merge "Add unistd.h for size_t typedef to fix sim-eng" into gingerbread
Kenny Root [Wed, 28 Jul 2010 23:31:24 +0000 (16:31 -0700)]
Add unistd.h for size_t typedef to fix sim-eng
Change-Id: Ida4f1742547f39539b601f13182c722aa7cf863e
Mathias Agopian [Wed, 28 Jul 2010 23:30:56 +0000 (16:30 -0700)]
Merge "fix [
2873058] Surface::dequeueBuffer blocks on last buffer, i.e. cannot dequeue all allocated buffers at once." into gingerbread
Christopher Tate [Wed, 28 Jul 2010 22:36:48 +0000 (15:36 -0700)]
Merge "Support streaming of compressed assets > 1 megabyte" into gingerbread
Christopher Tate [Mon, 26 Jul 2010 18:24:18 +0000 (11:24 -0700)]
Support streaming of compressed assets > 1 megabyte
Compressed assets larger than one megabyte are now decompressed on demand
rather than being decompressed in their entirety and held in memory. Reading
the data in order is relatively efficient, as is seeking forward in the stream.
Seeking backwards is supported, but requires reprocessing the compressed data
from the beginning, so is very inefficient.
In addition, the size limit on compressed assets has been eliminated.
Change-Id: I6e68247957e6c53e7e8ba70d12764695f1723bad
James Dong [Wed, 28 Jul 2010 22:28:54 +0000 (15:28 -0700)]
Merge "Eliminate the linear cost associated with mSampleSizes.size()" into gingerbread
Kenny Root [Wed, 28 Jul 2010 21:48:40 +0000 (14:48 -0700)]
Merge "Fix getTempContainerId()" into gingerbread
Scott Main [Wed, 28 Jul 2010 21:23:16 +0000 (14:23 -0700)]
am
3bf5c4cd: Merge "fix markup error bug:
2871538" into froyo
Merge commit '
3bf5c4cd30f8bd598842d8ded5f1655406b5c27a' into gingerbread
* commit '
3bf5c4cd30f8bd598842d8ded5f1655406b5c27a':
fix markup error
Scott Main [Wed, 28 Jul 2010 21:20:18 +0000 (14:20 -0700)]
Merge "fix markup error bug:
2871538" into froyo
Jeff Brown [Sat, 24 Jul 2010 04:28:06 +0000 (21:28 -0700)]
Refactor input reader to support new device types more easily.
Refactored the input reader so that each raw input protocol is handled
by a separate subclass of the new InputMapper type. This way, behaviors
pertaining to keyboard, trackballs, touchscreens, switches and other
devices are clearly distinguished for improved maintainability.
Added partial support for describing capabilities of input devices
(incomplete and untested for now, will be fleshed out in later commits).
Simplified EventHub interface somewhat since InputReader is taking over
more of the work.
Cleaned up some of the interactions between InputManager and
WindowManagerService related to reading input state.
Fixed swiping finger from screen edge into display area.
Added logging of device information to 'dumpsys window'.
Change-Id: I17faffc33e3aec3a0f33f0b37e81a70609378612
Dan Egnor [Wed, 28 Jul 2010 19:40:16 +0000 (12:40 -0700)]
am
17876aa5: Minor changes to ContentProvider javadoc to improve consistency.
Merge commit '
17876aa586cc9acfb3e5b909c14b9e73537a1a8d' into gingerbread
* commit '
17876aa586cc9acfb3e5b909c14b9e73537a1a8d':
Minor changes to ContentProvider javadoc to improve consistency.
James Dong [Wed, 28 Jul 2010 18:58:12 +0000 (11:58 -0700)]
Merge "Interleave the audio and video by default - default interleave duration is set to 1 second" into gingerbread
Joe Onorato [Wed, 28 Jul 2010 16:53:12 +0000 (09:53 -0700)]
Merge "Add a missing break; to restore old functionality and not turn off the screen after 30secs regardless of system preference." into gingerbread
Eric Laurent [Wed, 28 Jul 2010 14:48:49 +0000 (07:48 -0700)]
Merge "Audio effects: modified command() parameter types." into gingerbread
Mike Lockwood [Wed, 28 Jul 2010 11:04:18 +0000 (04:04 -0700)]
Merge "Tethering: Use new ACTION_USB_STATE broadcast to monitor USB connected state" into gingerbread
Mathias Agopian [Wed, 28 Jul 2010 03:11:35 +0000 (20:11 -0700)]
fix [
2873058] Surface::dequeueBuffer blocks on last buffer, i.e. cannot dequeue all allocated buffers at once.
this situation happened when the last buffer needed to be resized
(or allocated, the first time). the assumption was that the buffer
was in use by SF itself as the current buffer (obviously, this
assumption made no sense when the buffer had never been allocated, btw).
the system would wait until some other buffer became the "front" buffer.
we fix this problem by entirely removing the requirement that the
buffer being resized cannot be the front buffer. instead, we just
allocate a new buffer and replace the front buffer by the new one.
the downside is that this uses more memory (an extra buffer) for a
brief amount of time while the old buffer is being reallocated and
before it has actually been replaced.
Change-Id: I022e4621209474ceb1c671b23deb4188eaaa7285
Brad Fitzpatrick [Wed, 28 Jul 2010 01:34:08 +0000 (18:34 -0700)]
Merge "Cap the size of StrictMode buffering we do before calling DropBox." into gingerbread
Steve Howard [Tue, 27 Jul 2010 23:55:14 +0000 (16:55 -0700)]
Merge "One last change to current.xml for new download manager API" into gingerbread
Brad Fitzpatrick [Tue, 27 Jul 2010 23:52:12 +0000 (16:52 -0700)]
am
86c035f0: Merge "COMMENT ONLY change to clarify ContentProvider documentation." into froyo
Merge commit '
86c035f0d176be9cb06b1e4f2390c25701417586' into gingerbread
* commit '
86c035f0d176be9cb06b1e4f2390c25701417586':
COMMENT ONLY change to clarify ContentProvider documentation.
Brad Fitzpatrick [Tue, 27 Jul 2010 23:44:53 +0000 (16:44 -0700)]
Merge "COMMENT ONLY change to clarify ContentProvider documentation." into froyo
Steve Howard [Tue, 27 Jul 2010 23:29:37 +0000 (16:29 -0700)]
Merge "Un-@hide new download manager public API." into gingerbread
Brad Fitzpatrick [Tue, 27 Jul 2010 22:19:08 +0000 (15:19 -0700)]
Merge "Explicitly mention again that startCommand() runs on the main thread." into gingerbread
Brad Fitzpatrick [Tue, 27 Jul 2010 20:59:47 +0000 (13:59 -0700)]
Merge "Replace several IPCThreadState::get() lookups with one." into gingerbread
Brad Fitzpatrick [Tue, 27 Jul 2010 16:49:11 +0000 (09:49 -0700)]
Replace several IPCThreadState::get() lookups with one.
Also, make StrictMode's ThreadLocal final.
Change-Id: I08d400ed254fa67bb7a3dae1227f205a54c00df0
Dan Egnor [Tue, 27 Jul 2010 17:22:58 +0000 (10:22 -0700)]
Merge "Remove a log message Jason doesn't like" into gingerbread
Joe Onorato [Tue, 27 Jul 2010 16:14:42 +0000 (09:14 -0700)]
am
8c65ee2d: Merge "Add a method to let a properly permissioned app directly manipulate the user activity timeout. We should come up with a better API for this, but this is for a last minute power manager hack to turn off the screen sooner after a phone call ends." i
Merge commit '
8c65ee2d509db7dcb50ce4530d52eb5bdca3f917' into gingerbread
* commit '
8c65ee2d509db7dcb50ce4530d52eb5bdca3f917':
Add a method to let a properly permissioned app directly
Joe Onorato [Tue, 27 Jul 2010 16:05:05 +0000 (09:05 -0700)]
Merge "Add a method to let a properly permissioned app directly manipulate the user activity timeout. We should come up with a better API for this, but this is for a last minute power manager hack to turn off the screen sooner after a phone call ends." into froyo
Mathias Agopian [Tue, 27 Jul 2010 04:14:59 +0000 (21:14 -0700)]
fix [
2870926] Issue 9802: EGL wrapper has not been implemented correctly for eglQuerySurface().
rework how our EGL wrapper manages EGLConfig:
- we now store the EGLConfig with the EGLSurface and EGLContext
so that we can have easy access to it from eglQueryContext
and eglQuerySurface.
- EGLConfig now are an index into a sorted table of egl_config_t,
we use a binary search to retrieve our EGLConfig (the index) from
the implementation's EGLConfig.
- egl_config_t keeps track of the implementation's index,
EGLConfig and CONFIG_ID as well as our CONFIG_ID.
In many ways, this implementation is simpler and more robust, as it doesn't
assume anything about the number of implementations nor what EGLConfig is
made of (the previous code assumed EGLConfig didn't usem more than 24-bits).
Change-Id: Id5abe923aacb6e1fd2b63bd8c15d7b04ae824922
Dirk Dougherty [Tue, 27 Jul 2010 03:01:12 +0000 (20:01 -0700)]
am
0ac8ac30: Doc change: Add docs for licensing service.
Merge commit '
0ac8ac301d056604485aeca9ffe5ce8d1e63ef19' into gingerbread
* commit '
0ac8ac301d056604485aeca9ffe5ce8d1e63ef19':
Doc change: Add docs for licensing service.
Brad Fitzpatrick [Tue, 27 Jul 2010 02:44:50 +0000 (19:44 -0700)]
Merge "Fix StrictMode for Binder.dump()" into gingerbread
Eric Laurent [Mon, 26 Jul 2010 17:09:54 +0000 (10:09 -0700)]
Merge "Fixed bug in vlm effect bunde wrapper effect init function." into gingerbread
Mike Lockwood [Mon, 26 Jul 2010 15:11:54 +0000 (08:11 -0700)]
Merge "Avoid starting multiple threads in ShutdownThread" into gingerbread
Eric Laurent [Mon, 26 Jul 2010 09:17:52 +0000 (02:17 -0700)]
Merge "LVM release 1.04." into gingerbread
Mathias Agopian [Sat, 24 Jul 2010 00:03:43 +0000 (17:03 -0700)]
Merge "Report sensor events to BatteryStats service" into gingerbread
Mathias Agopian [Fri, 23 Jul 2010 23:39:34 +0000 (16:39 -0700)]
Merge "SensorService handles last known state properly" into gingerbread
Mathias Agopian [Fri, 23 Jul 2010 03:07:01 +0000 (20:07 -0700)]
Merge "Fix a memory corruption when writting Sensor into a parcel" into gingerbread
Mathias Agopian [Fri, 23 Jul 2010 01:57:41 +0000 (18:57 -0700)]
Fix a memory corruption when writting Sensor into a parcel
Change-Id: I03f703ae2224f43924031bfea4c68aa979bb9f05
Mathias Agopian [Fri, 23 Jul 2010 00:23:17 +0000 (17:23 -0700)]
Merge "filter sensor event by connection" into gingerbread
Mathias Agopian [Thu, 22 Jul 2010 21:38:49 +0000 (14:38 -0700)]
Merge "propagate sensor event rate properly to the sensor HAL" into gingerbread
Andreas Huber [Thu, 22 Jul 2010 20:47:41 +0000 (13:47 -0700)]
Merge "Various changes to improve rtsp networking, reduce packet loss and adapt to ALooper API changes." into gingerbread
Mathias Agopian [Wed, 21 Jul 2010 22:59:50 +0000 (15:59 -0700)]
propagate sensor event rate properly
Change-Id: I32e67d30e4295285a6827956cc8161b2025d70bc
Mathias Agopian [Wed, 21 Jul 2010 23:07:32 +0000 (16:07 -0700)]
Merge "Better dumpsys logs" into gingerbread
Mathias Agopian [Wed, 21 Jul 2010 23:07:15 +0000 (16:07 -0700)]
Merge "Added partial support for repporting sensor activity to IBatteryStats" into gingerbread
Mathias Agopian [Wed, 21 Jul 2010 23:06:46 +0000 (16:06 -0700)]
Merge "new SensorService" into gingerbread
Dan Egnor [Wed, 21 Jul 2010 20:55:13 +0000 (13:55 -0700)]
am
e8605af5: Merge "Avoid leaking file descriptors when returning drop box events." into froyo
Merge commit '
e8605af513e846f6cd223c9e92461189727d8c9b' into gingerbread
* commit '
e8605af513e846f6cd223c9e92461189727d8c9b':
Avoid leaking file descriptors when returning drop box events.
Dan Egnor [Wed, 21 Jul 2010 20:53:23 +0000 (13:53 -0700)]
Merge "Avoid leaking file descriptors when returning drop box events." into froyo
Andreas Huber [Wed, 21 Jul 2010 19:31:14 +0000 (12:31 -0700)]
Merge "Add a seek test to the stagefright commandline tool." into gingerbread
Tom Taylor [Wed, 21 Jul 2010 18:22:22 +0000 (11:22 -0700)]
am
dbac180d: Fix a merge problem with html mms
Merge commit '
dbac180d8342a7db2bb9994f937869eecb6b50ff' into gingerbread
* commit '
dbac180d8342a7db2bb9994f937869eecb6b50ff':
Fix a merge problem with html mms
Andreas Huber [Wed, 21 Jul 2010 17:36:08 +0000 (10:36 -0700)]
Merge "Support finer seek control on MediaSources." into gingerbread
James Dong [Tue, 20 Jul 2010 21:29:39 +0000 (14:29 -0700)]
Merge "Progress status notification" into gingerbread
Jason Parks [Tue, 20 Jul 2010 21:01:39 +0000 (14:01 -0700)]
Merge "Only print out wake locks in the if the wakelock was held." into gingerbread
Dan Egnor [Tue, 20 Jul 2010 20:59:43 +0000 (13:59 -0700)]
am
2f0dc6d9: Merge "COMMENT ONLY change to add some warnings about ParcelFileDescriptor behavior with Parcel.writeValue()." into froyo
Merge commit '
2f0dc6d9f50ceece294e9db393583e655d3bf781' into gingerbread
* commit '
2f0dc6d9f50ceece294e9db393583e655d3bf781':
COMMENT ONLY change to add some warnings about ParcelFileDescriptor
Dan Egnor [Tue, 20 Jul 2010 20:57:08 +0000 (13:57 -0700)]
Merge "COMMENT ONLY change to add some warnings about ParcelFileDescriptor behavior with Parcel.writeValue()." into froyo
Scott Main [Tue, 20 Jul 2010 20:53:55 +0000 (13:53 -0700)]
am
2316d626: docs: add information about using color resources as drawables
Merge commit '
2316d6260862230af10d8ca3ff446ad3f560f712' into gingerbread
* commit '
2316d6260862230af10d8ca3ff446ad3f560f712':
docs: add information about using color resources as drawables
Dan Egnor [Tue, 20 Jul 2010 20:23:09 +0000 (13:23 -0700)]
Merge "resolved conflicts for merge of
9bc4039a to gingerbread" into gingerbread
Dan Egnor [Tue, 20 Jul 2010 18:30:17 +0000 (11:30 -0700)]
resolved conflicts for merge of
9bc4039a to gingerbread
Change-Id: I6f9262fb293a67cbc04e5756205ae56e28c299ec
Eric Laurent [Tue, 20 Jul 2010 18:25:35 +0000 (11:25 -0700)]
Merge "Audio policy manager changes for audio effects" into gingerbread
Andreas Huber [Tue, 20 Jul 2010 16:18:58 +0000 (09:18 -0700)]
Merge "Fix MPEG4Extractor to extract sampling frequency correctly when SBR is enabled." into gingerbread
Dan Egnor [Tue, 20 Jul 2010 01:14:50 +0000 (18:14 -0700)]
Merge "COMMENT-ONLY change to clarify Camera documentation." into froyo
Mathias Agopian [Thu, 15 Jul 2010 06:41:37 +0000 (23:41 -0700)]
new SensorService
remove old sensor service and implement SensorManager
on top of the new (native) SensorManger API.
Change-Id: Iddb77d498755da3e11646473a44d651f12f40281
Jamie Gennis [Mon, 19 Jul 2010 23:09:26 +0000 (16:09 -0700)]
Remove some debug logging that I accidentally committed.
Change-Id: Ib182455fad5e5b3f3f59b3ff24f59dcd7f638292
Vasu Nori [Mon, 19 Jul 2010 22:26:39 +0000 (15:26 -0700)]
Merge "fix javadoc error which breaks SDK build in gingerbread" into gingerbread
Scott Main [Mon, 19 Jul 2010 21:50:32 +0000 (14:50 -0700)]
am
85e7ae9b: Merge "docs: add troubleshooting to eclipse guide about restarting adb" into froyo
Merge commit '
85e7ae9bbb6f2e8bc4259073eafda5ce5b037d7d' into gingerbread
* commit '
85e7ae9bbb6f2e8bc4259073eafda5ce5b037d7d':
docs: add troubleshooting to eclipse guide about restarting adb
Scott Main [Mon, 19 Jul 2010 21:42:13 +0000 (14:42 -0700)]
Merge "docs: add troubleshooting to eclipse guide about restarting adb" into froyo
Danica Chang [Mon, 19 Jul 2010 20:47:50 +0000 (13:47 -0700)]
Merge "fixed parsing issue in BluetoothService so that it parses the UUID property correctly" into gingerbread
Eric Laurent [Mon, 19 Jul 2010 17:13:27 +0000 (10:13 -0700)]
Merge "Fixed problems in audio effect volume control." into gingerbread
Adam Bliss [Mon, 19 Jul 2010 15:09:19 +0000 (08:09 -0700)]
Merge "Don't throw an exception from isProviderEnabled and getLastKnownLocation" into gingerbread
Jeff Brown [Sat, 17 Jul 2010 00:21:06 +0000 (17:21 -0700)]
Fix trackball down and movement bugs.
Bug:
2823788
Change-Id: Icb0c392b58f7e735614460b5eb87439cb73ac4f2
Hung Dang [Fri, 16 Jul 2010 22:15:44 +0000 (15:15 -0700)]
am
28fe43be: Merge "Add the hook which can set the device to connect to wifi and in airplane mode after reboot. This is for the power test." into froyo
Merge commit '
28fe43be5c364a8f7f248a5ac05cf832a83737c2' into gingerbread
* commit '
28fe43be5c364a8f7f248a5ac05cf832a83737c2':
Add the hook which can set the device to connect to wifi and in airplane mode after reboot. This is for the power test.
Jamie Gennis [Fri, 16 Jul 2010 22:14:44 +0000 (15:14 -0700)]
Merge "Re-use existing Surface objects when reading them from parcels." into gingerbread
Hung Dang [Fri, 16 Jul 2010 22:13:12 +0000 (15:13 -0700)]
Merge "Add the hook which can set the device to connect to wifi and in airplane mode after reboot. This is for the power test." into froyo
Jeff Brown [Fri, 16 Jul 2010 22:01:56 +0000 (15:01 -0700)]
Fix individual pointer id up/down reporting.
Fix a minor threading bug in InputManager dump.
Change-Id: Ic2eecf7df5a8dc9f40561fcb03ebe58a2c073778
Scott Main [Fri, 16 Jul 2010 21:59:48 +0000 (14:59 -0700)]
am
2a8dd4e4: Merge "docs: editorial revisions to Search guide" into froyo
Merge commit '
2a8dd4e46f43c2bc5b3c1cfd2f350a83ea2b18b1' into gingerbread
* commit '
2a8dd4e46f43c2bc5b3c1cfd2f350a83ea2b18b1':
docs: editorial revisions to Search guide
Scott Main [Fri, 16 Jul 2010 21:52:03 +0000 (14:52 -0700)]
Merge "docs: editorial revisions to Search guide" into froyo
Jamie Gennis [Fri, 16 Jul 2010 00:29:15 +0000 (17:29 -0700)]
Re-use existing Surface objects when reading them from parcels.
This change adds a process-global cache of previously deserialized Surface
objects so that if a Surface object wrapping the same ISurface gets received
again the same Surface can be used. This is important because the 'tail'
pointer in the SharedBufferClient is stored only on the client side, and needs
to be the same for all the Surface objects wrapping an ISurface instance. This
solves the problem by making there only be one Surface object wrapping an
ISurface per process.
Change-Id: I4bf0b8787885c56277622fca053022d2bb638902
Jeff Brown [Fri, 16 Jul 2010 07:14:38 +0000 (00:14 -0700)]
Merge "Fix bug with phantom input windows." into gingerbread
Eric Laurent [Fri, 16 Jul 2010 07:08:50 +0000 (00:08 -0700)]
Merge "Several improvements in audio effects volume control." into gingerbread
Jeff Brown [Fri, 16 Jul 2010 06:54:05 +0000 (23:54 -0700)]
Fix bug with phantom input windows.
Add dumpsys integration for the native input dispatcher.
Add some InputDevice API stubs.
Add an appendFormat helper method to String8 for printf style
string formatting mainly for debugging purposes.
Use generic ArrayList<WindowState> everywhere in WindowManagerService
to eliminate unnecessary casts all over.
Change-Id: I9d1e3bd90eb7222d10620200477f11b7bfd25e44
Dianne Hackborn [Fri, 16 Jul 2010 05:22:42 +0000 (22:22 -0700)]
Merge "Implement native key pre-dispatching to IMEs." into gingerbread
Dianne Hackborn [Fri, 16 Jul 2010 00:44:53 +0000 (17:44 -0700)]
Implement native key pre-dispatching to IMEs.
This significantly re-works the native key dispatching code to
allow events to be pre-dispatched to the current IME before
being processed by native code. It introduces one new public
API, which must be called after retrieving an event if the app
wishes for it to be pre-dispatched.
Currently the native code will only do pre-dispatching of
system keys, to avoid significant overhead for gaming input.
This should be improved to be smarted, filtering for only
keys that the IME is interested in. Unfortunately IMEs don't
currently provide this information. :p
Change-Id: Ic1c7aeec8b348164957f2cd88119eb5bd85c2a9f
Jeff Brown [Thu, 15 Jul 2010 01:48:53 +0000 (18:48 -0700)]
Add support for new input sources.
Added several new coordinate values to MotionEvents to capture
touch major/minor area, tool major/minor area and orientation.
Renamed NDK input constants per convention.
Added InputDevice class in Java which will eventually provide
useful information about available input devices.
Added APIs for manufacturing new MotionEvent objects with multiple
pointers and all necessary coordinate data.
Fixed a bug in the input dispatcher where it could get stuck with
a pointer down forever.
Fixed a bug in the WindowManager where the input window list could
end up containing stale removed windows.
Fixed a bug in the WindowManager where the input channel was being
removed only after the final animation transition had taken place
which caused spurious WINDOW DIED log messages to be printed.
Change-Id: Ie55084da319b20aad29b28a0499b8dd98bb5da68
Christopher Tate [Fri, 16 Jul 2010 01:19:17 +0000 (18:19 -0700)]
Merge "Fix jni registration typo" into gingerbread
Scott Main [Fri, 16 Jul 2010 01:17:16 +0000 (18:17 -0700)]
am
d59f1dea: Merge "docs: update notepad tutorial to change EditNote activity title and update codelab zip" into froyo
Merge commit '
d59f1dea1746b316e556df5b4d2080f110aabd1c' into gingerbread
* commit '
d59f1dea1746b316e556df5b4d2080f110aabd1c':
docs: update notepad tutorial to change EditNote activity title and update codelab zip
Scott Main [Fri, 16 Jul 2010 01:14:16 +0000 (18:14 -0700)]
Merge "docs: update notepad tutorial to change EditNote activity title and update codelab zip" into froyo
Scott Main [Fri, 16 Jul 2010 01:10:39 +0000 (18:10 -0700)]
am
80fa5c86: docs: dashboard update
Merge commit '
80fa5c866eaf323c39bef4159a351950f0ea527a' into gingerbread
* commit '
80fa5c866eaf323c39bef4159a351950f0ea527a':
docs: dashboard update