75204 Commits

Author SHA1 Message Date
Svetoslav Ganov
b7ff3255c6 Adding explicit text traversal granularities and actions for web navigation.
1. The granularities for traversing the text content of an accessibility
   node info are now predefined constants and custom ones will not be
   supported. This is the simplest solution - we can always add namespaced
   user defined ones (unlikely).

2. Added actions for traversing web content. These actions can be used by
   an accessibility service to transparently drive the JavaScript based
   screen reader that is used for handling web content.

3. Added a new accessibility event type for traversing the content of a
   view. This event is needed to announce to the user what is the next
   element, i.e. the one next to the cursor, after the view's text was
   traversed.

bug:5932640
bug:6389591

Change-Id: I144647da55bc4005c64f89865ef333af8359e145
2012-04-24 18:49:15 -07:00
Svetoslav Ganov
76f287e416 Removing hierarchical accessibility focus directions.
1. The accessibility focus directions are not needed since an
   accessibility service just get the root, first child, next
   sibling, previous sibling and call execute the action to
   give it accessibility focus. Now the accessibility node
   info tree is properly ordered taking into account layout
   manager directions for both layout manager that we report
   and ones that we have determined as not important for
   accessibility. Also the position of a node info are ordered
   properly based on their coordinates after all transformations
   as opposed to child index.

bug:5932640

Change-Id: I994a8297cb1e57c829ecbac73a937c2bcbe0bac7
2012-04-23 20:48:24 -07:00
Gilles Debunne
b983e27af4 Merge "Re-added a flag to prevent the IME from showing" 2012-04-23 15:53:37 -07:00
Romain Guy
ad6283e48a Merge "Invoke onTrimMemory with an EGL context Bug #6369600" 2012-04-23 15:31:08 -07:00
Romain Guy
19f86e831e Invoke onTrimMemory with an EGL context
Bug #6369600

Change-Id: I3ded47c3688ef2f2873495392c35e898357204da
2012-04-23 15:19:07 -07:00
Scott Main
9919a4a1b2 am aab79e54: am d5955b02: Merge "docs: add section to basic intent class about using the activity chooser" into ics-mr1
* commit 'aab79e541afa3176e52b7becde5086c7934a89e2':
  docs: add section to basic intent class about using the activity chooser
2012-04-23 15:16:11 -07:00
Scott Main
aab79e541a am d5955b02: Merge "docs: add section to basic intent class about using the activity chooser" into ics-mr1
* commit 'd5955b02365d35f3f9e8fc261fc22e6d2ac9f6bf':
  docs: add section to basic intent class about using the activity chooser
2012-04-23 15:13:04 -07:00
Scott Main
d5955b0236 Merge "docs: add section to basic intent class about using the activity chooser" into ics-mr1 2012-04-23 15:11:04 -07:00
Scott Main
1cf9255ec7 docs: add section to basic intent class about using the activity chooser
Change-Id: Ib2a889429895a24ced2db365d6e4afdf44c3086e
2012-04-23 14:55:11 -07:00
Jeff Sharkey
57a6e14e57 Merge "Clear identity when checking if bandwidth enabled." 2012-04-23 14:40:13 -07:00
Jeff Sharkey
49c1d1764b Clear identity when checking if bandwidth enabled.
Change-Id: I0f10f86dc14483e29609057c671454b322da4826
2012-04-23 14:39:19 -07:00
Marco Nelissen
9ae1b69fbb Merge "Speed up playlist processing" 2012-04-23 14:26:25 -07:00
Quddus Chong
fd6a5245cc am 2bf56f00: am 378da38d: docs: Fixed the url for the Aplication Licensing link. Bug: 6322460
* commit '2bf56f009f4e0d9d35105ac75d459351e149b54d':
  docs: Fixed the url for the Aplication Licensing link. Bug: 6322460
2012-04-23 14:07:58 -07:00
Quddus Chong
2bf56f009f am 378da38d: docs: Fixed the url for the Aplication Licensing link. Bug: 6322460
* commit '378da38db81093b0ce98dbe24ade3de0bb87bd5c':
  docs: Fixed the url for the Aplication Licensing link. Bug: 6322460
2012-04-23 14:04:54 -07:00
Marco Nelissen
08f70fa5b8 Speed up playlist processing
When matching entries in playlists, only consider audio files.

b/6346786

