Searched refs:animator (Results 1 - 25 of 118) sorted by relevance

12345

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
H A DTouchAnimatorTests.java38 TouchAnimator animator = new TouchAnimator.Builder()
42 animator.setPosition(0);
45 animator.setPosition(.5f);
48 animator.setPosition(1);
53 TouchAnimator animator = new TouchAnimator.Builder()
57 animator.setPosition(0);
60 animator.setPosition(.5f);
63 animator.setPosition(1);
68 TouchAnimator animator = new TouchAnimator.Builder()
73 animator
[all...]
/frameworks/base/libs/hwui/
H A DAnimatorManager.cpp30 static void detach(sp<BaseRenderNodeAnimator>& animator) { argument
31 animator->detach();
44 void AnimatorManager::addAnimator(const sp<BaseRenderNodeAnimator>& animator) { argument
45 RenderNode* stagingTarget = animator->stagingTarget();
49 mNewAnimators.emplace_back(animator.get());
50 // If the animator is already attached to other RenderNode, remove it from that RenderNode's
51 // new animator list. This ensures one animator only ends up in one newAnimatorList during one
54 stagingTarget->removeAnimator(animator);
56 animator
59 removeAnimator(const sp<BaseRenderNodeAnimator>& animator) argument
91 onAnimatorTargetChanged(BaseRenderNodeAnimator* animator) argument
101 operator ()(sp<BaseRenderNodeAnimator>& animator) argument
154 endStagingAnimator(sp<BaseRenderNodeAnimator>& animator) argument
173 operator ()(sp<BaseRenderNodeAnimator>& animator) argument
[all...]
H A DAnimatorManager.h41 void addAnimator(const sp<BaseRenderNodeAnimator>& animator);
42 void removeAnimator(const sp<BaseRenderNodeAnimator>& animator);
48 void onAnimatorTargetChanged(BaseRenderNodeAnimator* animator);
/frameworks/base/core/jni/
H A Dandroid_view_RenderNodeAnimator.cpp50 virtual void onAnimationFinished(BaseRenderNodeAnimator* animator) { argument
51 LOG_ALWAYS_FATAL("Lifecycle failure, nStart(%p) wasn't called", animator);
111 BaseRenderNodeAnimator* animator = new RenderPropertyAnimator(property, finalValue); local
112 animator->setListener(&sLifecycleChecker);
113 return reinterpret_cast<jlong>( animator );
119 BaseRenderNodeAnimator* animator = new CanvasPropertyPrimitiveAnimator(canvasProperty, finalValue); local
120 animator->setListener(&sLifecycleChecker);
121 return reinterpret_cast<jlong>( animator );
129 BaseRenderNodeAnimator* animator = new CanvasPropertyPaintAnimator( local
131 animator
137 BaseRenderNodeAnimator* animator = new RevealAnimator(centerX, centerY, startRadius, endRadius); local
143 BaseRenderNodeAnimator* animator = reinterpret_cast<BaseRenderNodeAnimator*>(animatorPtr); local
154 BaseRenderNodeAnimator* animator = reinterpret_cast<BaseRenderNodeAnimator*>(animatorPtr); local
165 BaseRenderNodeAnimator* animator = reinterpret_cast<BaseRenderNodeAnimator*>(animatorPtr); local
171 BaseRenderNodeAnimator* animator = reinterpret_cast<BaseRenderNodeAnimator*>(animatorPtr); local
176 BaseRenderNodeAnimator* animator = reinterpret_cast<BaseRenderNodeAnimator*>(animatorPtr); local
181 BaseRenderNodeAnimator* animator = reinterpret_cast<BaseRenderNodeAnimator*>(animatorPtr); local
186 BaseRenderNodeAnimator* animator = reinterpret_cast<BaseRenderNodeAnimator*>(animatorPtr); local
[all...]
/frameworks/support/design/base/android/support/design/widget/
H A DStateListAnimator.java33 public void onAnimationEnd(ValueAnimatorCompat animator) {
34 if (mRunningAnimator == animator) {
45 * @param animator The animator to run when the specs match
47 public void addState(int[] specs, ValueAnimatorCompat animator) { argument
48 Tuple tuple = new Tuple(specs, animator);
49 animator.addListener(mAnimationListener);
108 Tuple(int[] specs, ValueAnimatorCompat animator) { argument
110 mAnimator = animator;
H A DValueAnimatorCompat.java33 * @param animator The animation which was repeated.
35 void onAnimationUpdate(ValueAnimatorCompat animator); argument
47 * @param animator The started animation.
49 void onAnimationStart(ValueAnimatorCompat animator); argument
54 * @param animator The animation which reached its end.
56 void onAnimationEnd(ValueAnimatorCompat animator); argument
61 * @param animator The animation which was canceled.
63 void onAnimationCancel(ValueAnimatorCompat animator); argument
68 public void onAnimationStart(ValueAnimatorCompat animator) { argument
72 public void onAnimationEnd(ValueAnimatorCompat animator) { argument
76 onAnimationCancel(ValueAnimatorCompat animator) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/view/
H A DViewPropertyAnimatorCompatSet.java51 public ViewPropertyAnimatorCompatSet play(ViewPropertyAnimatorCompat animator) { argument
53 mAnimators.add(animator);
68 for (ViewPropertyAnimatorCompat animator : mAnimators) {
70 animator.setDuration(mDuration);
73 animator.setInterpolator(mInterpolator);
76 animator.setListener(mProxyListener);
78 animator.start();
92 for (ViewPropertyAnimatorCompat animator : mAnimators) {
93 animator.cancel();
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DAnimated3dActivity.java45 ObjectAnimator animator = ObjectAnimator.ofFloat(view, "rotationY", 0.0f, 360.0f);
46 animator.setDuration(4000);
47 animator.setRepeatCount(ObjectAnimator.INFINITE);
48 animator.setRepeatMode(ObjectAnimator.REVERSE);
49 animator.start();
H A DClipOutlineActivity.java46 ObjectAnimator animator = ObjectAnimator.ofFloat(group, "clipPosition", 0.0f, 1.0f);
47 animator.setDuration(3000);
48 animator.setRepeatCount(ValueAnimator.INFINITE);
49 animator.setRepeatMode(ValueAnimator.REVERSE);
50 animator.start();
H A DClipRegionActivity.java43 ObjectAnimator animator = ObjectAnimator.ofFloat(group, "clipPosition", 0.0f, 1.0f);
44 animator.setDuration(3000);
45 animator.setRepeatCount(ValueAnimator.INFINITE);
46 animator.setRepeatMode(ValueAnimator.REVERSE);
47 animator.start();
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
H A DGlTextureViewActivity.java54 ObjectAnimator animator = ObjectAnimator.ofFloat(mTextureView, "rotationY", 0.0f, 360.0f);
55 animator.setRepeatMode(ObjectAnimator.REVERSE);
56 animator.setRepeatCount(ObjectAnimator.INFINITE);
57 animator.setDuration(4000);
58 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {
64 animator.start();
H A DInvalidateActivity.java83 ObjectAnimator animator = ObjectAnimator.ofInt(this, "colorValue", 0, 255);
84 animator.setRepeatMode(ValueAnimator.REVERSE);
85 animator.setRepeatCount(ValueAnimator.INFINITE);
86 animator.start();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DFlingAnimationUtils.java62 * Applies the interpolator and length to the animator, such that the fling animation is
65 * @param animator the animator to apply
67 * @param endValue the end value of the animator
70 public void apply(Animator animator, float currValue, float endValue, float velocity) { argument
71 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue));
75 * Applies the interpolator and length to the animator, such that the fling animation is
78 * @param animator the animator to apply
80 * @param endValue the end value of the animator
83 apply(ViewPropertyAnimator animator, float currValue, float endValue, float velocity) argument
99 apply(Animator animator, float currValue, float endValue, float velocity, float maxDistance) argument
118 apply(ViewPropertyAnimator animator, float currValue, float endValue, float velocity, float maxDistance) argument
166 applyDismissing(Animator animator, float currValue, float endValue, float velocity, float maxDistance) argument
186 applyDismissing(ViewPropertyAnimator animator, float currValue, float endValue, float velocity, float maxDistance) argument
[all...]
H A DKeyguardAffordanceView.java257 RenderNodeAnimator animator = new RenderNodeAnimator(mHwCirclePaint,
259 animator.setTarget(this);
260 animator.setInterpolator(Interpolators.ALPHA_IN);
261 animator.setDuration(250);
262 animator.start();
278 RenderNodeAnimator animator = new RenderNodeAnimator(mHwCirclePaint,
280 animator.setDuration(duration);
281 animator.setInterpolator(Interpolators.ALPHA_OUT);
282 animator.setTarget(this);
283 animator
399 cancelAnimator(Animator animator) argument
[all...]
/frameworks/base/core/java/android/view/
H A DViewPropertyAnimatorRT.java84 RenderNodeAnimator animator = new RenderNodeAnimator(property, finalValue);
85 animator.setStartDelay(startDelay);
86 animator.setDuration(duration);
87 animator.setInterpolator(interpolator);
88 animator.setTarget(mView);
89 animator.start();
91 mAnimators[property] = animator;
106 // animator subsystem instead of multiple.
/frameworks/base/services/core/java/com/android/server/wm/
H A DDimLayerController.java146 + " state.animator=" + state.animator);
147 if (newWinAnimator.getShown() && (state.animator == null
148 || !state.animator.getShown()
149 || state.animator.mAnimLayer <= newWinAnimator.mAnimLayer)) {
150 state.animator = newWinAnimator;
151 if (state.animator.mWin.mAppToken == null && !dimLayerUser.dimFullscreen()) {
176 if (state.animator != null && state.animator.mWin.mWillReplaceWindow) {
181 state.animator
313 applyDimBehind(DimLayer.DimLayerUser dimLayerUser, WindowStateAnimator animator) argument
317 applyDimAbove(DimLayer.DimLayerUser dimLayerUser, WindowStateAnimator animator) argument
321 applyDim( DimLayer.DimLayerUser dimLayerUser, WindowStateAnimator animator, boolean aboveApp) argument
339 WindowStateAnimator animator; field in class:DimLayerController.DimLayerState
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/tv/pip/
H A DPipRecentsControlsView.java96 Animator animator = AnimatorInflater.loadAnimator(getContext(), animatorResId);
97 animator.setTarget(view);
98 return animator;
142 private static void startAnimator(Animator animator, Animator previousAnimator) { argument
144 if (!animator.isStarted()) {
145 animator.start();
149 private static void cancelAnimator(Animator animator) { argument
150 if (animator.isStarted()) {
151 animator.cancel();
/frameworks/support/transition/tests/src/android/support/transition/
H A DFadeTest.java63 Animator animator = fade.createAnimator(mRoot, startValues, endValues);
64 assertThat(animator, is(notNullValue()));
79 Animator animator = fade.createAnimator(mRoot, startValues, endValues);
80 assertThat(animator, is(notNullValue()));
93 Animator animator = fade.createAnimator(mRoot, startValues, endValues);
95 assertThat(animator, is(nullValue()));
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DStackStateAnimator.java39 * An stack state animator which handles animations to new StackScrollStates
409 // we need to increase all animation keyframes of the previous animator by the
426 ValueAnimator animator = ValueAnimator.ofFloat(child.getShadowAlpha(), newEndValue);
427 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {
433 animator.setInterpolator(Interpolators.FAST_OUT_SLOW_IN);
435 animator.setDuration(newDuration);
438 animator.setStartDelay(delay);
440 animator.addListener(getGlobalAnimationFinishedListener());
442 animator.addListener(new AnimatorListenerAdapter() {
450 startAnimator(animator);
782 startAnimator(ValueAnimator animator) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DPlayAnimationThread.java30 public PlayAnimationThread(Animator animator, RenderSessionImpl scene, String animName, argument
33 mAnimator = animator;
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
H A DAnimationView.java35 * res/animator, specifically the "position" property referenced by
36 * res/animator/dir_{enter,leave}.xml.
81 // please remember to add RLT variations of the animations under res/animator-ldrtl.
105 ft.setCustomAnimations(R.animator.dir_enter, R.animator.fade_out);
108 ft.setCustomAnimations(R.animator.fade_in, R.animator.dir_leave);
/frameworks/support/design/honeycomb-mr1/android/support/design/widget/
H A DValueAnimatorCompatImplHoneycombMr1.java61 public void onAnimationStart(Animator animator) {
66 public void onAnimationEnd(Animator animator) {
71 public void onAnimationCancel(Animator animator) {
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/transition/
H A DScale.java60 ValueAnimator animator = ValueAnimator.ofFloat(startScale, endScale);
61 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {
69 return animator;
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DOnboardingFragment.java369 Animator animator = null;
374 R.animator.lb_onboarding_logo_enter);
376 R.animator.lb_onboarding_logo_exit);
381 animator = logoAnimator;
383 animator = onCreateLogoAnimation();
385 if (animator != null) {
386 animator.addListener(new AnimatorListenerAdapter() {
394 animator.start();
456 Animator animator = AnimatorInflater.loadAnimator(getActivity(),
457 R.animator
[all...]
H A DOnboardingSupportFragment.java371 Animator animator = null;
376 R.animator.lb_onboarding_logo_enter);
378 R.animator.lb_onboarding_logo_exit);
383 animator = logoAnimator;
385 animator = onCreateLogoAnimation();
387 if (animator != null) {
388 animator.addListener(new AnimatorListenerAdapter() {
396 animator.start();
458 Animator animator = AnimatorInflater.loadAnimator(getActivity(),
459 R.animator
[all...]

Completed in 260 milliseconds

12345