John Reck
9580146f50
Add API to copy a window
...
Change-Id: I9bb5209010db6665be4b6f8db81a6fc1b7debc45
2016-09-07 11:41:15 -07:00
Keisuke Kuroyanagi
f5af4a344e
Always redraw text that protrude from line bounds.
...
With I63af3a6ecbf92, we create RenderNode lazily, but
blocks containing contents that protrude from line top or
bottom cannot be simply lazily redrawn after edit or
scroll.
With this CL, we check if the contents protrude from line
top or bottom by comparing the text bounds with relevant
font metrics values and we always redrawn such blocks after
edit or scroll.
Bug: 27889485
Change-Id: I666da5eeb39f780c341597f347bfcba21eb34295
2016-09-05 17:45:37 +09:00
Pablo Ceballos
1209bc144b
Fail createVirtualDisplay with single-buffered Surface am: aff2f94939 am: d387b20dcb
...
am: 658f26634f
Change-Id: I499988d911ffd5ccd4b5bc10c75f3e0ed9a897c8
2016-08-31 02:56:35 +00:00
Pablo Ceballos
d387b20dcb
Fail createVirtualDisplay with single-buffered Surface
...
am: aff2f94939
Change-Id: I5cfcbd0352240d7ac2a9bb0804896cae5396450e
2016-08-29 17:59:07 +00:00
Pablo Ceballos
23784fd6d9
Merge "Fail createVirtualDisplay with single-buffered Surface" into nyc-mr1-dev
2016-08-29 17:42:00 +00:00
Kirill Grouchnikov
ce3338ea36
Merge "Fix typo in PathMeasure javadocs"
2016-08-29 17:08:22 +00:00
Kirill Grouchnikov
6a03c39e0a
Fix typo in PathMeasure javadocs
...
Change-Id: I7c637d791c7ca9b4b1d982602a6cd108385ca905
2016-08-29 11:46:21 -04:00
Alan Viverette
2851c2905d
Ensure the layer drawable callback is set when loading from theme am: 11a84b8429 am: 3deb906397
...
am: caf68d0355
Change-Id: I2a61c5412cedce03612047aacce852451d16710e
2016-08-26 18:29:42 +00:00
Alan Viverette
cdfd0c8960
Improve docs for GradientDrawable's useLevel and centerX/Y properties am: daec5506c4 am: cc914b6b0b
...
am: 35a7e106ef
Change-Id: I1357fcc227c48259e15eef74e67d86f21fcec163
2016-08-26 18:27:37 +00:00
TreeHugger Robot
c5d2192f14
Merge "Various doc cleanups"
2016-08-26 17:37:09 +00:00
Chet Haase
8b9ed44f8d
Various doc cleanups
...
Issue #6439958 More R.attr breakage
Issue #918412 android.graphics.Paint.FontMetricsInt fields & methods need doc
Issue #917387 javadoc bug: Canvas.EdgeType has minimal documentation
Issue #18948460 [DAC-bug] LinearLayout xml layout_weight parameter is missing description
Change-Id: Idb289ca778b3f316923757405460031ce7a5e1e9
2016-08-26 06:50:21 -07:00
Teng-Hui Zhu
2b769c4dde
Add an new internal DrawableContainer to handle animation scale == 0 case. am: 0c03664fa6 am: 0bc9fa9896
...
am: ab2ed1a4e7
Change-Id: I2de378da33ca93639c03544c8702e17eaefee514
2016-08-26 02:15:07 +00:00
Pablo Ceballos
aff2f94939
Fail createVirtualDisplay with single-buffered Surface
...
Bug 30106031
Change-Id: I434df329eb3c162dd9ef01245ac5e0da97216e70
2016-08-25 12:06:52 -07:00
Alan Viverette
3deb906397
Ensure the layer drawable callback is set when loading from theme
...
am: 11a84b8429
Change-Id: Ia6994252d09b6cc008847cd0e084949ada7b2ab2
2016-08-24 18:34:26 +00:00
Alan Viverette
cc914b6b0b
Improve docs for GradientDrawable's useLevel and centerX/Y properties
...
am: daec5506c4
Change-Id: If6c4b531a17abbed1a06478ec263bc89242638b3
2016-08-24 18:32:55 +00:00
Alan Viverette
709f0f3e15
Merge "Ensure the layer drawable callback is set when loading from theme" into nyc-mr1-dev
2016-08-24 18:17:04 +00:00
Alan Viverette
20109a689d
Merge "Improve docs for GradientDrawable's useLevel and centerX/Y properties" into nyc-mr1-dev
2016-08-24 18:17:04 +00:00
Alan Viverette
11a84b8429
Ensure the layer drawable callback is set when loading from theme
...
Previously we would skip setting the changing configurations and callback
if the drawable had been loaded post-inflation from a theme attribute.
Bug: 30756548
Change-Id: Ia5457723ae8a62506a7562299d3fe78ec21f8030
2016-08-24 12:35:47 -04:00
Teng-Hui Zhu
0bc9fa9896
Add an new internal DrawableContainer to handle animation scale == 0 case.
...
am: 0c03664fa6
Change-Id: I7feae01c6302e2942087c6dfe1948109467f1326
2016-08-24 16:28:55 +00:00
Tenghui Zhu
3512b0001a
Merge "Add an new internal DrawableContainer to handle animation scale == 0 case." into nyc-mr1-dev
2016-08-24 16:22:38 +00:00
Teng-Hui Zhu
0c03664fa6
Add an new internal DrawableContainer to handle animation scale == 0 case.
...
This will help ProgressBar to show something meaningful when animation scale is 0.
b/30877925
Change-Id: Ieb2e78712999d2e3f3a2a234bc605b4821ae41c0
2016-08-22 15:36:32 -07:00
Alan Viverette
66b3a0d1aa
Avoid potential re-entry as a result of child mutation
...
Don't set the callback until we're all done making changes.
Bug: 30902893
Change-Id: Ia1560692a83ecb2c50f5e77fa4d1e8155a78a204
(cherry picked from commit b46ba3b2b0268688852cdf3d1fb4afe4873d63be)
2016-08-22 20:00:30 +00:00
Teng-Hui Zhu
d64255f61d
Update the javaDoc for VectorDrawable and AnimatedVectorDrawable
...
b/30269243
Change-Id: I139a3fcac95c41a667fa06aa3223b812caad6243
(cherry picked from commit c224417511d8179a08c4dfd4badc73dd9699ebf2)
2016-08-22 18:32:09 +00:00
Philip P. Moltmann
366262dc78
Only have a single call into pdfium at a time.
...
Pdfium is not thread safe and uses global variables, hence no
parallel call pdfium is safe
Fixes: 28705066
Change-Id: I04309ee691bd9cea37587e0af5be2c07ce8c9f2c
(cherry picked from commit 0768a7dc450caf4c873c5b0883a75135536e1546)
2016-08-18 18:20:59 +00:00
Doris Liu
911bbc7cb0
Fix listeners not getting called when AVD falls back on UI thread am: 853b23d1fa am: 79846f859c
...
am: a0daf61dd0
Change-Id: I90467d3501877b8f398be929084b6ae5f65360cf
2016-08-18 00:07:02 +00:00
Doris Liu
853b23d1fa
Fix listeners not getting called when AVD falls back on UI thread
...
When AVD fall back on UI thread, in addition to transfer the pending
actions from RT animator to UI animator, we also need to transfer
the listener, if any.
BUG: 30901495
Change-Id: Ib4a7ebb2996a02596bb5789704617c894a5dd474
2016-08-17 00:20:39 +00:00
Dianne Hackborn
f49cfb874e
Fix issue #30766518 : Document what targeting N does am: b34cbedb4e am: 3a585b86be
...
am: 22fdbab5d0
Change-Id: Ic9beb458f4332b9ec72c4b4b4178a5bce1fcac82
2016-08-10 01:24:20 +00:00
Dianne Hackborn
b34cbedb4e
Fix issue #30766518 : Document what targeting N does
...
Also small documentation cleanup in a few other places.
Change-Id: I16581c751aa0ffa146faba3b140a8fa2170f4520
2016-08-09 13:21:24 -07:00
Doris Liu
8f87912d4a
Support repeatMode = reverse in AVD am: f7167e8f28 am: 113a8c63d4
...
am: ceda529fae
Change-Id: I17962c8cff0bd03c1a87d57b213edebdd62a4129
2016-08-06 01:24:02 +00:00
Doris Liu
f7167e8f28
Support repeatMode = reverse in AVD
...
BUG: 30641232
Change-Id: I34c823a0a45c8441873a9b467275174c5529994b
2016-08-05 01:44:20 +00:00
Alan Viverette
daec5506c4
Improve docs for GradientDrawable's useLevel and centerX/Y properties
...
Bug: 30302143
Change-Id: I1007bf2a57ce73c9ed516a4717e7a539e9e9774b
2016-08-04 13:55:11 -04:00
John Reck
8b9a1fa084
Eliminate recents upload jank am: 4387190d8e am: 021a952150
...
am: 897b9effb7
Change-Id: Iab2f01b5b3a9be6946e36169209c281a3320ed14
2016-08-02 02:57:27 +00:00
John Reck
4387190d8e
Eliminate recents upload jank
...
Bug: 30342017
Upload recents thumbnails in the
dead gaps between frames instead of
at the start of a frame. This eliminates
jank caused by the large texture
upload.
Change-Id: I507cd286d199109c7a9a1511d68ba5ab5d28069f
2016-08-01 16:36:14 -07:00
Romain Guy
19e710e7b5
Expose Path.approximate()
...
It is a useful APIs that applications can benefit from for a
number of use cases. Since apps have currently no way of
inspecting the content of a path, this allows them to
perform interpolation along paths.
Change-Id: I79bcba38a0ed806c418ed25d36ea25af8721d9c1
2016-08-01 12:05:38 -07:00
Adrian Roos
f761b41501
Merge \\\"Keyguard: Reapply insets when fitsSystemWindow changes\\\" into nyc-mr1-dev am: 5e0a42848e am: 7c323ce7d7
...
am: 51fe9421ae
Change-Id: Ia96e1c2c59e83d8d8472a8795fd5998d9f7fe3a2
2016-07-29 01:38:15 +00:00
Alan Viverette
75c16264d0
Avoid potential re-entry as a result of child mutation am: b46ba3b2b0 am: 0d98515cab
...
am: 762c828704
Change-Id: I41e826722759de148e3f87d31981d008ff911cfe
2016-07-28 23:22:41 +00:00
sergeyv
2ef3bdbd7a
Turn off simplePath optimization then Path object is used as out param
...
am: a6a8557d6e
Change-Id: Ia9b85e52b6f0c8632989bf58ac97771ffc2a5d8d
2016-07-28 00:32:46 +00:00
Sergei Vasilinetc
9b17ebca8f
Merge "Turn off simplePath optimization then Path object is used as out param" into nyc-mr1-dev
2016-07-27 23:55:47 +00:00
sergeyv
a6a8557d6e
Turn off simplePath optimization then Path object is used as out param
...
Change-Id: I4d9ae5c756b2ed1ba30483e8685ce1ad6c1f0c03
fixes:30349106
2016-07-27 14:13:34 -07:00
Alan Viverette
b46ba3b2b0
Avoid potential re-entry as a result of child mutation
...
Don't set the callback until we're all done making changes.
Bug: 30409766
Change-Id: Ia1560692a83ecb2c50f5e77fa4d1e8155a78a204
2016-07-27 10:23:35 -04:00
Teng-Hui Zhu
c224417511
Update the javaDoc for VectorDrawable and AnimatedVectorDrawable
...
b/30269243
Change-Id: I139a3fcac95c41a667fa06aa3223b812caad6243
2016-07-26 16:21:46 -07:00
Siyamed Sinir
317029aecc
Update font feature settings w3 URL in api doc
...
Bug: 29545624
Change-Id: I4611f53055f3a52bc607ac0cc8311f8a633217bf
2016-07-25 14:50:48 -07:00
Doris Liu
58eaa13f18
Merge \\"Ensure native allocation/free is correctly registered\\" into nyc-mr1-dev am: a7272b4cad
...
am: f5b87ce908
Change-Id: Ic04a562f2c32cb0187713f2b661e35fb3f7f6023
2016-07-16 00:04:42 +00:00
Doris Liu
26bb10999b
Ensure native allocation/free is correctly registered
...
This CL fixes an issue where one of the constructors creates a
native tree object without registering the allocation of its
root group with the NativeAllocationRegistry.
BUG: 28943866
Change-Id: Ic8db3f2fa8036dfabdbc1a1fcbd58d08a0379e2d
2016-07-15 00:00:20 +00:00
John Reck
88b4e87ae6
Merge \\"Clarify Picture docs on playback\\" into nyc-mr1-dev am: 226b4764b4
...
am: 917d0abd30
Change-Id: I6efc71dbe4d152e0265faf5056f8e385738a2442
2016-07-01 21:17:05 +00:00
John Reck
226b4764b4
Merge "Clarify Picture docs on playback" into nyc-mr1-dev
2016-07-01 20:41:24 +00:00
Teng-Hui Zhu
ab1cbc2c53
Mutate the drawable if a valid state change happen
...
In another word, create another cached bitmap, when the current VectorDrawable
will look differently when state changed.
Bug: 29870392
Bug: 29854240
Change-Id: I7a5ef91091e547a930368286defc7ab96aeb9471
(cherry picked from commit 4f1acfb5f507798daaff2ff0da47d2b15607ded4)
2016-06-30 23:11:48 +00:00
Tenghui Zhu
7839e42315
Merge \\"Mutate the drawable if a valid state change happen\\" into nyc-mr1-dev am: 919e982c3f
...
am: 96c4176210
Change-Id: I38f38fd3b1c349dd938f41b199f572628c9987d7
2016-06-30 23:01:15 +00:00
Teng-Hui Zhu
4f1acfb5f5
Mutate the drawable if a valid state change happen
...
In another word, create another cached bitmap, when the current VectorDrawable
will look differently when state changed.
b/29870392
Change-Id: I7a5ef91091e547a930368286defc7ab96aeb9471
2016-06-30 16:30:02 +00:00
John Reck
943c4e0813
Clarify Picture docs on playback
...
Change-Id: Iaf8d8d04deb97aff39c93c246ef20312c9c2a7cb
fixes: 26911597
2016-06-29 16:09:20 -07:00