39995 Commits

Author SHA1 Message Date
Robert Ly
3f9b6445cb Doc change: adding missing samples
Change-Id: Id5f63a02b80f88b5cb0c4db18322554944b944c9
2011-01-19 19:57:37 -08:00
Jeff Brown
8b9df97826 Merge "Fix getSwitchState." into honeycomb 2011-01-19 18:54:11 -08:00
Jeff Brown
89de57a8d2 Fix getSwitchState.
InputReader::getSwitchState always returns AKEY_STATE_UNKNOWN
because SwitchInputMapper::getSources() returns 0 which cannot
match any source mask including AINPUT_SOURCE_ANY.  As a result
initial lid switch detection is broken.

This change adds a new source constant AINPUT_SOURCE_SWITCH
that indicates that the source has switches.

Change-Id: I5321ecf0ce84f1c2b4535f6c163d3f4dcf9b7a9b
2011-01-19 18:41:38 -08:00
Alexander Lucas
af3227ff77 Merge "Added Honeycomb-Gallery to docs." into honeycomb 2011-01-19 18:33:43 -08:00
Alexander Lucas
d84725401d Added Honeycomb-Gallery to docs.
Change-Id: I3879ee553f761113b30f8ad82c0a226d0823dd2c
2011-01-19 18:31:44 -08:00
Mathias Agopian
baf9af94a6 Merge "Use EGL_NATIVE_VISUAL_ID to select EGLConfig" into honeycomb 2011-01-19 18:22:45 -08:00
Mathias Agopian
54714b8b95 Merge "fix [3369027] Sensor.TYPE_ROTATION_VECTOR is unstable and returns NaNs when running slowly" into honeycomb 2011-01-19 18:22:35 -08:00
Mathias Agopian
81ae965133 Use EGL_NATIVE_VISUAL_ID to select EGLConfig
EGLUtils::selectConfigForPixelFormat() now uses EGL_NATIVE_VISUAL_ID
to select a config with the proper format. this is more robust and
future proof.

Change-Id: I7245d904adab1e339f062b9b498ddd9324cfe7a4
2011-01-19 18:21:15 -08:00
Mathias Agopian
0bcd713977 fix [3369027] Sensor.TYPE_ROTATION_VECTOR is unstable and returns NaNs when running slowly
The cut-off frequency of the lowpass filter was too high
for the sampling rate used by DELAY_NORMAL.

Now we use the same filters used for the gravity vector
(cascaded biquad at 1.5 Hz)

Change-Id: I319dc4f449a3abd553d61b196a9ddcf7782f912d
2011-01-19 18:20:06 -08:00
Huahui Wu
961d2c6acf Merge "b/3350774 avoid screen jumping when pinching to zoom." into honeycomb 2011-01-19 18:16:24 -08:00
Huahui Wu
1f30125c1c b/3350774 avoid screen jumping when pinching to zoom.
After the change that sends multi-touch to WebKit first, there is
a chance that the single-touch move event is handled before multi-
touch events are finished and this makes the page jumps.
This change skips those single-touch move events to avoid that.

Change-Id: I03992ef18c1de8e07933bd7cc6c12ffc02c014a8
2011-01-19 18:14:09 -08:00
Justin Ho
3847667d53 Updated ic_sysbar icons
Change-Id: I431e312ad8817b796229733a6df89d287d0688b4
2011-01-19 18:05:26 -08:00
Irfan Sheriff
d033e9caa1 Merge "Handle EAP authentication failure" into honeycomb 2011-01-19 17:58:19 -08:00
Jeff Brown
d49f3e0078 Merge "Rename KeyCharacterMap.UnavailableException." into honeycomb 2011-01-19 17:56:32 -08:00
Jason Sams
a82bcf6a55 Merge "Remove some old logging code." into honeycomb 2011-01-19 17:50:15 -08:00
Jason Sams
89f8b1e093 Remove some old logging code.
Change-Id: Ide5d91aadbc9f5b475da38762bc350ac237347d1
2011-01-19 17:49:24 -08:00
Jeff Brown
7e1e21fdc5 Rename KeyCharacterMap.UnavailableException.
Bug: 3370261
Change-Id: I5cdca8ef2300b70b7a0fcc7e2c26765079645ecc
2011-01-19 17:32:50 -08:00
Christopher Tate
5ea769dcc1 Merge "Make the drag input window fullscreen touchable again" into honeycomb 2011-01-19 17:29:14 -08:00
Christopher Tate
a159579778 Make the drag input window fullscreen touchable again
Having it non-touchable was making it possible to e.g.
touch buttons and launch new activities out from under
an in-flight drag operation.

Bug 3370698

Change-Id: I46fe70a8fe8fbaa5cca48f6bb478ed7ded1f1cc3
2011-01-19 17:26:50 -08:00
Stephen Hines
eb60932a19 Merge "Clean up RS math fp library functions." into honeycomb 2011-01-19 17:24:53 -08:00
Daniel Sandler
60720a2991 Merge "Notification & settings panel redesign." into honeycomb 2011-01-19 17:24:42 -08:00
Adam Powell
ed58d8ed8a Merge "Fix bug 3112733 - Missing TLS encryption option in manual email account setup" into honeycomb 2011-01-19 17:11:37 -08:00
Adam Powell
d2766aec6a Fix bug 3112733 - Missing TLS encryption option in manual email account setup
Make spinner popups observe global events that should change the
position of the popup.

