bdbde55592792efe350acd6a46733f439f6a3f3d |
19-Dec-2017 |
Aurimas Liutikas <aurimas@google.com> |
Annotate an assortment of coretest with @LargeTest Non-annotated tests do not run, thus adding @LargeTest to an assortment of tests that were missing annotations. Found these classes with: fn "*Test.java" | xargs grep -L "@LargeTest" | xargs grep -L "@MediumTest" | \ xargs grep -L "@SmallTest" | sort Bug: 70846562 Test: make -j80 FrameworksCoreTests Change-Id: Ifd466251b92728f9bbfa3cbd8fd21d34490f4eb1
nimatorInflaterTest.java
tateListAnimatorTest.java
|
e09d691902fb156c065f71825c2cb7589d035339 |
29-Jul-2017 |
Doris Liu <tianliu@google.com> |
Handle exception in newly spawned thread in the test Junit catches the throwable that happen in main thread, but not in custom threads that tests have created and started. As a result, Errors such as AssertionErrors had led to crashes in the tests. This CL added error catching in the new thread. The error will then be thrown in the test thread later on. Also, transformed the class into JUnit4 tests. BUG: 64095896 Test: ran core tests Change-Id: I78a1cceb405d331f6796cf7ee5f7661dc5aec7b4
alueAnimatorTests.java
|
51efddbd3bb304de2dd47fa8cd1114ac555958bb |
05-Apr-2017 |
Alan Viverette <alanv@google.com> |
Remove unnecessary casts on calls to findViewById Just frameworks/ this time. More paths to come. Bug: 24137209 Test: make -j32 Change-Id: Iff27abd26fa43296ac2fff8f534fc6742d2ae80c
asicAnimatorActivity.java
|
0304ac862ed5f8afa74f4c9e0e4eda1437140b96 |
11-Mar-2016 |
Doris Liu <tianliu@google.com> |
Merge "Testing initial value for 0-duration animations" into nyc-dev
|
a06b3f19d498e2c387e7a976f94d3cd5f1d77c35 |
02-Mar-2016 |
George Mount <mount@google.com> |
Remove animation listener while paused. Bug 27418573 While an animator was paused, it continued to receive Choreographer callbacks. This has been changed now so that after the first callback, it is removed. Change-Id: If73483404b38f1f354a63fc98d07696f442987e6
alueAnimatorTests.java
|
40428c8dc2ca9425bf0b0bf6eedb90bb487433ef |
26-Feb-2016 |
Doris Liu <tianliu@google.com> |
Testing initial value for 0-duration animations To ensure consistency with the pre-N animation behavior, we are testing the following: - For animations that have a duration of 0, we set the animator's value to the end value when start() is called. - For animations with a duration > 0 but with the duration scale of 0 applied, we set the animator's value to its start value when start() gets called. Change-Id: I666105e0677c6cfdeddb11b483d71dab978adc11
alueAnimatorTests.java
|
7d97a72da2d7f78b16ca0aff206572f58bd0cce1 |
19-Jan-2016 |
Chet Haase <chet@google.com> |
Add AutoCancelTest back to framework tests This test used to fail consistently, but currently passes. Adding it back to see whether whatever was causing it to fail has since been fixed. If not, need to get failure logs to see what the problem is during the automatic runs. Issue #23807249 Fix AutoCancelTest or delete it Change-Id: Ied0e0d3a700d9ba36d4d5ef8ca95b8072e639851
utoCancelTest.java
|
81963e3d560596916023173e31ed38f8f6e9001f |
09-Nov-2015 |
Doris Liu <tianliu@google.com> |
Add tests for calling end() before start() on ValueAnimator Bug: 23713124 Change-Id: I55c86a43249fd36a9e633a6f75d6316c2e69ec61
alueAnimatorTests.java
|
a0942e212154655c16849a9c6218f54694b4203a |
13-Oct-2015 |
Doris Liu <tianliu@google.com> |
Test ValueAnimator when duration scale is set to 0 Change-Id: I33a90bc39d3b451696752eae02edfacb4ddfd80e
alueAnimatorTests.java
|
68dcb30c2797e1b5546e37590dc43d9e6e0f1f42 |
06-Oct-2015 |
Doris Liu <tianliu@google.com> |
Add more tests for seeking and reversing Change-Id: I00fc4a9655760dea29ecca3f02d19c636cea28f7
alueAnimatorTests.java
|
3991985e125f5493f04c7c01f57a4b94a00cb9fd |
05-Sep-2015 |
Doris Liu <tianliu@google.com> |
Merge "A new test for AnimatorSet's clone"
|
1ef080116e522791c76696134c775ca1036e673d |
04-Sep-2015 |
Abodunrinwa Toki <toki@google.com> |
Suppress AutoCancelTest. These tests are failing consistently. Bug: 23807249 Change-Id: I1275747462b20e37ff0f631dbd9e7acfadece5a2
utoCancelTest.java
|
7a1534c139d7e4e98994fa12934be2bee9364c5f |
29-Aug-2015 |
Doris Liu <tianliu@google.com> |
A new test for AnimatorSet's clone Set up an AnimatorSet, and make the first clone during the animation run, and the second after the run. Add one listener to each animator. When the clones animate, listeners of both the clones and the animator being cloned should receive animation lifecycle events. Change-Id: I197440e2cd404592eb29be76864a66a0d110a9a5
nimatorSetActivityTest.java
|
2822a426ab48f073088e185a94c9d8ee41d7b383 |
27-Aug-2015 |
Doris Liu <tianliu@google.com> |
Test ValueAnimator with custom timing pulse provider This CL depends on ag/749611 With the custom timing pulse provider, we are free from the chaos that could happen on UI thread and any delay that comes as a result. Therefore we can count on more accurate timing for each frame, which enables us to test things such as AnimatorUpdateListener, among other things. Note that there will still be ~2ms delays in addition to the frame interval in between frames, due to the MessageQueue processing time. Change-Id: I6de0aa06125d1ecfae788f5dd22536a5fa52e651
alueAnimatorTests.java
|
169cc4c824886f8c0417e64954c310413a71151f |
28-Aug-2015 |
Doris Liu <tianliu@google.com> |
Add test that calls cancel() from onAnimationEnd(Animator) and end() from onAnimationCancel(Animator). No recursive calling should happen. Bug: 23596652 Change-Id: I50e223a3de6d31697bee6515668b9732195a261f
alueAnimatorTests.java
|
435d2f72b3d8815c6aa12f2de659c4b624fd9345 |
20-Aug-2015 |
Doris Liu <tianliu@google.com> |
Test for end value when ValueAnimators end Change-Id: Iaec25a3e2379fd32ee003bff9670f8fde8b4038f
alueAnimatorTests.java
|
be5a8ac55d8f3cfcfb549d379334cf9a4320b0d9 |
15-Aug-2015 |
Doris Liu <tianliu@google.com> |
Add tests for ValueAnimator This CL contains a few tests for ValueAnimator around start/resume, listener callbacks, state checks, and start delay. Change-Id: Ib67f36c1b266faff69f66f945ed846f9f7eb1193
alueAnimatorTests.java
|
2bdc0b0517f8d10634616f3f3a4bcafa1e825283 |
11-Aug-2015 |
Doris Liu <tianliu@google.com> |
More tests for AnimatorSet This CL contains more test coverage of functionalities in AnimatorSet. Specifically, set/get duration, add/remove listeners, start/cancel/end and pause/resume AnimatorSet and some state check are included here. Change-Id: Ic8a17f3733ab0d8d4453b0c1f1e8650a331c016f
nimatorSetActivityTest.java
|
02f90c57f62f25750d36d73e088f9026d98f27e4 |
07-Aug-2015 |
Doris Liu <tianliu@google.com> |
Add tests for AnimatorSet This CL includes tests for getChildAnimations() and getTotalDuration() Change-Id: I65c434344bd50474556dac179cb3e07e92d8134a
nimatorSetActivity.java
nimatorSetActivityTest.java
|
d422dc358f0100106dc07d7b903201eb9b043b11 |
25-Sep-2014 |
Yigit Boyar <yboyar@google.com> |
Added a generic configuration and theme based cache For now, only animators use it but we can consider migrating drawable cache to it as well. Bug: 17456416 Change-Id: I571b96856805edb171f0fc52e6bff5a365f46b70
nimatorInflaterTest.java
asicAnimatorActivity.java
|
f4c5bf30b445874cf353e1b96cab94185a39ce6d |
07-May-2014 |
Yigit Boyar <yboyar@google.com> |
State based animators for Views Set quantum theme buttons to elevate 2dp on press Change-Id: Ibf4f5ef166b901382c304d392eba075836a96a35
tateListAnimatorTest.java
|
8aa1ffb0ed292891030992c65df4e5dc8bd37524 |
08-Aug-2013 |
Chet Haase <chet@google.com> |
pause/resume for Animators It is now possible to pause Animator-based animations. Pausing an animator causes it to hold the current time/value indefinitely, or until end/cancel/resume is called. When resume() is called, it continues from where it left off. There is a new listener interface on Animator, AnimatorPauseListener, which can be used to listen to pause/resume events. Change-Id: I77d1535e792fb7bf349f549a0ac0a0d85958cb47
nimatorSetEventsTest.java
ventsTest.java
|
be19e030a14c8e398e8af97fa898ea80187704df |
16-Mar-2013 |
Chet Haase <chet@google.com> |
Add auto-cancel ability to ObjectAnimator Add a method that enables a new auto-cancel option to ObjectAnimator. When set, any ObjectAnimator (when started) will cause any running ObjectAnimator instance (with that flag set) that has the same target and properties to cancel() itself prior to starting the new one. Issue #7426129 Add auto-cancel to animators Change-Id: I586659c365289cdb9afb6c416bdbaf5630477149
utoCancelTest.java
utureWaiter.java
|
17cf42cb85c22b50ecfa8d21efc992f99d20fc45 |
17-Apr-2012 |
Chet Haase <chet@google.com> |
Fix logic of animator start/cancel/end callbacks The callbacks for animators in some corner cases were not being called correctly. For example, startDelayed animators that were started and then ended didn't send out the proper events. This CL fixes that logic. Specifically: - An animator that is end()'d will implicitly start() itself and then assign an end value. This was already the case, but listeners were not getting notified. Now this situation causes callbacks to listeners for both the start and end events. - startDelayed animators that are end()'d or cancel()'d prior to finishing the startDelay phase will send out events (start and cancel/end, as appropriate) to listeners. Change-Id: I40a0f2fdb19d9ec7c3726a91363686c6ecb7d915
ventsTest.java
|
cbbd93ae701b9af2e5054d59286bdbf6275c2838 |
09-Aug-2011 |
Chet Haase <chet@google.com> |
Fix ViewPropertyAnimator duration and startDelay issues getDuration() wasn't returning the correct thing in some cases, and setStartDelay() had no effect whatsoever. Fixed those. Change-Id: I89f930535ec1acddf57227937a9ad64986548998
iewPropertyAnimatorTest.java
|
8b699792b677bd4dd8442b32641ac09d48fdd79c |
06-Aug-2011 |
Chet Haase <chet@google.com> |
Fix cancellation of AnimatorSet when child animation has delay Previously, AnimatorSet incorrectly checked whether child animations were 'running' to figure out what to cancel. If a child animation was started, but sitting in a startDelay phase, it was not 'running', so the right cancel/end events would not propagate. The fix is to add a new isStarted() API to Animator, which returns true when the animator has started (but not yet ended), regardless of whether the animator has a startDelay or not. It's basically a superset of the existing isRunning() method, which only returns true when an animator has actually started setting values. Change-Id: I126814cb6637b58295b6d18d9b155235671f99be
nimatorSetEventsTest.java
ventsTest.java
|
b8f574a165bf6ec5b316734b367ac274ded4809b |
03-Aug-2011 |
Chet Haase <chet@google.com> |
Fix AnimatorSet cancellation issues AnimatorSet was incorrectly ignoring cancel() when it was in the initial startDelay phase. Fix is to change isRunning() to be true if the animator is also in its delay phase. Change-Id: I1a8c877de24fa294beea0ba30d495658255b13b3
ventsTest.java
|
7dfacdb1c820f955cb3cd6032ff5fbc2dd7d9df5 |
12-Jul-2011 |
Chet Haase <chet@google.com> |
Fix Animator cancel() behavior Previously, calling cancel() on an Animator would cause onAnimationCancel events to be sent to all listeners. This was confusing for listeners that were keying off this event for performing other actions, when the original animator wasn't truly canceled (because it wasn't even running, or had already been canceled earlier). This change hinges listener notification on the animator actually running; no events are sent otherwise. Also added the first set of Animator tests to verify that this behavior is correct. Change-Id: I81ab56559b5c0343c8dc7880e1c8235f3020975b
nimatorSetEventsTest.java
asicAnimatorActivity.java
ventsTest.java
utureWaiter.java
bjectAnimatorEventsTest.java
alueAnimatorEventsTest.java
|