20043 Commits

Author SHA1 Message Date
Svetoslav Ganov
6bc5e53001 Inter process interrogation ocassionally gets stuck.
1. There was a bug that was not handling correctly the
   case for which the interrogator requests an accessibility
   node info and the message describing how to fetch the
   latter for the same process case was delivered after the
   code that checks whether the message is there in order to
   dispatch it is executed. Now the message handling is done
   correctly - the caller checks if the message is present and
   if so processes it, otherwise the caller sleeps and is
   interrupted if such a message arrives.

bug:5138933

Change-Id: I4c2940b46c9a52a51c5ee48b83ca6811489765d6
2011-09-09 18:52:26 -07:00
Isaac Katzenelson
5e8752595f Merge "Fix snippetizing cursor" 2011-09-08 12:49:13 -07:00
Gilles Debunne
15208ac500 Merge "No vibration when long pressing in the empty part of an EditText" 2011-09-08 11:18:53 -07:00
Gilles Debunne
df1324c3cf Merge "Longpressing in landscape correctly starts selection mode." 2011-09-08 11:18:36 -07:00
Gilles Debunne
0c4f8ec6d3 Merge "Updated text selection color. As in 133272" 2011-09-08 11:18:23 -07:00
Adam Powell
156900c48b Merge "Fix bug 5174277 - Trouble with Menus" 2011-09-08 11:02:20 -07:00
Dianne Hackborn
4ee3666901 Merge "Fix issue #5263361: Browser instance not created in application picker" 2011-09-08 10:38:42 -07:00
Steve Block
703bde8ca5 Merge "Add FrameLayout.getMeasureAllChildren()" 2011-09-08 10:38:15 -07:00
Dianne Hackborn
905577f634 Fix issue #5263361: Browser instance not created in application picker
The resolver activity was hiding the following activity from recents.

Also some other fixes: a little better memory use debugging, removed
some unneeded code from window manager, moved some system activities
into their own process, added some more running process information for
manage apps.

Change-Id: I66687d16989ff965d524b92dc360f37c19199717
2011-09-08 10:35:11 -07:00
Joe Fernandez
e8baa9797b Merge "docs: adding warning to managedQuery() JavaDoc about cursor.close()" 2011-09-08 09:42:38 -07:00
Jeff Sharkey
66b10a1cf7 Merge "Poll UID stats during iface changes, enforce idx." 2011-09-07 21:41:05 -07:00
Adam Powell
1d07e16c9d Fix bug 5174277 - Trouble with Menus
Make sure that options menu panel presenters associated with a PhoneWindow
get re-wired properly when a new menu is generated.

Change-Id: Ic06130019aec8b8edc372054c348f147d164fc5f
2011-09-07 20:47:13 -07:00
satok
76866208f8 Merge "Send onViewClicked in the extract mode" 2011-09-07 19:50:54 -07:00
satok
a67a3cfc7c Send onViewClicked in the extract mode
Bug: 5257838
Change-Id: I16547aab86812f2db45deb879ad887dc38968164
2011-09-08 11:46:35 +09:00
Svetoslav Ganov
aacbf9111b Merge "Not visible view should not be announced or interacted with." 2011-09-07 18:24:25 -07:00
Jeff Sharkey
b3d5957604 Poll UID stats during iface changes, enforce idx.
When ifaces change, poll UID stats without persisting, since they
depend on knowing active iface to store correctly.  Log dropped UID
stats when iface is unknown.  Switch to using flags when calling
performPoll().

Enforce that "idx" values are consistent from xt_qtaguid.  Transition
to using Log.wtf() for important checks, mostly around file I/O,
kernel stats parsing, and kernel module control.  Increase stats
persist threshold to 2MB to reduce churn.

Bug: 5269476, 5270106
Change-Id: I721215bfb65127f95775c71cf135e907cd567e92
2011-09-07 18:06:30 -07:00
Svetoslav Ganov
0b0a41d8e2 Not visible view should not be announced or interacted with.
1. Some invisible views' text was reported by accessibility events.

2. Accessibility actions could have been perfromed on invisible views.

bug:5264355

Change-Id: I68184fb436a3e10e947ec6f1eae02aa3d0d1cb7f
2011-09-07 18:06:06 -07:00
Gilles Debunne
e28454a237 No vibration when long pressing in the empty part of an EditText
Bug 5272224. Vibration should be limited to the start of an action mode,
which is not the case here.

Change-Id: I0f2263edb24e73f10297d27e109bb37c46fe96bc
2011-09-07 18:03:46 -07:00
Gilles Debunne
98fb9ed4c1 Longpressing in landscape correctly starts selection mode.
Two issues here:
1. selection mode was stopped when extracted mode started,
thus loosing the selection.
2. starting selection mode shows a transient action bar which
is then hidden when extracted mode starts. Detect this case
and do not start selection mode, which will start in extracted
mode. This also solves 1.

Change-Id: I61d6e8d2071e9d3b1a136915b685962bbc093bd0
2011-09-07 17:15:41 -07:00
Isaac Katzenelson
9fe83f0b54 Fix snippetizing cursor
Bug: 5217242 Email address with the found "snippet" highlighted should
be displayed on the second line below the contact name

Change-Id: Id55c31eb83c9b3a9e2ac014409f5dad1561ef655
2011-09-07 17:05:21 -07:00
Gilles Debunne
dad9c67396 Merge "Bug 5250788: Fix memory consumption issues in TextPaint." 2011-09-07 16:53:18 -07:00
Fabrice Di Meglio
e3238c9805 Merge "Code cleaning" 2011-09-07 16:46:24 -07:00
Adam Powell
8fc54f9b28 Fix build
Change-Id: I9efe13a7647088402c6759399a96de7831df964b
2011-09-07 16:43:53 -07:00
Fabrice Di Meglio
2b04cef9b4 Code cleaning
- removing CharCount TextDirectionHeuristic references