Change-Id: Ia744d002c2821a81840303b9409593da48a08b73
2012-04-23 13:53:20 -07:00
Chris Wren
b023bf85a0 let default notifications with actions get bigger that 64dp.
Bug: 6377749

Change-Id: I8c92ef67b59f7a44b61926c32480cce6990a1375
2012-04-23 13:51:52 -07:00
Adam Powell
32ef750af0 Merge "Add TaskStackBuilder#addParentStack(ComponentName)" 2012-04-23 13:41:36 -07:00
Chet Haase
27bfcedc37 Merge "Remove USE_DISPLAY_LIST_PROPERTIES flag" 2012-04-23 13:36:46 -07:00
Jeff Sharkey
258783e09b Merge "Grant external storage permissions to SystemUI." 2012-04-23 13:33:28 -07:00
Jeff Sharkey
81d94335fb Grant external storage permissions to SystemUI.
Used for taking screenshots and playing notification ringtones.

Bug: 6381589
Change-Id: Ib1a5ad17edbeab984bbab25168d81eb99deba952
2012-04-23 13:32:00 -07:00
Adam Powell
3c464bdefe Add TaskStackBuilder#addParentStack(ComponentName)
Let TaskStackBuilder discover a parent activity stack by ComponentName
in addition to explicit Activity classes.

Change-Id: I18b8378548ed1d6ef033800e6a3e11ab965d07e5
2012-04-23 13:18:06 -07:00
Quddus Chong
378da38db8 docs: Fixed the url for the Aplication Licensing link.
Bug: 6322460

Change-Id: I9a4ce2b79adf1470fd7a7b7b0f085f68544d1a4d
2012-04-23 12:55:35 -07:00
Eric Fischer
25f26e76be Merge "Import translations. DO NOT MERGE" 2012-04-23 12:36:04 -07:00
Eric Fischer
e8e25e22ac Import translations. DO NOT MERGE
Change-Id: Ib5fcdfa63b7d2049f9e5ee236a8dd394d48da22b
2012-04-23 12:31:22 -07:00
Eric Fischer
ad7628a8aa Merge "Import translations. DO NOT MERGE" 2012-04-23 12:23:52 -07:00
Eric Fischer
f4a5cc1b52 Import translations. DO NOT MERGE
Change-Id: I9e4dcac71ac7430b6b51e49b4e9c4f6882a7f8b7
2012-04-23 12:21:11 -07:00
Chet Haase
1271e2cc80 Remove USE_DISPLAY_LIST_PROPERTIES flag
This flag was still hanging around pending any need to disable
DisplayList properties. But things seem stable, so it's time to clean up
and simplify the code.

At the same time, I reduced redundance in DisplayList dimensions. We
used to call drawDisplayList() with width/height parameters that were
used to do a clip reject. This is redundant with the DisplayList properties
that set the bounds of the DisplayList; the left/right and top/bottom properties
represent the same width/height properties formerly used in drawDisplayList().
The new approach is to not pass dimensions to drawDisplayList(), but to
instead pull those dimensions directly from the DisplayList when needed.

Change-Id: I8871beff03b1d4be95f7c6e079c31a71d31e0c56
2012-04-23 11:13:17 -07:00
Jonathan Dixon
003952ba33 Merge "Fix dumprendertree crash" 2012-04-23 10:56:21 -07:00
Jonathan Dixon
03b433c031 Fix dumprendertree crash
This is a quick workaround to get tests running again, will follow up with full fix tomorrow.

Bug: 6379925
Change-Id: I96d6e27bfb8f8cd41ec08845ab0fb1e584dbc9da
2012-04-23 18:51:28 +01:00
Gilles Debunne
de09576f49 Merge "Cursor is moved at end of word when it is added to dictionary" 2012-04-23 10:42:21 -07:00
Steve Block
5e1243e6f7 Merge "Fix use of API level in android.webkit JavaDoc" 2012-04-23 10:33:14 -07:00
Steve Block
b838aef488 Fix use of API level in android.webkit JavaDoc
Bug: 5461416
Change-Id: Id17b10fec6bebc46260db6abe6df5f7d44a711ae
2012-04-23 18:24:29 +01:00
Jeff Sharkey
f913d002a6 Merge "Expose statfs() through IMediaContainerService." 2012-04-23 10:08:01 -07:00
Amith Yamasani
03d2f292a6 Merge "Clipboard service keeps separate clipboards per user." 2012-04-23 09:40:28 -07:00
Ben Murdoch
1579a67ee9 Merge "Pause the WebCore thread watchdog at the right time." 2012-04-23 05:52:05 -07:00
Ben Murdoch
cba778dc21 Pause the WebCore thread watchdog at the right time.
There are times when we deliberately put the WebCore thread
to sleep (i.e. waiting for a user to complete a JS prompt or
dismiss an alert). In this case, we don't want the WebCore thread
watchdog to fire. Pause the watchdog before we put the WebCore thread
to sleep and resume it again when the thread wakes up.

