summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* A few small cleanning-ups.Huahui Wu2011-01-242-5/+0
| | | | | | | | | | | | 1. Remove mDeferMultiTouch in WebView, it was for testing only but we don't need it now since we always pass MultiTouch to WebKit. 2. Remove the use of mDeferMultiTouch in DRT tests. 3. Correct the index of getX(Y) for the second touch point in the debug string of MotionEvent. Change-Id: Ib63cfc5935af1a169ed26b2b138f74908492bc18
* Merge "visibility ("lights out") API." into honeycombJoe Onorato2011-01-231-0/+24
|\
| * visibility ("lights out") API.Joe Onorato2011-01-231-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Views may setSystemUiVisibility() to recommend that the system chrome (status bar or other UI) show or hide itself. (This functionality was previously available only via the FLAG_FULLSCREEN window flag for some SystemUI implementations.) 2. Views may register a OnSystemUiVisibilityChangedListener on a view, and find out when the system UI actually appears or disappears, allowing apps to coordinate the appearance of their own UI if desired. Bug: 3241144 Change-Id: Ia1758d94099182d49a1e3688ea2738ae4995b829
* | Fix bitmap meshes to work in display lists.Romain Guy2011-01-231-11/+23
| | | | | | | | Change-Id: Ie226d049840942d9ad9cf58e0c19132f49d62a75
* | Add support for arcs.Romain Guy2011-01-231-1/+25
| | | | | | | | Change-Id: I96c057ff4eb1b464b03f132da0b85333777bee4f
* | Add support for ovals and stroked rectangles.Romain Guy2011-01-231-0/+25
|/ | | | Change-Id: I1292e241386763c82e6622c8f7ed90b0f5b7bd4f
* Merge "b/3369602 Using Math.round() to convert float coordinates to ↵Huahui Wu2011-01-212-4/+4
|\ | | | | | | integers." into honeycomb
| * b/3369602 Using Math.round() to convert float coordinates to integers.Huahui Wu2011-01-212-4/+4
| | | | | | | | Change-Id: If4da01046c909667ce57a849569ae6b1acefb939
* | Merge "Move URLTest tests to libcore." into honeycombJesse Wilson2011-01-211-228/+0
|\ \
| * | Move URLTest tests to libcore.Jesse Wilson2011-01-211-228/+0
| |/ | | | | | | | | | | These tests were migrated to libcore in change ID I5a6bcdf1c03d0c36b11552ae086d0dece0440f64. Change-Id: Idc2d8fc3681b77c9a4c19a192a202bc556a48d23
* | Add support for drawBitmapMesh().Romain Guy2011-01-202-0/+76
| | | | | | | | Change-Id: Ic77f9c534bb90dc7b9458299544bd50b8b6ae6a5
* | DRT needs to clear cookies between tests.Ben Murdoch2011-01-201-0/+2
| | | | | | | | | | | | Fixes failure seen in fast/cookies/local-file-can-set-cookies.html Change-Id: I08b8a0fcf87003fa4621dce08604bf42e70e4635
* | Add case-sensitive tests to DRT ignore list.Ben Murdoch2011-01-201-0/+2
| | | | | | | | | | | | | | | | | | | | /mnt/sdcard forces lowercase, but these tests verify the capitialization of the filename. We will never pass them with DRT1 while storing tests on external storage. DRT2 will fix this as it does not store any files locally (hence DRT2's ignore list is unchanged). Change-Id: Ia062ad77ad312a34db61d606a1d1382ac1d7b70e
* | Add rounded rects and circles support to OpenGLRenderer.Romain Guy2011-01-192-0/+101
|/ | | | Change-Id: I6cedf2b495d58de7c0437096809fa9e4518a1b8c
* Merge "Make embedded hardware layers work. Bug #3369474" into honeycombRomain Guy2011-01-193-0/+165
|\
| * Make embedded hardware layers work.Romain Guy2011-01-193-0/+165
| | | | | | | | | | | | Bug #3369474 Change-Id: Ib6d7fb44eedda9dc2933b5e1b176f307968af91d
* | further remove calls to runFinalizationGuang Zhu2011-01-181-2/+1
|/ | | | | | apparently these calls may deadlock as well... Change-Id: I83132aa50f4e49a170be2b960f6c3236f14745c9
* Add support for Paint::setTextSkewX in OpenGLRenderer.Romain Guy2011-01-181-2/+14
| | | | | | Bug #3360888 Change-Id: I42e81a1f10bf7b9ae1c63ca8add1878fd59a1e8a
* Add support for skew()Romain Guy2011-01-182-0/+65
| | | | Change-Id: Ia3a9a867f74fd78b61f75179e3788fdc2f0cacd0
* Improve hardware layers rendering speed when setting a View's alpha.Romain Guy2011-01-171-0/+2
| | | | Change-Id: Ib1275677f531c60d9919978c5538c663fdb823b5
* Merge "Add BitmapFactory.Options.inMutable to load mutable bitmaps." into ↵Romain Guy2011-01-171-0/+9
|\ | | | | | | honeycomb
| * Add BitmapFactory.Options.inMutable to load mutable bitmaps.Romain Guy2011-01-171-0/+9
| | | | | | | | Change-Id: Iaa222127520f3aa55072d44af12ee3477908b876
* | Merge "Fix 9patch rendering in ExpandableListView." into honeycombRomain Guy2011-01-164-0/+66
|\ \ | |/
| * Fix 9patch rendering in ExpandableListView.Romain Guy2011-01-164-0/+66
| | | | | | | | Change-Id: I60843d61a40b0cb7dd09923cb4489a5a76f20486
* | Need to update the largeIcon for notifications when we're reapplying the views.Joe Onorato2011-01-153-2/+18
|/ | | | | Bug: 3298062 Change-Id: I6bb72c0b93e00a9de8cc2633ac07add0a572a20f
* Merge "when test case times out, stop loading first" into honeycombGuang Zhu2011-01-141-0/+1
|\
| * when test case times out, stop loading firstGuang Zhu2011-01-141-0/+1
| | | | | | | | | | | | | | | | current timeout mechanism does a text dump and then move to next case. sometimes the text dump causes WebView to spin, and doing a stopLoading seems to resolve some of the cases. Change-Id: Iae08f9c93b2da3e805cacae43f80083fdf1bc5e1
* | remove runFinalizationSync callsGuang Zhu2011-01-131-3/+0
|/ | | | | | | | | according to csharpiro, these calls are unnecessary and may lead to problems. bug: 3350034 Change-Id: I25a80e4e7610901e75622334bf97d6c1bed17cbd
* Improve error handling (NPE in DRT2)Philippe Marti2011-01-132-8/+13
| | | | | Bug: 3284126 Change-Id: I7f8c6259f2932d2b1a10a2f9612866786d425da9
* Merge "change webkit test data path" into honeycombGuang Zhu2011-01-125-20/+20
|\
| * change webkit test data pathGuang Zhu2011-01-125-20/+20
| | | | | | | | | | | | | | | | path changed from "/sdcard/android/" to "/sdcard/webkit/". the old path clashes with "/sdcard/Android/" and has some odd issues under FUSE Change-Id: I57102dca99612bdd7b4d1f196e43436cd1276281
* | Merge "Possibly fix bad notification updates." into honeycombJoe Onorato2011-01-121-1/+1
|\ \ | |/ |/|
| * Possibly fix bad notification updates.Joe Onorato2011-01-121-1/+1
| | | | | | | | | | | | | | | | | | I think what was happening is that it was using a different layout but we were trying to reapply the RemoveViews because of some bad boolean logic. This fixes that, and adds some better debugging that might show us what else is happening. Bug: 3298062 Change-Id: I0984f24cb2960166c79b9f2cc7c6a98bd75e17ba
* | Remove minimum heap size test now that the underlying interface is gone.Carl Shapiro2011-01-121-67/+0
|/ | | | Change-Id: I4431247286dfd93ad0c3af9ebbba2ece92c35308
* Merge "Better backend for hardware layers." into honeycombRomain Guy2011-01-113-1/+119
|\
| * Better backend for hardware layers.Romain Guy2011-01-113-1/+119
| | | | | | | | | | | | | | | | With this new backend, a hardware layer is only recreated when its associated view is udpated. This offers fast composition in GL and fast update of the layer in GL as well. Change-Id: I97c43a612f5955c6bf1c192c8ca4af10fdf1d076
* | Update AppWidgetHostActivity to work again.Joe Onorato2011-01-111-6/+10
|/ | | | Change-Id: I301b59ef49423d45b052edb350856421c7844fba
* Merge "Composite layers as regions." into honeycombRomain Guy2011-01-101-2/+3
|\
| * Composite layers as regions.Romain Guy2011-01-101-2/+3
| | | | | | | | | | | | | | | | | | | | This change detects what area of a layer was drawn into and generates a mesh to match this area exactly. This can be used to avoid blending empty pixels when the layer is composited. This change also adds proper layers support to lines rendering and implements layers composition in a more readable way. Change-Id: I4a5588b98b19bd66891ebdc39631b193c5e31999
* | Make AppWidgetService handle components enabling and disabling.Joe Onorato2011-01-102-0/+21
|/ | | | Change-Id: Ie6b75cb90be38bbce694ccf2d5a342d7f0172fa4
* Remove tests for dead API.Elliott Hughes2011-01-101-90/+0
| | | | | | | | We removed the implementation, so there's no point trying to test it. (The methods are still there for binary compatibility, which is why this still compiled.) Change-Id: I51f392f3dab542fca0c80fab4974354e2c689b9e
* New layers API for Views.Romain Guy2011-01-0610-28/+330
| | | | | | | | | This API can be used to back a view and its children with either a software layer (bitmap) or hardware layer (FBO). Layers have various usages, including color filtering and performance improvements during animations. Change-Id: Ifc3bea847918042730fc5a8c2d4206dd6c9420a3
* We are now Honeycomb.Dianne Hackborn2011-01-061-1/+1
| | | | Change-Id: I69dadd57184d2d80f426c1c862ed0a040c8baf03
* bugfix: remove dump timeout message after dump is receivedGuang Zhu2010-12-231-0/+1
| | | | Change-Id: I4061ccf77d47045a23065d27d6c9fa7452d085cc
* Throw exception if webview dump times outGuang Zhu2010-12-231-1/+11
| | | | | | | | if a webview dump times out, normally it's already in a bad state, throwing runtime execption will generate a crash on the test case and make the test move forward. Change-Id: Id7430700db6b6d90160d60d23debd250b1731789
* LayoutLib: support for layers.Xavier Ducrohet2010-12-224-15/+27
| | | | | | | | | | | | | | | | | | | | | | | Layers require that drawing methods potentially draw in more than one bitmaps. To handle this this patch offers the following: - move all drawing methods to use Drawable - Drawables are now handled by GcSnapshot since its the one handling the layers - moved Canvas_Delegate.createCustomGraphics to GcSnapshot which does not expose the Graphics2D objects anymore so its draw() methods are the only way to draw. - handles creating layers in GcSnapshot.save() and blitting them in restore() Other changes: - Clean up the create/save API in GcSnapshot - Fixed drawing bitmaps with alpha and other composite modes. Change-Id: I1e230087493d044a10de71f4b6d29083e3f3bf64
* Merge "Remove unused performance tests."Jesse Wilson2010-12-2113-4559/+0
|\
| * Remove unused performance tests.Jesse Wilson2010-12-2113-4559/+0
| | | | | | | | Change-Id: I5a252e314831716f99ce5fbb32d983c7473ee787
* | LayoutLib: Misc rendering fixes.Xavier Ducrohet2010-12-213-20/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - always set up the stroke. Paint may not have the proper style when drawing lines. stroke should still be setup. - Fixed vertical linear gradient. Old code generated a gradient ratio of NaN - Fixed alpha rendering when using shaders. In that case the alpha channel from the paint color should be used in conjunction with the shader. - Fixed miter limit. Java expects the value to be multiplied by the stroke width - Fixed support for drawing ALPHA_8 bitmaps. Java2D doesn't have bitmaps with only alpha channels, so we keep using ARGB bitmaps but when drawing them into a bitmap we erase the color information. Change-Id: I4f04341fc843e3f7dadd1fdbf709b11a4f1e24b9
* | LayoutLib: support for Path and BitmapShader using delegates.Xavier Ducrohet2010-12-216-14/+26
|/ | | | | | | | | | Also created delegates for all missing shader, xfermode and patheffect classes. Moved the logic of the xfermode, and patheffects that was in Canvas_Delegate into the xfermode/patheffect classes, and added support (in all 3 clases) for knowing if the shader/xfermode/patheffect is actually supported or not. Make use of fidelityWarning in LayoutLog if they are not.