summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Add an API to set the transform on a TextureView's surface texture.Romain Guy2011-08-161-2/+2
| | | | | | Bug #5156689 Change-Id: I635a625885c9b832a60d44ece0de7613ceb84109
* Fix fullScreenAlert test.Daniel Sandler2011-08-101-4/+7
| | | | Change-Id: I3df0a998347c9e3d21e067381bd22eb9a0862f0d
* Add a return value for SurfaceTextureListener#onSurfaceTextureDestroyed.Grace Kloba2011-08-094-4/+8
| | | | | | | If returns true, the SurfaceTexture will be released by TextureView. If returns false, the client needs to release the SurfaceTexture. Change-Id: I946f71e337ad4170c168854ac27e028b82489c8c
* Merge "Migrate perf-critical functions away from librs."Stephen Hines2011-08-083-0/+162
|\
| * Migrate perf-critical functions away from librs.Stephen Hines2011-08-083-0/+162
| | | | | | | | | | | | BUG=3497315 Change-Id: Ieaa0d64933767d422aa62740d72b31042dcd4a2f
* | Merge "Fix bug #4584320 Single Line EditText not drawing correctly with ↵Fabrice Di Meglio2011-08-083-22/+80
|\ \ | | | | | | | | | spans applied (ICS)"
| * | Fix bug #4584320 Single Line EditText not drawing correctly with spans ↵Fabrice Di Meglio2011-08-053-22/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | applied (ICS) - use correct 0 index for computing advance thru the char buffer (the buffer is created from TextUtils.getChars()) - udpate unit tests Change-Id: Iaeb07658b79ecdf5e17395d55afb7c84965bb0fc
* | | Merge "Update BiDi unit tests"Fabrice Di Meglio2011-08-052-3/+20
|\ \ \ | |/ / | | / | |/ |/|
| * Update BiDi unit testsFabrice Di Meglio2011-08-052-3/+20
| | | | | | | | | | | | - update basic layout for having LTR and RTL TextView Change-Id: Ic4cc6c27d431fe69bb62c55cd76a46ea6e241b4d
* | Remove call to setPadding() in setUseDefaultMargins().Philip Milne2011-08-052-16/+9
| | | | | | | | | | | | | | | | | | | | It is not possible for teh user to override the assigned padding values because the XML attributes are processed in the opposite order. Also, make the XML and Java examples grid3.xml and Activity2.java consistent in preparation for a move to API demos. Change-Id: I47334f9f5a46a8a528067d88350dd70eaa38ff33
* | TileBenchmark label additionChris Craik2011-08-032-4/+6
|/ | | | | | | | bug:5062896 Now uses previously unused methods, and has better labelling. Change-Id: Icc6ec7d1ac915b594c26854aea31710e3f23633c
* Merge "Added automated performance test to TileBenchmark"Chris Craik2011-08-0311-122/+375
|\
| * Added automated performance test to TileBenchmarkChris Craik2011-08-0211-122/+375
| | | | | | | | | | | | | | | | | | | | | | | | | | bug:5062896 Depends on external/webkit change: https://android-git.corp.google.com/g/#change,125566 Loads pages from SD card, and scrolls through them reporting results. Added contentInvalidateAll hidden WebView method, and made pageSwapCallback extensible. Change-Id: I9f7377aad6fd7c101177dde552a72357c8b4e400
* | Merge "Paint style and stroke width affect text rendering. Bug #5112207"Romain Guy2011-08-021-0/+10
|\ \
| * | Paint style and stroke width affect text rendering.Romain Guy2011-08-021-0/+10
| | | | | | | | | | | | | | | | | | Bug #5112207 Change-Id: Ic34037ace21a5058ba23dd15e51aae58c998454d
* | | Merge "Fix for http://b/issue?id=5081478"Philip Milne2011-08-021-35/+37
|\ \ \ | |/ / |/| |
| * | Fix for http://b/issue?id=5081478Philip Milne2011-08-021-35/+37
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | GridLayout needs to call measure on children after it knows how large children should be Also: . Remove deprecated methods and XML attributes. . Stop Spaces having margins by default. . Remove getSpacers() and findUsed() . Change default for row/columnOrderPreserved() from false to true. . Improve automatic index allocation mechanism to use individual maxima. Change-Id: Id79fbb2e70a0bf2002191ec2a9746547d896de72
* | Allow Canvas.setBitmap() to receive a null Bitmap.Romain Guy2011-08-011-0/+1
|/ | | | Change-Id: I6096f0b44866e532ccd96a29c816bf34d48c1dc2
* Merge "The fullest of fullscreen modes."Daniel Sandler2011-07-291-15/+37
|\
| * The fullest of fullscreen modes.Daniel Sandler2011-07-281-15/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | View.setSystemUiVisibility() now properly accepts a bitfield, including: * SYSTEM_UI_FLAG_LOW_PROFILE: "lights out mode" (previously known, erroneously, as STATUS_BAR_HIDDEN) * SYSTEM_UI_FLAG_HIDE_NAVIGATION: for when you need every single pixel on a device that also has a navigation bar These flags are painstakingly aggregated across the entire view hierarchy and carefully delivered to the status bar service, which in turn gently passes them along to the bar implementation. To really get access to the whole screen, you need to use HIDE_NAVIGATION in conjunction with FLAG_FULLSCREEN and FLAG_LAYOUT_IN_SCREEN. See development/samples/Overscan for an example of how to do this. Change-Id: I5fbfe009d9ceebbbf71db73f14a7008ea7c1d4da
* | Merge "Correctly apply linear filter to drawBitmap(Rect, Rect)"Romain Guy2011-07-283-0/+81
|\ \
| * | Correctly apply linear filter to drawBitmap(Rect, Rect)Romain Guy2011-07-283-0/+81
| |/ | | | | | | Change-Id: I1049282e1996b1020c92cb7bec46e9f28e94e967
* | Revert "Disable Crankshaft in DRT for performance testing."Ben Murdoch2011-07-281-1/+1
|/ | | | | | | This reverts commit 3f9d171e80eea1162c051dd7200dd828fa258e09. Bug: 5052287 Change-Id: I8cd4a753e3a5a177934757a67880627c5c14e1af
* Disable Crankshaft in DRT for performance testing.Ben Murdoch2011-07-271-1/+1
| | | | | Bug: 5052287 Change-Id: I9197f116d36c4cddd533f4aa07974f8c2d4678fe
* Cleanup sample code.Jason Sams2011-07-251-1/+1
| | | | Change-Id: Iac664f6a97e8a68f5227011ce0960d25e7d901b4
* Merge "Add size param to rsForEach bug 5074640"Jason Sams2011-07-254-8/+8
|\
| * Add size param to rsForEachJason Sams2011-07-254-8/+8
| | | | | | | | | | | | | | bug 5074640 Change-Id: I395bd8b295beacc979681ccdd3451d9d6cc3d672
* | Fix for http://b/issue?id=5064532Philip Milne2011-07-252-21/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5064532: GridLayout with initial "stretchy" row and "gone" view in last row doesn't stretch properly Also: . Infer stretchibility from whether or not gravity is defined. . Make algorithms for handling flexibility within cell groups consistent with those acting between cells groups (via constraint system). . Hide and deprecate methods taking flexibility argument. . Hide and deprecate CAN_STRETCH constant. Both deprecated features will be removed after references are removed from platform. Change-Id: Iabf2bf19f35cf30b8ec49c99b49a0550fd495125
* | Merge "Fixing bitmap invalidation bug."Alex Sakhartchouk2011-07-221-2/+0
|\ \ | |/ |/|
| * Fixing bitmap invalidation bug.Alex Sakhartchouk2011-07-201-2/+0
| | | | | | | | Change-Id: I47776f2c1a567342f0826850237c15a5d6315f71
* | Merge "New log format, Manual log generation, plus logging of invalidates"Chris Craik2011-07-2110-102/+326
|\ \
| * | New log format, Manual log generation, plus logging of invalidatesChris Craik2011-07-2110-102/+326
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:5062896 Added features to TileProfiler, updated jni interface to allow querying of arbitrary log data via strings. Depends on the following webkit change: https://android-git.corp.google.com/g/#change,122779 For new logging jni interface, and logging of invalidates. Change-Id: I80ba6702b87e86ec76e5b0eafde45f4ef3a80ad3
* | | Merge "Add looper profiling to adb shell am"Romain Guy2011-07-211-3/+0
|\ \ \
| * | | Add looper profiling to adb shell amRomain Guy2011-07-211-3/+0
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | To profile the looper, run the following command: adb shell am profile looper start <process> <file> adb shell am profile looper stop <process> Change-Id: I781f156e473d7bdbb6d13aaffeeaae88bc01a69f
* | | Adding accessibility support to the Status Bar.Svetoslav Ganov2011-07-211-4/+4
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Added content description to pretty much all animals in the zoo including buttons in the navigation bar, notifications and status icons for battery, signal, data, etc. 2. Rectored to avoid ovelaying views since they block touch exploratino. In general overlaying views cause trouble for touch exploration and accessibility in general. 3. Avoid sending accessibility events in case the user is touching outside of the StatauBAr panels to avoid confusion. 4. Added records to accessibility events in the places where this would help the presentation. So the event comes from a given "leaf" view and its predecessor is adding a record to the event for itself to provide more cotext. It is up to the accessiiblity service to choose how to present that. bug:4686943 Change-Id: I1c1bd123d828fb10911bca92130e9a05c1f020b3
* | Fix bug #4772392 Check what needs to be done for RTL specific new attributes ↵Fabrice Di Meglio2011-07-203-0/+9
|/ | | | | | | | | | 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
* Merge "Added TileBenchmark"Chris Craik2011-07-1915-0/+1207
|\
| * Added TileBenchmarkChris Craik2011-07-1815-0/+1207
| | | | | | | | | | | | | | Adds TileBenchmark app, which loads pages in webview and scrolls through them automatically, measuring rendering and allocation information. Change-Id: Ieaf5bbcec604c99aaf16822915e58bfc495011ec
* | Merge "Test Gallery layout direction."Fabrice Di Meglio2011-07-1916-1/+201
|\ \
| * | Test Gallery layout direction.Doug Felt2011-07-1816-0/+200
| | | | | | | | | | | | Change-Id: If88f559e8cc46bb72ed45f33d7fc52802f1e1246
* | | Merge "Update TextureView.lockCanvas() test."Romain Guy2011-07-181-15/+58
|\ \ \
| * | | Update TextureView.lockCanvas() test.Romain Guy2011-07-181-15/+58
| | | | | | | | | | | | | | | | Change-Id: Ib0f613fcd6ba64a696936e4e2b386b96d76b828a
* | | | Fix bug #5037425 Canvas.drawText can't handle Right-to-Left text and text ↵Fabrice Di Meglio2011-07-183-50/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge "Add unit tests for bug #5037425 Canvas.drawText can't handle ↵Fabrice Di Meglio2011-07-187-4/+183
|\ \ \ \ | |/ / / |/| | | | | | | Right-to-Left text and text composing"
| * | | Add unit tests for bug #5037425 Canvas.drawText can't handle Right-to-Left ↵Fabrice Di Meglio2011-07-187-4/+183
| | | | | | | | | | | | | | | | | | | | | | | | text and text composing Change-Id: Ic71a563ad0f4ba6de5b7f030f04a3a9615b7617c
* | | | Merge "Derive GridLayout's 'gap' constants from new "default_gap" entry in ↵Philip Milne2011-07-181-3/+1
|\ \ \ \ | | | | | | | | | | | | | | | dimens.xml."
| * | | | Derive GridLayout's 'gap' constants from new "default_gap" entry in dimens.xml.Philip Milne2011-07-181-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | Add lock/unlockCanvas to TextureViewRomain Guy2011-07-182-0/+86
| |/ / / |/| | | | | | | | | | | | | | | | | | | With this change, TextureView has feature parity with SurfaceView. Change-Id: I4ef2da33420fc9590f868636ae72a5a6de61965b
* | | | Merge "Clean test APIs for Harfbuzz support"Fabrice Di Meglio2011-07-181-28/+4
|\ \ \ \
| * | | | Clean test APIs for Harfbuzz supportFabrice Di Meglio2011-07-151-28/+4
| |/ / / | | | | | | | | | | | | | | | | | | | | - also update unit tests Change-Id: I557f61e84c4c4b6165163b783d9c679a6b3b4106