41877 Commits

Author SHA1 Message Date
Craig Mautner
ac5396a3a8 Merge "Centralize all system InputEventReceiver monitors." 2013-06-12 23:07:39 +00:00
Svetoslav Ganov
554ec841ab Merge "Revert "Generate PDF from Canvas."" 2013-06-12 23:07:13 +00:00
Svetoslav Ganov
7a56be0915 Revert "Generate PDF from Canvas."
This reverts commit 923c633ccfda45312fec5a3484b6cc1308cc71ab

Change-Id: Ie49f593ec702c1ecf96a5cc1fafa680c1db08747
2013-06-12 23:06:46 +00:00
Michael Wright
3a59cb8003 Merge "Fix possible NPE in PointerLocationView" 2013-06-12 23:03:08 +00:00
Svetoslav Ganov
923c633ccf Generate PDF from Canvas.
This change adds simple APIs that enable an Android application
to generate a PDF document by drawing content on a canvas.

Change-Id: Iddcd126b3af37c73d99262f6b276caa07b998c1d
2013-06-12 14:20:26 -07:00
Alan Viverette
4602a709d8 Merge "Allow adding headers and footers to ListView after setAdapter()." 2013-06-12 21:12:54 +00:00
Alan Viverette
72e2f2a940 Allow adding headers and footers to ListView after setAdapter().
Bug: 6110394
Change-Id: I0238ff91b6ae3159b2350d5210545425ac7340f3
2013-06-12 12:56:29 -07:00
Alan Viverette
a6954f7e12 Merge "Add getters for ListView header & footer divider drawing attrs." 2013-06-12 19:49:13 +00:00
Alan Viverette
a420b53d37 Merge "Clean up FastScroller. Expand overlay to fit text content." 2013-06-12 19:48:53 +00:00
Michael Wright
2f1cd7e68b Fix possible NPE in PointerLocationView
Change-Id: I36577d6882db898ff4d4d9090454cdf71a440fd5
2013-06-12 12:11:17 -07:00
Dianne Hackborn
2321d242b4 Merge "ArrayMap is great, so how about ArraySet!" 2013-06-12 18:35:50 +00:00
Craig Mautner
037aa8d434 Centralize all system InputEventReceiver monitors.
Implement all system level InputEvent monitors as new
InputEventListeners. Only one InputChannel required and monitoring
can be enabled or disabled by registering with WindowManagerService.

Change-Id: I64714ab858342ed183c62b421098478ffb6637bc
2013-06-12 10:59:16 -07:00
Torne (Richard Coles)
e151d9b3c7 Merge "WebViewChromium: don't use a separate class loader." 2013-06-12 12:25:43 +00:00
Alan Viverette
5542103589 Add getters for ListView header & footer divider drawing attrs.
Bug: 6104055
Change-Id: I874d631ec6fbb0e99790a3f37d00d589c1d63d34
2013-06-11 17:50:56 -07:00
Jeff Sharkey
126713d8d7 Merge "Explicit locale when formatting machine strings." 2013-06-11 23:52:17 +00:00
Dianne Hackborn
a283fc9518 Merge "Add new API to retrieve a dumpsys of a single package." 2013-06-11 23:33:32 +00:00
Igor Murashkin
4d3adce05a Merge "Fix build break due to javadoc linking error" 2013-06-11 22:59:05 +00:00
Igor Murashkin
a1b02dbb6e Fix build break due to javadoc linking error
Change-Id: I9da1cb03afef25c11844ec863200f7b5b009e77a
2013-06-11 15:25:20 -07:00
Dianne Hackborn
21ab6f4991 ArrayMap is great, so how about ArraySet!
Also a few little tweaks to the ArrayMap implementation.  Note that
these are fairly parallel implementations; I looked at what I could
abstract out as a base class, but there isn't really all that much without
making the resulting code more general and thus slower.  If we kept
the data structure for ArraySet the same as map, where the array has
two values per entry, then they could probably share a lot of code.
I couldn't really bring myself to do that at this point, though...

Change-Id: I9e0dd8baa8e1febcc1033ecef61623ad59ce4aae
2013-06-11 14:37:54 -07:00
Jeff Sharkey
fea17de7aa Explicit locale when formatting machine strings.
Bug: 9390451
Change-Id: I3581c53407554a1dffd541fb42b06d68f20a7be0
2013-06-11 14:36:41 -07:00
Dianne Hackborn
cbfd23ee6f Add new API to retrieve a dumpsys of a single package.
Adds a platform API, and pm command.  Fixes some issues with
dumping per-package data in package manager, makes battery
stats able to dump per-package state.

