summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Add APIs to remove tasks.Dianne Hackborn2011-04-122-14/+62
| | | | | | | | | | | | | | | | You can remove sub-tasks inside of a task, or an entire task. When removing an entire task, you can have its process killed as well. When the process is killed, any running services will get an onTaskRemoved() callback for them to do cleanup before their process is killed (and the service possibly restarted). Or they can set a new android:stopWithTask attribute to just have the service automatically (cleanly) stopped at this point. Change-Id: I1891bc2da006fa53b99c52f9040f1145650e6808
* Merge "Rework thumbnails in activity manager."Dianne Hackborn2011-04-084-0/+158
|\
| * Rework thumbnails in activity manager.Dianne Hackborn2011-04-084-0/+158
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We now only keep a thumbnail for the task, not for each activity. However if you use FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET, we will make a new secondary thumbnail for that series of activities. There is a new API for the app to get these secondary thumbnails. Also set a default thumbnail size for non-xlarge screens so we have thumbnails on phones. (We need some smarter code in the platform for computing the actual thumbnail dimensions of the current device). And add a test app to show recent tasks + thumbnails. Change-Id: Ic36759f6635522118a2cb7f156662229a610c492
* | Merge "TextLayoutCache - add glyphs caching"Fabrice Di Meglio2011-04-081-4/+11
|\ \
| * | TextLayoutCache - add glyphs cachingFabrice Di Meglio2011-04-081-4/+11
| |/ | | | | | | | | | | | | | | | | - cache glyphs after Harfbuzz shaping - use "m" prefix for member variables - add temporary API for drawing text with glyphs - update BiDiTest app Change-Id: I619b3f313b15f010018daad21b3e5e486619b4e4
* | Remove the deprecated things from Config.java. These haven't been working ↵Joe Onorato2011-04-076-16/+10
|/ | | | | | since before 1.0. Change-Id: Ic2e8fa68797ea9d486f4117f3d82c98233cdab1e
* Merge "First draft of fbo in renderscript. Updating samples and benchmark"Alex Sakhartchouk2011-04-0410-85/+838
|\
| * First draft of fbo in renderscript.Alex Sakhartchouk2011-04-0110-85/+838
| | | | | | | | | | | | Updating samples and benchmark Change-Id: I469bf8b842fca72b59475c8fa024c12cf0e14954
* | am 5db7fd6b: am f7a9b869: am 1e7fb7ae: Merge "Error in compound ↵Brad Fitzpatrick2011-03-301-0/+42
|\ \ | | | | | | | | | | | | | | | | | | cache-control header." * commit '5db7fd6b70f47f31fbc59f92907b9807f9c4e64d': Error in compound cache-control header.
| * \ am f7a9b869: am 1e7fb7ae: Merge "Error in compound cache-control header."Brad Fitzpatrick2011-03-301-0/+42
| |\ \ | | | | | | | | | | | | | | | | * commit 'f7a9b8691918642db74a667a71028c0a77b527ff': Error in compound cache-control header.
| | * | Error in compound cache-control header.Henrik Baard2011-03-291-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A cache control header containing both no-cache and max-age attribute does not behave as expected. Cache-Control: no-cache, max-age=200000 Will set expired to 20000ms seconds, ignoring the no-cache header. My interpretation is that the no-cache header should not be ignored in this case. Change-Id: Iadd1900e4d2c6c0dacc6bb3e7b944cf78ca9b266
| | * | Delete browerplugin tests - do not mergeJean-Baptiste Queru2011-01-2913-1160/+0
| | | | | | | | | | | | | | | | | | | | | | | | Those don't build in all environments. Change-Id: Ie564d464d2745df0114236f2c28aa1254d0f65b5
| | * | am ba501785: Merge "Implement issue #3116702: New manifest tags for ↵Dianne Hackborn2010-10-211-0/+6
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | supported screen sizes DO NOT MERGE" into gingerbread Merge commit 'ba501785c7b298198d1c6e4787fd40e98f97da67' into gingerbread-plus-aosp * commit 'ba501785c7b298198d1c6e4787fd40e98f97da67': Implement issue #3116702: New manifest tags for supported screen sizes DO NOT MERGE
| | | * | Implement issue #3116702: New manifest tags for supported screen sizes DO ↵Dianne Hackborn2010-10-211-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NOT MERGE Change-Id: Iabf64d86c89d387ffbfbc39f950d308a73fe17eb
* | | | | Fix text redering issue where the text was sometimes truncatedFabrice Di Meglio2011-03-295-36/+117
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | - mostly was visible in Settings apps / Wi-Fi networks summary info for each network - correctly setup the local SkPaint for advances computation - improve test app for adding live resizing Change-Id: Ia031fe1b115b521ba55c7e68f2a26300f02e48ca
* | | | Merge "Use Harfbuzz instead of ICU4C for computing advances"Fabrice Di Meglio2011-03-237-0/+380
|\ \ \ \
| * | | | Use Harfbuzz instead of ICU4C for computing advancesFabrice Di Meglio2011-03-227-0/+380
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - use Harfbuzz shaper for shaping and getting glyphs - add test app for showing result of drawText() and drawGlyphs() - add private API in Canvas and Paint for test app Change-Id: Ia15be216f8636d2d864066e9b7de2f53008c30f6
* | | | | Update GL textures when changing a Bitmap's pixelsRomain Guy2011-03-212-0/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug #4146495 Change-Id: I4fe3f8501373b86b164af11ae51642b140035bb8
* | | | | Add support for drawPoint() and drawPoints().Romain Guy2011-03-211-2/+30
| | | | | | | | | | | | | | | | | | | | Change-Id: I01bef50c08ec3160f8d40dc060b2cf6c2e4d7639
* | | | | am b245e31f: am ee7ace06: Merge "Fix rendering artifact in edge fades. Bug ↵Romain Guy2011-03-143-1/+40
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | #4092053" into honeycomb-mr1 * commit 'b245e31fa8dd1ad6a59ccf858154f3c7b92e0eb8': Fix rendering artifact in edge fades. Bug #4092053
| * | | | Merge "Fix rendering artifact in edge fades. Bug #4092053" into honeycomb-mr1Romain Guy2011-03-143-1/+40
| |\ \ \ \
| | * | | | Fix rendering artifact in edge fades.Romain Guy2011-03-143-1/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug #4092053 The problem always existed but was made visible by partial invalidation. When saving a layer, the renderer would try to postpone glClear() operations until the next drawing command. This however does not work since the clip might have changed. The fix is rather simple and simply gets rid of this "optimization" (that turned out to be usless anyway given how View issues saveLayer() calls.) This change also fixes an issue with gradients (color stops where not properly computed when using a null stops array) and optimizes display lists rendering (quickly rejects larger portions of the tree to avoid executing unnecessary code.) Change-Id: I0f5b5f6e1220d41a09cc2fa84c212b0b4afd9c46
* | | | | | frameworks/base: remove LOCAL_PRELINK_MODULEIliyan Malchev2011-03-141-1/+1
|/ / / / / | | | | | | | | | | | | | | | | | | | | Change-Id: I54dd62ebef47e7690afa5a858f3cad941b135481 Signed-off-by: Iliyan Malchev <malchev@google.com>
* | | | | Add a test app: quota exceeded doing a backupChristopher Tate2011-03-117-0/+652
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a simple test app (a clone of the Backup/Restore sample code) that deliberately backs up 20 megabytes of data every time it performs a backup pass. This is to trigger the quota-exceeded logic both on the client and on the backend, for testing purposes. Change-Id: I01f04d0f85c827baadf1990c09643d5eb5f88266
* | | | Add support for partial invalidates in WebViewRomain Guy2011-03-071-5/+7
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug #3461349 This change also fixes two bugs that prevented partial invalidates from working with other views. Both bugs were in our EGL implementation: they were preventing the caller from comparing the current context/surface with another context/surface. This was causing HardwareRenderer to always redraw the entire screen. Change-Id: I33e096b304d4a0b7e6c8f92930f71d2ece9bebf5
* | | Add a new Camera API to control the camera's locationRomain Guy2011-02-233-0/+61
| | | | | | | | | | | | Change-Id: Id9a082d2def803eb527e1987875e0d8a22c6e8aa
* | | Moving renderscript tests away from the library to a dedicated test folder.Alex Sakhartchouk2011-02-2271-0/+5810
| | | | | | | | | | | | Change-Id: I7d8e20a17513f167eae3681d77463c01f4fa24a7
* | | Merge "Dirty layers in the area covered by a drawBitmapMesh() call Bug #3410827"Romain Guy2011-02-103-2/+88
|\ \ \
| * | | Dirty layers in the area covered by a drawBitmapMesh() callRomain Guy2011-02-103-2/+88
| | | | | | | | | | | | | | | | | | | | | | | | Bug #3410827 Change-Id: Ic8b4f6201af94497bba86c75819588c78debddc2
* | | | Merge "Adds CookieManager methods to configure policy for cookies for file ↵Steve Block2011-02-101-0/+2
|\ \ \ \ | | | | | | | | | | | | | | | scheme URLs"
| * | | | Adds CookieManager methods to configure policy for cookies for file scheme URLsKristian Monsen2010-12-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Needs https://android-git.corp.google.com/g/83647 in external/webkit, which disallows such cookies by default and provides configuration methods native side. Also updates TestShellActivity to allow such cookies, as they are required for the page cycler. Bug: 2944150 Change-Id: Idcc7e2812fab33e6a2a8766a2176bc3278e617da
* | | | | Merge "Remove SSLPerformanceTest and DatabaseSessionCache."Jesse Wilson2011-02-102-744/+0
|\ \ \ \ \
| * | | | | Remove SSLPerformanceTest and DatabaseSessionCache.Jesse Wilson2011-02-102-744/+0
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | These aren't being run. Change-Id: I9afc617a424c675578185ac66a4f6ac3af9afacf
* | | | | Merge "Increase DRT timeout while waiting for WebView to dump as text"Steve Block2011-02-101-1/+1
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Increase DRT timeout while waiting for WebView to dump as textSteve Block2011-02-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids problems with LayoutTests fast/frames/lots-of-iframes.html and fast/frames/lots-of-objects.html Bug: 3440578 Change-Id: Ic045141f986baf779ffc9eec804ba994ce0d0fbe
* | | | | Remove LayoutTest ↵Steve Block2011-02-091-1/+0
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http/tests/xmlhttprequest/simple-cross-origin-progress-events.html from skipped list This test no longer crashes, so we should no longer skip it. Bug: 2929261 Change-Id: I808926c3dce2e9a01d6c190a18187d9ca965b662
* | | | am 80038fbc: am ba27cf75: Merge "Empty the clip rect when intersection is ↵Romain Guy2011-02-074-0/+118
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | empty. Bug #3410035" into honeycomb * commit '80038fbcf629936852afba0054b26939a3a9835a': Empty the clip rect when intersection is empty. Bug #3410035
| * | | | Empty the clip rect when intersection is empty.Romain Guy2011-02-044-0/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug #3410035 Change-Id: I5ceb80514d3b20c9ad230478549ad31ced403d53
* | | | | resolved conflicts for merge of 31796297 to masterDaniel Sandler2011-02-071-0/+37
|\ \ \ \ \ | |/ / / / | | | | | | | | | | Change-Id: Ice632b3378f8f67c186245fdb63b022ade864ba1
| * | | | Ongoing notification for GPS use.Daniel Sandler2011-02-031-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change improves upon the notification priority API introduced in change I9e738cc4, allowing privileged clients to set the priority of a notification when posting it directly to INotificationManager. StatusBarTest is updated to test this new feature. The new LocationController in SystemUI uses this facility to post a high-priority ongoing notification whenever GPS is in use (replacing the functionality of the legacy GPS status bar icon). Also happens to fix http://b/3325472 (adding a log message when notifications are dropped because of a missing icon). Bug: 3412807 Change-Id: I523016ffa53bf979be98ddc4a2deb55a6270c68a
* | | | | am 109da7df: am 5bfd1aff: Merge "Allocate layers from the layers pool. Bug ↵Romain Guy2011-02-033-1/+201
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | #3413433" into honeycomb * commit '109da7dfd4c0766274b17467880ee673c731735c': Allocate layers from the layers pool. Bug #3413433
| * | | | Allocate layers from the layers pool.Romain Guy2011-02-023-1/+201
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug #3413433 This change will be beneficial to Launcher to avoid hiccups when swiping pages of icons. When a layer is discarded, it is kept in the layers pool instead of being destroyed right away. This favors memory reuse over allocations. Change-Id: Ifb6944ba83d6ceb67c331527c0827b26ce648eb1
* | | | | Removing android.security.MessageDigestBrian Carlstrom2011-02-011-1/+1
|/ / / / | | | | | | | | | | | | | | | | Bug: 3392028 Change-Id: I6b9732da17d086ba00c846c3ad1c7fb39baf9502
* | | | New API to let apps draw without layers.Romain Guy2011-02-013-0/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug #3413433 Launcher now enables layers all the time, but in some cases (for instance, when the workspace is not scrolling,) it is more efficient to draw without the layer. Change-Id: I625fb5b48506acda9ae75356fdbbe812c85f2aab
* | | | Correctly set the alpha of a hardware layer before drawing it.Romain Guy2011-02-013-0/+172
| | | | | | | | | | | | | | | | | | | | | | | | Bug #3410819 Change-Id: I3ebaca2233f4edf5b59d84ec7706555056a1a4b1
* | | | Allow the status bar disable flags to be used as View's system ui visibility ↵Joe Onorato2011-01-271-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | fields. Bug: 3363046 Change-Id: I50ba06ed9a4d2f5d0e0c807437aea9900f44fee9
* | | | Merge "Fit and finish on status bar:" into honeycombDaniel Sandler2011-01-252-0/+0
|\ \ \ \
| * | | | Fit and finish on status bar:Daniel Sandler2011-01-252-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Clock color fixed. [3374581] - Clock vertically aligned. [3388224] - Clock uses system font assets now. [3385564] - Solid version of AndroidClock added to build. [3385564] - Extraneous background glow removed from notification panel. - Removed solid black background from notifications. [3388223] - Added background image behind large notification icons and increased large size to 64dip [3388434, 3384355] - Corrected size & leading of notification text [3388577] Bug: 3374581 Bug: 3384355 Bug: 3385564 Bug: 3388223 Bug: 3388224 Bug: 3388434 Bug: 3388577 Change-Id: I8e443da5758deca412d1ce5944f887b35f6265ed
* | | | | change the way test app waits for gcGuang Zhu2011-01-251-10/+20
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcSoftReferences methods are being obsoleted, so we need a different approach to wait for gc: create a CountDownLatch and release it in a dummy object's finalizer, call gc and await on the CDL. Change-Id: I54d9e6bc05540b16ee1f3959ace9008041ac4903
* | | | Enable partial invalidates when rendering with OpenGL.Romain Guy2011-01-242-2/+2
| | | | | | | | | | | | | | | | Change-Id: Ie8be06c4776b815e8737753eb8003b4fd8936130