Factor out the repeated send/pause/wait/resume code into it's own
function.

Bug: 6366520
Change-Id: I17ecf9d466ce21b25a9e5cb8ff4cb0e5fab7605b
2012-04-23 13:50:03 +01:00
Jonathan Dixon
47bc84760a Merge "Seperate interface and implementation of 4 WebView classes" 2012-04-23 05:48:40 -07:00
Daniel Sandler
03c63ebebb Merge "Update SystemUI for sw600dp devices." 2012-04-23 04:48:35 -07:00
Jonathan Dixon
d3101b1d30 Seperate interface and implementation of 4 WebView classes
GeolocationPermissionsClassic
CookieManagerClassic
WebIconDatabaseClassic
WebStorageClassic

Also creats a WebViewFactory top level class - this remains hidden
for now, as it's currently only used implicitly by the other
public WebView classes to create the provider instances.

Bug: 5626244

Change-Id: Id0ca1c16d8058f31a86414bbc0e8a55db4b907ba
2012-04-23 12:43:02 +01:00
satok
eb65757d24 Merge "Fix the first boundary of the sentence level spell check" 2012-04-22 22:39:48 -07:00
satok
979de90369 Fix the first boundary of the sentence level spell check
Change-Id: I7c7659c921103d31f9909c14850088aef0d2eb19
2012-04-23 13:46:40 +09:00
Jeff Sharkey
9cbe986a44 Expose statfs() through IMediaContainerService.
Bug: 6346248
Change-Id: I03ae02578f546fc9f19652cbdece56e2e0ab6a1c
2012-04-22 18:56:43 -07:00
Jeff Sharkey
49b0246bc4 Merge "System context should inherit base package name." 2012-04-22 17:30:41 -07:00
Jeff Sharkey
816e4f7583 System context should inherit base package name.
Otherwise registerReceiver() from views inflated with the returned
context will throw (like DateTimeView).

Bug: 6376149
Change-Id: I038a680e49fba81bbebfc8c0c94f15e7cd072f33
2012-04-22 17:08:52 -07:00
Eric Laurent
e93cccb634 Merge "Fix threading issues in AudioRecord JNI" 2012-04-22 13:26:29 -07:00
Jeff Sharkey
4190a047ca Better assertions when bandwidth module disabled.
Also disable some verbose logging in WifiStateTracker.

Bug: 6368329
Change-Id: I9a5219bc1b3fd870468f7de46cdf4f173a437c59
2012-04-21 15:36:48 -07:00
Daniel Sandler
4a066c5c77 Update SystemUI for sw600dp devices.
Devices between 600 and 719dp will now use the two-bar
(phone) SystemUI layout, or something like it, derived from
PhoneStatusBar. Devices above 720dp will use the system bar
from TabletStatusBar.

However, this distinction is not to be made based on dp, at
least, not by the SystemUI; the goal is to drive most of
this switch from the window manager. Therefore most of
SystemUI's sw600dp resources have been folded into the main
set of resources (renaming them to avoid collisions where
appropriate). This allows SystemUI to choose which set of
resources to use entirely by switching status bar
components, entirely independent of Configuration.

(For some resources, particularly around recents, it seemed
more expeditious to keep relying on the device
configuration, so those resources have been bumped up to
sw720dp.)

Bug: 6297838
Change-Id: I3f5414a6a718bdc83f51930d6878cdf97df48c9c
2012-04-21 00:19:47 -04:00
Jeff Brown
7838025812 Merge "Make InputEvent.getEventTime() public." 2012-04-20 20:16:25 -07:00
Jeff Brown
a2c68198b1 Merge "Get alias for Bluetooth devices." 2012-04-20 20:15:20 -07:00
Jeff Brown
b11499d2db Make InputEvent.getEventTime() public.
Also add new methods to access the event timestamp in
nanoseconds.  Hidden for now but useful for prototyping.

Bug: 6374616
Change-Id: I7030734a908e8e31a17a356debc269db7c0f0783
2012-04-20 20:11:19 -07:00