77913 Commits

Author SHA1 Message Date
Romain Guy
0a386ffac0 Text shadow alpha handling incorrect
DO NOT MERGE

External bug: http://code.google.com/p/android/issues/detail?id=34879
This is a regression from ICS.

This CL also fixes a bug where a View's alpha would be applied twice.

Change-Id: I13a1546228f44d4c169259414b6fa103a6e4a0fa
2012-07-13 12:24:09 -07:00
Chet Haase
0f8e402e95 Force invalidates on non-visible views. DO NOT MERGE
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 #6813661 offscreen views don't get invalidated properly (may remain invisible when returning onscreen)

Change-Id: Ic4b439540084a7163be9afc585bea6560d073280
2012-07-12 14:40:28 -07:00
Ying Wang
c03f0a1557 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-07-12 12:02:35 -07:00
Ying Wang
d792ef71cb Import translations. DO NOT MERGE
Change-Id: I11573dc6817d3ef1756ecb6c889e83129317d239
Auto-generated-cl: translation import
2012-07-12 12:00:03 -07:00
Ying Wang
23edefc6c6 Import translations. DO NOT MERGE
Change-Id: I115e6356599b76597f52d5f0006d61f4324ae48b
Auto-generated-cl: translation import
2012-07-12 11:41:58 -07:00
Joe Fernandez
82c815500e Merge "docs: ADK 2012 IDE for Windows download link update, plus minor content fixes/updates" into jb-dev 2012-07-11 15:50:35 -07:00
Joe Fernandez
d2d6c09a85 docs: ADK 2012 IDE for Windows download link update, plus minor content fixes/updates
Change-Id: I53fed5504b6d77185dc9715afcd3bdf0bc9182a8
2012-07-11 15:26:09 -07:00
Craig Mautner
dcddea9530 Merge "Handle keyguard visibility states separately. DO NOT MERGE" into jb-dev 2012-07-11 15:15:00 -07:00
Craig Mautner
f333f5f67a Handle keyguard visibility states separately. DO NOT MERGE
Previous to this change the forceHiding variable was a boolean. This
change recognizes the different configurations of the keyguard by
defining separate states for forceHiding and testing for window
visibility differently in each state.

Fixes bug 6786114.

Change-Id: I3460c45ea6da772a4ff76bb016de7aa4b051a673
2012-07-11 14:38:29 -07:00
Katie McCormick
d5cd89049b Merge "Doc change: New TTL error code." into jb-dev 2012-07-11 14:12:13 -07:00
Ying Wang
04ca8e5778 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-07-11 13:55:33 -07:00
Justin Ho
87f86e640e Merge "Replace AndroidEmoji.ttf for UI optimization" into jb-dev 2012-07-11 13:22:27 -07:00
Ying Wang
2ba281577a Import translations. DO NOT MERGE
Change-Id: Idabf12464d73bf707daf0f870de2349731b574e2
Auto-generated-cl: translation import
2012-07-11 12:51:31 -07:00
Katie McCormick
507c3129eb Doc change: New TTL error code.
Change-Id: I99844d28243e0d6592219f532db08855d73f338e
2012-07-11 10:25:13 -07:00
Justin Ho
1b637fbad4 Merge "Remove gradients from navbar glow highlights." into jb-dev 2012-07-11 07:35:37 -07:00
Xavier Ducrohet
15c15eaac5 Merge "Replace LruCache implementation for layoutlib. do not merge." into jb-dev 2012-07-10 18:34:40 -07:00
Junichi Monma
514bdc3b6e Replace AndroidEmoji.ttf for UI optimization
Bug: 6785630
Change-Id: Ie236c59704138263831930e3682a7ee9ac2f84b1
2012-07-11 10:06:56 +09:00
Raph Levien
00139b2238 Merge "Fix for bug 6716343. Use correct offset for mPos reset. DO NOT MERGE" into jb-dev 2012-07-10 18:05:12 -07:00
Daniel Sandler
25a916d6bc Remove gradients from navbar glow highlights.
Should reduce unsightly banding.

Bug: 6789484
Change-Id: I1bd552d571651ff614a867c2e52b8532b6e22749
2012-07-10 21:01:55 -04:00
Yu Shan Emily Lau
10366b9315 Merge "Remove the unnecssary intent call." into jb-dev 2012-07-10 16:47:09 -07:00
Yu Shan Emily Lau
e60393ae71 Remove the unnecssary intent call.
Change-Id: Ia0a460ca8532ccb2f4b0f0205d192b1ba907b5b6
2012-07-10 16:45:38 -07:00
Wink Saville
d224693027 Merge "Preserve retryCount when retrying." into jb-dev 2012-07-10 16:38:44 -07:00
Wink Saville
e87c71f8c1 Merge "When reconnecting disassociate dc and apnContext." into jb-dev 2012-07-10 16:38:09 -07:00
Fabrice Di Meglio
8e136f85f7 Fix for bug 6716343. Use correct offset for mPos reset. DO NOT MERGE
The mPos field in the MeasuredText object is relative to the start of
the text (mTextStart), but the pos passed in by the caller of the
setPos() method is relative to the character sequence. When spans
overlap break boundaries and the paragraph doesn't start at 0, the
result is an out of bounds error. This fix uses the correct offset.

