Commit Graph

30 Commits

Author SHA1 Message Date
Chet Haase
97ee3c3898 Adjust layouts of transition demos to improve fade-outs.
When a container's child count goes to zero, it may report a measurement size
of zero. This affects LayoutTransition's fading-out of target views
because they may get clipped out by a layout that got sized to 0 because it
thinks it has no children. The workaround is to tell the layout to size itself
either with some minimal size (in the case of the FixedGridLayout used by some
demos) or with match_parent in some cases to ensure that the layout always has
some nonzero size.

Change-Id: I908e64d4fb054928af277a021a328e94477c9c83
2011-02-15 09:46:28 -08:00
Chet Haase
6e27f5856a Rename RGBEvaluator to ArgbEvaluator
Change-Id: I43cf6c9824b012424de1ef2a340ee9dde20af4a7
2011-01-10 16:48:48 -08:00
Chet Haase
43b37134fd Demos should use main activity context, not getApplicationContext()
Change-Id: I561defd90760864a975b905f13cf30c422da6125
2010-12-28 08:35:38 -08:00
Chet Haase
8dfaaa2ffd Added new xml anim capabilities to AnimationLoading demo
New xml capabilities for animators, so I added new functionality
to the existing xml loading demo app

Change-Id: Iba30dce28059031744ce23d1f79f41072a6a1e78
2010-12-01 08:25:27 -08:00
Chet Haase
04281538b3 Update animation demo to use setBackgroundColor functionality on View
Change-Id: I6811fd4a3612c9af8f09e570ee3c600570cefcb1
2010-11-03 18:34:55 -07:00
Xavier Ducrohet
b76b6c5b61 Merge "Make ApiDemo build on Java 5.0" 2010-11-03 18:20:35 -07:00
Xavier Ducrohet
0bb93262cc Make ApiDemo build on Java 5.0
Change-Id: Ib0759e5598d73741ef9e2408f08edd5d6b38288b
2010-11-03 18:11:02 -07:00
Chet Haase
2d3d5377a8 Updated to the new optimized keyframe APIs
Also fixed some existing bugs in some of the animation apps

Change-Id: Iff39a8396f8c49e2db8601b04012a0bb784a78ed
2010-11-03 16:21:15 -07:00
Chet Haase
ed20aff7b1 Added setColor to ColorDrawable.
Also, set hardwareAccelerated=false for animation demos using ovals
(which are not yet supported through GL)

Change-Id: I710b6be51a14bf02650206bd6bae8841ecd3ac79
2010-11-01 13:54:29 -07:00
Chet Haase
e358b47be5 Updating code to use new non-generified animator APIs
Change-Id: I3023db9d1f9cb8bf98b788fce4ae2b58b182987d
2010-10-14 13:13:07 -07:00
Chet Haase
45d18599b8 Various fixes
Change-Id: I70509d19d1df01e998de4804bc7c1e1899ad8dee
2010-10-07 12:29:12 -07:00
Chet Haase
7da3f9f51e Modfied demo to show setting animations to null
Originally, setting LayoutTransition animators to null just restored the default animation behavior, It seems more sensible to have null actually disable the animation. I made that change to the framework and modified this demo to show how it's done. Along the way, I refactored the code a bit and fixed some minor bugs.

Change-Id: Icfb53ada234b635294c5faa68a15932f25859fb8
2010-10-04 17:25:41 -07:00
Chet Haase
2a06483139 Demos for show/hide layout transitions
Change-Id: Idb7ecb66b7dc0126a230385dd09af6a9208d5345
2010-10-04 15:19:26 -07:00
Chet Haase
d9855a8dbe Animation classname changes
Change-Id: I0b3b5f1563ab0ac301684880957ed55ebfc54da5
2010-09-08 08:38:21 -07:00
Chet Haase
0a495ab0d3 Demo ability to enable default layout animations from XML
Change-Id: I4a5c73391d277c248958cf8cb5260078006bafb1
2010-09-03 15:50:32 -07:00
Chet Haase
43828a8383 Demo of layout add/remove transitions
Change-Id: Ib5f31bb0b6d16fa18cf10a426a25c7a8138f620a
2010-09-03 12:19:41 -07:00
Chet Haase
2ab1da8886 Demo for using and testing animation events
Change-Id: I7db791928dc590fd724f4c71565b42bc366e519c
2010-08-25 16:49:54 -07:00
Chet Haase
0366ddf4d3 Adding demo for xml animator loading
Change-Id: I77d4e4f3b26c47e7973dd64282c12a9d6c3b5dd1
2010-08-24 19:50:12 -07:00
Chet Haase
434672af29 add demo of bouncing balls to show various Animator APIs
Change-Id: I9d3aec9661d8845f67ea1c01b00f85f2380fd77f
2010-08-20 17:59:09 -07:00
Chet Haase
ce436337da Revert "Revert "demo multi-property animations""
This reverts commit afb6baf915.
2010-08-19 17:55:31 -07:00
Chet Haase
afb6baf915 Revert "demo multi-property animations"
This reverts commit d9e2a04d7c.
2010-08-19 17:40:27 -07:00
Chet Haase
d9e2a04d7c demo multi-property animations
Change-Id: I587bdc08e48a09d6df471e5bae767977c0c9ae18
2010-08-19 15:56:59 -07:00
Chet Haase
eba431d703 demo for new reversing behavior in Animator
Change-Id: I50c736ce504105101f71551d6074750dca9d1391
2010-08-17 16:17:20 -07:00
Chet Haase
64606ec84a Demo of new 3d rotation properties on View
Change-Id: I0b50b60c4452b3fc4bc22b8bc4109b8d78260204
2010-08-10 10:46:40 -07:00
Chet Haase
b9461fc8ef Add ApiDemo to show the new seeking behavior of Animator
Change-Id: I4ad4e322af9c1d8419e1d7f8bea6b20951a1dc4f
2010-08-05 11:51:13 -07:00
Christian Mehlmauer
38dcb296c9 Reduced Warnings
Change-Id: I3ce0d27d24e8aad3fdbf8c57cefe39d1a3fd99e9
2010-05-20 20:13:51 +02:00
Scott Main
705a3ee397 AI 147793: cleanup broken links and delete all innacurate info in apidemo pages
BUG=1810005

Automated import of CL 147793
2009-04-25 14:04:53 -07:00
The Android Open Source Project
52d4c30ca5 auto import from //depot/cupcake/@135843 2009-03-03 19:29:09 -08:00
The Android Open Source Project
d4aee0c0ca auto import from //depot/cupcake/@135843 2009-03-03 18:28:16 -08:00
The Android Open Source Project
5c11852110 Initial Contribution 2008-10-21 07:00:00 -07:00