Change-Id: Ia65204f594a6972b96d4db08c205770e340fcaf9
2011-01-19 17:09:29 -08:00
Jeff Brown
2cb866b948 Merge "Never drag scroll views with no children." into honeycomb 2011-01-19 17:03:08 -08:00
Mathias Agopian
8bb9131c66 Merge "fix [3367893] Rotating device on YouTube's home screen several times kills system_server" into honeycomb 2011-01-19 17:01:22 -08:00
Mathias Agopian
578b7a2265 fix [3367893] Rotating device on YouTube's home screen several times kills system_server
A typo in RS tear down cause caused eglMakeCurrent to fail. Additionnaly,
EGLSurfaces where not destroyed explicitely.
Everything worked properly when only one RS context was used, as
eglTerminate() would clean-up everything.

however in the present case, there seem to be more than one RS context
and eglTerminate() is not called.

Change-Id: I37a10945b9c0a85c4f7abad1c4f4c24bc0daa0a5
2011-01-19 16:58:10 -08:00
Romain Guy
eefc82483a Merge "Fix toasts." into honeycomb 2011-01-19 16:51:44 -08:00
Romain Guy
cf3dd6bc69 Fix toasts.
Change-Id: I11916c55e8092169d2ab28c100bc7a152d60d432
2011-01-19 16:54:13 -08:00
Jason Sams
1368436e42 Merge "Check and propogate errors from llvm." into honeycomb 2011-01-19 16:49:17 -08:00
Christopher Tate
28f0a53a88 Merge "Fail more gracefully when window state changes during drags" into honeycomb 2011-01-19 16:41:14 -08:00
Amith Yamasani
1c0012e103 Merge "Ensure that the column is valid before querying." into honeycomb 2011-01-19 16:40:14 -08:00
Stephen Hines
833166d274 Clean up RS math fp library functions.
Change-Id: Ibe87b06a7f40a3889d63310641359d98bdff066c
2011-01-19 16:34:10 -08:00
Mathias Agopian
0fb9c5dcc7 Merge "improve SurfaceFlinger 'dumpsys' log" into honeycomb 2011-01-19 16:31:32 -08:00
Irfan Sheriff
b98d878f43 Handle EAP authentication failure
Avoid the scenario of an EAP network indefinitely trying to connect
due to an EAP authentication failure by disabling the network

Bug: 2149114
Change-Id: Iec8da7551c2dff9b153f41a2139529133130399d
2011-01-19 16:30:28 -08:00
Dianne Hackborn
b26a651b47 Merge "Hook up large heap API." into honeycomb 2011-01-19 16:28:31 -08:00
Jason Sams
9dd9d02189 Merge "Expose unchecked copyFrom variants." into honeycomb 2011-01-19 16:27:06 -08:00
Christopher Tate
f01af7551b Fail more gracefully when window state changes during drags
In particular, if a new window was created out from under the drag,
the drag-move event dispatch logic would wind up blithly assuming
that it would find a valid touch-dispatchable window under the
finger.  When this was untrue, it would NPE, but the NPE was caught
and discarded safely by higher-level guard code.

With this change, we now avoid the NPE entirely and report the
spurious condition as part of the debugging log stream.

(Also add the local-state object to DragEvent.toString()'s output.)

Change-Id: Idfa5f45d049e48415ee59c8b0ffb5b0ed4098ce3
2011-01-19 16:25:22 -08:00
Amith Yamasani
de6e2ca7fb Ensure that the column is valid before querying.
Bug: 3303147
Change-Id: Ieec93317c5a2e924d3ee3108b61577b636943160
2011-01-19 16:19:35 -08:00
Mathias Agopian
06a61e2fa8 improve SurfaceFlinger 'dumpsys' log
list the purgatory, which shows windows that have been closed,
but for which the client still has references.

Change-Id: I5168bb88cb328d5d77d71d0871deb9190f493126
2011-01-19 16:15:53 -08:00
Jason Sams
fdc54a97ee Check and propogate errors from llvm.
Change-Id: Id99a724f746d1f64eabcdf67c12646cc32ff8f9d
2011-01-19 16:14:21 -08:00
Joe Onorato
b2b14397e5 Merge "Cut a hole in the status bar for events when the IME is open." into honeycomb 2011-01-19 16:14:14 -08:00
Dianne Hackborn
de39851592 Hook up large heap API.
Change-Id: I215644f8de326fe3d4fa582447885b0aa01f72d3
2011-01-19 16:13:18 -08:00
Joe Onorato
4defed4291 Merge changes I3814b491,Ic3a7f4c0 into honeycomb
* changes:
  Pass SkRegion::toString() through to java.
  Remove optimization to isInContentArea that wasn't working.
2011-01-19 16:11:04 -08:00
Mike Lockwood
62097ad654 Merge "@hide MediaStore.ACTION_MTP_SESSION_END" into honeycomb 2011-01-19 16:09:49 -08:00
Gilles Debunne
0c44d1dbb1 Merge "Race condition patched in Email autocompletion." into honeycomb 2011-01-19 16:08:20 -08:00
Mike Lockwood
e222872a77 @hide MediaStore.ACTION_MTP_SESSION_END
BUG: 3370230

Change-Id: Idc05512930ceab8f91e3ddf0969a3b17deab2f62
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-19 16:07:25 -08:00
Gloria Wang
a4b0cdc96e Merge "More fix for 64 bit offset." into honeycomb 2011-01-19 15:57:23 -08:00
Jason Sams
4fa3eed8e0 Expose unchecked copyFrom variants.
Change-Id: I452d082bb4adbd578b6300bf5829dc59e91e517a
2011-01-19 15:44:38 -08:00
Gloria Wang
d0423d2b12 More fix for 64 bit offset.
Change-Id: Ia05060113ca0f43a4362914dc99c89c89e30eb4a
2011-01-19 15:38:16 -08:00
Joe Onorato
020460b610 Cut a hole in the status bar for events when the IME is open.
Bug: 3238092
Change-Id: I8af18c2ebada624fbf5baee09b4b7ef98a7c8205
2011-01-19 15:29:31 -08:00