Change-Id: I76ee6d059f0ba17f7a7061886792b1b716d46d2d
2013-06-11 14:26:53 -07:00
Scott Main
06c05c4070 am be173f6a: am 8fb120b6: Merge "add ViewGroup\'s layoutMode attribute to public resources bug: 9359960" into jb-mr2-dev
* commit 'be173f6a16619ed82469bda7cf0df7c3763d3c81':
  add ViewGroup's layoutMode attribute to public resources bug: 9359960
2013-06-11 14:13:48 -07:00
Scott Main
81888d5661 am 26bc073d: am fe7c2220: Merge "add NA message for any "signature" level permissions" into jb-mr2-dev
* commit '26bc073dfa32c8122ce194cfc39e2dfc44370fcd':
  add NA message for any "signature" level permissions
2013-06-11 14:13:35 -07:00
Scott Main
be173f6a16 am 8fb120b6: Merge "add ViewGroup\'s layoutMode attribute to public resources bug: 9359960" into jb-mr2-dev
* commit '8fb120b67d785dc5ab0ebdb8efd7988da1a94365':
  add ViewGroup's layoutMode attribute to public resources bug: 9359960
2013-06-11 14:10:18 -07:00
Baligh Uddin
26560925f7 am ebb17713: Merge "Import translations. DO NOT MERGE" into jb-mr2-dev
* commit 'ebb17713dac153a0efdbb9ec102b8a6a99242f5f':
  Import translations. DO NOT MERGE
2013-06-11 14:10:03 -07:00
John Spurlock
46ae41221f am a9221987: Merge "Save Notification large icon to extras." into jb-mr2-dev
* commit 'a9221987c047a9a05da9cc4f3446a0d581494a85':
  Save Notification large icon to extras.
2013-06-11 14:09:53 -07:00
Scott Main
26bc073dfa am fe7c2220: Merge "add NA message for any "signature" level permissions" into jb-mr2-dev
* commit 'fe7c2220a129d3bea753f14f111b4f6e335de237':
  add NA message for any "signature" level permissions
2013-06-11 14:09:47 -07:00
Igor Murashkin
cf88be6dc8 Merge "camera: Add Java binder proxies for some existing binder interfaces" 2013-06-11 20:45:19 +00:00
Igor Murashkin
4491d684f4 camera: Add Java binder proxies for some existing binder interfaces
Note that anything not in the AIDL interfaces, will NOT be magically
compatible if you just add it there. It probably requires a change in
frameworks/av/camera as well.

Bug: 9213377
Change-Id: I91d3efb755ed2e3ace139f83573f86efdccccd06
2013-06-11 11:36:38 -07:00
John Spurlock
f2874910d4 Merge "Log errors found in notification listener callbacks." 2013-06-11 17:20:41 +00:00
Baligh Uddin
74de286e09 Merge "Import translations. DO NOT MERGE" 2013-06-11 15:31:32 +00:00
Torne (Richard Coles)
eb07f3cad0 WebViewChromium: don't use a separate class loader.
Use the ordinary system class loader to load the Chromium-based WebView
implementation classes now that the implementation .jar is part of the
boot class path. Instead of checking for the .jar file's existence, just
check to see if we can load the class to determine whether the new
WebView is available.

This also removes the check for Build.IS_DEBUGGABLE; the Chromium-based
WebView will now be available in user builds if enabled in the developer
options.

Change-Id: I06bae9b91656aa41b09c0e6f63f90736db993418
2013-06-11 14:26:44 +01:00
Romain Guy
a4cda4d643 Merge "Make constants final" 2013-06-11 01:26:23 +00:00
Romain Guy
fadd208144 Make constants final
Change-Id: Ifd54e55011ab63a10ddf851529ce4779447133e0
2013-06-10 17:03:47 -07:00
Adam Powell
2be7ec671b Add View methods isAttachedToWindow and hasLayout
isAttachedToWindow does what it says on the label and provides a
standard, public API for checking a view's attachment state. This
removes the need for tracking this out of band in response to
onAttachedToWindow/onDetachedFromWindow in custom view
implementations.

