Commit Graph

24167 Commits

Author SHA1 Message Date
Adam Powell
6bbce19fd0 am b0f35657: am 1ab2edbc: Merge "Fix bug in parsing attributes for MediaRouteButton" into jb-dev
* commit 'b0f356579eb0348fac7157a6348f1e568556a4db':
  Fix bug in parsing attributes for MediaRouteButton
2012-07-09 14:18:16 -07:00
Adam Powell
b0f356579e am 1ab2edbc: Merge "Fix bug in parsing attributes for MediaRouteButton" into jb-dev
* commit '1ab2edbcff94d53856a87010e35ffa50ce4c0502':
  Fix bug in parsing attributes for MediaRouteButton
2012-07-09 14:15:56 -07:00
Adam Powell
1ab2edbcff Merge "Fix bug in parsing attributes for MediaRouteButton" into jb-dev 2012-07-09 14:13:54 -07:00
Romain Guy
69b9e00b03 am 13a3a87f: am dc99555d: Merge "Pass SearchView suggestion cursor exception to Log."
* commit '13a3a87fa7264df29a1f698ce80ada2de3561962':
  Pass SearchView suggestion cursor exception to Log.
2012-07-09 12:31:16 -07:00
Chet Haase
9c469ca0ff Merge "Force invalidates on non-visible views to traverse the hierarchy" 2012-07-09 10:25:44 -07:00
Steve Block
0f7ae19fc9 Public JavaDoc for ParseException should not mention WebAddress, as this is not public
Change-Id: Iab1e5ff64b6caaecfbd6beac0be02b3b660ff51e
2012-07-09 16:57:32 +01:00
Chet Haase
05e91ed5a7 Force invalidates on non-visible views to traverse the hierarchy
An optimization prunes invalidates on views which are not inside their
parent's bounds. This works in most cases, but it is possible to run
a situation where a view has been invalidated (and is thus waiting to
be redrawn), but the pruning logic ensures that that draw call
will not happen. Further, when/if the view comes into the bounds
of its parent again, it may still not be redrawn, because now future
invalidates on the view are noop'd because it is already in an invalidated
state (and thus will not propagate invalidates up the hierarchy).

The fix is to remove the optitmization. This will cause some overhead
sending the invalidation request up to the view root, but this
overhead is minimal (and only extra for cases of out-of-bounds views),
and the more expensive part of rendering these views will still not be done
since the view root will avoid re-drawing the hierarchy when the dirty
rectangle is empty.

Issue #6773607 Layered views animating from offscreen sometimes remain invisible

Change-Id: Ia2c1a2b9d3e7f267253cb325ccceff1e7fdbe8bd
2012-07-09 08:34:01 -07:00
Romain Guy
13a3a87fa7 am dc99555d: Merge "Pass SearchView suggestion cursor exception to Log."
* commit 'dc99555d61d50820b398096bb774ee56b2500476':
  Pass SearchView suggestion cursor exception to Log.
2012-07-06 23:52:55 -07:00
Jake Wharton
73af451694 Pass SearchView suggestion cursor exception to Log.
When an error in fetching a column occurs in your suggestions cursor
adapter this will ensure the stacktrace is logged to provide more
context about what failed.

Change-Id: Iafe4918caebb9b0fb712b758b2d3ace329fd2512
2012-07-06 23:15:49 -07:00
Svetoslav Ganov
9dc2cc53ac Merge "AccessibilityNodeInfo bounds in screen incorrect if application scale not one." 2012-07-03 21:11:35 -07:00
Svetoslav Ganov
983119ab22 AccessibilityNodeInfo bounds in screen incorrect if application scale not one.
1. If the application does not accommodate different screen density the
   system applies an application scale equal to the device density over
   the a default density. The AccessibilityNodeInfo coordinates were not
   reported after applying the compatibility scale, therefore the bounds
   in parent and screen were not as perceived by the user.

bug:6764586

Change-Id: Iae2d6ea81049364194c7cb09df2240b5eda3d939
2012-07-03 21:04:14 -07:00
Scott Main
6491e84545 am 480785da: am fd516987: docs: misc bugs from external tracker
* commit '480785dabb4f9ecc0cb7d68741b4a502d670916d':
  docs: misc bugs from external tracker
2012-07-03 18:18:46 -07:00
Scott Main
480785dabb am fd516987: docs: misc bugs from external tracker
* commit 'fd516987de29a48425da5ee5aace5be40adcc674':
  docs: misc bugs from external tracker
2012-07-03 18:15:19 -07:00
Scott Main
fd516987de docs: misc bugs from external tracker
Change-Id: I02d0d82c220401ac3a1ca180e8331a0f6dcd9e50
2012-07-03 18:08:19 -07:00
Romain Guy
86ca5d3513 Deprecate unsupported widgets.
Change-Id: I154236f07745b25200e77a473b810f45de07d0ef
2012-07-03 17:23:30 -07:00
Scott Main
54d1bf89b7 am 7034ed83: am 5a883824: Merge "docs: fix document issue 27549" into jb-dev
* commit '7034ed833fcfc90abb5d3ad7dffed38fee60c797':
  docs: fix document issue 27549
