Gilles Debunne
e5eccea432
am a13a322e: Merge "Optimisations and bugs in SpellChecker"
...
* commit 'a13a322e090c50549ce5a42c382e1ef668cf0481':
Optimisations and bugs in SpellChecker
2011-10-04 10:52:45 -07:00
Gilles Debunne
a13a322e09
Merge "Optimisations and bugs in SpellChecker"
2011-10-04 10:50:54 -07:00
Matthew Xie
da208048c1
am 3b8e0726: Merge "Send TURN_HOT message to the state machine from BluetoothService after it starts"
...
* commit '3b8e07269a66f54163452adbd2557d406253592c':
Send TURN_HOT message to the state machine from BluetoothService after it starts
2011-10-04 10:23:19 -07:00
Matthew Xie
3b8e07269a
Merge "Send TURN_HOT message to the state machine from BluetoothService after it starts"
2011-10-04 10:21:37 -07:00
Alon Albert
b69595c943
am 62abf34d: Merge "Update dumpsys output"
...
* commit '62abf34d0dce0deb017b18beef3d8f73bd90981a':
Update dumpsys output
2011-10-04 08:41:25 -07:00
Alon Albert
62abf34d0d
Merge "Update dumpsys output"
2011-10-04 08:39:46 -07:00
Flavio Lerda
906da90834
am 3c5cef23: Merge "Add a cached formatted phone number to call log."
...
* commit '3c5cef23aa504e9f424aee8ed4399b0ad35a4493':
Add a cached formatted phone number to call log.
2011-10-04 02:26:37 -07:00
Flavio Lerda
3c5cef23aa
Merge "Add a cached formatted phone number to call log."
2011-10-04 02:24:28 -07:00
Dianne Hackborn
08286c1224
am c04db7e0: Fix handling of "allow fds" state.
...
* commit 'c04db7e06737c5b9bae276ac462858d44002672e':
Fix handling of "allow fds" state.
2011-10-03 21:23:02 -07:00
Dianne Hackborn
c04db7e067
Fix handling of "allow fds" state.
...
Didn't take into account nesting of bundles. Boo.
Change-Id: Ic8cf21ad8d6f4938a3e105128624c9d162310d01
2011-10-03 21:09:35 -07:00
Svetoslav Ganov
8f813df652
am 2588a077: Merge "The logic for not populating text to some accessibility events is scattered."
...
* commit '2588a07730ff511329c87b5f61b20419b2443d48':
The logic for not populating text to some accessibility events is scattered.
2011-10-03 18:34:53 -07:00
Svetoslav Ganov
2588a07730
Merge "The logic for not populating text to some accessibility events is scattered."
2011-10-03 18:33:32 -07:00
Svetoslav Ganov
c27149ac0e
am 0058f724: Merge "Accessibility services cannot obtain the source of an event coming from a root namespace descendant."
...
* commit '0058f724eb5a4e8b8f7409cdcea0ba154b5d2332':
Accessibility services cannot obtain the source of an event coming from a root namespace descendant.
2011-10-03 17:46:13 -07:00
Svetoslav Ganov
0058f724eb
Merge "Accessibility services cannot obtain the source of an event coming from a root namespace descendant."
2011-10-03 17:43:39 -07:00
Dianne Hackborn
e08ce59a1d
am 7d657e5c: Merge "Add mechanism for Parcel to not allow FDs to be written to it."
...
* commit '7d657e5cfacec1f0be845c86dd4336e7efde5ede':
Add mechanism for Parcel to not allow FDs to be written to it.
2011-10-03 17:15:39 -07:00
Dianne Hackborn
7d657e5cfa
Merge "Add mechanism for Parcel to not allow FDs to be written to it."
2011-10-03 17:13:54 -07:00
Gilles Debunne
e1fc4f6c3c
Optimisations and bugs in SpellChecker
...
A bug was introduced in a recent refactoring: correct words didn't have their
SpellCheckSpan removed, leaving a lot of useless spans.
SPAN_EXCLUSIVE_EXCLUSIVE should never have a 0-length. With Japanese characters
wordStart could be equal to wordEnd when parsing the text: skip these.
Using toString().substring(...) instead of subSequence(...).toString() which
is more efficient.
Change-Id: I670870a34565939b676400091f4852152a7f7124
2011-10-03 17:03:57 -07:00
Dianne Hackborn
9ecebbfbf7
Add mechanism for Parcel to not allow FDs to be written to it.
...
This is to help implement issue #5224703 .
Change-Id: I026a5890495537d15b57fe61227a640aac806d46
2011-10-03 16:58:41 -07:00
Adam Powell
2236ea7da6
am 7c2d2052: Merge "Don\'t obtain attributes for the whole theme when looking for selection mode drawables."
...
* commit '7c2d205298efcc81f6c48ee1605eae12f7d0f7fe':
Don't obtain attributes for the whole theme when looking for selection mode drawables.
2011-10-03 16:58:26 -07:00
Adam Powell
7c2d205298
Merge "Don't obtain attributes for the whole theme when looking for selection mode drawables."
2011-10-03 16:57:05 -07:00
Alon Albert
bf976ba657
Update dumpsys output
...
After using the new format for a few days, I decided it's better to ahve the auth & acct
info on every row because we will sometimes grep the data and won't see it if the auth/acct
is ommited.
Also added the "time since last sync" to every row. This is also very useful.
Detailed Statistics (Recent history): 31 (# of times) 119s (sync time)
-------------------------------------------------------------------------------------
subscribedfeeds : 8/25% 17s/14%
aagmtest2@gmail.com/com.google : 5/16% 16s/13%
aagmtest1@gmail.com/com.google : 3/9% 1s/0%
-------------------------------------------------------------------------------------
com.android.calendar : 5/16% 10s/8%
aagmtest2@gmail.com/com.google : 3/9% 0s/0%
aagmtest1@gmail.com/com.google : 2/6% 9s/8%
-------------------------------------------------------------------------------------
com.google.android.apps.books : 3/9% 26s/22%
-------------------------------------------------------------------------------------
com.android.contacts : 3/9% 14s/11%
aagmtest1@gmail.com/com.google : 2/6% 9s/7%
aagmtest2@gmail.com/com.google : 1/3% 5s/4%
-------------------------------------------------------------------------------------
com.android.browser : 3/9% 12s/10%
-------------------------------------------------------------------------------------
com.google.android.music.MusicContent : 3/9% 7s/6%
-------------------------------------------------------------------------------------
gmail-ls : 2/6% 12s/10%
-------------------------------------------------------------------------------------
com.google.android.apps.plus.content.EsGooglePhotoProvider : 2/6% 1s/0%
aagmtest2@gmail.com/com.google : 1/3% 1s/0%
aagmtest1@gmail.com/com.google : 1/3% 0s/0%
-------------------------------------------------------------------------------------
com.google.android.apps.plus.content.EsProvider : 1/3% 10s/9%
-------------------------------------------------------------------------------------
com.google.android.gallery3d.GooglePhotoProvider : 1/3% 5s/5%
-------------------------------------------------------------------------------------
Recent Sync History
#1 : 2011-10-03 13:26:41 SERVER 0.0s aagmtest2@gmail.com/com.google com.android.calendar
#2 : 2011-10-03 13:26:40 LOCAL 1.8s aagmtest2@gmail.com/com.google subscribedfeeds
#3 : 2011-10-03 13:26:40 LOCAL 0.1s aagmtest1@gmail.com/com.google subscribedfeeds
#4 : 2011-10-03 13:26:37 SERVER 0.1s 4 aagmtest2@gmail.com/com.google com.android.calendar
#5 : 2011-10-03 13:26:37 LOCAL 0.1s aagmtest2@gmail.com/com.google com.google.android.apps.books
#6 : 2011-10-03 13:26:30 SERVER 0.9s 7 aagmtest2@gmail.com/com.google com.google.android.apps.books
#7 : 2011-10-03 13:26:25 SERVER 1.1s aagmtest2@gmail.com/com.google gmail-ls
#8 : 2011-10-03 13:26:13 SERVER 11.8s 11 aagmtest2@gmail.com/com.google gmail-ls
#9 : 2011-10-03 13:26:08 SERVER 5.0s aagmtest2@gmail.com/com.google com.android.contacts
#10 : 2011-10-03 13:26:08 SERVER 0.7s 29 aagmtest2@gmail.com/com.google com.android.calendar
#11 : 2011-10-03 13:26:07 SERVER 0.7s aagmtest2@gmail.com/com.google com.android.browser
#12 : 2011-10-03 13:26:04 SERVER 3.0s 2 aagmtest2@gmail.com/com.google com.android.browser
#13 : 2011-10-03 13:26:04 SERVER 25.9s 25 aagmtest2@gmail.com/com.google com.google.android.apps.books
Change-Id: I8da004f469d136fd9a86310b262eba61197fd0e7
2011-10-03 15:16:20 -07:00
Svetoslav Ganov
2cdedffcfa
Accessibility services cannot obtain the source of an event coming from a root namespace descendant.
...
1. The user can touch the screen at an arbitrary location potentially crossing the root namespace
bounday which will send an accessibility event to accessibility services and they should be able
to obtain the event source. Also accessibility ids are guaranteed to be unique in the window.
Added a package scoped findViewByAccessibilityId method that dives into nested root namespaces.
2. Added accessibility support to the AnalogClock.
bug:5405934
Change-Id: I84edcb554bae41aafcbbc2723c5e62c1ef8a6ddf
2011-10-03 15:07:44 -07:00
John Reck
6ccac0784a
am 213478b8: Merge "Hardware accelerated button focus rings"
...
* commit '213478b8587c693782ec4f02f554047df9f18412':
Hardware accelerated button focus rings
2011-10-03 15:03:35 -07:00
John Reck
213478b858
Merge "Hardware accelerated button focus rings"
2011-10-03 15:01:10 -07:00
John Reck
bdfb3c5a69
Hardware accelerated button focus rings
...
Bug: 5353510
Change-Id: Ie6a2c509b5890d3d091465a36804648999228553
2011-10-03 14:14:33 -07:00
Adam Powell
d2b58940f7
Don't obtain attributes for the whole theme when looking for selection
...
mode drawables.
Change-Id: I82d327e8fcf67baa557245982b2b5ba76ffa9fec
2011-10-03 13:42:41 -07:00
Adam Powell
527d9a1dd6
am be25ca29: Merge "Fix bugs around overlay action modes."
...
* commit 'be25ca2997ab98e1257d5625dd510e643dcead95':
Fix bugs around overlay action modes.
2011-10-03 13:34:19 -07:00
Adam Powell
be25ca2997
Merge "Fix bugs around overlay action modes."
2011-10-03 13:32:47 -07:00
Adam Powell
f8419a0299
Fix bugs around overlay action modes.
...
Multiple focusable windows cause undesired behavior around selection
modes. TextView isn't sure how to behave when it loses window focus
with regard to selection handles and action modes need to be focusable
for WebView find on page since it uses an EditText as a custom view.
For now:
* Use a layered window decor for overlay action mode when there is no
action bar requested. This eliminates an extra window and avoids the
issue described for full-screen UIs.
* Disable WebView's find-on-page mode when the action mode's UI will
not be focusable. This only affects WebViews in floating windows.
Also remove the "Text Selection" title for WebView's selection mode at
UX's request, as it is inconsistent with TextView's selection mode and
the string does not fit on phones in portrait even on wide
devices. This now uses the same mechanism used in TextView to decide
whether to use title text.
Change-Id: I80caeecea9b47728cf26bb0a388153ca0bdeafe1
2011-10-03 13:20:23 -07:00
Gilles Debunne
8048ec22fc
am f00b4dec: Merge "Bug 5327547: re-check word after it (may) have been added to user dictionary."
...
* commit 'f00b4decc3f0b0ebd88b9a2cdb6df959704dfd46':
Bug 5327547: re-check word after it (may) have been added to user dictionary.
2011-10-03 13:01:44 -07:00
Gilles Debunne
a5c6bda5d4
am 6771c7fd: Merge "Bug 5384674: When only one suggestion is returned, it is displayed twice"
...
* commit '6771c7fdbede3f0b68ec06a5ea734c62577876fd':
Bug 5384674: When only one suggestion is returned, it is displayed twice
2011-10-03 12:59:44 -07:00
Gilles Debunne
670c0d80ed
am d3871c53: Merge "New underline color for the Voice recognized suggestions"
...
* commit 'd3871c53cfbc6c789de97cf3e5928a03c5b84232':
New underline color for the Voice recognized suggestions
2011-10-03 12:59:42 -07:00
Gilles Debunne
f00b4decc3
Merge "Bug 5327547: re-check word after it (may) have been added to user dictionary."
2011-10-03 12:58:52 -07:00
Gilles Debunne
6771c7fdbe
Merge "Bug 5384674: When only one suggestion is returned, it is displayed twice"
2011-10-03 12:58:42 -07:00
Gilles Debunne
d3871c53cf
Merge "New underline color for the Voice recognized suggestions"
2011-10-03 12:58:34 -07:00
Matthew Xie
9de1feb673
Send TURN_HOT message to the state machine from BluetoothService after it starts
...
All the messages sent to the StateMachine were ignored before the StateMachine
starts. To avoid TURN_HOT message from being ignored, move it out to BluetoothService
to send to the BluetoothAdapterStateMachine after the state machine starts
bug 5333923
Change-Id: I14ccd6dd7e6430aad2bca9230d01578b5327cc3f
2011-10-03 12:50:27 -07:00
Svetoslav Ganov
187af60963
am 1401935b: Merge "Adding accessibility support to the share UI."
...
* commit '1401935b8f249fc56cd8fd236b3e0b4c46adae8d':
Adding accessibility support to the share UI.
2011-10-03 11:55:50 -07:00
Svetoslav Ganov
1401935b8f
Merge "Adding accessibility support to the share UI."
2011-10-03 11:53:48 -07:00
Russell Brenner
da09d2597c
am e4255b17: Merge "Center box text vertically"
...
* commit 'e4255b17691f7975e0345389137f5432fb1b5437':
Center box text vertically
2011-10-03 11:31:22 -07:00
Russell Brenner
e4255b1769
Merge "Center box text vertically"
2011-10-03 11:29:16 -07:00
Svetoslav Ganov
70853772bd
Adding accessibility support to the share UI.
...
Added content description to the overflow button and default
action target as well as content description for the popup
list with share targets.
bug:5398787
Change-Id: Iea1e9d85893899f7d161986cb958595083c79b93
2011-10-03 11:16:40 -07:00
Flavio Lerda
0fce15b03c
Add a cached formatted phone number to call log.
...
This column is used by the phone application to cache the formatted
phone number. This is needed to avoid computing the formatted phone
number in the main thread (because it requires disk access) but not
update the formatted phone number after the UI has been shown (except
the first time around or if anything else has changed).
Bug: 5316982
Change-Id: I4e2dd2e3fb35a0e0d15039e4c0c9841a909f7a8a
2011-10-01 18:55:33 +01:00
Svetoslav Ganov
82e236d72a
The logic for not populating text to some accessibility events is scattered.
...
1. Some accessibility evenents should not and were not dispatched for
text population but there was no centralized location for enforcing
this - rather the system was firing them in a specific way or there
were conditions in a few places enforcing that. Now this is centralized
and clean.
2. Updated the documentation with some new event types the were lacking.
3. Explicitly stated in the documentaition which events are dispatched to
the sub-tree of the source for text populatation.
bug:5394527
Change-Id: I86e383807d777019ac98b970c7d9d02a2f7afac6
2011-09-30 19:55:27 -07:00
Adam Cohen
1d3f82371b
am 450c9c45: Merge "Adding default padding to AppWidgetHostView for widgets >= API level 14"
...
* commit '450c9c4566cc8fc48df770469468c836752479fa':
Adding default padding to AppWidgetHostView for widgets >= API level 14
2011-09-30 19:27:11 -07:00
Adam Cohen
5d5f340520
Adding default padding to AppWidgetHostView for widgets >= API level 14
...
Change-Id: Idbbeafba664847f01393bb0c6102f774390380d5
2011-09-30 19:00:00 -07:00
Russell Brenner
b76b3b1c81
Center box text vertically
...
Apply Gravity.CENTER_VERTICAL for single-line editable text
Bug: 5267547
Change-Id: Ie81354214e6eb97554d1f9e8e47377a2b0e73df6
2011-09-30 17:03:32 -07:00
Gilles Debunne
845d9c7f7e
Bug 5327547: re-check word after it (may) have been added to user dictionary.
...
Change-Id: Id4f32477c3368a140883dd34c97578aab46b04db
2011-09-30 11:24:53 -07:00
Gilles Debunne
176cd0d3b4
Bug 5384674: When only one suggestion is returned, it is displayed twice
...
Two separate issues here:
- The results of the spell checker may be identical to the one set by the IME. Since
we merge the spans, the entries are duplicated. Filter spell checker results to avoid
these duplicates.
- When the text is saved on rotation, the spans are saved and restored. Since we start
a new spell check when the window is attached, it also doubles the size.
Change-Id: I21e1a5ae1b264bc97f44d762e4589bf520c6c19c
2011-09-30 11:19:02 -07:00
Gilles Debunne
7831bb82c9
am eba3d923: Merge "Bug 5384675: Color in add to dictionary"
...
* commit 'eba3d923415431ea8b301d4e77c8f2b7225fed30':
Bug 5384675: Color in add to dictionary
2011-09-30 10:59:52 -07:00
Gilles Debunne
54d51df4bb
am 9fb46925: Merge "Bug 5384535: Underline for typo even if there are no suggestions"
...
* commit '9fb46925d33643f830dfc2cf5a15601eb416143b':
Bug 5384535: Underline for typo even if there are no suggestions
2011-09-30 10:59:50 -07:00