81525 Commits

Author SHA1 Message Date
Jim Miller
99d8fae5a0 Merge "Minor cleanup of left overs from GlowPadView integration." 2012-07-09 17:55:18 -07:00
Winson Chung
4461f6028d Merge "Fixing index-out-of-bounds in AppWidgetService. (Bug 6717459)" 2012-07-09 16:43:04 -07:00
Craig Mautner
42eae21fb9 Merge "Isolate layout and animation wallpaper objects." 2012-07-09 14:19:34 -07:00
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
Craig Mautner
918b53bc53 Isolate layout and animation wallpaper objects.
Provide separate copies of mWallpaperTarget, mWallpaperTokens, and
mLower/UpperWallpaperTarget in the layout and animation sides of
Window Manager.

Simplify constructors of WindowAnimator and WindowStateAnimator.

Change-Id: I7e35794a432c25c4194c046e9e27150d1c905403
2012-07-09 14:15:54 -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
773e4186ed Merge "Add Bitmap.isPremultiplied()" 2012-07-09 13:54:59 -07:00
Romain Guy
3849f93b3c Add Bitmap.isPremultiplied()
This change also adds extra information in the documentation about
premultiplied values.

Change-Id: I51aacb8696340d23354ebf6d7284605d1a790b69
2012-07-09 13:52:40 -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
Ying Wang
c09008f018 Merge "Import translations. DO NOT MERGE" 2012-07-09 12:26:04 -07:00
Ying Wang
3090b54da4 Merge "Import translations. DO NOT MERGE" 2012-07-09 12:25:30 -07:00
Ying Wang
7893217fc0 Import translations. DO NOT MERGE
Change-Id: I2890a480cd440ac12b72399d5c0337b861427d9b
Auto-generated-cl: translation import
2012-07-09 12:13:43 -07:00
Ying Wang
bcccd77107 Import translations. DO NOT MERGE
Change-Id: I3a6b05441aa0aae2765548b91990c780ffb490a7
Auto-generated-cl: translation import
2012-07-09 12:03:27 -07:00
Chet Haase
9c469ca0ff Merge "Force invalidates on non-visible views to traverse the hierarchy" 2012-07-09 10:25:44 -07:00
Craig Mautner
1857f0fdb8 Merge "Fix hang on rotation." 2012-07-09 09:45:08 -07:00
Craig Mautner
2639da500e Fix hang on rotation.
A recent optimization to only send updates to WindowManagerService
when there is something to report backfired. One bit indicating
change had negative polarity so the update should also have been
sent when this bit was cleared. This change alters the bit to
positive polarity.

Fixes bug 6780496.

Change-Id: I3336812a60534ebffc9e94b2fb1d0df4d6969bca
2012-07-09 09:39:06 -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
Romain Guy
dc99555d61 Merge "Pass SearchView suggestion cursor exception to Log." 2012-07-06 23:18:19 -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
bcda64bfac am d5f7d9b5: am 15796e52: Merge "docs: add largeHeap attribute to app manifest doc external issue 33967" into jb-dev
* commit 'd5f7d9b59d920dfa88e1753f6723c016b1815d7c':
  docs: add largeHeap attribute to app manifest doc external issue 33967
2012-07-03 19:45:24 -07:00
Scott Main
d5f7d9b59d am 15796e52: Merge "docs: add largeHeap attribute to app manifest doc external issue 33967" into jb-dev
* commit '15796e52df1626ae27a6a88c6e905fd3b80868c9':
  docs: add largeHeap attribute to app manifest doc external issue 33967
2012-07-03 19:41:56 -07:00
Scott Main
15796e52df Merge "docs: add largeHeap attribute to app manifest doc external issue 33967" into jb-dev 2012-07-03 19:39:26 -07:00
Scott Main
ea7dfc434e am 31f38d69: am e469e74f: docs: new sitemap text file
* commit '31f38d692c5112a8a4dd339fc2fd5115a3ede806':
  docs: new sitemap text file
2012-07-03 19:36:14 -07:00
Scott Main
31f38d692c am e469e74f: docs: new sitemap text file
* commit 'e469e74fd339efcfe88b56780f4380b0d1dd2ce8':
  docs: new sitemap text file
