Commit Graph

37934 Commits

Author SHA1 Message Date
Jamie Gennis
9f24fd020e EGL: move disconnect to surface dtor
This change moves the call to native_window_api_disconnect from
eglDestroySurface to the egl_surface_t destructor.  The egl_surface_t
can outlive the external EGLSurface if eglDestroySurface is called while
the surface is made current on a thread.

Change-Id: I0df6117a5633c2a19935fe356579abdd76fc471f
2011-08-24 15:00:23 -07:00
Tsu Chiang Chuang
c2d9862c85 Merge "fix bandwidth microbenchmark tests." 2011-08-22 11:11:07 -07:00
Jaikumar Ganesh
01e01b0626 Merge "Listen to the right Bluez signal for Channel deletion." 2011-08-22 10:31:15 -07:00
Svetoslav Ganov
0dc9291aae Merge "Adding a callback to ShareActionProvider + make ActivityChooserView popup hide on action bar hide." 2011-08-22 09:35:00 -07:00
Chih-Chung Chang
5ca97f3829 Merge "Remove useAndroidNativeBuffer(2) warning message." 2011-08-21 19:19:01 -07:00
Jeff Brown
51e243961f Merge "Fix tap gesture on touch pads." 2011-08-19 17:38:09 -07:00
Wei Hua
cdbdb40c6e Merge "Added additional Face attributes." 2011-08-19 17:20:54 -07:00
Romain Guy
fd5b7ecbce Merge "Minor fixes to SurfaceTexture transform matrix." 2011-08-19 16:57:32 -07:00
Jim Miller
ca33c0e4c6 Merge "Fix 5021968: Add input method switcher button to lock screen." 2011-08-19 16:30:13 -07:00
repo sync
4acd5b6af4 Merge "Fix device address and interface address usage" 2011-08-19 16:08:50 -07:00
Mathias Agopian
ba01b46be0 Merge "Fix occasional fusion divergence by detecting it and resetting the fusion." 2011-08-19 15:54:09 -07:00
Jeff Brown
d46a437ab5 Merge "Input system bug fixes, particularly for stylus. Bug: 5049148" 2011-08-19 15:26:13 -07:00
Christopher Tate
18d12ae570 Merge "Allow Instrumentation to kill even persistent processes" 2011-08-19 15:21:43 -07:00
Jeff Brown
ecc7adef2e Input system bug fixes, particularly for stylus.
Bug: 5049148

Finished stylus support, including support for indirect stylus
and mouse tools.

Added TILT axis.  When stylus tilt X/Y is available, it is transformed
into an orientation and tilt inclination which is a more convenient
representation and a simpler extension to the exiting API.

Touch devices now only report touch data using a single input
source.  Previously touch devices in pointer mode would report
both absolute touch pad data and cooked pointer gestures.
Now we just pick one.  The touch device switches modes as needed
when the focused application enables/disables pointer gestures.
This change greatly simplifies the code and reduces the load
on the input dispatcher.

Fixed an incorrect assumption that the value of ABS_(MT_)DISTANCE
would be zero whenever the stylus was in direct contact.  It appears
that the correct way to determine whether the stylus is in direct
contact (rather than hovering) is by checking for a non-zero
reported pressure.

Added code to read the initial state of tool buttons and axis values
when the input devices are initialized or reset.  This fixes
problems where the input mapper state might have the wrong initial
state.

Moved responsibility for cancelling pending inputs (keys down,
touches, etc.) to the InputDispatcher by sending it a device reset
notification.  This frees the InputReader from having to synthesize
events during reset, which was cumbersome and somewhat brittle
to begin with.

Consolidated more of the common accumulator logic from
SingleTouchInputMapper and MultiTouchInputMapper into
TouchInputMapper.

Improved the PointerLocation output.

