22060 Commits

Author SHA1 Message Date
Jeff Brown
aeee2f5d75 Fix CancellationSignal deadlock.
Bug: 6398945
Change-Id: I5a3d4dce74009d6f1d284a8cc54c9f68daa6a9c2
2012-04-26 20:12:44 -07:00
Jeff Brown
20c4f87b29 Use choreographer frame time to schedule animations.
Instead of using the current uptime millis, which can exhibit
substantial jitter depending on when the code runs, use the
current frame's vsync time when performing animations.  The frame
time provides a more consistent pulse.

Bug: 6375101
Change-Id: Icf307cd8524246607db7496c6fef9a5eeb7c0439
2012-04-26 20:12:43 -07:00
Jeff Brown
97d5c41873 Remove unused pipelining optimization.
Bug: 6375101
Change-Id: I5fcbbabfafae9e1661adac7b2becc748e42c4b66
2012-04-26 15:50:31 -07:00
Jeff Brown
69b2be163d Add yet more keyboard layouts.
Bug: 6110399
Change-Id: I8e2ce1cd350dddb006df51286e127dce65a8117f
2012-04-25 18:17:21 -07:00
Kenny Root
1fa1de527e Merge "Allow forward locked apps to be in ASECs" into jb-dev 2012-04-25 15:40:52 -07:00
Kenny Root
6dceb88f1c Allow forward locked apps to be in ASECs
We couldn't put forward-locked apps in ASEC containers before since we
didn't have any permissioned filesystems. This adds the ability for
forward-locked applications to be in ASEC containers.

This means that forward locked applications will be able to be on the SD
card now.

This change also removes the old type of forward-locking that placed
parts of apps in /data/app-private.  Now all forward-locked applications
will be in ASEC containers.

Change-Id: I17ae0b0d65a4a965ef33c0ac2c47e990e55707ad
2012-04-25 14:17:02 -07:00
Michael Jurka
ba0ee8fce6 Make Advanceable a public API. 2012-04-25 14:02:21 -07:00
Philip Milne
8f94ec1565 Merge "Fix for layout debug mode." 2012-04-24 19:42:25 -07:00
Philip Milne
604f440dfd Fix for layout debug mode.
Change-Id: I0d02aa4cf7e18c2bbb01a3296e573f2f9de60bf1
2012-04-24 19:32:31 -07:00
Svetoslav Ganov
9ca10c8c3c Merge "Adding explicit text traversal granularities and actions for web navigation." 2012-04-24 19:27:13 -07:00
Michael Jurka
2c8e19e81f Merge "New API to allow third-party apps to bind widgets" 2012-04-24 19:06:14 -07:00
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
Jim Miller
e4cd3b0d95 Merge "Fix 6299832: Add search target swipe action to navigation bar on phones" 2012-04-24 18:32:37 -07:00
Gilles Debunne
97c03cac4d Merge "Do not notify text watchers when replace is a no-op" 2012-04-24 18:26:43 -07:00
Winson Chung
069ac9a78d Merge "Updating activity/task transition animations." 2012-04-24 18:24:08 -07:00
Winson Chung
dc6f79bf43 Updating activity/task transition animations.
Change-Id: I0d4295d269222310a5a6594fb379b9592dd9ced0
2012-04-24 18:14:45 -07:00
Michael Chan
e272cbe7e6 Merge "Add support for custom app and uri in events" 2012-04-24 17:39:11 -07:00
Jeff Sharkey
bb9d6e6d8f Merge "Relax global restrict for system services." 2012-04-24 17:37:19 -07:00
Jeff Sharkey
5294a2fc2f Relax global restrict for system services.
Since we control system services, we can ensure they are using little
data when data usage is globally restricted.  Continue restricting
AID_MEDIA and AID_DRM, since they respond to app requests.

Bug: 6377903, 5772564
Change-Id: I196bf334f903397ea6a67e6802240ee792e47b54
2012-04-24 17:33:32 -07:00
Michael Chan
bb9fd4a0c4 Add support for custom app and uri in events
Bug: 6325441
Change-Id: I58e007857fdfc76459ed41c3c8384c85a2260e89
2012-04-24 17:32:03 -07:00
Jim Miller
e898ac59db Fix 6299832: Add search target swipe action to navigation bar on phones
This adds a feature to swipe upward on the navigation bar to invoke
voice search on phones.

Change-Id: I462076fd43b1c66c5bf624f00b297c6d3414a19a
2012-04-24 17:25:46 -07:00
Michael Jurka
61a5b0160d New API to allow third-party apps to bind widgets
Change-Id: I1a3761c1a0f557a32d4d3bdd0207567fec918ba7
2012-04-24 17:25:08 -07:00
Mathias Agopian
80193e7748 Merge "add a (hidden) api on Surface to query if the consumer is running behind the producer" 2012-04-24 17:24:07 -07:00
Svetoslav Ganov
0430ce9085 Merge "Removing hierarchical accessibility focus directions." 2012-04-24 16:08:05 -07:00
Dianne Hackborn
a057f332fb am 5ba15cc3: am 9d9251c8: am 847d677f: am 3c40675f: Merge "Fix potential NPE when saving fragment state."
* commit '5ba15cc38f11ffcfa5dbc65e4c213272b458d99c':
  Fix potential NPE when saving fragment state.
