Fabrice Di Meglio
1180644280
Fix bug #4772392 Check what needs to be done for RTL specific new attributes that are in public.xml
...
- cleanup public.xml
- make BiDiTest makefile non visible to the build system
- provide file for injecting the new attributes by hand
Change-Id: I5037ec323066ebd254be51fff7070a5a0101dff7
2011-07-20 11:38:59 -07:00
Chris Craik
9c14256b57
Merge "Added TileBenchmark"
2011-07-19 12:47:35 -07:00
Fabrice Di Meglio
5f9fa88268
Merge "Test Gallery layout direction."
2011-07-19 10:16:04 -07:00
Romain Guy
0b06cb62f5
Merge "Update TextureView.lockCanvas() test."
2011-07-18 17:51:59 -07:00
Fabrice Di Meglio
c2063a5b18
Fix bug #5037425 Canvas.drawText can't handle Right-to-Left text and text composing
...
- optimization for single run case was broken
- pass isRTL boolean along the call stack instead of the dirFlags integer
(which was only used as a "isRTL" in the shaper)
- update unit tests
Change-Id: I33110b76a433633a0b92fbd1db03785204e0c3e6
2011-07-18 17:47:04 -07:00
Romain Guy
3c2c9e4e0d
Update TextureView.lockCanvas() test.
...
Change-Id: Ib0f613fcd6ba64a696936e4e2b386b96d76b828a
2011-07-18 17:45:04 -07:00
Fabrice Di Meglio
8abef6b014
Merge "Add unit tests for bug #5037425 Canvas.drawText can't handle Right-to-Left text and text composing"
2011-07-18 17:43:11 -07:00
Doug Felt
3d0124f176
Test Gallery layout direction.
...
Change-Id: If88f559e8cc46bb72ed45f33d7fc52802f1e1246
2011-07-18 17:39:07 -07:00
Chris Craik
5888ec2b30
Added TileBenchmark
...
Adds TileBenchmark app, which loads pages in webview and scrolls through them
automatically, measuring rendering and allocation information.
Change-Id: Ieaf5bbcec604c99aaf16822915e58bfc495011ec
2011-07-18 17:24:48 -07:00
Fabrice Di Meglio
c6f247ca31
Add unit tests for bug #5037425 Canvas.drawText can't handle Right-to-Left text and text composing
...
Change-Id: Ic71a563ad0f4ba6de5b7f030f04a3a9615b7617c
2011-07-18 15:59:10 -07:00
Philip Milne
682dbafc8f
Merge "Derive GridLayout's 'gap' constants from new "default_gap" entry in dimens.xml."
2011-07-18 15:17:06 -07:00
Romain Guy
6be3d5561c
Add lock/unlockCanvas to TextureView
...
With this change, TextureView has feature parity with SurfaceView.
Change-Id: I4ef2da33420fc9590f868636ae72a5a6de61965b
2011-07-18 15:02:06 -07:00
Philip Milne
b0ce49b5ad
Derive GridLayout's 'gap' constants from new "default_gap" entry in dimens.xml.
...
Also:
. removed static import of R.styleable - this is non-standard
. removed final modifier from DEBUG flag,
this prevents the compiler from excluding the debugging code but
allows debugging code to be enabled externally
. added override to removeAllViews() as GridLayout needs to be notified whever hiearchy changes.
Change-Id: I2409289bce7c6638eff320ffd48a6c0704e77fa8
2011-07-18 14:38:14 -07:00
Fabrice Di Meglio
46c7250798
Merge "Clean test APIs for Harfbuzz support"
2011-07-18 14:26:34 -07:00
Fabrice Di Meglio
9c83011005
Merge "Fix bug #4972141 Overlapping content in single-choice dialogs"
2011-07-15 17:51:46 -07:00
Fabrice Di Meglio
796cc96243
Clean test APIs for Harfbuzz support
...
- also update unit tests
Change-Id: I557f61e84c4c4b6165163b783d9c679a6b3b4106
2011-07-15 17:49:22 -07:00
Fabrice Di Meglio
54d6962555
Fix bug #4972141 Overlapping content in single-choice dialogs
...
- need to take care about padding resolution
Change-Id: Ida9738ffada6c6455b7949f933fa61924c4f7961
2011-07-15 17:05:11 -07:00
Fabrice Di Meglio
9703ac8e6f
Merge "Some code refactoring"
2011-07-15 16:52:03 -07:00
Romain Guy
f9284695e8
Add new ViewDebug APIs to profile the event queue.
...
Change-Id: I225bf288780b0244f459316e2765cfa29cd22c89
2011-07-15 11:25:11 -07:00
Fabrice Di Meglio
50e95eba5c
Merge "Implement textDirection heuristic selection."
2011-07-15 09:49:48 -07:00
Fabrice Di Meglio
d2b5d1cf4a
Some code refactoring
...
- make Layout.Alignment.ALIGN_LEFT as the default case
- update unit tests for reproducing bug #5002512
Change-Id: Id7ec17abd115bcda7f3434e6d64dbbba6915f108
2011-07-14 15:24:35 -07:00
Philip Milne
d44264a5ee
Merge "Rationalize API after adding maximum size feature."
2011-07-14 11:32:09 -07:00
Doug Felt
cb37912045
Implement textDirection heuristic selection.
...
Change-Id: I2fcf18de573f2d66494fa5ed61e4273c3c6078c7
2011-07-14 11:24:33 -07:00
Philip Milne
93cd6a6c78
Rationalize API after adding maximum size feature.
...
. Change name of Group to Spec
(with the addition of the fglexibility field, this class no longer represents a group)
. Replace overloaded Group/Spec constructors with factory method
. Bugfix for measure() when alignmentMode == ALIGN_BOUNDS
. Bury as much Java API as possible, to minimize restrictions on future API enhancements
- make all field access in Group package private
- use factory methods in place of field assignment
Change-Id: I46a5027a013bf7c3110b77108b8fd0427165cd18
2011-07-13 21:31:20 -07:00
Fabrice Di Meglio
a6c53c7939
Merge "Introduce TextView drawableStart and drawableEnd"
2011-07-12 18:24:27 -07:00
Fabrice Di Meglio
a3b6b95f99
Introduce TextView drawableStart and drawableEnd
...
- update also unit tests
Change-Id: I20b82f5fea2cc48c93fd9e26eb03290ad730c08a
2011-07-12 14:04:24 -07:00
Jeff Brown
8c55a9a57e
Merge "Remove the simulator target from all makefiles. Bug: 5010576"
2011-07-12 12:15:07 -07:00
Jeff Brown
bd882b1c87
Remove the simulator target from all makefiles.
...
Bug: 5010576
Change-Id: I04d722f258951a3078fe07899f5bbe8aac02a8e8
2011-07-11 22:12:16 -07:00
Romain Guy
5fccb70de9
Add test for bug #4970944
...
Change-Id: I3e7287bc406ff497a49cf823cee53b1a943a74a9
2011-07-11 18:23:09 -07:00
Romain Guy
221bfab842
Merge "Cleanup"
2011-07-07 21:35:19 -07:00
Romain Guy
cfacbeadff
Cleanup
...
Change-Id: I2a9dc34e907b4c6e60f8c2999150b22015012e74
2011-07-07 21:33:41 -07:00
Romain Guy
e92096fa6a
Merge "Use NEAREST filtering mode for TextureView.getBitmap()."
2011-07-07 21:28:41 -07:00
Romain Guy
ec19b4a764
Use NEAREST filtering mode for TextureView.getBitmap().
...
Change-Id: I4649062bbdf18ebba7924bdf578f39ad8f6576ac
2011-07-07 21:27:14 -07:00
Romain Guy
69abbd8791
Merge "Use NEAREST filtering for layers whenever possible."
2011-07-07 20:55:08 -07:00
Romain Guy
9ace8f5e79
Use NEAREST filtering for layers whenever possible.
...
Change-Id: Id5bee1bd4a322cf93e8000b08e18f1e1b058648e
2011-07-07 20:50:11 -07:00
Philip Milne
6d836b606b
Merge "Simplify and tidy the API for maximum value support."
2011-07-07 14:30:31 -07:00
Philip Milne
5d1a9840aa
Simplify and tidy the API for maximum value support.
...
Also:
. Remove CAN_SHRINK, FIXED from public view. These can be added later.
Change-Id: I63a64ac4748605da60373c8e3c2109178b5260c2
2011-07-07 14:23:00 -07:00
Romain Guy
f61970fc79
Add an API to query maximum bitmap/texture size on Canvas.
...
Change-Id: I2c576c9a4ecad9f33cc6636bcbc29786acdf052d
2011-07-07 14:10:06 -07:00
Philip Milne
d307878ebc
Merge "Support for maximum values in layout GridLayout."
2011-07-01 11:31:46 -07:00
Philip Milne
48b55244d2
Support for maximum values in layout GridLayout.
...
A cell's ability to shrink or stretch is now integrated with the
constraints system, which is now supplied with both upper and lower
bounds.
Also:
. Remove package private access (pseudo) annotation
. Remove rowWeight and columnWeight attributes and fields
. Remove code to handle weights
Change-Id: I9e2432101d15466c621f51ae362435051fab5764
2011-07-01 11:08:19 -07:00
Alex Sakhartchouk
dd79d52e34
Merge "Adding some debug modes to the rs benchmark app."
2011-07-01 10:04:22 -07:00
Alex Sakhartchouk
46bd32ece2
Adding some debug modes to the rs benchmark app.
...
Change-Id: I6b957d93e0233ed268403dcdb14f4cf4cff29804
2011-06-30 17:59:55 -07:00
Romain Guy
595c18b07a
Add test case for driver issue
...
Change-Id: I0411bf9c8e114ce388e619170fb4c2b1c6fd80f9
2011-06-29 17:20:38 -07:00
Fabrice Di Meglio
222688682e
Add textDirection support for TextView and ViewGroup
...
- use ViewGroup inheritance if defined
- use different heuristics (inherit, firstStrong, anyRtl, ltr, rtl)
- add more unit tests
Change-Id: Ic1325aa7d9e4689b181e0a2d08b7dd7fb3f0dbeb
2011-06-28 20:29:08 -07:00
Irfan Sheriff
dde052f4ba
Merge "WifiWatchdogService - disable bad connections"
2011-06-25 11:20:54 -07:00
Fabrice Di Meglio
8ed2acd838
Merge "Introduce MarginLayoutParams marginStart and margingEnd"
2011-06-24 19:00:30 -07:00
Fabrice Di Meglio
b76023afd1
Introduce MarginLayoutParams marginStart and margingEnd
...
- update BiDiTest app for adding more unit tests concerning margin
Change-Id: Ia6a7e0a1948a2c375e8f3cc87d120a85351a8c27
2011-06-24 18:55:24 -07:00
Romain Guy
d0d0705994
Update GLTextureView sample to do something real.
...
Change-Id: I55a62434ae0b602522221689626f6b4155bd0d91
2011-06-24 18:51:28 -07:00
Romain Guy
4a5a71518a
Don't set texture parameters on every frame.
...
Change-Id: Iec368405ad6a4ccfd569a0b3b4d681871a770396
2011-06-24 17:53:53 -07:00
Romain Guy
80429c4585
Properly tear down TextureView
...
Change-Id: Ic23cd9257889d0abe8cc3fc1d04a66d0505e383e
2011-06-24 17:20:32 -07:00