hasLayout returns true whenever the view has been through at least one
call to layout() since the last time it was attached to or detached
from a window. This allows for standard checks in code that needs to
behave differently if first layout has not completed yet, such as
whether or not to no-op an animation in order to set up initial state.

Change-Id: I8dab70dcd5a22a32e260ed50987ccdaa4100072b
2013-06-10 16:28:35 -07:00
Scott Main
dc74caa7e8 add ViewGroup's layoutMode attribute to public resources
bug: 9359960

Change-Id: I9d3d45c6494ded12170c88f5080bbb0a58d0fd74
2013-06-10 14:51:37 -07:00
Chet Haase
aa660a04a7 Merge "Add dynamic scene creation/transition capability" 2013-06-10 21:07:41 +00:00
Baligh Uddin
ebb17713da Merge "Import translations. DO NOT MERGE" into jb-mr2-dev 2013-06-10 21:07:18 +00:00
Chet Haase
4f5072327d Add dynamic scene creation/transition capability
Add TransitionManager.beginDelayedTransition() to handle starting a transition
on the next frame for a given scene root based on all changes that
take place between the first call to that method and the next animation frame.

Issue #9321937 Transitions: consider batching up multiple scene actions

Change-Id: I3fc92b6b4ec5ff42b1e678bcfd385703e32eba2a
2013-06-10 14:06:14 -07:00
John Spurlock
f24e16aaf9 Merge "Save Notification large icon to extras." 2013-06-10 20:39:19 +00:00
John Spurlock
a9221987c0 Merge "Save Notification large icon to extras." into jb-mr2-dev 2013-06-10 20:11:19 +00:00
Svetoslav
6b1d5a4ff2 Merge "Notification for changed subtree in accessibility mode not fired properly." 2013-06-10 19:55:39 +00:00
Svetoslav
00dbe81fea Notification for changed subtree in accessibility mode not fired properly.
We fire notifications that the a view subtree changed for accessibility.
In some cases the notifications were fired if accessibility is not
enabled. This is now fixed. Also the runnable for making the recurring
subtree change was not dequeued if it was pending but we received a
request which we decided to run immediately.

bug:9337912

Change-Id: I27401b3d11f81c653e8761a704ee530263b08c3a
2013-06-10 12:51:14 -07:00
Craig Mautner
6a7e5c28a4 Merge "Dismiss immediately to maintain consistent state." 2013-06-10 19:21:27 +00:00
John Spurlock
c133ab8258 Log errors found in notification listener callbacks.
Otherwise, exceptions thrown inside listener callbacks are
not logged at all.

Change-Id: Iaef28e06abc4d6caf66051725e14a17ac954173e
2013-06-10 15:16:22 -04:00
Scott Main
93e60b5b26 add NA message for any "signature" level permissions
Change-Id: If76e9e3b7ffc5d97422321db312a03869c407f08
2013-06-10 12:03:07 -07:00
Craig Mautner
92098c7c30 Dismiss immediately to maintain consistent state.
Fix bug introduced by deferring nulling of mParent.

In dismissDialog the removal was being put on a queue while the
state of the Dialog was being updated immediately. This meant that
if a show() was called before the remove was executed it would try
and add the DecorView a second time. Boom!

Fixes bug 9370301.

Change-Id: I576d1e207c786bc2e21dfd40cb94f2b63a020fe2
2013-06-10 11:39:21 -07:00
Romain Guy
f38fd87844 am 7a6e1297: am 8d8fc469: Merge "Don\'t orphan footers with transient state Bug #8725945" into jb-mr2-dev
* commit '7a6e129759672f0c1b0ce462d389c0f469e7348f':
  Don't orphan footers with transient state Bug #8725945
2013-06-10 11:12:09 -07:00
Romain Guy
7a6e129759 am 8d8fc469: Merge "Don\'t orphan footers with transient state Bug #8725945" into jb-mr2-dev
* commit '8d8fc469952ffe3feb45e52388f2129f8dd5e40c':
  Don't orphan footers with transient state Bug #8725945
2013-06-10 10:26:57 -07:00
John Spurlock
bf563368e1 Save Notification large icon to extras.
This piece of semantic info was defined, cleared properly on
lightenPayload, but never saved.

Change-Id: Ib2c5372a57d2a01617e401231c150260d22b05d6
2013-06-10 11:45:17 -04:00