summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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
|\ \
| * | remove toast from animation benchmarkChris Craik2012-04-041-4/+0
| |/ | | | | | | Change-Id: I9ec2aa57fafbde5875c2f070fe4a33e4d33ee2ae
* | Merge "Add View textAlignment"Fabrice Di Meglio2012-04-045-7/+1229
|\ \ | |/ |/|
| * Add View textAlignmentFabrice Di Meglio2012-04-045-7/+1229
| | | | | | | | | | | | | | | | | | | | | | - fix bug #6163772 - use bits field and pack them as much as possible - take care of "supportsRtl" flag from Manifest - add visual unit tests CTS unit tests in another CL Change-Id: Ib77c4eb423854209af130688c5ef9977401a9c1c
* | Merge "New libhwui test activity"Romain Guy2012-04-034-0/+604
|\ \ | |/ |/|
| * New libhwui test activityRomain Guy2012-04-034-0/+604
| | | | | | | | Change-Id: I0ce4bc665f117d7c0ed47670ceb4ed6f9b54d85c
* | Merge "Optimization of alpha with DisplayList properties"Chet Haase2012-04-033-0/+235
|\ \
| * | Optimization of alpha with DisplayList propertiesChet Haase2012-04-033-0/+235
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some views (such as ImageView and TextView) handle non-opaque alpha values directly. This was originally an optimization, but we can handle it faster in many cases without this optimization when DisplayList properties are enabled. Basically, if a view has non-overlapping rendering, we set the alpha value directly on the renderer (the equivalent of setting it on the Paint object) and draw each primitive with that alpha value. Doing it this way avoids re-creating DisplayLists while getting the same speedup that onSetAlpha() used to get pre-DisplayList properties. Change-Id: I0f7827f075d3b35093a882d4adbb300a1063c288
* | | Merge "Fix bug #6140391 Make RTL awareness as an opt-in into the ↵Fabrice Di Meglio2012-04-031-1/+3
|\ \ \ | |/ / |/| | | | | AndroidManifest"
| * | Fix bug #6140391 Make RTL awareness as an opt-in into the AndroidManifestFabrice Di Meglio2012-04-031-1/+3
| |/ | | | | | | | | | | | | | | - introduce "supportsRtl" as a new application attribute in the AndroidManifest - "supportsRtl" default value is FALSE (no RTL support) - adapt the View layoutDirection and textDirection logic to take care of "supportsRtl" value Change-Id: I5e4f9f576e14f35dedc6b0c29a7142c397f598e0
* | Merge "Re-enable DisplayList properties."Chet Haase2012-04-023-1/+355
|\ \
| * | Re-enable DisplayList properties.Chet Haase2012-04-023-1/+355
| |/ | | | | | | | | | | | | | | | | | | Re-enabling DisplayList properties last week caused some app errors due to the way that some transforms were being handled (specifically, those coming from the old Animations and ViewGroup's childStaticTransformation field). This change pushes *all* transform/alpha data from View.draw() into the view's DisplayList, making DisplayLists more encapsulated (and correct). Change-Id: Ia702c6aae050784bb3ed505aa87553113f8a1938
* | Rename ioReceive and ioSendJason Sams2012-03-298-0/+556
|/ | | | | | First checkin of Allocation IO test Change-Id: I26379e442796caab95a089dbb42b02192f4cc563
* Add fp_relaxed pragma to image processing test.Jason Sams2012-03-282-0/+2
| | | | | | BUG=4540719 Change-Id: I147587b50106208a2280712ae69ca2bc111a2b77
* Add new thumbnail animation.Dianne Hackborn2012-03-231-1/+1
| | | | | | | | | | Use it for recent tasks switching. Not perfect yet by far, but something. Also fix issue #6186758: Twitter crashes after tapping on a tweet on JRM75D Change-Id: I49bf6c94aafde875ac652dedaf96d6c08cc9e7d2
* More rearrangement and renaming.Alex Sakhartchouk2012-03-223-106/+106
| | | | Change-Id: Ia922c5bff1734a29b786ba95065f81c8dedf90cd
* Merge "Changing rsg to rs where functions don't rely on graphics."Alex Sakhartchouk2012-03-213-122/+122
|\
| * Changing rsg to rs where functions don't rely on graphics.Alex Sakhartchouk2012-03-213-122/+122
| | | | | | | | Change-Id: I92a93d7a520b4a5416be88c7c05c2f8d3cc89243
* | Factor viewport scaling into coverage calculationChris Craik2012-03-202-6/+7
|/ | | | Change-Id: I32114ead0ca42eaf2161d516a4281da216b61fa4
* Try to make error messages more useful and improve ANR handlingOmari Stephens2012-03-132-20/+20
| | | | | Bug: 6128185 Change-Id: I6032a199c26577fb3058ff4038085de257781d81