summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix layer shader to store layer pointerChris Craik2015-02-181-3/+3
| | | | | | bug:19419672 Change-Id: I4277348ceab41fbf45a107a8b21f64e2b4af23e0
* Update voice interaction layer for new UI design.Dianne Hackborn2015-02-138-27/+238
| | | | | | | | | | | | | | | | | | Can switch from a pure overlay at the top of the screen, to interactive mode with the voice UI drawing at the bottom and pushing its target activity up like an IME. Add mechanism to get assist data to the voice interaction UI. Add some basic visualization of the assist data, outlining where on the screen we have text. Add a test ACTION_ASSIST handler, which can propagate the assist data it gets to the voice interaction session so you can see what kind of data we are getting from different apps. Change-Id: I18312fe1601d7926d1fb96a817638d60f6263771
* Move apache specific portions of android.net.http to external/apache-http.Narayan Kamath2015-02-124-1/+6
| | | | | | | | | | | | | | | | | | | We continue to compile external/apache-http into ext.jar. This contains a few changes apart fom the classes moving around : - Makefile changes to build docs and api-stubs for now. A future change will revert these changes and remove these classes from stubs and docs. - Hardcode event IDs in legacyerrorstrings to avoid a dependency between the frameworks and apache. These strings are on their way out and will never change anyway. - Remove imports due to {@link} tags and use {@code} instead. - Remove an accidental(?) dependency on apache commons code that's a part of apache-http. bug: 18027885 Change-Id: I51cd038d846ec7d02c283a4541b10a6a9cf62ecf
* Eliminate groupId and add task to AppWindowTokenCraig Mautner2015-01-271-1/+1
| | | | | | | | Simplifies access by eliminating indirect referencing. Fixes bug 18088522 item #15. Change-Id: I9049192a7f3e1028d60c4f2d4d4a0d4aad590aa4
* Merge "Remove unused method moveTaskToBack."Craig Mautner2015-01-161-11/+1
|\
| * Remove unused method moveTaskToBack.Craig Mautner2015-01-151-11/+1
| | | | | | | | | | | | | | | | Everyone uses moveActivityTaskToBack() instead. Fixes item #3 of bug 18088522. Change-Id: I16028335fe1eef8a2aa47804f46536e395a16d8c
* | am 5c61dfc2: am e488ce86: am 94e30215: Merge "AAPT: Handle all old ↵Adam Lesinski2015-01-154-0/+60
|\ \ | |/ |/| | | | | | | | | unversioned attribute usage" into lmp-mr1-dev * commit '5c61dfc25fed75a436dc32b0fb18854bde0c4cea': AAPT: Handle all old unversioned attribute usage
| * am e488ce86: am 94e30215: Merge "AAPT: Handle all old unversioned attribute ↵Adam Lesinski2015-01-144-0/+60
| |\ | | | | | | | | | | | | | | | | | | usage" into lmp-mr1-dev * commit 'e488ce8668538b45c586eba21f5bca288d749686': AAPT: Handle all old unversioned attribute usage
| | * AAPT: Handle all old unversioned attribute usageAdam Lesinski2015-01-144-0/+60
| | | | | | | | | | | | | | | | | | | | | | | | All references to attributes defined in pre-LOLLIPOP_MR1 SDK are moved to version qualified resource entries. Bug:18221682 Change-Id: Ifd739530ebcf99e6bc7ddb3f10bc5e05f0726e62
* | | Limit the scope of clip path to the group, not globalztenghui2015-01-091-16/+24
| | | | | | | | | | | | | | | | | | http://b/18758765 Change-Id: I899401a5fcbccd0421687bd5cf671f7751092195
* | | am 84c7ef8a: am d8ce65c9: Merge "Remove 2 sub-tests from the internal test ↵ztenghui2014-12-1619-772/+0
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | app." into lmp-mr1-dev automerge: 8a23b38 * commit '8a23b3820d6f4d08b6b6ca3ffb0f85bd829f5e97': Remove 2 sub-tests from the internal test app.
| * | am 84c7ef8a: am d8ce65c9: Merge "Remove 2 sub-tests from the internal test ↵ztenghui2014-12-1619-772/+0
| |\ \ | | |/ | | | | | | | | | | | | | | | app." into lmp-mr1-dev * commit '84c7ef8a28d321e190d4d3f9a0c91ee5ae41bf9a': Remove 2 sub-tests from the internal test app.
| | * Merge "Remove 2 sub-tests from the internal test app." into lmp-mr1-devztenghui2014-12-1619-772/+0
| | |\
| | | * Remove 2 sub-tests from the internal test app.ztenghui2014-12-1519-772/+0
| | | | | | | | | | | | | | | | | | | | | | | | b/18171696 Change-Id: I4c4e96c2d0a8e664d81abb300a8f56c5bbb358cd
* | | | am d8ca1208: am 07bba9ab: Merge "shell based UI Automator source move" into ↵Guang Zhu2014-12-1423-0/+1024
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | lmp-mr1-dev automerge: 9954a44 * commit '9954a44896937d8f7fd7aebbe276c570101d4c77': shell based UI Automator source move
| * | | am d8ca1208: am 07bba9ab: Merge "shell based UI Automator source move" into ↵Guang Zhu2014-12-1423-0/+1024
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | lmp-mr1-dev * commit 'd8ca1208b3ee76e45e45e47d5806c398442a55a3': shell based UI Automator source move
| | * | shell based UI Automator source moveGuang Zhu2014-12-1223-0/+1024
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | frameworks/testing/uiautomator -> frameworks/base/cmds/uiautomator (samples, utils sub folders exlcuded) frameworks/testing/uiautomator/utils -> frameworks/base/tests/utils no source files changed, only one line makefile update (for UI Automator API check) Bug: 18708851 Change-Id: I396bd386d3d55a52df18af183685daf80caa9f73
* | | | am 37da3f0d: am 7bd28de5: Merge "Remove some crufty "core" tests."Narayan Kamath2014-12-113-1488/+0
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | automerge: c1c4edf * commit 'c1c4edf129d984be20aa79af2d5d6f8d881e2f26': Remove some crufty "core" tests.
| * | | am 37da3f0d: am 7bd28de5: Merge "Remove some crufty "core" tests."Narayan Kamath2014-12-113-1488/+0
| |\ \ \ | | | | | | | | | | | | | | | | | | | | * commit '37da3f0d28815a5dfbea929fc173d89cb62bd318': Remove some crufty "core" tests.
| | * | | Remove some crufty "core" tests.Narayan Kamath2014-12-103-1488/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nobody runs these, and these things are well tested elsewhere and a part of CTS. Change-Id: I1ec00f2a085fc82f902f538ace692ac989ca03df
* | | | | am 389baa39: am 7d74cb6c: am 14c43689: Merge "Fix issue with RNA destruction ↵John Reck2014-12-091-0/+28
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | mid-animation" into lmp-mr1-dev * commit '389baa395125d5ae5aac3b9d2f98457dde09da26': Fix issue with RNA destruction mid-animation
| * | | | am 7d74cb6c: am 14c43689: Merge "Fix issue with RNA destruction ↵John Reck2014-12-091-0/+28
| |\ \ \ \ | | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | mid-animation" into lmp-mr1-dev * commit '7d74cb6c6139d42aad65fe1466ab4c5f8e029539': Fix issue with RNA destruction mid-animation
| | * | | Fix issue with RNA destruction mid-animationJohn Reck2014-12-091-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 18521508 Fix an issue where an RNA's native object was destroyed before the java-side object was started Change-Id: I487fb476e0ecdf7000515f4f7320e8cfbc50a52b
* | | | | am 5a785719: am 4fed05b4: am f0070999: Merge "Remove unsed check for simulator"Dmitriy Ivanov2014-12-091-4/+0
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '5a785719492519afe54eb2dbde3094253826d695': Remove unsed check for simulator
| * | | | am 4fed05b4: am f0070999: Merge "Remove unsed check for simulator"Dmitriy Ivanov2014-12-091-4/+0
| |\ \ \ \ | | | |/ / | | |/| | | | | | | | | | | | * commit '4fed05b4e679276050b5eaad51ce96848ddc561e': Remove unsed check for simulator
| | * | | Remove unsed check for simulatorDmitriy Ivanov2014-12-051-4/+0
| | | | | | | | | | | | | | | | | | | | Change-Id: I46f134d960db330e7b6e7dbfebc84d602d3a3466
* | | | | Add UtteranceProgressListener#onStop callbackPrzemyslaw Szczepaniak2014-12-092-7/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New UtteranceProgressListener callback that allows to detect a call to TextToSpeech#stop() (or QUEUE_FLUSH usage) from the same client, or a QUEUE_DESTROY usage from any other client (Talkback uses it to preempt other users of TextToSpeech queue). This change is required for seamless Books read aloud feature+Talkback usage. + Fixes for broken tests/TtsTests Bug: 17901521 Change-Id: I30d2f297bb7c8d05cbeb16f63e85c1be0cca5c84
* | | | | am 7039f6b4: am 7ca6cc75: am 7194bf4d: Merge "Add test for isolated ↵Dianne Hackborn2014-12-093-0/+80
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | services." into lmp-mr1-dev * commit '7039f6b423d2795eea6bebc932c9cb0d8422de88': Add test for isolated services.
| * | | | am 7ca6cc75: am 7194bf4d: Merge "Add test for isolated services." into ↵Dianne Hackborn2014-12-083-0/+80
| |\ \ \ \ | | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | lmp-mr1-dev * commit '7ca6cc75e32437594bfa53c6f2ca14156c44eb17': Add test for isolated services.
| | * | | Add test for isolated services.Dianne Hackborn2014-12-013-0/+80
| | | |/ | | |/| | | | | | | | | Change-Id: Ibcbc4e766400acb8cf0385f922db6ca448a652a3
* | | | am bb97b311: am 21bc2e3e: am cb721bf6: Merge "Supporrt tapas build for ↵ztenghui2014-11-222-1/+35
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | vector tests" into lmp-mr1-dev * commit 'bb97b311ea46d22864f40578d9ef37ccf0a28274': Supporrt tapas build for vector tests
| * | | am 21bc2e3e: am cb721bf6: Merge "Supporrt tapas build for vector tests" into ↵ztenghui2014-11-212-1/+35
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | lmp-mr1-dev * commit '21bc2e3e1e30e34d661e3c3cf961eb058ca3834e': Supporrt tapas build for vector tests
| | * | Supporrt tapas build for vector testsztenghui2014-11-212-1/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Such that UX team has less pain on building the VD / AVD assets. This also requires removing internal API dependence in the test. To build the VectorDrawableTest with prebuilt SDK. <root dir>/tapas VectorDrawableTest <root dir>/make -j64 showcommand Then later for incremental build. <root dir>/mmm ./frameworks/base/tests/VectorDrawableTest/ -j20 b/18260896 Change-Id: Id559074df78d7c2a5c529c545834da23986bc15f
* | | | am 3458abd6: am 002bc810: Merge "ASLD: ASLD\'s XML reversible flag can turn ↵ztenghui2014-11-219-12/+166
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | off the reverse behavior now." into lmp-mr1-dev automerge: e9dbfe5 * commit '3458abd6a7d0709f0360c1c18cce036bb7bc4299': ASLD: ASLD's XML reversible flag can turn off the reverse behavior now.
| * | | am 002bc810: Merge "ASLD: ASLD\'s XML reversible flag can turn off the ↵ztenghui2014-11-219-12/+166
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | reverse behavior now." into lmp-mr1-dev automerge: e9dbfe5 * commit 'e9dbfe5afd5cd350f06f078775a40e8df4e69ce6': ASLD: ASLD's XML reversible flag can turn off the reverse behavior now.
| | * | Merge "ASLD: ASLD's XML reversible flag can turn off the reverse behavior ↵ztenghui2014-11-209-12/+166
| | |\ \ | | | | | | | | | | | | | | | now." into lmp-mr1-dev
| | | * | ASLD: ASLD's XML reversible flag can turn off the reverse behavior now.ztenghui2014-11-209-12/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the android:reversible flag behaves like a suggestion. Now it is used to enforce no reverse when set to false. In this way, user can safely setup one direction animation only. When set to true, but AVD can't reverse , then it will show a warning. At the same time, update the tests to show different cases, including AnimationDrawable. b/18413484 Change-Id: I5552c49dcbd76b0724b4d5593bce8388b27bd905
* | | | | am 42d9bf66: am a6d2789c: Merge "Add new empty app test entry points." into ↵Dianne Hackborn2014-11-213-0/+74
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lmp-mr1-dev automerge: 5b01f08 * commit '5b01f0894dacec272ce02fe07e879369ecd2ed93': Add new empty app test entry points.
| * | | | am 42d9bf66: am a6d2789c: Merge "Add new empty app test entry points." into ↵Dianne Hackborn2014-11-213-0/+74
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | lmp-mr1-dev * commit '42d9bf665598ae316bfae3fd28cbb5c8f2c95824': Add new empty app test entry points.
| | * | | Add new empty app test entry points.Dianne Hackborn2014-11-193-0/+74
| | | | | | | | | | | | | | | | | | | | Change-Id: Ib899c95de6b7bb936d2114e86bec4c5aef5f7eda
* | | | | am bac3f5a6: am 9f671553: am 475569e9: Merge "Fix the starting pen\'s ↵ztenghui2014-11-142-0/+29
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | position when a path close." into lmp-mr1-dev * commit 'bac3f5a6f055876d8892ff27fb8db7355a188a68': Fix the starting pen's position when a path close.
| * | | | am 9f671553: am 475569e9: Merge "Fix the starting pen\'s position when a ↵ztenghui2014-11-142-0/+29
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | path close." into lmp-mr1-dev * commit '9f67155332e49686ef622b096b715ee62845d401': Fix the starting pen's position when a path close.
| | * | | Fix the starting pen's position when a path close.ztenghui2014-11-132-0/+29
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have to cache the starting point for the latest "move", then apply it after we close the path. b/18214929 Change-Id: I8e8e5c810d720a1c194b8f59d74867a0efbb7662
* | | | am 95ef0ac7: am 525da301: am 85d558cd: Add Activity API to get referrer ↵Dianne Hackborn2014-11-111-0/+2
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | information. * commit '95ef0ac77738eac98e4952fe1e94db64c1560f5e': Add Activity API to get referrer information.
| * | | am 525da301: am 85d558cd: Add Activity API to get referrer information.Dianne Hackborn2014-11-111-0/+2
| |\ \ \ | | |/ / | | | | | | | | | | | | * commit '525da301930e554dc331828adee35613f945c250': Add Activity API to get referrer information.
| | * | Add Activity API to get referrer information.Dianne Hackborn2014-11-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This expands the use of EXTRA_REFERRER to be relevant anywhere, allowing apps to supply referrer information if they want. However, if they don't explicitly supply it, then the platform now keeps track of package names that go with Intents when delivering them to apps, which it can be returned as the default value. The new method Activity.getReferrer() is used to retrieve this referrer information. It knows about EXTRA_REFERRER, it can return the default package name tracked internally, and it also can return a new EXTRA_REFERRER_NAME if that exists. The latter is needed because we can't use EXTRA_REFERRER in some cases since it is a Uri, and things like #Intent; URI extras can only generate primitive type extras. We really need to support this syntax for referrers, so we need to have this additional extra field as an option. When a referrer is to a native app, we are adopting the android-app scheme. Since we are doing this, Intent's URI creation and parsing now supports this scheme, and we improve its syntax to be able to build intents with custom actions and stuff, instead of being all hung up on custom schemes. While doing this, fixed a problem when parsing both intent: and new android-app: schemes with a selector portion, where we were not respecting any scheme that was specified. Change-Id: I06e55221e21a8156c1d6ac755a254fea386917a2
* | | | am c220b48a: am 9b14422a: am 786d0a03: Merge "VD:test:Remove open animation ↵ztenghui2014-11-0622-551/+0
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | AVD" into lmp-mr1-dev * commit 'c220b48ab7f27f460155028716bc3af907f8b180': VD:test:Remove open animation AVD
| * | | am 9b14422a: am 786d0a03: Merge "VD:test:Remove open animation AVD" into ↵ztenghui2014-11-0622-551/+0
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | lmp-mr1-dev * commit '9b14422a5045d908ae8a3ba78b4c4972f652b29f': VD:test:Remove open animation AVD
| | * | Merge "VD:test:Remove open animation AVD" into lmp-mr1-devztenghui2014-11-0622-551/+0
| | |\ \
| | | * | VD:test:Remove open animation AVDztenghui2014-11-0422-551/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is for unbundle apps, so it is not a good idea to put in open source. b/18171696 Change-Id: I4272a9cd12904b90b4421e88304795a292ceec58