2012-07-03 19:32:42 -07:00
Scott Main
e469e74fd3 docs: new sitemap text file
Change-Id: Ia28407054216997126873bb855d55c9caeeb05b4
2012-07-03 19:29:45 -07:00
Craig Mautner
12670b5fb4 Make setting wallpaper offset immediate.
Wallpaper offset was passing through H Handler before being set.
It isn't part of animation and wasn't going through animation anyways.
This change goes back to original implementation of setting
wallpaper offset directly from call.

Change-Id: Ied88e2dc042af814b5ba91c7efb839bd82682567
2012-07-03 19:15:35 -07:00
Craig Mautner
a76fdb7713 Use new object to sync DimAnimator.
The controls for the DimAnimator were going through the H Handler
to sync with the Animator. We are switching to using the
LayoutToAnimator object for passing data from layout to animator.

Change-Id: Ib6d0afabba781c88bcc1c525e3ae424cf19ac1ad
2012-07-03 19:03:02 -07:00
Craig Mautner
462823948e Merge "Swap source and destination transfer objects." 2012-07-03 18:50:39 -07:00
Craig Mautner
711f90a7c1 Swap source and destination transfer objects.
It will be better to have the object that moves layout parameters to
animation on the layout side, and the object that moves animation
parameters back to layout on the animation side. That way we can
do partial filling of these objects without calling across. We
may never do partial draining of these objects.

Change-Id: I88826fa97350f96e309beef386885f55a9a73305
2012-07-03 18:43:52 -07:00
Romain Guy
1658db2a39 Merge "Fix the build" 2012-07-03 18:42:12 -07:00
Romain Guy
da7ba8ff45 Fix the build
Change-Id: Iee3be26dd0167ddd80dd11c4bcbf21f6684d2a68
2012-07-03 18:36:01 -07:00
Craig Mautner
078ea0a644 Step 2 in consolidating wallpaper animation.
Separate updateWindowsAndWallpaperLocked into two methods,
updateWindowsLocked and updateWallpaperLocked. Eliminates mForceHiding.

Change-Id: I3958cfae09283aaa7f1781d1b54ef224d8e80f3f
2012-07-03 18:28:46 -07:00
Scott Main
01e1b832d7 docs: add largeHeap attribute to app manifest doc
external issue 33967

Change-Id: I69e5d3da78098842c4710708f4d389637dd0fe6b
2012-07-03 18:21:00 -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
a344a004d2 Merge "Deprecate unsupported widgets." 2012-07-03 18:04:42 -07:00
Scott Main
9b52b9c83d am 7b5488d8: am 099fd80f: docs: add throws notice for isPlaying per external issue 33610
* commit '7b5488d85d8ed36c42a821fb0064de741cca35c9':
  docs: add throws notice for isPlaying per external issue 33610
2012-07-03 17:42:37 -07:00
Scott Main
7b5488d85d am 099fd80f: docs: add throws notice for isPlaying per external issue 33610
* commit '099fd80f984b8493de58bdda8ea05563261b0af2':
  docs: add throws notice for isPlaying per external issue 33610
2012-07-03 17:39:25 -07:00
Scott Main
099fd80f98 docs: add throws notice for isPlaying
per external issue 33610

Change-Id: Ibd778cb4ecc5f1717fa007ac069a7b3660ec4794
2012-07-03 17:32:23 -07:00
Romain Guy
86ca5d3513 Deprecate unsupported widgets.
Change-Id: I154236f07745b25200e77a473b810f45de07d0ef
2012-07-03 17:23:30 -07:00
Joe Malin
86fc2c9b74 am 33715d14: am 4c633ea6: Merge "DOC CHANGE: AOSP33968 Typo" into jb-dev
* commit '33715d1434ec7070afaffed19214e96fd4f1363d':
  DOC CHANGE: AOSP33968 Typo
2012-07-03 15:19:23 -07:00
Joe Malin
33715d1434 am 4c633ea6: Merge "DOC CHANGE: AOSP33968 Typo" into jb-dev
* commit '4c633ea6f28711d168f690f7443c9523451bdbab':
  DOC CHANGE: AOSP33968 Typo
2012-07-03 15:15:59 -07:00
Joe Malin
4c633ea6f2 Merge "DOC CHANGE: AOSP33968 Typo" into jb-dev 2012-07-03 15:12:46 -07:00
Joe Malin
fd29e8a58f DOC CHANGE: AOSP33968 Typo
Change-Id: I05de2666db6074c84caf540658aad96e6a4805d5
2012-07-03 14:34:16 -07:00