2012-07-03 11:56:58 -07:00
Scott Main
7034ed833f am 5a883824: Merge "docs: fix document issue 27549" into jb-dev
* commit '5a883824a2e97e0ccb08b4fe30accde6542f3f39':
  docs: fix document issue 27549
2012-07-03 11:54:11 -07:00
Scott Main
5a883824a2 Merge "docs: fix document issue 27549" into jb-dev 2012-07-03 11:51:30 -07:00
Svetoslav Ganov
a0fd78897c Merge "Remove the accessibility focus search code." 2012-07-03 11:29:54 -07:00
Svetoslav Ganov
f44fb4de5d Merge "AnnounceForAccessibility is broken for any view that has a ContentDescription." 2012-07-03 11:29:28 -07:00
Scott Main
c8d5f7d607 am 35cb0650: am 399df567: docs: various link fixes and other typos from external tracker
* commit '35cb0650c07f0f3df017784bd3cf724c743f7399':
  docs: various link fixes and other typos from external tracker
2012-07-02 22:04:14 -07:00
Scott Main
35cb0650c0 am 399df567: docs: various link fixes and other typos from external tracker
* commit '399df5677bd116a016664a10a0da432da29e829d':
  docs: various link fixes and other typos from external tracker
2012-07-02 22:00:50 -07:00
Scott Main
15279cfc56 docs: fix document issue 27549
Change-Id: I17995fd70978657a46ccfc77fa2ae84c56a05255
2012-07-02 21:58:46 -07:00
Scott Main
399df5677b docs: various link fixes and other typos from external tracker
Change-Id: I2a107f7e16429c0fe80c5e4cb67ecfaf267db301
2012-07-02 21:47:20 -07:00
Svetoslav Ganov
7a82b2be06 AnnounceForAccessibility is broken for any view that has a ContentDescription.
1. The purpose of the View#announceForAccessibility method is to
   give a message to the user that is not related to a predefined
   view state change. The current implementation is grabbing the
   source view's content description which in general overrides
   the event text which defeats the purpose of the announcement.

bug:6721440

Change-Id: I8814914bea38c5f4c04f57391a64cf2bb06cb975
2012-07-02 18:42:53 -07:00
Svetoslav Ganov
27e2da7c17 Remove the accessibility focus search code.
1. In JellyBean we have added some APIs to search for next accessibility
   focus in various directions and set accessibility focus from hover.
   However, we have decided that there is not clean answer for how this
   should behave and the APIs were hidden. Now the accessibility service
  is responsible for that. The unused code is now taken out.

2. This patch also takes out the hidden attribute accessibiligyFocusable
   since we moved the responsibility for implementing focus search strategy
   to accessibility services and we did not need that for Jellybean which
   is a good sign that this is not needed. I general this is one less thing
   for an app developer to worry about. We can add this if needed later.

bug:6773816

Change-Id: I0c858d72c93a2b7ff1f8f35a08d33ec4b9eb85fd
2012-07-02 18:21:31 -07:00
Jonathan Dixon
a64c779cdb Merge "Make WebHistoryItem constructor public and hidden" 2012-07-02 15:53:28 -07:00
Gilles Debunne
884eb4b884 Merge "Better handling of spaces at ends of lines in StaticLayout." 2012-07-02 14:41:57 -07:00
Gilles Debunne
58cf576243 Merge "UI changes in suggestion menu" 2012-07-02 14:40:50 -07:00
Wink Saville
095c58b73a Enhance StateMachine Quitting and logging support. DO NOT MERGE
Make StateMachine#quit non-conditional and remove the need to
process the SM_QUIT_CMD it is now private.

Rename halting to onHalting.

Add onQuitting

Change the message specific logging to be more generic and change
the xxxProcessedMessagesYyy methods to xxxLogRecXyy names. Also add
addLogRec(String) and addLogRec(String, State) as the generic logging
methods.

bug: 5678189
Change-Id: I22f66d11828bfd70498db625fe1be728b90478b7

Conflicts:

	services/java/com/android/server/NsdService.java
2012-07-02 10:57:11 -07:00
Michael Jurka
4efade8a85 Merge "Removing setChildrenLayersEnabled" 2012-06-29 12:57:26 -07:00
Christopher Tate
b2d8f3f747 am b69c77cd: am 1598a508: Merge "Do not back up / restore the rotation-related settings" into jb-dev
* commit 'b69c77cd194ccbe24a8b1e5d8457b44d150f9a96':
  Do not back up / restore the rotation-related settings
2012-06-29 12:45:57 -07:00
Christopher Tate
b69c77cd19 am 1598a508: Merge "Do not back up / restore the rotation-related settings" into jb-dev
* commit '1598a50818b638d20120f71bab01c1792ecd4b6a':
  Do not back up / restore the rotation-related settings
