summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Fix TextureView OpenGL sample" into jb-devRomain Guy2012-05-161-13/+16
|\
| * Fix TextureView OpenGL sampleRomain Guy2012-05-161-13/+16
| | | | | | | | | | | | | | The sample was doing something dumb: instead of binding the texture unit to the shader's sampler, it was binding the texture name. Oops. Change-Id: I13450dacbbd2dad362a2573aebb95e8eb87b25f0
* | Move gfx samples to test directory for compatibility testing.Jason Sams2012-05-1664-0/+3665
|/ | | | Change-Id: Iede1c0a14abf9aa3f31ab219fba3bf3a15ef8c90
* Merge "Add unit tests for convert (with relaxed precision)." into jb-devStephen Hines2012-05-153-0/+44
|\
| * Add unit tests for convert (with relaxed precision).Stephen Hines2012-05-143-0/+44
| | | | | | | | | | | | BUG=6127576 Change-Id: Ia5b4efa99de4f6df644779eeee6763eb31be4d90
* | Remove all Dalvik allocations from Cavnas.drawBitmap(int[], ...)Romain Guy2012-05-141-1/+6
|/ | | | Change-Id: Ie28538a2104d21154fdc78a56525e7403f08287d
* Test clamp (full and relaxed precision).Stephen Hines2012-05-105-0/+141
| | | | | | BUG=6127576 Change-Id: I9501be7db42daa11dcc71bd619a993c80ef097de
* Merge "Hide RTL related APIs - DO NOT MERGE" into jb-devFabrice Di Meglio2012-05-041-0/+0
|\
| * Hide RTL related APIs - DO NOT MERGEFabrice Di Meglio2012-05-041-0/+0
| | | | | | | | | | | | - fix bug #6441155 API review: @hide RTL layout APIs Change-Id: I13c5ea5f579cecffed9d517f06180ab0576cd26a
* | Merge "Fix NPEs in StatusBarTest." into jb-devDaniel Sandler2012-05-041-7/+15
|\ \ | |/ |/|
| * Fix NPEs in StatusBarTest.Daniel Sandler2012-05-041-7/+15
| | | | | | | | Change-Id: I9245a297a9a09c09415dd38e662692665ae7e109
* | Fix hang/crash in native path codeChet Haase2012-05-032-0/+110
|/ | | | | | | | | | | | | | | | An optimization for paths is to only create a texture for the original native Path object, and have all copies of that object use that texture. This works in most cases, but sometimes that original path object may get destroyed (when the SDK path object is finalized) while we are still referencing and using that object in the DisplayList code. This causes undefined errors such as crashes and hanging as we iterate through the operations of a destroyed (and garbage-filled) path object. The fix is to use the existing ResourceCache to refcount the original path until we are done with it. Issue #6414050 Analytics Dogfood App crashes reliably on Jellybean Change-Id: I5dbec5c069f7d6a1e68c13424f454976a7d188e9
* Merge "Corrects invalidation logic for layered views" into jb-devChet Haase2012-05-023-0/+269
|\
| * Corrects invalidation logic for layered viewsChet Haase2012-05-023-0/+269
| | | | | | | | | | | | | | | | | | | | | | | | | | A bug in the invalidation logic meant that changes to a view would not cause parents in the view hiearchy that were set to have a layer (e.g., View.LAYER_TYPE_HARDWARE) to get invalidated properly. So even though the child view was all set to recreate its display list according to the property change, the layer in the tree above it would stay as-is, meaning that the change would not show up on the screen. Issue #5887530 DropTarget text does not change color with the icon Change-Id: Ie6eac4f406d172cb437822d9fe76340ab2afaf1c
* | Start passing element/dim information along with FieldPacker.Stephen Hines2012-05-013-0/+74
| | | | | | | | | | | | BUG=6009244 Change-Id: I3c82c8b40c899b875831f53cf0ad82ea36c1a043
* | Move mesh to end of test list until we fix LLVM.Stephen Hines2012-05-011-1/+1
|/ | | | Change-Id: I8f06e80d7cea4b51e47625186e45ad44adb45b6b
* Fixes for optical bounds feature.Philip Milne2012-04-277-61/+31
| | | | | | | | | | 1. Make the feature opt-in (ViewGroup::layoutMode defaults to CLIP_BOUNDS) without inheritance. 2. Rename COMPONENT_BOUNDS to CLIP_BOUNDS. 3. Rename LAYOUT_BOUNDS to OPTICAL_BOUNDS. 4. Complete GridLayout implementation. 5. Change the default_gap between components to 8dp, to align with the Style Guide. Change-Id: I8d40dfc5f4ca469f6424eb3ff60d07bec56e3a9f
* Merge "Create a catch-all testcase to handle asynchronous crashes and ANRs" ↵Omari Stephens2012-04-272-56/+132
|\ | | | | | | into jb-dev
| * Create a catch-all testcase to handle asynchronous crashes and ANRsOmari Stephens2012-04-262-56/+132
| | | | | | | | | | Bug: 5913065 Change-Id: I391aff6919a9586159ec0898279e7254eed990f8
* | Add tests for uncaught exceptions from methods called through the Java BridgeSteve Block2012-04-261-2/+29
|/ | | | | | | | | | | | | This is a cherry-pick from master. See https://android-git.corp.google.com/g/184260 If a method called on a Java object through the Java Bridge throws an uncaught exception, we throw a JavaScript exception. See WebKit change https://android-git.corp.google.com/g/184252 Bug: 6386557 Change-Id: Ie2a97a26372fb11782b35db09bc2046fb7eb1f86
* Merge "Add tests for reflection and improve JavaDoc for Java Bridge"Steve Block2012-04-241-0/+19
|\
| * Add tests for reflection and improve JavaDoc for Java BridgeSteve Block2012-04-241-0/+19
| | | | | | | | | | Bug: 5461416 Change-Id: Ic339b97a9424d8848f8afd47ba00cbbee4d60c9d
* | Merge "Add useMinimalMemory=true test to TileBenchmark"Chris Craik2012-04-242-0/+21
|\ \
| * | Add useMinimalMemory=true test to TileBenchmarkChris Craik2012-04-192-0/+21
| | | | | | | | | | | | Change-Id: I1d0d0eebbf0847fe03dfbc7176275a40e7ca0c52
* | | Merge "Promote layout debugging code from GridLayout to ViewGroup."Philip Milne2012-04-241-9/+0
|\ \ \ | |_|/ |/| |
| * | Promote layout debugging code from GridLayout to ViewGroup.Philip Milne2012-04-231-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Layout debugging code draws rectangles around: 1. Layout insets (red) 2. Bounds (blue) 3. Margins (magenta) Layout debug mode is enabled with: adb shell setprop debug.layout true Change-Id: Ia155a2d0fbf33693a1e3c040f627ea3a534e1aff
* | | Seperate interface and implementation of 4 WebView classesJonathan Dixon2012-04-232-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GeolocationPermissionsClassic CookieManagerClassic WebIconDatabaseClassic WebStorageClassic Also creats a WebViewFactory top level class - this remains hidden for now, as it's currently only used implicitly by the other public WebView classes to create the provider instances. Bug: 5626244 Change-Id: Id0ca1c16d8058f31a86414bbc0e8a55db4b907ba
* | | follow up file original policy changeGuang Zhu2012-04-191-2/+35
|/ / | | | | | | | | | | enable the access for webview test Change-Id: Iebde5f3175eabf6e084dc1a2fe8b9dce280ebe7c
* | Merge "Expand too-small notifications to fill 64dp."Daniel Sandler2012-04-191-2/+10
|\ \
| * | Expand too-small notifications to fill 64dp.Daniel Sandler2012-04-191-2/+10
| |/ | | | | | | | | | | Also fix NotificationTestList so it runs again. Change-Id: I2fb28cd9cfad25a7a1b17ccef9ccd741c3aa99b0
* | Share Insets instances between views that have the same background (Drawable)Philip Milne2012-04-181-0/+7
|/ | | | Change-Id: I47d93ccca6f553b678d25966d10d7a0a97cfa5ea
* TileBenchmark test app needs read sdcard permissionGuang Zhu2012-04-171-0/+1
| | | | | | | Since the app is using JB API level, it's required to declare an explicit READ_EXTERNAL_STORAGE permission Change-Id: I84142d51aeab4bc28269a6fea716c8663e080118
* Merge "Fixing test affected by API renaming."Alex Sakhartchouk2012-04-173-57/+57
|\
| * Fixing test affected by API renaming.Alex Sakhartchouk2012-04-163-57/+57
| | | | | | | | Change-Id: Ib42e1958b385069461ca9fec1ccd9f578c5d47d3
* | Merge "Build Smoke tests against the SDK."Brett Chabot2012-04-162-5/+5
|\ \
| * | Build Smoke tests against the SDK.Brett Chabot2012-04-162-5/+5
| | | | | | | | | | | | | | | | | | Done so the new 'launch all apps' test can be utilized on older platforms. Change-Id: Ie74ce258ceb372e78a0634a633bbb19dcd8e2779
* | | Merge "Fix for bug 6110465."Philip Milne2012-04-169-1/+100
|\ \ \
| * | | Fix for bug 6110465.Philip Milne2012-04-139-1/+100
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add layout bound metadata to 9-patch files and make layouts take them into account. This CL contains a proposed API for dealing with layout bounds. This solution exposes: 1. Class: Insets - for storing layout Insets (and later possibly padding). 2. Methods: View:(get/set)LayoutInsets() - for storing layoutBounds. 3. Methods: ViewGroup:(get/set)LayoutMode() - for controlling layoutMode. It also iuncudes the changes to GridLayout to support layout bounds. Change-Id: I60c836b6530b61c5abf37f93ee9c44aad73573f1
* | | Extract Vibrator implementation from interface.Jeff Brown2012-04-131-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | Moved the core logic of Vibrator into SystemVibrator, potentially allowing for the creation of other Vibrator subclasses. Fixed several places where we were creating new Vibrator instances unnecessarily instead of getting it from the Context. It is safe to make Vibrator abstract because its constructor was hidden from the SDK so it was not possible to subclass it. Bug: 6334179 Change-Id: I18ece6544c26a7efb2d5099f8346a10aef8a5e18
* | Merge "Unhiding J API's for Renderscript."Alex Sakhartchouk2012-04-123-11/+11
|\ \
| * | Unhiding J API's for Renderscript.Alex Sakhartchouk2012-04-113-11/+11
| | | | | | | | | | | | Change-Id: I8c2d43ccca94549bc6ca1a914106567ccc125503
* | | Minor clean-up in DeviceOrientation and DeviceMotionSteve Block2012-04-122-2/+2
| |/ |/| | | | | | | | | | | | | | | No functional change. See corresponding external/webkit change https://android-git.corp.google.com/g/#change,125700 Change-Id: I2693328cb058820587ac43dd3121818959efd2d0
* | Add tests for rootn() to math_conformance.Stephen Hines2012-04-104-0/+142
| | | | | | | | | | | | BUG=6319010 Change-Id: I3fa7d688e6f3b66f51a1c25a2c2104b659691c8b
* | INetworkStatsSession with lifecycle for caching.Jeff Sharkey2012-04-061-4/+9
|/ | | | | | | | | Users outside system_server now explicitly communicate their lifecycle, which keeps a strong-reference chain to any fully loaded NetworkStatsCollection histories. Bug: 6236498 Change-Id: I8e22739b6e89a626b676967a736d7117fd000778
* Move some APIs from window manager to input manager.Jeff Brown2012-04-051-101/+0
| | | | | | | | | | Simplified input injection API down to just one call. Removed all input state reading API. It was only used by the window manager policy and required a permission that applications could not obtain. READ_INPUT_STATE is now unused and deprecated. Change-Id: I41278141586ddee9468cae0fb59ff0dced6cbc00
* Merge "Support metered Wi-Fi NetworkPolicy."Jeff Sharkey2012-04-051-1/+1
|\
| * Support metered Wi-Fi NetworkPolicy.Jeff Sharkey2012-04-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Add networkId field to NetworkIdentity to identify Wi-Fi networks by SSID. Add support for policies without usage cycles. Only apply mobile policies when SIM state is ready, which is cleaner than just checking for airplane mode. Also avoids creating no-op default policies when subscriberId is null. Bug: 3001465, 3291052 Change-Id: I1f8aaa49a5db306df022c402ea7f3f5d4bc0cfc7
* | Merge "Clean up status bar, system bar, navigation bar management."Dianne Hackborn2012-04-051-1/+1
|\ \ | |/ |/|
| * Clean up status bar, system bar, navigation bar management.Dianne Hackborn2012-04-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The status bar and navigation bar are two completely separate elements, with their own semantics. The system bar now classifies itself as a navigation bar, since that is really how it behaves. This required rewriting the HDMI resizing code, so that it is all done by PhoneWindowManager since that is what is responsible for the size of the navigation bar (and thus now system bar). This actually gets rid of a fair amount of code, and means we can also do the same thing for a pure navigation bar. Likewise the system bar now has the navigation bar ability to be hidden when requested by system UI flags. To get the behavior we want on Xoom, we only allow the nav bar to be hidden when it will help provide a better aspect ratio for showing widescreen videos. Finally the nav/system bar now animates when hidden and shown. Change-Id: Ie927154b68376a0b61802f99171ff56b8da92e7a
* | Merge "remove toast from animation benchmark"Chris Craik2012-04-041-4/+0
|\ \