2012-04-24 15:54:56 -07:00
Mathias Agopian
c14bacf1fb add a (hidden) api on Surface to query if the consumer is running behind the producer
Change-Id: I71ec1602f66a4850b130893fc7017b5b1ac1b647
2012-04-24 15:50:27 -07:00
Gilles Debunne
2d373a1834 TextView refactoring part 3: the easy
Removed safety net getEditor() method.
Cleaned-up trailing spaces.
Enforced the 100 characters limit on all lines.

Change-Id: I0e0d704f8b795cd2e2d040f31c20e63c60fa31a8
2012-04-24 15:25:43 -07:00
Irfan Sheriff
c1da08f1ae Merge "Expose Context.NSD_SERVICE" 2012-04-24 15:13:03 -07:00
Irfan Sheriff
60309fc7bb Expose Context.NSD_SERVICE
Missed exposing Context.NSD_SERVICE for the network service
discovery API

Change-Id: I38cfa93e923286072ded05b707d31cd4db7ff7d4
2012-04-24 14:57:46 -07:00
Chris Craik
912507928c Merge "Support picture listener correctly in HW webviews" 2012-04-24 14:49:51 -07:00
John Reck
4961295d19 Merge "Use the right timeout" 2012-04-24 14:18:17 -07:00
John Reck
d7156d3f47 Use the right timeout
oops

Change-Id: I667b849af4c5d4fece42e9bcbc5b6b9951b955bb
2012-04-24 14:14:47 -07:00
Steve Block
2318889909 Merge "Add tests for reflection and improve JavaDoc for Java Bridge" 2012-04-24 14:11:26 -07:00
Steve Block
3aa800b9f9 Add tests for reflection and improve JavaDoc for Java Bridge
Bug: 5461416
Change-Id: Ic339b97a9424d8848f8afd47ba00cbbee4d60c9d
2012-04-24 21:34:42 +01:00
Jeff Sharkey
ce5a597e66 Merge "Disable READ_EXTERNAL enforcement until API level cut." 2012-04-24 13:10:32 -07:00
Jeff Sharkey
d776f617f5 Disable READ_EXTERNAL enforcement until API level cut.
Bug: 6389556
Change-Id: I78238b9de24c1b8ebb4fdc35d8aafd2e85a4adfe
2012-04-24 13:09:13 -07:00
Philip Milne
b2b15716d8 Merge "Promote layout debugging code from GridLayout to ViewGroup." 2012-04-24 11:36:54 -07:00
Gilles Debunne
0b7d747e90 Merge "Editor uses a SpanWatcher to track EasyEditSpans" 2012-04-24 11:27:32 -07:00
Glenn Kasten
df3ab4ab3d Merge "Scheduling policy service" 2012-04-24 11:02:55 -07:00
Glenn Kasten
07b0465095 Scheduling policy service
Change-Id: I6178b96896ffbb3323210f93784a65d724a3e694
2012-04-24 09:53:14 -07:00
Martijn Coenen
ba4dd937fe Merge "Allow enabling Bluetooth without auto-connecting." 2012-04-24 09:03:33 -07:00
Steve Block
f03f64d810 Merge "Update WebViewClassic JavaDoc to refer to WebView" 2012-04-24 03:22:27 -07:00
Steve Block
406aeb2a9d Update WebViewClassic JavaDoc to refer to WebView
Change-Id: I5152ce82111dc661e5dc723d5c3402f2765b7312
2012-04-24 11:20:29 +01:00
Jonathan Dixon
26ed99f3f5 Merge "static methods in CookieManger call via instance" 2012-04-24 03:01:55 -07:00
Jonathan Dixon
be58c40646 static methods in CookieManger call via instance
This allows CookieManager subclasses to correctly override all behvaior
in the base class.

Bug: 6379925
Change-Id: Ife02db24bc192bc1eabf09e0d64668716786d237
2012-04-24 09:48:28 +01:00
Dianne Hackborn
5ba15cc38f am 9d9251c8: am 847d677f: am 3c40675f: Merge "Fix potential NPE when saving fragment state."
* commit '9d9251c8caee4a847b630653204bb205a1fbed09':
  Fix potential NPE when saving fragment state.
2012-04-23 21:49:40 -07:00
Dianne Hackborn
847d677f34 am 3c40675f: Merge "Fix potential NPE when saving fragment state."
* commit '3c40675f6f473896b93ca6416d29192d88e92622':
  Fix potential NPE when saving fragment state.
2012-04-23 21:44:43 -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
Romain Guy
5479e29121 Merge "I broke the build after all... here's a fix." 2012-04-23 20:46:04 -07:00
Romain Guy
d4caee0e50 I broke the build after all... here's a fix.
Change-Id: I970715fcff5a74a0ce272654c2ea79e4ab3684bf
2012-04-23 20:44:04 -07:00