summaryrefslogtreecommitdiffstats
path: root/tests/TransitionTests/src/com/android/transitiontests/InterruptionTest.java
Commit message (Collapse)AuthorAgeFilesLines
* Add exclude() methods to TransitionChet Haase2013-09-111-2/+2
| | | | | | | | | | | | | | | It would be useful for a transition to declare not just which targets it wants to be run on, but also which targets it wants to avoid. For example, you may not want to animate the items of a ListView, or some other specific target in the view hierarchy. This change adds various exclude*() methods which make it possible to alter a transition to automatically ignore specific views, ids, or classes in the hierarchy. Issue #10692794 Transitions: Need API for excluding targets Change-Id: If38025cdbee537a545e5a4268cbbd763af4622c5
* Transition API changes from API council recommendationsChet Haase2013-09-041-19/+15
| | | | | | | Issue #10460684 KLP API Review: android.view.transition and android.animation Issue #10570740 Transitions: inflate transition targets from xml Change-Id: I7a3f6d3aece2fcafc5efd555d033f79e86635c98
* Fix in transition canceling logicChet Haase2013-06-041-7/+12
| | | | | | | | The logic that canceled underlying animations caused a problem when there were more than one animation in the list (due to removing items from a list that was currently being processed elsewhere). Change-Id: Ie207f340b5d7de4ffcf56a26c05ec394abb80224
* Various fixes/cleanup in Scenes and TransitionsChet Haase2013-06-031-0/+74
setDuration() wasn't handled correctly for TransitionGroup; it should propagate the value to its children. Also, videos with no ids were not being handled correctly. The transition code was using the default id on those views (-1) to store start/end data about the view, causing multiple non-id views to clobber values in the hashmaps. The correct approach should be to ignore default id values - only store information about the view instances, not about the unset ids. Also, added a new test InterruptTest to be used to fix the current behavior of not handling situations where new transitions start while old ones are still taking place. Change-Id: I4e880bdbb33cc26d487bceb0d56e463e72f7621f