2012-06-29 12:42:52 -07:00
Christopher Tate
1598a50818 Merge "Do not back up / restore the rotation-related settings" into jb-dev 2012-06-29 12:40:34 -07:00
Christopher Tate
596e1917d5 Do not back up / restore the rotation-related settings
Change-Id: I4c5f8c31fa78acc1dfa2676e89b2c1c7bbd12a06
2012-06-29 11:55:02 -07:00
Michael Jurka
ba64974141 Removing setChildrenLayersEnabled
Change-Id: I88d8228eadb59160648f2c4e131fcd85945f2109
2012-06-28 19:15:20 -07:00
Dianne Hackborn
acc3da02e8 am 4be93bbe: am 074b54fb: Merge "Maybe fix issue #6756472: Share button is not defocusing the shade" into jb-dev
* commit '4be93bbe911c1a4471f81f0e261e9b13d9212c36':
  Maybe fix issue #6756472: Share button is not defocusing the shade
2012-06-28 17:45:40 -07:00
Dianne Hackborn
4be93bbe91 am 074b54fb: Merge "Maybe fix issue #6756472: Share button is not defocusing the shade" into jb-dev
* commit '074b54fbc0b6254c0ba308e0cf2e86c1cc929348':
  Maybe fix issue #6756472: Share button is not defocusing the shade
2012-06-28 17:42:23 -07:00
Dianne Hackborn
a194021650 Maybe fix issue #6756472: Share button is not defocusing the shade
I got this reproduce a few times, then wasn't able to.  I made this
change and then couldn't reproduce it.  Maybe it fixed it.

The change here is to explicitly pass in the handler class to
apply() and reapply(), instead of relying it being set as a member of
the RemoteViews class.  This is much cleaner and more explicitly about
setting that for the click callbacks.

Bug: 6756472
Change-Id: I8d029c3836501df3206c433838124b4be3890a8b
2012-06-28 16:34:35 -07:00
Mike Cleron
667ca82189 am 9454e298: am 98fd6405: Merge "Fix NPEs when using the APIs a little oddly." into jb-dev
* commit '9454e29896e22268416082c99931d13a37b7c71e':
  Fix NPEs when using the APIs a little oddly.
2012-06-28 14:24:20 -07:00
Mike Cleron
9454e29896 am 98fd6405: Merge "Fix NPEs when using the APIs a little oddly." into jb-dev
* commit '98fd6405aec16c6062f562bf6e7c5f2d50da5d60':
  Fix NPEs when using the APIs a little oddly.
2012-06-28 14:21:28 -07:00
Mike Cleron
98fd6405ae Merge "Fix NPEs when using the APIs a little oddly." into jb-dev 2012-06-28 14:18:48 -07:00
Daniel Sandler
c08dea2aa4 Fix NPEs when using the APIs a little oddly.
This should help developers use some of the features of
Style via subclassing rather than duplicating functionality.

Bug: 6716608
Change-Id: I048e8221c8046e9779e08e6e262ac3fb37b01cb3
2012-06-28 08:35:24 -07:00
Gilles Debunne
6640891125 Merge "Added comments describing the span limit attributes" 2012-06-27 17:21:47 -07:00
Gilles Debunne
8154149194 Better handling of spaces at ends of lines in StaticLayout.
Skipping spaces at ends of line used to be done only when ok != here
(a potential line break was found).

Moved this logic up one level to handle all cases.

Also moved maxLine test in the block that actually adds a new line.

Updated the unit tests accordingly.

Change-Id: Ib10bc838b1ffa5b8a60259ea4b622d9fecb2ec70
2012-06-27 17:21:21 -07:00
Teng-Hui Zhu
06d0aa8ed1 Merge "Avoid redundant reload in inline mode after exit from full screen." 2012-06-27 16:28:11 -07:00
Adam Powell
74d762a3ee Fix bug in parsing attributes for MediaRouteButton
Change-Id: Ib61506f7b09b1e043f3f21d2fd46281fbced00f4
2012-06-27 16:19:45 -07:00
Matthew Xie
530c843a8f am 691976fa: am 29775794: Merge "Get rid of the extra bt_disable call when turning on airplane mode Get rid of enabling bt when in airplane mode." into jb-dev
* commit '691976fae6ff7ef925e411e9e7b273d2623072bf':
  Get rid of the extra bt_disable call when turning on airplane mode Get rid of enabling bt when in airplane mode.
2012-06-27 15:53:07 -07:00
Matthew Xie
691976fae6 am 29775794: Merge "Get rid of the extra bt_disable call when turning on airplane mode Get rid of enabling bt when in airplane mode." into jb-dev
* commit '29775794d6014196063534415ad61d60e84e9c9a':
  Get rid of the extra bt_disable call when turning on airplane mode Get rid of enabling bt when in airplane mode.
2012-06-27 15:50:10 -07:00
Teng-Hui Zhu
c3a2858de9 Avoid redundant reload in inline mode after exit from full screen.
bug:5710646

First, if we exit the full screen mode while playing, we can continue to play
in inline mode.

If it is paused, then we can avoid a reload if user try to play the same video
again after the full screen mode.

webkit change:
https://android-git.corp.google.com/g/#/c/202138/

Change-Id: Ia69fa22a50d916cd8dd2b995cf3531fe9b637531
2012-06-27 15:48:02 -07:00