Change-Id: I64ef06df0eb06f75aedd25de97e9f347eeb52979
2012-07-10 14:30:45 -07:00
Katie McCormick
2a17520fba Merge "Doc update: GCM doc cleanup." into jb-dev 2012-07-10 14:27:42 -07:00
Katie McCormick
7cd6dcd2f8 Doc update: GCM doc cleanup.
Change-Id: Ie84a6ebdd12a05c8dbe1fff97539aea90c93554c
2012-07-10 14:07:08 -07:00
Romain Guy
907524851a Properly resize paletted bitmaps when adjusting for density
If an app used a GIF file in the wrong density bucket, the auto-scaling
code would not properly resize the bitmap.

This issue affects third party applications, here is the external bug
report:

http://code.google.com/p/android/issues/detail?id=34619

DO NOT MERGE

Change-Id: I7f99b28ad6e6c28bdbcb29bbbadcb215268ff710
2012-07-10 13:16:46 -07:00
Xavier Ducrohet
54a18ef7ad Replace LruCache implementation for layoutlib. do not merge.
The android version depends on a custom version of LinkedHashMap
which is not present on desktop VMs. This new implementation is done
in a way that minimizes the difference between the two.

Also some minor fixes.

(cherry picked from commit 01b6c755dbcf24e71192dc44757e2eea2a426091)

Change-Id: Idc7bca820e472e281a3024a5b610fd55606cf428
2012-07-10 12:51:30 -07:00
Ying Wang
40a4ab130a Import translations. DO NOT MERGE
Change-Id: I8e0e293c98a3659ef6e9a07c3a62e0056f5ea4cb
Auto-generated-cl: translation import
2012-07-10 12:15:26 -07:00
Adam Powell
1ab2edbcff Merge "Fix bug in parsing attributes for MediaRouteButton" into jb-dev 2012-07-09 14:13:54 -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
e469e74fd3 docs: new sitemap text file
Change-Id: Ia28407054216997126873bb855d55c9caeeb05b4
2012-07-03 19:29:45 -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
fd516987de docs: misc bugs from external tracker
Change-Id: I02d0d82c220401ac3a1ca180e8331a0f6dcd9e50
2012-07-03 18:08:19 -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
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
Joe Malin
8d5efa6a8c Merge "DOC CHANGE: AOSP 33831 - Typo" into jb-dev 2012-07-03 14:24:26 -07:00
Scott Main
8ab2dfb293 Merge "docs: fix urls on homepage for offline docs" into jb-dev 2012-07-03 14:09:17 -07:00
Joe Malin
67970e8aa0 DOC CHANGE: AOSP 33831 - Typo
Change-Id: I394fd5394baf9615463533157e06699478460ceb
2012-07-03 13:54:29 -07:00
Scott Main
88eee9972e docs: fix urls on homepage for offline docs
Change-Id: Ifa1da094ee6482c7324ec5a8b50d245d505390b9
2012-07-03 13:19:45 -07:00
Daniel Sandler
5d0c689b9b Merge "Logs to track bug 6765842." into jb-dev 2012-07-03 12:10:19 -07:00
Scott Main
5a883824a2 Merge "docs: fix document issue 27549" into jb-dev 2012-07-03 11:51:30 -07:00
Daniel Sandler
fdbac77e82 Logs to track bug 6765842.
It looks like we can get into a state where the notification
panel gets un-expanded, leaving an unsightly mess where your
status bar should be.

This change adds some additional info to the dumpsys output.

Bug: 6765842
Change-Id: Iecf2480bc7bdf5bb737863c0cbf9ad07d8523c0c
2012-07-03 14:35:05 -04: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
satok
f212878e35 Merge "Update spell checking documents Bug: 6334194" into jb-dev 2012-07-02 18:27:08 -07:00
Craig Mautner
cc93507124 Merge "DO NOT MERGE Set force hiding differently" into jb-dev 2012-07-02 17:20:00 -07:00
Craig Mautner
00b9e89932 Merge "Clear startingDisplayed flag when removing window." into jb-dev 2012-07-02 17:01:58 -07:00
Craig Mautner
38b2478f63 Clear startingDisplayed flag when removing window.
The flag indicating that the Starting window is displayed was not
being cleared when the Starting window was removed. That caused the
goodToGo indication to falsely indicate that all windows were drawn
when in fact the destination activity had not yet been drawn. This
caused the animation to begin when it was still black behind the old
animation.

This fixes bug 6764727.

Change-Id: Iacef73b0335b9bde2cdc8d0b072034222cd728e8
2012-07-02 16:21:28 -07:00