Change-Id: I8cdc03b0d7bd610c7b8224073ffedd89b8953c63
2011-09-07 16:37:13 -07:00
Adam Powell
b63d3c3aed Merge "Empty implementations of new ActionBar methods." 2011-09-07 16:18:35 -07:00
Fabrice Di Meglio
b6e43268f9 Merge "Hide RTL related APIs" 2011-09-07 16:14:41 -07:00
Adam Powell
0145322e82 Empty implementations of new ActionBar methods.
Makes mocks happy!

Change-Id: Ib69dd3b3e0d62e2d1301103d8e3dfcec5e9b03ab
2011-09-07 16:13:36 -07:00
Fabrice Di Meglio
2273b1e4ea Hide RTL related APIs
Change-Id: Idda458fcdebe7afeb9b95e328e552fcbc7939157
2011-09-07 16:06:49 -07:00
Mathias Agopian
66bd5e98ec Merge "improve the gyroscope javadoc" 2011-09-07 15:58:39 -07:00
Mathias Agopian
ad7f33a29c improve the gyroscope javadoc
change the sample code to something more useful and more
correct.

Change-Id: Ia81f86a2f409edbb395405ababae307663824cb9
2011-09-07 15:56:03 -07:00
John Reck
606ce48ba2 Merge "Register to receive onTrimMemory callbacks" 2011-09-07 15:47:30 -07:00
Adam Powell
35b38c044f Merge "Fix bug 5258435 - ActionBar.setBackgroundDrawable" 2011-09-07 15:31:08 -07:00
Chet Haase
a7e88d688b Merge "Add end functionality to LayoutTransition" 2011-09-07 14:59:52 -07:00
Adam Powell
f88b915567 Fix bug 5258435 - ActionBar.setBackgroundDrawable
Fix this call to work properly and add methods for setting
split/stacked bar backgrounds to match existing styleable elements.

Change-Id: I8c6b1c598af1110f84a9098683d8e0226daf2e27
2011-09-07 14:55:47 -07:00
Fabrice Di Meglio
4147abcd84 Merge "Fix bug #5252977 TextView selection handles appearing in a weird state" 2011-09-07 14:54:55 -07:00
Wu-cheng Li
cb58757d2f Merge "Unhide camera video snapshot supported API." 2011-09-07 14:53:45 -07:00
Irfan Sheriff
1a58dce0cc Merge "Add feature definition for Wi-Fi Direct" 2011-09-07 14:50:32 -07:00
Chet Haase
36d3b9ddc4 Merge "Clarify AnimationSet docs and behavior" 2011-09-07 14:40:29 -07:00
Gilles Debunne
63c885f881 Bug 5250788: Fix memory consumption issues in TextPaint.
The increased size array was discarded in set. Reuse it instead if
possible to avoid more size increases later.

Change-Id: I9ab95ed0f4d4613dd1e28f02894bb19ecee7df41
2011-09-07 14:27:38 -07:00
John Reck
d5417040be Merge "OnTrimMemory plumbing" 2011-09-07 14:26:47 -07:00
John Reck
34a676bd08 Register to receive onTrimMemory callbacks
Bug: 5269460

Change-Id: Ic2429af1ba0b6e86157f6ba16d420d10c17920e5
2011-09-07 13:41:17 -07:00
John Reck
faa42dbede OnTrimMemory plumbing
Bug: 5269460

Change-Id: I012e2eb077c3671b856d0163de6b10ad7bd4d577
2011-09-07 13:16:58 -07:00
Christopher Tate
da7caf0a3c Merge "Fix backup-agent timeouts" 2011-09-07 12:05:24 -07:00
Irfan Sheriff
45b8b46499 Add feature definition for Wi-Fi Direct
Bug: 5267396
Change-Id: I4f61b0afd1466420ab951f6d74ec444036772b21
2011-09-07 11:51:48 -07:00
Wu-cheng Li
4c454d82b6 Unhide camera video snapshot supported API.
bug:5187868
Change-Id: Idefde8746012c8ef504f3e3020e3fe1256c60860
2011-09-08 02:32:20 +08:00
Adam Powell
36a97e4030 Fix bug 5228657 - Input method window rendered with titlebar
Use the correct Holo-based IME theme for IMEs targeting >= 11 and < ICS.

Change-Id: Id154a927ab8439c357dc44996155f92414e2c876
2011-09-07 11:27:49 -07:00
Chet Haase
d56c695175 Add end functionality to LayoutTransition
This new hidden API is called by ViewRootImpl when there is a pending
transition but the parent window is not visible.

Change-Id: Idd6a0959b391fae542e675e8740b6a16f8963678
2011-09-07 10:51:00 -07:00
Kristian Monsen
727e6ba5df Merge "Fix for bug 5100096 Repeated Security Waring" 2011-09-07 09:56:50 -07:00
Narayan Kamath
ddca4708b6 Merge "Fix two TTS bugs." 2011-09-07 05:53:14 -07:00
Narayan Kamath
a65c62acab Fix two TTS bugs.
(a) Fix a null pointer exception, caused by a race condition
between stop / start calls.
(b) Fix a deadlock observed when multiple apps call stop() when
an item from one of those apps is currently being processed.

bug:5253061

Change-Id: I78533aecfda028588ce6aedb041009bc0a6f4620
2011-09-07 11:38:18 +01:00