Change-Id: I595d3647f7fd7cb1e3eff8b3c76b85043b5fe2f0
2011-08-19 15:02:26 -07:00
Rajneesh Chowdury
afdf17cc7b Merge "Fix for 4142219 Don't hard code platform-specific limitations (Jni/ Java)" 2011-08-19 15:01:11 -07:00
Dianne Hackborn
b8cf07304e Merge "Fix issue #5187844: Query is misrouted to wrong content provider" 2011-08-19 14:49:39 -07:00
Dianne Hackborn
4d920a85c2 Merge "Fix issue #5186318: Can't take multiple screenshots" 2011-08-19 14:48:40 -07:00
Fabrice Di Meglio
d0eed72e42 Merge "Update TextLayout logging" 2011-08-19 14:39:15 -07:00
Jamie Gennis
5a7ba6284d Merge "Stagefright: fix a compiler warning" 2011-08-19 14:36:10 -07:00
Amith Yamasani
72174dbaff Merge "Fix an unintentional change in method signature and avoid an API change." 2011-08-19 14:29:34 -07:00
Stephen Hines
4e34540ab2 Merge "Issue proper parameters to root() calls for RS." 2011-08-19 14:17:47 -07:00
Guang Zhu
d0e763a523 Merge "Use port 18000 instead of 8000 for layout tests" 2011-08-19 12:44:28 -07:00
Eino-Ville Talvala
efed1d3492 Merge "Make changing white-balance mode always disable AWB lock." 2011-08-19 12:42:06 -07:00
Adam Powell
46d529be04 Merge "Fix bug 5174755 - Adjust action bar overflow limits for ifRoom items" 2011-08-19 12:34:28 -07:00
Justin Ho
1f956ae4cc Merge "Remove old spinner_ assets from zygote Bug: 5076695" 2011-08-19 12:24:06 -07:00
Justin Ho
6defddc60e Merge "Updated overscroll asset Bug: 5076695" 2011-08-19 12:14:30 -07:00
Wink Saville
666b21df87 Merge "Remove writing pin's to log." 2011-08-19 12:06:54 -07:00
Jason Sams
a53cc55038 Merge "Fix issue with freeing allocation with circular references." 2011-08-19 11:23:46 -07:00
Amith Yamasani
e4f15678d4 Merge "Dismiss the volume overlay dialog when user touches above the dialog as well." 2011-08-19 11:17:48 -07:00
Joe Fernandez
3fd667e143 Merge "docs: OpenGL ES 1.0 and 2.0 Tutorials - Patch1" 2011-08-19 11:13:06 -07:00
Andreas Huber
16b1513c7f Merge "Raise the maximum input buffer size for the vpx video decoder to 256KB" 2011-08-19 10:33:41 -07:00
Daniel Sandler
29b2078e71 Merge "Low profile mode ("lights out") for phone status bar." 2011-08-19 09:37:30 -07:00
Justin Ho
191e44f6bf Merge "Unused assets removed from SystemUI" 2011-08-19 09:03:02 -07:00
Mathias Agopian
8da5bf7109 Merge "give the proper orientation to the h/w composer HAL" 2011-08-18 21:05:51 -07:00
Adam Powell
7052ca4ab6 Merge "Fix bug 5186341 - Double Action bar when displayOptions is 0" 2011-08-18 20:36:17 -07:00
Arve Hjønnevåg
c47e52d72e Merge "Add /proc/pagetypeinfo to dumpstate" 2011-08-18 20:11:47 -07:00
Mathias Agopian
5980b76fe1 Merge "implement EGL_TEXTURE_EXTERNAL_OES in libagl" 2011-08-18 18:53:21 -07:00
Adam Powell
cee4af9663 Merge "Fix bug 5186258 - Incorrect window width is used for custom panel views in the MATCH_PARENT case" 2011-08-18 18:52:29 -07:00
Chih-Chung Chang
32bb0dd025 Merge "Fix 5144356: Native crash while importing music" 2011-08-18 18:39:01 -07:00
Mathias Agopian
d992db3827 give the proper orientation to the h/w composer HAL
we were using the "orientation" value instead of the
real transform, which may contain arbitrary rotations for
instance, and in some case ended up with a final "orientation"
that looked valid, but wasn't.

this fixes a problem on devices with a h/w composer hal where
the rotation animation looked weird.

Change-Id: I4be8a2a1bde49c33456fcf5c8d87ab515c216763
2011-08-18 18:33:44 -07:00
Adam Powell
53f1fcbb60 Merge "Fix bug 5186160 - ActionBar.hide() doesn't hide the split ActionBar if called before onResume()" 2011-08-18 18:10:03 -07:00
Dianne Hackborn
c60e1eee02 Merge "Fix issue #5180553: permission RECEIVE_BOOT_COMPLETED is not checked" 2011-08-18 18:05:19 -07:00
Jim Miller
4fa9aa85b3 Merge "Fix 5149726: Add slight delay to initial lock screen 'ping' animation." 2011-08-18 17:46:57 -07:00
Christopher Tate
42ca38a74f Merge "Stop leaking DeathRecipient and BinderProxy instances" 2011-08-18 17:19:53 -07:00
Mathias Agopian
3a0cae8e5f implement EGL_TEXTURE_EXTERNAL_OES in libagl
this allows the emulator to display some graphics

Change-Id: Ib4671ad70b8df598d02307f2b9c5b843421cea25
2011-08-18 16:26:21 -07:00
Adam Powell
9509b9ce60 Merge "Fix bug 5099037 - No delete option when multiple videos are selected" 2011-08-18 16:24:19 -07:00
Nicolas Roard
35ade2d5ac Merge "Modify nativeSetProperty to return a boolean indicating if we need to invalidate the content or not." 2011-08-18 15:45:27 -07:00
Fabrice Di Meglio
f080e5c322 Merge "Update BiDiTest app" 2011-08-18 15:17:53 -07:00
Gloria Wang
dc9a241a50 Merge "When switching surface, do not set mSeekNotificationSent as true, because there could be a previous uncompleted seeking which needs to send back MEDIA_SEEK_COMPLETE message. If we set mSeekNotificationSent as true here, then mediaplayer.cpp will be waiting for message MEDIA_SEEK_COMPLETE. The getCurrentPosition() will always return the seek time before MEDIA_SEEK_COMPLETE being received by mediaplayer.cpp. Fix for bug 5181272." 2011-08-18 15:14:36 -07:00
Jeff Sharkey
f956b400b3 Merge "Background data notification, API clean up." 2011-08-18 15:01:10 -07:00