/frameworks/base/core/java/android/animation/ |
KeyframeSet.java | 30 * values between those keyframes for a given animation. The class internal to the animation 31 * package because it is an implementation detail of how Keyframes are stored and used. 34 public class KeyframeSet implements Keyframes { 41 List<Keyframe> mKeyframes; // only used when there are not 2 keyframes 45 public KeyframeSet(Keyframe... keyframes) { 46 mNumKeyframes = keyframes.length; 48 mKeyframes = Arrays.asList(keyframes); 49 mFirstKeyframe = keyframes[0]; 50 mLastKeyframe = keyframes[mNumKeyframes - 1]; 55 * If subclass has variables that it calculates based on the Keyframes, it should reset the 68 IntKeyframe keyframes[] = new IntKeyframe[Math.max(numKeyframes,2)]; local 85 FloatKeyframe keyframes[] = new FloatKeyframe[Math.max(numKeyframes,2)]; local 142 ObjectKeyframe keyframes[] = new ObjectKeyframe[Math.max(numKeyframes,2)]; local 182 List<Keyframe> keyframes = mKeyframes; local [all...] |
PropertyValuesHolder.java | 76 * The set of keyframes (time/value pairs) that define this animation. 78 Keyframes mKeyframes = null; 218 Keyframes keyframes = KeyframeSet.ofPath(path); local 220 return new MultiIntValuesHolder(propertyName, converter, null, keyframes); 257 * Can be null if the Keyframes have int[] values. 337 Keyframes keyframes = KeyframeSet.ofPath(path); local 339 return new MultiFloatValuesHolder(propertyName, converter, null, keyframes); 375 * Can be null if the Keyframes have float[] values 636 Keyframe keyframes[] = new Keyframe[Math.max(numKeyframes,2)]; local 815 List<Keyframe> keyframes = mKeyframes.getKeyframes(); local 840 List<Keyframe> keyframes = mKeyframes.getKeyframes(); local 918 List<Keyframe> keyframes = mKeyframes.getKeyframes(); local 933 List<Keyframe> keyframes = mKeyframes.getKeyframes(); local [all...] |
FloatKeyframeSet.java | 25 * values between those keyframes for a given animation. The class internal to the animation 26 * package because it is an implementation detail of how Keyframes are stored and used. 33 class FloatKeyframeSet extends KeyframeSet implements Keyframes.FloatKeyframes { 39 public FloatKeyframeSet(FloatKeyframe... keyframes) { 40 super(keyframes); 50 final List<Keyframe> keyframes = mKeyframes; local 54 newKeyframes[i] = (FloatKeyframe) keyframes.get(i).clone();
|
IntKeyframeSet.java | 25 * values between those keyframes for a given animation. The class internal to the animation 26 * package because it is an implementation detail of how Keyframes are stored and used. 33 class IntKeyframeSet extends KeyframeSet implements Keyframes.IntKeyframes { 39 public IntKeyframeSet(IntKeyframe... keyframes) { 40 super(keyframes); 50 List<Keyframe> keyframes = mKeyframes; local 54 newKeyframes[i] = (IntKeyframe) keyframes.get(i).clone();
|
ObjectAnimator.java | 48 * <p>Using Keyframes allows animations to follow more complex paths from the start 51 * value. Alternatively, you can leave the fractions off and the keyframes will be equally 268 PathKeyframes keyframes = KeyframeSet.ofPath(path); local 270 keyframes.createXIntKeyframes()); 272 keyframes.createYIntKeyframes()); 310 PathKeyframes keyframes = KeyframeSet.ofPath(path); local 312 keyframes.createXIntKeyframes()); 314 keyframes.createYIntKeyframes()); 467 PathKeyframes keyframes = KeyframeSet.ofPath(path); local 469 keyframes.createXFloatKeyframes()) 510 PathKeyframes keyframes = KeyframeSet.ofPath(path); local [all...] |
AnimatorInflater.java | 522 Keyframes xKeyframes; 523 Keyframes yKeyframes; 831 ArrayList<Keyframe> keyframes = null; local [all...] |
/external/chromium-trace/catapult/third_party/polymer/components/paper-dialog/ |
paper-dialog-transition.css | 27 animation: paper-dialog-transition-center-keyframes 0.2s cubic-bezier(0.4, 0, 0.2, 1); 28 -webkit-animation: paper-dialog-transition-center-keyframes 0.2s cubic-bezier(0.4, 0, 0.2, 1); 31 @keyframes paper-dialog-transition-center-keyframes { 46 @-webkit-keyframes paper-dialog-transition-center-keyframes {
|
/external/chromium-trace/catapult/third_party/polymer/components/paper-spinner/ |
paper-spinner.css | 47 @-webkit-keyframes container-rotate { 51 @keyframes container-rotate { 83 * animation-delay and instead set custom keyframes for each color (as redundant as it 115 @-webkit-keyframes fill-unfill-rotate { 126 @keyframes fill-unfill-rotate { 146 @-webkit-keyframes blue-fade-in-out { 155 @keyframes blue-fade-in-out { 164 @-webkit-keyframes red-fade-in-out { 172 @keyframes red-fade-in-out { 180 @-webkit-keyframes yellow-fade-in-out [all...] |
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/test/blink/resources/ |
keyframes-test.js | 19 function assertAnimationStyles(keyframes, expectations, description) { 22 element.animate(keyframes, heldTiming(progress));
|
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/test/ |
testharness-tests.js | 2 'blink/2-keyframes-with-offsets.html', 3 'blink/3-keyframes-with-offsets.html', 4 'blink/add-keyframes.html', 5 'blink/insufficient-keyframes.html', 6 'blink/simple-keyframes.html', 7 'blink/keyframes-with-null-offsets.html', 9 'blink/out-of-order-keyframes.html', 10 'blink/same-offset-keyframes.html', 11 'blink/eased-keyframes.html',
|
/external/chromium-trace/catapult/third_party/polymer/components/paper-progress/ |
paper-progress.css | 46 @-webkit-keyframes indeterminate-bar { 58 @keyframes indeterminate-bar {
|
/prebuilts/tools/linux-x86_64/kythe/web/ui/css/ |
style.css | 96 @-webkit-keyframes spin-webkit { 101 @keyframes spin {
|
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/test/js/ |
effect.js | 9 test('Normalize keyframes with all offsets specified but not sorted by offset. Some offsets are out of [0, 1] range.', function() { 22 test('Normalize keyframes with some offsets not specified, and not sorted by offset.', function() { 34 test('Normalize keyframes with some offsets not specified, and not sorted by offset. Out of order keyframes are out of [0, 1] range.', function() { 46 test('Normalize keyframes with some offsets not specified, but sorted by offset where specified. Some offsets are out of [0, 1] range.', function() { 65 test('Normalize keyframes with some offsets not specified, but sorted by offset where specified. All specified offsets in [0, 1] range.', function() { 92 test('Normalize keyframes with no offsets specified.', function() { 116 test('Normalize keyframes where a keyframe has an offset that is not a number.', function() { 126 test('Normalize keyframes where a keyframe has an offset that is a numeric string.', function() { 141 test('Normalize keyframes where some keyframes have easings.', function() [all...] |
/external/autotest/client/site_tests/documentscan_AppTestWithFakeLorgnette/document_scan_test_app/ |
scan.css | 39 @-webkit-keyframes rotation {
|
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/test/blink/interpolation/resources/ |
interpolation-test.js | 238 var keyframes = [{}, {}]; 239 keyframes[0][convertPropertyToCamelCase(params.property)] = params.from; 240 keyframes[1][convertPropertyToCamelCase(params.property)] = params.to; 242 target.animate(keyframes, {
|
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/src/ |
effect.js | 65 message: 'Partial keyframes are not supported'
|
animation-constructor.js | 39 // keyframes into a shared module.
|
normalize-keyframes.js | 170 throw new TypeError('Keyframe effect must be null or an array of keyframes'); 215 message: 'Keyframes are not loosely sorted by offset. Sort or specify offsets.'
|
/cts/tests/tests/animation/src/android/animation/cts/ |
PropertyValuesHolderTest.java | 95 private ObjectAnimator createAnimator(Keyframe... keyframes) { 96 PropertyValuesHolder pVHolder = PropertyValuesHolder.ofKeyframe(mProperty, keyframes);
|
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/ |
target-config.js | 56 'src/normalize-keyframes.js',
|
web-animations-next-lite.min.js | 15 !function(a,b){b["true"]=a;var c={},d={},e={},f=null;!function(a){function b(b,c){var d={delay:0,endDelay:0,fill:c?"both":"none",iterationStart:0,iterations:1,duration:c?"auto":0,playbackRate:1,direction:"normal",easing:"linear"};return"number"!=typeof b||isNaN(b)?void 0!==b&&Object.getOwnPropertyNames(b).forEach(function(c){if("auto"!=b[c]){if(("number"==typeof d[c]||"duration"==c)&&("number"!=typeof b[c]||isNaN(b[c])))return;if("fill"==c&&-1==p.indexOf(b[c]))return;if("direction"==c&&-1==q.indexOf(b[c]))return;if("playbackRate"==c&&1!==b[c]&&a.isDeprecated("AnimationTiming.playbackRate","2014-11-28","Use AnimationPlayer.playbackRate instead."))return;d[c]=b[c]}}):d.duration=b,d}function c(a,c){var d=b(a,c);return d.easing=f(d.easing),d}function d(a,b,c,d){return 0>a||a>1||0>c||c>1?y:function(e){function f(a,b,c){return 3*a*(1-c)*(1-c)*c+3*b*(1-c)*c*c+c*c*c}for(var g=0,h=1;;){var i=(g+h)/2,j=f(a,c,i);if(Math.abs(e-j)<.001)return f(b,d,i);e>j?g=i:h=i}}}function e(a,b){return function(c){if(c>=1)return 1;var d=1/a;return c+=b*d,c-c%d}}function f(a){var b=w.exec(a);if(b)return d.apply(this,b.slice(1).map(Number));var c=x.exec(a);if(c)return e(Number(c[1]),{start:r,middle:s,end:t}[c[2]]);var f=u[a];return f?f:y}function g(a){return Math.abs(h(a)/a.playbackRate)}function h(a){return a.duration*a.iterations}function i(a,b,c){return null==b?z:b<c.delay?A:b>=c.delay+a?B:C}function j(a,b,c,d,e){switch(d){case A:return"backwards"==b||"both"==b?0:null;case C:return c-e;case B:return"forwards"==b||"both"==b?a:null;case z:return null}}function k(a,b,c,d){return(d.playbackRate<0?b-a:b)*d.playbackRate+c}function l(a,b,c,d,e){return 1/0===c||c===-1/0||c-d==b&&e.iterations&&(e.iterations+e.iterationStart)%1==0?a:c%a}function m(a,b,c,d){return 0===c?0:b==a?d.iterationStart+d.iterations-1:Math.floor(c/a)}function n(a,b,c,d){var e=a%2>=1,f="normal"==d.direction||d.direction==(e?"alternate-reverse":"alternate"),g=f?c:b-c,h=g/b;return b*d.easing(h)}function o(a,b,c){var d=i(a,b,c),e=j(a,c.fill,b,d,c.delay);if(null===e)return null;if(0===a)return d===A?0:1;var f=c.iterationStart*c.duration,g=k(a,e,f,c),o=l(c.duration,h(c),g,f,c),p=m(c.duration,o,g,c);return n(p,c.duration,o,c)/c.duration}var p="backwards|forwards|both|none".split("|"),q="reverse|alternate|alternate-reverse".split("|"),r=1,s=.5,t=0,u={ease:d(.25,.1,.25,1),"ease-in":d(.42,0,1,1),"ease-out":d(0,0,.58,1),"ease-in-out":d(.42,0,.58,1),"step-start":e(1,r),"step-middle":e(1,s),"step-end":e(1,t)},v="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",w=new RegExp("cubic-bezier\\("+v+","+v+","+v+","+v+"\\)"),x=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/,y=function(a){return a},z=0,A=1,B=2,C=3;a.makeTiming=b,a.normalizeTimingInput=c,a.calculateActiveDuration=g,a.calculateTimeFraction=o,a.calculatePhase=i,a.toTimingFunction=f}(c,f),function(a){function b(a,b){return a in h?h[a][b]||b:b}function c(a,c,d){var g=e[a];if(g){f.style[a]=c;for(var h in g){var i=g[h],j=f.style[i];d[i]=b(i,j)}}else d[a]=b(a,c)}function d(b){function d(){var a=e.length;null==e[a-1].offset&&(e[a-1].offset=1),a>1&&null==e[0].offset&&(e[0].offset=0);for(var b=0,c=e[0].offset,d=1;a>d;d++){var f=e[d].offset;if(null!=f){for(var g=1;d-b>g;g++)e[b+g].offset=c+(f-c)*g/(d-b);b=d,c=f}}}if(!Array.isArray(b)&&null!==b)throw new TypeError("Keyframe effect must be null or an array of keyframes");if(null==b)return[];for(var e=b.map(function(b){var d={};for(var e in b){var f=b[e];if("offset"==e){if(null!=f&&(f=Number(f),!isFinite(f)))throw new TypeError("keyframe offsets must be numbers.")}else{if("composite"==e)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"add compositing is not supported"};f="easing"==e?a.toTimingFunction(f):""+f}c(e,f,d)}return void 0==d.offset&&(d.offset=null),void 0==d.easing&&(d.easing=a.toTimingFunction("linear")),d}),f=!0,g=-1/0,h=0;h<e.length;h++){var i=e[h].offset;if(null!=i){if(g>i)throw{code:DOMException.INVALID_MODIFICATION_ERR,name:"InvalidModificationError",message:"Keyframes are not loosely sorted by offset. Sort or specify offsets."};g=i}else f=!1}return e=e.filter(function(a){return a.offset>=0&&a.offset<=1}),f||d(),e}var e={background:["backgroundImage","backgroundPosition","backgroundSize","backgroundRepeat","backgroundAttachment","backgroundOrigin","backgroundClip","backgroundColor"],border:["borderTopColor","borderTopStyle","borderTopWidth","borderRightColor","borderRightStyle","borderRightWidth","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeftColor","borderLeftStyle","borderLeftWidth"],borderBottom:["borderBottomWidth","borderBottomStyle","borderBottomColor"],borderColor:["borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"],borderLeft:["borderLeftWidth","borderLeftStyle","borderLeftColor"],borderRadius:["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],borderRight:["borderRightWidth","borderRightStyle","borderRightColor"],borderTop:["borderTopWidth","borderTopStyle","borderTopColor"],borderWidth:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],flex:["flexGrow","flexShrink","flexBasis"],font:["fontFamily","fontSize","fontStyle","fontVariant","fontWeight","lineHeight"],margin:["marginTop","marginRight","marginBottom","marginLeft"],outline:["outlineColor","outlineStyle","outlineWidth"],padding:["paddingTop","paddingRight","paddingBottom","paddingLeft"]},f=document.createElementNS("http://www.w3.org/1999/xhtml","div"),g={thin:"1px",medium:"3px",thick:"5px"},h={borderBottomWidth:g,borderLeftWidth:g,borderRightWidth:g,borderTopWidth:g,fontSize:{"xx-small":"60%","x-small":"75%",small:"89%",medium:"100%",large:"120%","x-large":"150%","xx-large":"200%"},fontWeight:{normal:"400",bold:"700"},outlineWidth:g,textShadow:{none:"0px 0px 0px transparent"},boxShadow:{none:"0px 0px 0px 0px transparent"}};a.normalizeKeyframes=d}(c,f),function(a){var b={};a.isDeprecated=function(a,c,d,e){var f=e?"are":"is",g=new Date,h=new Date(c);return h.setMonth(h.getMonth()+3),h>g?(a in b||console.warn("Web Animations: "+a+" "+f+" deprecated and will stop working on "+h.toDateString()+". "+d),b[a]=!0,!1):!0},a.deprecated=function(b,c,d,e){if(a.isDeprecated(b,c,d,e))throw new Error(b+" "+auxVerb+" no longer supported. "+d)}}(c),function(){if(document.documentElement.animate){var a=document.documentElement.animate([],0),b=!0;if(a&&(b=!1,"play|currentTime|pause|reverse|playbackRate|cancel|finish|startTime|playState".split("|").forEach(function(c){void 0===a[c]&&(b=!0)})),!b)return}!function(a,b){b.AnimationNode=function(b){var c=a.calculateActiveDuration(b),d=function(d){return a.calculateTimeFraction(c,d,b)};return d._totalDuration=b.delay+c+b.endDelay,d._isCurrent=function(d){var e=a.calculatePhase(c,d,b);return e===PhaseActive||e===PhaseBefore},d}}(c,d),function(a,b){function c(a){for(var b={},c=0;c<a.length;c++)for(var d in a[c])if("offset"!=d&&"easing"!=d&&"composite"!=d){var e={offset:a[c].offset,easing:a[c].easing,value:a[c][d]};b[d]=b[d]||[],b[d].push(e)}for(var f in b){var g=b[f];if(0!=g[0].offset||1!=g[g.length-1].offset)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"Partial keyframes are not supported"}}return b}function d(a){var c=[];for(var d in a)for(var e=a[d],f=0;f<e.length-1 (…) [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/loader/ |
G3dModelLoader.java | 389 JsonValue keyframes = node.get("keyframes");
local 390 if (keyframes != null && keyframes.isArray()) {
391 for (JsonValue keyframe = keyframes.child; keyframe != null; keyframe = keyframe.next) {
|
/external/skia/experimental/docs/ |
animationCommon.js | 19 var keyframe = keyframes[frame]; 250 keyframes[frame][0]);
|
exampleSlides.js | 377 var keyframes = {
|
/build/tools/droiddoc/templates-pdk/assets/design/ |
default.css | 343 @-webkit-keyframes glowheader { 354 @-moz-keyframes glowheader { 365 @keyframes glowheader {
|