Jeff Brown
8db9ac4b7d
Optimize call to drawBitmap during screen rotation.
...
Using SRC mode reduces drawBitmap time from 50ms to 15ms.
Change-Id: Ibde82f358d92bd330b8c78c9db1ded6a0b4ba135
2011-01-21 14:39:52 -08:00
Jeff Brown
3a22cd90bc
Reduce number of calls to updateInputWindows by 60%.
...
Change-Id: Ida9069dd58be2070f3c9d312aa9d868bd98eb8e2
2011-01-21 14:09:43 -08:00
Dianne Hackborn
4eba96bb31
Fix issue #3377999 : Activities need to be stopped when sleeping
...
This is a band-aid over the existing kludgy stopping mechanism
where the semantics of stop are different in the activity manager
than in the clients.
This change is intended to be as unobtrusive as possible, only
impacting the sleep case. I have a different change that
completely reworks how we stop activities to simply this all
a lot by unifying the semantics between the server and client.
However, it is too late in HC for such an extensive change. Later
I'll revert this one and put in the better solution.
Change-Id: Id77f2db1ec83469cdd888acb8fbc4679daa7766e
2011-01-21 13:42:26 -08:00
Jason parks
ca615748cf
am a55e3670: am 0512d080: Merge "Add and enforce the permission for encrypting/decrypting." into honeycomb
...
* commit 'a55e367027fcd37aae83bf3e61225c45db0cf1cf':
Add and enforce the permission for encrypting/decrypting.
2011-01-21 12:39:55 -08:00
Jason parks
18e9cf0faa
am bee8a768: am 0f2ef34b: Merge "Update encryption commands." into honeycomb
...
* commit 'bee8a7686d380a7dc696756699411696d7685551':
Update encryption commands.
2011-01-21 12:39:49 -08:00
Jason parks
0512d080a5
Merge "Add and enforce the permission for encrypting/decrypting." into honeycomb
2011-01-21 11:59:15 -08:00
Jason parks
0f2ef34b5a
Merge "Update encryption commands." into honeycomb
2011-01-21 11:39:15 -08:00
Andy Stadler
568d9b6119
am 174a6fce: am c2ff2ec0: Merge "Read actual device encryption status" into honeycomb
...
* commit '174a6fce8ab1a08b85e45f636dc2682f6a62e8d1':
Read actual device encryption status
2011-01-21 11:02:57 -08:00
satok
90a09e0546
am 026de9ed: am 6a0d924e: Merge "Show implicitly enabled subtypes in the input method selection dialog" into honeycomb
...
* commit '026de9ed7f39c46260e7ac79dea2fcc32b151d19':
Show implicitly enabled subtypes in the input method selection dialog
2011-01-21 11:01:29 -08:00
satok
6a32272af5
am d57c1fcf: am 0e5bf505: Merge "Show ime switch icon when there is a hard keyboard" into honeycomb
...
* commit 'd57c1fcf5a4f8fd9451e4a09aa50ed14c7f94ff2':
Show ime switch icon when there is a hard keyboard
2011-01-21 10:59:32 -08:00
Andy Stadler
c2ff2ec0d9
Merge "Read actual device encryption status" into honeycomb
2011-01-21 10:27:46 -08:00
satok
bb4aa0683c
Show implicitly enabled subtypes in the input method selection dialog
...
bug: 3367646
Change-Id: I9550f17f163950d80113fbcb8c9dd8a7d014cf6a
2011-01-21 20:20:02 +09:00
Jason parks
8888c597c4
Add and enforce the permission for encrypting/decrypting.
...
Change-Id: Ia292d8a5981266c2703743beb79fd786d77b375d
2011-01-21 00:07:49 -06:00
Jason parks
9ed98bcdc9
Update encryption commands.
...
* Changed to inplace encryption.
* Changed decryption to return the proper error code. It will now return success or the number of failed attempts.
* Be lazy and post a message 2 seconds later to call restart. I don't feel like messing with binder interfaces for a proper callback.
Change-Id: Iae2de7057aa66f248fd2df3f29777ad3368442f0
2011-01-21 00:06:20 -06:00
Eric Laurent
39999e3af5
am c5694ebd: Merge "do not merge - Fix issue 3371096." into gingerbread
...
* commit 'c5694ebda9a50be391ef9cfaa7f93e9efb04b6c5':
do not merge - Fix issue 3371096.
2011-01-20 21:46:21 -08:00
satok
0e5bf5051b
Merge "Show ime switch icon when there is a hard keyboard" into honeycomb
2011-01-20 19:47:43 -08:00
satok
865b97761c
Show ime switch icon when there is a hard keyboard
...
Change-Id: Ife3a8733b1a1bf43b195ecf4b8c5082b6538d0a0
2011-01-21 12:28:01 +09:00
Mathias Agopian
b703d338c3
am 822d4ce6: Merge "fix [3369027] Sensor.TYPE_ROTATION_VECTOR is unstable and returns NaNs when running slowly" into gingerbread
...
* commit '822d4ce61687d386f9630b33113c6193257d6878':
fix [3369027] Sensor.TYPE_ROTATION_VECTOR is unstable and returns NaNs when running slowly
2011-01-20 17:41:20 -08:00
Mathias Agopian
b315616495
am 6f1ee600: am 35e4a497: Merge "fix [3369743] SurfaceFlinger reads hardware composer hints before calling hwc.prepare()" into honeycomb
...
* commit '6f1ee60033ba49365777776b05ef18d6d2e9cc50':
fix [3369743] SurfaceFlinger reads hardware composer hints before calling hwc.prepare()
2011-01-20 17:25:20 -08:00
Mathias Agopian
ea870e0af4
am 612d7f3c: am a423d868: Merge "clean-up unneeded code" into honeycomb
...
* commit '612d7f3c092ec2c4a2ae44cb09d6dfb4e525a659':
clean-up unneeded code
2011-01-20 17:25:14 -08:00
Andy Stadler
0fe45dea92
Read actual device encryption status
...
Bug: 3346770
Change-Id: Ie70c14b1b4584a5f340a27102145f7860ba9e14b
2011-01-20 16:35:09 -08:00
Mathias Agopian
35e4a497f4
Merge "fix [3369743] SurfaceFlinger reads hardware composer hints before calling hwc.prepare()" into honeycomb
2011-01-20 12:25:33 -08:00
Mathias Agopian
a423d86800
Merge "clean-up unneeded code" into honeycomb
2011-01-20 12:25:26 -08:00
Mathias Agopian
1d4549ab03
clean-up unneeded code
...
now that we removed the notion of a "inUse" buffer in surfaceflinger
a lot of code can be simplified / removed.
noteworthy, the whole concept of "unlockClient" wrt. "compositionComplete"
is also gone.
Change-Id: I210413d4c8c0998dae05c8620ebfc895d3e6233d
2011-01-20 12:10:11 -08:00
Eric Laurent
ab1fe306ae
do not merge - Fix issue 3371096.
...
EffectModule::process() was copying effect chain input buffer to
output buffer if no effect was active instead of accumulating it.
Change-Id: If4ca75601ea69a088d0f71d88aec53e90a1dec89
2011-01-20 12:05:25 -08:00
Eric Laurent
b37b90e4c5
am 4dcaeb6d: am 404946fc: Merge "Fix issue 3371096." into honeycomb
...
* commit '4dcaeb6d776bc87469a97001a223099c8e805579':
Fix issue 3371096.
2011-01-20 10:35:29 -08:00
Eric Laurent
404946fc26
Merge "Fix issue 3371096." into honeycomb
2011-01-20 10:31:21 -08:00
Irfan Sheriff
4624d669e4
Merge "Add untether call during softap shutdown"
2011-01-20 09:47:15 -08:00
Ken Wakasa
f41e1af8c0
am 7fff9d8e: am 586f0513: Refine InputMethodInfo API
...
* commit '7fff9d8e0489455363eb2d70111b7164adab46ff':
Refine InputMethodInfo API
2011-01-20 08:16:05 -08:00
Ken Wakasa
586f051375
Refine InputMethodInfo API
...
bug: 3370297
Change-Id: I2a18f3bdbe2fccb22e22cdae0f75aec5c703ad6d
2011-01-21 01:02:58 +09:00
Irfan Sheriff
43e747ef59
Add untether call during softap shutdown
...
Bug: 3355187
Change-Id: Ie4381648883186a216807bcd0d586ecfd00ca15c
2011-01-20 07:47:21 -08:00
Tadashi G. Takaoka
d738d87e13
am b1ba4367: am 317b2ea1: Merge "Add android.provider.Settings.EXTRA_INPUT_METHOD_ID" into honeycomb
...
* commit 'b1ba4367b6ef046ec137345932318265f210a205':
Add android.provider.Settings.EXTRA_INPUT_METHOD_ID
2011-01-20 07:41:12 -08:00
Tadashi G. Takaoka
2548020c36
Add android.provider.Settings.EXTRA_INPUT_METHOD_ID
...
Change-Id: Iecb7a9c265cafe96e7eec099341133da8e966f6f
2011-01-21 00:15:29 +09:00
Tadashi G. Takaoka
2ee0635d46
am 6c51e1fc: am 90fcb2ad: Merge "Rename action to ACTION_INPUT_METHOD_SUBTYPE_SETTINGS" into honeycomb
...
* commit '6c51e1fc9dd61bf5c269590305b3276f9e38c1ef':
Rename action to ACTION_INPUT_METHOD_SUBTYPE_SETTINGS
2011-01-20 05:21:18 -08:00
Tadashi G. Takaoka
90fcb2ad93
Merge "Rename action to ACTION_INPUT_METHOD_SUBTYPE_SETTINGS" into honeycomb
2011-01-20 05:17:51 -08:00
Tadashi G. Takaoka
f49688fa17
Rename action to ACTION_INPUT_METHOD_SUBTYPE_SETTINGS
...
Change-Id: I27c318777355991ae4ad72d0b2480e93c8c5044e
2011-01-20 22:02:56 +09:00
Hung-ying Tyan
3ed8dcfc42
am 9e0357b9: am 71196f0c: Merge "Make VpnService synchronous API." into honeycomb
...
* commit '9e0357b96bd5c84e39c3084625d58b21f9bad74c':
Make VpnService synchronous API.
2011-01-19 22:46:32 -08:00
Hung-ying Tyan
6b818de29a
Make VpnService synchronous API.
...
This eases VpnSettings on dealing with multiple-activity-instance problem
(i.e., SettingsActivity and VpnSettingsActivity).
+ Most of the code is moved from the VpnServices package to vpn/java/.
+ VpnManager and VpnServiceBinder are revised to provide synchronous API.
+ Add a new method isIdle() to IVpnService.aidl.
Related bug: 3293236 (need to deal with multiple-activity-instance problem)
Change-Id: I03afa3b3af85d7b4ef800683cd075c356a9266c4
2011-01-20 12:51:43 +08:00
Jeff Brown
e155bd0fcb
am 5f668c6e: am 8b9df978: Merge "Fix getSwitchState." into honeycomb
...
* commit '5f668c6e6bb2515325632691a804a7c8f24ebb09':
Fix getSwitchState.
2011-01-19 18:58:28 -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
Eric Laurent
67b5ed31ed
Fix issue 3371096.
...
EffectModule::process() was copying effect chain input buffer to
output buffer if no effect was active instead of accumulating it.
Change-Id: I2838af2e7b6654d0a76547625929a5453da68d02
2011-01-19 18:36:13 -08:00
Mathias Agopian
3f291d82cb
am b362617f: am 54714b8b: Merge "fix [3369027] Sensor.TYPE_ROTATION_VECTOR is unstable and returns NaNs when running slowly" into honeycomb
...
* commit 'b362617f5f74ea86268cf1c2856229f39b7c5252':
fix [3369027] Sensor.TYPE_ROTATION_VECTOR is unstable and returns NaNs when running slowly
2011-01-19 18:29:06 -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
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
Christopher Tate
ee97fb6c33
am 55573d92: am 5ea769dc: Merge "Make the drag input window fullscreen touchable again" into honeycomb
...
* commit '55573d926a1ce6a0a65f06b22b02d92789c05edf':
Make the drag input window fullscreen touchable again
2011-01-19 17:34: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
Christopher Tate
ef3f7bd356
am 67265808: am 28f0a53a: Merge "Fail more gracefully when window state changes during drags" into honeycomb
...
* commit '67265808c10e53f305f59a65911d7bfcd82151a6':
Fail more gracefully when window state changes during drags
2011-01-19 16:45:48 -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
Mathias Agopian
d8d134d457
am d4e6e8b8: am 0fb9c5dc: Merge "improve SurfaceFlinger \'dumpsys\' log" into honeycomb
...
* commit 'd4e6e8b8e93117986f85e42f2de2d848653aead3':
improve SurfaceFlinger 'dumpsys' log
2011-01-19 16:37:37 -08:00