1830 Commits

Author SHA1 Message Date
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
Isaac Levy
bc7dfb58bf WifiWatchdogService - disable bad connections
Complete rewrite of WifiWatchdogService.java.  Checking for connectivity and managing wifi upon failure detection.

Change-Id: Ifcb8b5d7e0112cbc2f2282d76fdc93ea15527a44
2011-06-24 15:48:10 -07:00
Romain Guy
02ccac69fd Code cleanup
Change-Id: I64c346004e0adf9a776d0315534d4fe445f0c0ca
2011-06-24 13:20:23 -07:00
Fabrice Di Meglio
039ad7a431 Merge "add TextView page to BiDiTests" 2011-06-23 17:14:00 -07:00
Stephen Hines
7c1747c13c Merge "Remove verbose logging, update test app and docs." 2011-06-23 17:07:10 -07:00
Stephen Hines
3d782666d7 Remove verbose logging, update test app and docs.
Change-Id: I6659c5e51a747011239128dc2682a5d78aecfa26
2011-06-23 16:18:28 -07:00
Philip Milne
a1f7b10f72 Handle baseline aligned rows in which some components define baseline and some don't.
Also:

. Make all of the methods in Alignment package private.
. Inlucde Tor's test case

Change-Id: If78a6a3b653723d9e12d6b162fd0c86b11a82dff
2011-06-23 11:41:57 -07:00
Doug Felt
468d8afad2 add TextView page to BiDiTests
Change-Id: If6ba2d7f96283041d254d6d53bb268d88fed2c74
2011-06-23 10:01:02 -07:00
Grace Kloba
cf559377b7 Add onSurfaceTextureUpdated to the TextureView listener.
The app needs a way to throttle the producer side. Expose this to enable it.

Change-Id: I04b6a3fc444117a9fc2449fb87c3c834247c8ef1
2011-06-22 23:05:40 -07:00
Romain Guy
8b4512ef20 Merge "Prevent possible NPE in TextureView" 2011-06-22 21:02:31 -07:00
Romain Guy
1ec3a58bcd Prevent possible NPE in TextureView
Change-Id: I539813d614c7eb1f68dad6b605cbad5b5144c5e9
2011-06-22 21:01:58 -07:00
Romain Guy
c2e0a1f1cd Merge "Add the ability to specify the opacity of a TextureView" 2011-06-22 20:59:46 -07:00
Romain Guy
a9489274d6 Add the ability to specify the opacity of a TextureView
TextureView assumes its content is opaque by default.

Change-Id: Iba873423566a5b67c388081838bd910dceba32ba
2011-06-22 20:58:11 -07:00
Xia Wang
fdd33e0144 Merge "Fix issues in Opengl Benchmark tests: - fix live wallpaper drawing, bind the global vertex program after it - scale the icons according to render surface in display icons, also add a background for the icon display test case." 2011-06-22 19:34:34 -07:00