Commit Graph

52 Commits

Author SHA1 Message Date
George Mount
00fc6d9b06 API Review: change SharedElementListener to SharedElementCallback
Bug 17289526

Change-Id: I5d28a77d870b83cc93483be23635bc669978cefc
2014-09-04 15:41:53 -07:00
George Mount
c580adec26 Revert "Revert "API Review: Change View viewName attribute to transitionName.""
This reverts commit f4138cbcfc.

Change-Id: Id5531f7508b22cf0242a5bef063423d932eb104e
2014-06-23 08:18:46 -07:00
George Mount
6ccc20a0aa Update activity transition API.
Change-Id: Ic9f2ead3a6841ae7c11e38098aaf26a2b6e613fd
2014-05-19 16:26:25 -07:00
George Mount
e6c46f8f23 New activity transition API.
Change-Id: Icbf3533514a3216ab4b5a7146a8157535fbf1aa9
2014-05-15 07:20:52 -07:00
George Mount
fb8e37e754 Changed sharedElementName to viewName.
Bug 14624181

Change-Id: Ia822e252030d94c0b73f41914656985656bc5efa
2014-05-12 11:50:35 -07:00
George Mount
f93d490356 Use new Quantum Paper Activity Transitions API.
Change-Id: Ia487e02e8cb7a90bd14b0e09392eddac5c1a06ec
2014-04-17 08:56:09 -07:00
George Mount
b3059f8744 Use framework Transition MoveImage and Slide
Change-Id: I3c55ee699288f1945ae0a23dfad2ae4fd9caa9a0
2014-04-07 09:13:55 -07:00
George Mount
4769ecc773 Support changes in Scene Activity Transition API redo.
This reverts commit 1b3da3748f.

Change-Id: I84fd15c154a404ed10971025b7bb33f58a344965
2014-02-26 15:32:10 -08:00
George Mount
1b3da3748f Revert "Support changes in Scene Activity Transition API."
This reverts commit 8ad5ffb461.

Change-Id: I3277537f7cc6a033ea1fc2948529f96c1dbc30e8
2014-02-26 08:52:12 -08:00
George Mount
c27968847d Fix build breakage due to failed import.
Change-Id: I626c44f30b1e899bdb230219b752511510c5bbb1
2014-02-26 07:54:22 -08:00
George Mount
8ad5ffb461 Support changes in Scene Activity Transition API.
Change-Id: Ia19b7def404f32ea5f68d2fece04dcd5ce615a42
2014-02-25 11:12:26 -08:00
George Mount
77dfe829d1 Cross-Activity Scene transitions API demo.
Change-Id: Icd644902b61ca2f03f21045bfad3a758075fb7cc
2014-02-04 15:53:02 -08:00
George Mount
bfe084a225 Revert "Add Trim Path API demo."
Bug 12489442

This reverts commit fad0b21946.

Change-Id: I527d0927bf891fc9570e860c158a352e1767474c
2014-01-31 07:23:11 -08:00
George Mount
ca2b0f8c62 Merge "Add PathAnimations ApiDemos." 2014-01-31 15:21:10 +00:00
Tor Norbye
09ace69a89 Remove Nullable annotation
The one in the framework is being hidden; for app usage we're
adding one in the support library.

Change-Id: I5612579b4d282e78d592d36bd35d51d28cf82b37
2013-12-17 19:43:59 -08:00
George Mount
d219b22e53 Add PathAnimations ApiDemos.
Change-Id: I9b064032cd503450ba6d8c93453a4ab6c2163686
2013-12-13 22:31:50 +00:00
George Mount
fad0b21946 Add Trim Path API demo.
Change-Id: I1183413cf5a788950fdde52c26ddf737af921c5c
2013-12-10 07:50:42 -08:00
Chet Haase
f3dbdc66d7 Minor fixes to animation ApiDemos
Many of the original animation demos still had hardwareAccelerated="false"
in their activity tag. This was originally necessary due to the state of the
hw renderer in 3.0, but is no longer necessary.

Also, added documentation to the new Transitions demo.

Issue #7902583 Update animation ApiDemos to use hw acceleration

Change-Id: I7add3acc10d8fa36648e1869a3ec91088b2e199d
2013-09-05 12:57:33 -07:00
Chet Haase
ea3e7cdb90 New demo for transitions feature
New demo in ApiDemos: animations/Simple Transitions

Issue #10460684 KLP API Review: android.view.transition and android.animation

Change-Id: I2c376343c2b945240bc5f3619786e9354a8c1a10
2013-09-04 14:20:20 -07:00
Chet Haase
976d6ceb73 Clean up LayoutTransition demos for smaller screens.
These demos assumed the size of a tablet device and looked pretty
awful on phones.

Change-Id: I246ef5a5f4619c1f2fe689eca321314375722014
2011-10-06 12:46:00 -07:00
Chet Haase
e68d53fd04 DefaultLayoutAnimations should use GridLayout instead.
The 2-LinearLayout system the demo used to have had its quirks, but was
just plain awful once it ran on a smaller screen. The new GridLayout
makes for a much better experience.

Change-Id: Ie3fd65e125c82da8b0079f61bd91bf844dea9b03
2011-09-27 11:51:35 -07:00
Chet Haase
dd722e4680 Fix issues in LayoutAnimationsHideShow demo.
There were various minor issues with this app that made it not work
correctly in some situations (the APPEARING animation was basically a no-op,
and disabling the custom animations disabled animations altogether).

Change-Id: I20aba9551043a63c21d26208ae7cd0395cde01cb
2011-08-11 11:36:33 -07:00
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