ac85f90466dd60d2af8ffc3942d503a0de606726 |
|
11-Mar-2016 |
Alan Viverette <alanv@google.com> |
Ensure all Java-side usages of config flags are using Java flags Previously we were using native config flags in some places that expected Java flags, and vice-versa. All usages of config flags are now annotated to ensure we're using the right type. Cleans up annotations on most methods that were touched. Bug: 21161798 Change-Id: Ifd87dfb12199fc8258915d8a510e03ddb681ca89
/frameworks/base/core/java/android/animation/AnimatorInflater.java
|
fb302ccd8e0610a09691ea5503ff8111dc7a2e41 |
|
01-Mar-2016 |
Adam Lesinski <adamlesinski@google.com> |
Move the guts of Resources to ResourcesImpl In order to satisfy the requirement that clients can cache a Resources object when a configuration change happens, we move the caches and all other method bodies to ResourcesImpl. These can then be swapped out for the correct version when needed, while allowing clients to keep holding the existing Resources references. This is part 1 of 2 CLs. The next one will do the actual switching of implementations based on configuration changes for multiwindow. Bug:26854894 Change-Id: I41156194a3541e59053b4048c3a15981c7d8a506
/frameworks/base/core/java/android/animation/AnimatorInflater.java
|
804618d0863a5d8ad1b08a846bd5319be864a1cb |
|
17-Nov-2015 |
Doris Liu <tianliu@google.com> |
VectorDrawable native rendering - Step 2 of MANY Introduced PathData in Java, which is effectively a thin layer around the native instance. PathData holds the verbs and points which is being used in path morphing/interpolation. The verbs and points can be interpreted into skia path commands, which is now done in native and therefore saves a handful of JNI calls during path creation. Removed the old PathDataNode mechanism and changed the PathEvaluator to use PathData instead. Also added tests and a microbench. Also ran CTS tests for VectorDrawable and AnimatedVectorDrawable, and passed all of the existing tests. Change-Id: Ia166f5172ff031fe18b154327967f911a62caec1
/frameworks/base/core/java/android/animation/AnimatorInflater.java
|
2787cebfdc78b662e8742b7eb8dacf9b4a6e80c1 |
|
06-Jun-2015 |
Doris Liu <tianliu@google.com> |
Infer value type for ObjectAnimator, too Previously, changes have been made to infer value types for PropertyValuesHolder when no value type is defined. This CL applies the same inferring logic to ObjectAnimator too. Bug: 21645431 Change-Id: Ifdf163a7d32da990dc2281080f87f94c0df0e9ce
/frameworks/base/core/java/android/animation/AnimatorInflater.java
|
e54d245b993e1347cb32c23a6bdc907a45fab324 |
|
06-May-2015 |
Alan Viverette <alanv@google.com> |
Improve keying for theme caches, rebase system theme on config change Themes now use an array of applied styles rather than a String to store their history. They are keyed based on a hash code computed from the history of applied styles. The themed drawable cache has been abstracted out into its own class. Also updates system context to use DayNight as the default and ensures that GlobalActions uses the correct context, which exercises the change. CTS tests have been added in another CL. Bug: 20421157 Change-Id: I9eb4b7dffd198ad24d02f656eaf0839570b59caa
/frameworks/base/core/java/android/animation/AnimatorInflater.java
|
7eaccbfbc25b772659536c096f6341927c38c470 |
|
23-Apr-2015 |
Doris Liu <tianliu@google.com> |
Remove distance based animation duration API Bug: 20500107 This reverts commit 0084e370955cfa1efbf8ab447ac5e71a5529f5d3. Change-Id: I57f1f3a22c5adfefd966447050b100a50e7141b2
/frameworks/base/core/java/android/animation/AnimatorInflater.java
|
a01fbf35de21cd595d4cda2e83b67c1238e12550 |
|
22-Apr-2015 |
Doris Liu <tianliu@google.com> |
Infer value type for keyframes when it is undefined Bug: 20140483 Change-Id: Idf6caea2a8eae803e33dd34b9c8f563ad12e1848
/frameworks/base/core/java/android/animation/AnimatorInflater.java
|
7513aab4dfa33130fd846bf033f4878ae1c75914 |
|
18-Apr-2015 |
Doris Liu <tianliu@google.com> |
Revert "Use real screen size to scale duration" This reverts commit 5ed54c743c04e2bc349e12c31adb67cbc3094651. Reverting to avoid build breakage. Change-Id: Ib73056bb5a11e718cbc82db5917946bdf8db06dc
/frameworks/base/core/java/android/animation/AnimatorInflater.java
|
5ed54c743c04e2bc349e12c31adb67cbc3094651 |
|
17-Apr-2015 |
Doris Liu <tianliu@google.com> |
Use real screen size to scale duration Duration scale based on screen size was using the area of the screen excluding system bars to compare with our reference device's screen size. This caused the following issues: 1) On baseline device (i.e N5) a scaling factor that is not 1 will be applied to the duration. 2) Scaling on the same device will be different in landscape vs. portrait, as the system bars take different amounts of space in different orienations. This CL fixes both of the above issues. Bug: 20309042 Change-Id: I9d1d0a471d968bee1330b80f0f69a0066d6a1860
/frameworks/base/core/java/android/animation/AnimatorInflater.java
|
a7e8cfe97892a984e49292f9221b2db568b6364d |
|
13-Apr-2015 |
Doris Liu <tianliu@google.com> |
Fix duration scale attribute for AnimatorSet Bug: 20160979 Change-Id: I876771a037d2c254fc53ad0bfa4880e69e427090
/frameworks/base/core/java/android/animation/AnimatorInflater.java
|
0084e370955cfa1efbf8ab447ac5e71a5529f5d3 |
|
10-Apr-2015 |
Doris Liu <tianliu@google.com> |
Distance based animation duration In order to preserve the same look and feel of an animation across different devices, we need to maintain the same angular velocity for the animation in users' field of view. Since the animation path may span different angles on different devices, we need to therefore adjust the duration accordingly. Change-Id: Ia37f213e5a894a046edbb1a45a4ced04e406d85d
/frameworks/base/core/java/android/animation/AnimatorInflater.java
|
9032fa5808d7808f54d31d646049d0b1f4a9491b |
|
10-Apr-2015 |
Doris Liu <tianliu@google.com> |
Add a check for color type in property values holder Bug: 20140483 Change-Id: Ic6cc72388811a450e29a346625c785456834452b
/frameworks/base/core/java/android/animation/AnimatorInflater.java
|
6aac06ab940566020d050fdaa0d5e8d2e6c128ae |
|
01-Apr-2015 |
Doris Liu <tianliu@google.com> |
Add per-interval interpolation support for keyframe in xml resources Bug: 19913234 Change-Id: Ie46af02b2db3dad6ace667480aa556e0f645d278
/frameworks/base/core/java/android/animation/AnimatorInflater.java
|
08c7116ab9cd04ad6dd3c04aa1017237e7f409ac |
|
28-Feb-2015 |
John Spurlock <jspurlock@google.com> |
Remove unused imports in frameworks/base. Change-Id: I031443de83f93eb57a98863001826671b18f3b17
/frameworks/base/core/java/android/animation/AnimatorInflater.java
|
7b9c912f536925ac6ec43935d6e97506851b33d6 |
|
31-May-2013 |
Tor Norbye <tnorbye@google.com> |
Add @ResourceInt annotations on APIs Change-Id: I119cc059c2f8bd98fd585fc84ac2b1b7d5892a08
/frameworks/base/core/java/android/animation/AnimatorInflater.java
|
d430753cba09acb07af8b313286f247c78a41a32 |
|
01-Dec-2014 |
Chet Haase <chet@google.com> |
Add resource attributes for Keyframes and PropertyValuesHolders Issue #17939329 Expose multi-property and multi-keyframe capabilities in animation resources Change-Id: I14822ced47665fa6cde4996f74d3078da2ada38a
/frameworks/base/core/java/android/animation/AnimatorInflater.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
/frameworks/base/core/java/android/animation/AnimatorInflater.java
|
fd3c4744f265c5277e6e2641a18d5ec3dff19f6b |
|
08-Sep-2014 |
George Mount <mount@google.com> |
Use intrinsic size for path animation in AnimatedVectorDrawable Bug 16984007 Animated Vector Drawables were using the viewport dimensions for calculating the allowable animation error. Instead of using viewport dimensions, it is better to use the intrinsic dimensions. Using the viewport dimensions meant that a small viewport (e.g. 1x1) would mean that animation paths within would only have an accuracy of 50% of the dimensions of the drawable. Change-Id: Id0152eabb4effd1e50c644eea7a371b38baeb7c1
/frameworks/base/core/java/android/animation/AnimatorInflater.java
|
984011f6850fd4b6ad4db6d6022bd475d7a2c712 |
|
21-Aug-2014 |
George Mount <mount@google.com> |
Use optimized Keyframes for Path animations. Bug 17005728 Change-Id: I2e109ed1a3e768e1e0286fc3950516f16509e591
/frameworks/base/core/java/android/animation/AnimatorInflater.java
|
7f9988f0f51e181f20fa22e17635d61893e5b74a |
|
08-Aug-2014 |
Craig Stout <cstout@google.com> |
Fix NPEs when inflating a ValueAnimator. Change-Id: I4489b9e80635053792668a2f8032635893fb4afd
/frameworks/base/core/java/android/animation/AnimatorInflater.java
|
eb034fbca40006c55db143047eb628c4b657730a |
|
09-Jun-2014 |
ztenghui <ztenghui@google.com> |
AVD now support path morphing. Basically extended the ValueAnimator to support a new type: pathType. Add the PathDataEvaluator internally to interpolate path data. Update test to show the path morphing. Change-Id: I89db0199cbc12e3041790a6115f3f50b80213cdb
/frameworks/base/core/java/android/animation/AnimatorInflater.java
|
cf4832f69c8786b098ce18c24319021f8cd6733a |
|
17-Jun-2014 |
ztenghui <ztenghui@google.com> |
Add path support into xml files for PathInterpolator and ObjectAnimator. The test case is showing that AnimatedVectorDrawable is able to use path to define time interpolator and object movement now. Change-Id: If3c0418265d0fd762c8f5f0bb8c39cce3ad34ef3
/frameworks/base/core/java/android/animation/AnimatorInflater.java
|
e5e92602a41a4ddc7b42cd1c171a0edfbd09b8da |
|
03-Jun-2014 |
ztenghui <ztenghui@google.com> |
Add AnimatedVectorDrawable Currently as a hidden class. It can support many the animations now as far as ObjectAnimator and hierarchical group can support. And we don't have path morphing yet. Also support the Animator / Interpolator inflation from Context and Resources. Change-Id: I948bbdf7373ad291171eed0b497959dce8c2edf3
/frameworks/base/core/java/android/animation/AnimatorInflater.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
/frameworks/base/core/java/android/animation/AnimatorInflater.java
|
1ffb280a7d2c70cc16d709c685f5d31fdb86b5e4 |
|
10-Oct-2013 |
George Mount <mount@google.com> |
Add ofArgb to ObjectAnimator and ValueAnimator. Bug 10396985 Change-Id: Ib1fcea04b5a915800fc415b3d548a8853b05389c
/frameworks/base/core/java/android/animation/AnimatorInflater.java
|
f8c40cfc72f8f443b167f9452aba859fa83af39f |
|
26-Sep-2013 |
George Mount <mount@google.com> |
Set evaluator after setting values so that it can take effect. Bug 10638385 setEvaluator only takes effect after values are set in an Animator. Change-Id: I609a8615732182add3dd5bfc8940a4913e031cfa
/frameworks/base/core/java/android/animation/AnimatorInflater.java
|
d9e4a5c2e55883d4eab766d4ab6aee408cb260a0 |
|
15-Mar-2013 |
Chet Haase <chet@google.com> |
Use same default duration (300) for animator resources as for other animators Issue #7492926 Animator resources should use same default duration as code-created Animators Change-Id: I337a2c37ff26ebb6cb8b2fb2b58523c464af518b
/frameworks/base/core/java/android/animation/AnimatorInflater.java
|
6cfdf4538049e4b96f50d8c0fe3119664420cc34 |
|
23-Apr-2011 |
Chet Haase <chet@google.com> |
Fix bitfield bug with vertex shader selection Change-Id: I8bd3005f363afb52e6624806efb3e04c4a56ee18
/frameworks/base/core/java/android/animation/AnimatorInflater.java
|
53ee3316bcb3590ff156b3fd7108903c0817c35d |
|
11-Jan-2011 |
Chet Haase <chet@google.com> |
Rename RGBEvaluator to ArgbEvaluator Change-Id: Iee74b475960d623fa757349e4053bd7c58cf5734
/frameworks/base/core/java/android/animation/AnimatorInflater.java
|
5bed88e12d0b4e77483e287c068fbf551ecf8a10 |
|
30-Nov-2010 |
Chet Haase <chet@google.com> |
Animators can now have dimension and color values. You can now use floats, ints, dimensions, or colors as input values in XML for Animator objects. There is still a 'valueType' attribute that lets you specify the number values to create the animator with, though it defaults to floats (or in the case of color inputs, to ints). Change-Id: I65f1df802db602c33f2a0308a663b6f808148e25
/frameworks/base/core/java/android/animation/AnimatorInflater.java
|
7c608f25d494c8a0a671e7373efbb47ca635367e |
|
23-Oct-2010 |
Chet Haase <chet@google.com> |
optimizing for primitive types in animations The animator classes caused autoboxing by converting primitive types (by far the most typical types used in animations) to be converted to their Object equivalents because of various APIs that required Object (like getValue() to get the animated value). This change creates factory methods on some classes instead of the former constructors so that we can create and return private type-specific subclasses which operate directly on the primitive types instead. In particular, float and int are natively supported by the animators now. Support in the APIs for double and long was removed because it seemed like these less common types did not justify the extra baggage of the added API and code. Change-Id: I6008a3883e3d6dd5225005f45f112af148e5a4ea
/frameworks/base/core/java/android/animation/AnimatorInflater.java
|
2794eb3b02e2404d453d3ad22a8a85a138130a07 |
|
13-Oct-2010 |
Chet Haase <chet@google.com> |
Remove generics from Animator APIs Change the manner of constructing Animator-related objects from constructors via generics to factory methods with type-specific method names. Should improve the proliferation of warnings due to generics issues and make the code more readable (less irrelevant angle brackets Floating around). Change-Id: Ib59a7dd72a95d438022e409ddeac48853082b943
/frameworks/base/core/java/android/animation/AnimatorInflater.java
|
83d6e8213230fb0805aa019d266842253baeb114 |
|
14-Oct-2010 |
Romain Guy <romainguy@google.com> |
Revert "Remove generics from Animator APIs" This reverts commit 41f041d9986f8a5d45b6cb0b86e881c81a412168.
/frameworks/base/core/java/android/animation/AnimatorInflater.java
|
41f041d9986f8a5d45b6cb0b86e881c81a412168 |
|
13-Oct-2010 |
Chet Haase <chet@google.com> |
Remove generics from Animator APIs Change the manner of constructing Animator-related objects from constructors via generics to factory methods with type-specific method names. Should improve the proliferation of warnings due to generics issues and make the code more readable (less irrelevant angle brackets Floating around). Change-Id: I7c1776b15f3c9f245c09fb7de6dc005fdba58fe2
/frameworks/base/core/java/android/animation/AnimatorInflater.java
|
a18a86b43e40e3c15dcca0ae0148d641be9b25fe |
|
07-Sep-2010 |
Chet Haase <chet@google.com> |
Rename several animation classes Change-Id: I6a4544875090db485163c8d56de8718f56d267c7
/frameworks/base/core/java/android/animation/AnimatorInflater.java
|