/frameworks/base/services/core/java/com/android/server/wm/ |
AppWindowAnimator.java | 124 public void setAnimation(Animation anim, int width, int height, int parentWidth, 128 + ": " + anim + " wxh=" + width + "x" + height 130 animation = anim; 132 if (!anim.isInitialized()) { 133 anim.initialize(width, height, parentWidth, parentHeight); 135 anim.restrictDuration(WindowManagerService.MAX_ANIMATION_DURATION); 136 anim.scaleCurrentDuration(mService.getTransitionAnimationScaleLocked()); 137 int zorder = anim.getZAdjustment(); 160 anim.setBackgroundColor(0); 293 // token's anim layer [all...] |
ScreenRotationAnimation.java | 413 com.android.internal.R.anim.screen_rotate_start_exit); 415 com.android.internal.R.anim.screen_rotate_start_enter); 418 com.android.internal.R.anim.screen_rotate_start_frame); 421 com.android.internal.R.anim.screen_rotate_finish_exit); 423 com.android.internal.R.anim.screen_rotate_finish_enter); 426 com.android.internal.R.anim.screen_rotate_finish_frame); 444 com.android.internal.R.anim.screen_rotate_0_exit); 446 com.android.internal.R.anim.screen_rotate_0_enter); 449 com.android.internal.R.anim.screen_rotate_0_frame); 454 com.android.internal.R.anim.screen_rotate_plus_90_exit) [all...] |
/frameworks/base/core/java/android/widget/ |
ActionMenuPresenter.java | 325 ObjectAnimator anim; local 328 anim = ObjectAnimator.ofPropertyValuesHolder(menuItemLayoutInfoPost.view, 331 anim = ObjectAnimator.ofPropertyValuesHolder(menuItemLayoutInfoPost.view, pvhX); 334 anim = ObjectAnimator.ofPropertyValuesHolder(menuItemLayoutInfoPost.view, pvhY); 336 anim.setDuration(ITEM_ANIMATION_DURATION); 337 anim.start(); 338 ItemAnimationInfo info = new ItemAnimationInfo(id, menuItemLayoutInfoPost, anim, 341 anim.addListener(new AnimatorListenerAdapter() { 364 ObjectAnimator anim = ObjectAnimator.ofFloat(menuItemLayoutInfoPre.view, View.ALPHA, local 368 anim.setDuration(ITEM_ANIMATION_DURATION) 401 ObjectAnimator anim = ObjectAnimator.ofFloat(menuItemLayoutInfo.view, View.ALPHA, local [all...] |
/hardware/libhardware/tests/hwc/ |
test-arrows.c | 123 static float anim = 0.0; variable 126 anim += 0.1; 127 if (anim >= 16.0) anim = 0.0; 133 glUniform1f(uAnim, anim);
|
/development/samples/devbytes/animation/PropertyAnimations/src/com/example/android/propertyanimations/ |
PropertyAnimations.java | 102 Animator anim = AnimatorInflater.loadAnimator(PropertyAnimations.this, animationID); 103 anim.setTarget(v); 104 anim.start();
|
/frameworks/base/libs/hwui/ |
AnimatorManager.cpp | 81 for (auto& anim : mNewAnimators) { 82 if (anim->target() != &mParent) { 83 mAnimators.push_back(std::move(anim));
|
/frameworks/support/design/src/android/support/design/widget/ |
BaseTransientBottomBar.java | 538 final Animation anim = AnimationUtils.loadAnimation(mView.getContext(), local 539 R.anim.design_snackbar_in); 540 anim.setInterpolator(FAST_OUT_SLOW_IN_INTERPOLATOR); 541 anim.setDuration(ANIMATION_DURATION); 542 anim.setAnimationListener(new Animation.AnimationListener() { 554 mView.startAnimation(anim); 592 final Animation anim = AnimationUtils.loadAnimation(mView.getContext(), local 593 R.anim.design_snackbar_out); 594 anim.setInterpolator(FAST_OUT_SLOW_IN_INTERPOLATOR); 595 anim.setDuration(ANIMATION_DURATION) [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
ScrollingTabContainerView.java | 241 ViewPropertyAnimator anim = animate().alpha(1f); local 242 anim.setDuration(FADE_DURATION); 244 anim.setInterpolator(sAlphaInterpolator); 245 anim.setListener(mVisAnimListener.withFinalVisibility(anim, visibility)); 246 anim.start(); 248 ViewPropertyAnimator anim = animate().alpha(0f); local 249 anim.setDuration(FADE_DURATION); 251 anim.setInterpolator(sAlphaInterpolator); 252 anim.setListener(mVisAnimListener.withFinalVisibility(anim, visibility)) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
PhotoPageBottomControls.java | 54 Animation anim = visible ? new AlphaAnimation(0f, 1f) local 56 anim.setDuration(CONTROL_ANIM_DURATION_MS); 57 return anim;
|
/development/samples/devbytes/animation/WindowAnimations/src/com/example/android/windowanimations/ |
WindowAnimations.java | 70 R.anim.slide_in_left, R.anim.slide_out_left).toBundle();
|
/frameworks/base/core/java/com/android/internal/widget/helper/ |
ItemTouchHelper.java | 666 void postDispatchSwipe(final RecoverAnimation anim, final int swipeDir) { 672 && !anim.mOverridden 673 && anim.mViewHolder.getAdapterPosition() != RecyclerView.NO_POSITION) { 680 mCallback.onSwiped(anim.mViewHolder, swipeDir); 880 final RecoverAnimation anim = mRecoverAnimations.get(i); local 1011 final RecoverAnimation anim = mRecoverAnimations.get(i); local 1122 final RecoverAnimation anim = mRecoverAnimations.get(i); local 1928 final ItemTouchHelper.RecoverAnimation anim = recoverAnimationList.get(i); local 1947 final ItemTouchHelper.RecoverAnimation anim = recoverAnimationList.get(i); local 1960 final RecoverAnimation anim = recoverAnimationList.get(i); local [all...] |
/frameworks/base/core/tests/coretests/src/android/animation/ |
StateListAnimatorTest.java | 44 .loadStateListAnimator(getActivity(), R.anim.test_state_anim); 86 .loadStateListAnimator(getActivity(), R.anim.test_state_anim);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/tv/ |
PipMenuActivity.java | 57 this, R.anim.tv_pip_menu_fade_in_animation); 60 this, R.anim.tv_pip_menu_fade_out_animation);
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/ |
ItemTouchHelper.java | 664 void postDispatchSwipe(final RecoverAnimation anim, final int swipeDir) { 670 && !anim.mOverridden 671 && anim.mViewHolder.getAdapterPosition() != RecyclerView.NO_POSITION) { 678 mCallback.onSwiped(anim.mViewHolder, swipeDir); 878 final RecoverAnimation anim = mRecoverAnimations.get(i); local 1009 final RecoverAnimation anim = mRecoverAnimations.get(i); local 1120 final RecoverAnimation anim = mRecoverAnimations.get(i); local 1934 final ItemTouchHelper.RecoverAnimation anim = recoverAnimationList.get(i); local 1953 final ItemTouchHelper.RecoverAnimation anim = recoverAnimationList.get(i); local 1966 final RecoverAnimation anim = recoverAnimationList.get(i); local [all...] |
/packages/apps/Car/Dialer/src/com/android/car/dialer/ |
TelecomActivity.java | 302 .setCustomAnimations(R.anim.telecom_slide_in, R.anim.telecom_slide_out, 303 R.anim.telecom_slide_in, R.anim.telecom_slide_out) 349 R.anim.telecom_slide_in_with_delay, R.anim.telecom_slide_out); 357 R.anim.telecom_fade_in, R.anim.telecom_fade_out);
|
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/ |
HeaderCell.java | 104 ImageView arrow, @AnimatorRes int anim, @StringRes int contentDescriptionId) { 111 (ObjectAnimator) AnimatorInflater.loadAnimator(getContext(), anim);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
GLView.java | 23 import com.android.gallery3d.anim.CanvasAnimation; 24 import com.android.gallery3d.anim.StateTransitionAnimation; 276 CanvasAnimation anim = component.mAnimation; local 277 if (anim != null) { 278 canvas.save(anim.getCanvasSaveFlags()); 279 if (anim.calculate(AnimationTime.get())) { 284 anim.apply(canvas); 287 if (anim != null) canvas.restore();
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/ |
PermissionsFrameFragment.java | 96 shown ? android.R.anim.fade_in : android.R.anim.fade_out);
|
/frameworks/base/core/java/com/android/internal/widget/ |
ToolbarWidgetWrapper.java | 577 Animator anim = setupAnimatorToVisibility(visibility, DEFAULT_FADE_DURATION_MS); local 578 if (anim != null) { 579 anim.start(); 587 ObjectAnimator anim = ObjectAnimator.ofFloat(mToolbar, View.ALPHA, 1, 0); local 588 anim.setDuration(duration); 589 anim.addListener(new AnimatorListenerAdapter() { 603 return anim; 605 ObjectAnimator anim = ObjectAnimator.ofFloat(mToolbar, View.ALPHA, 0, 1); local 606 anim.setDuration(duration); 607 anim.addListener(new AnimatorListenerAdapter() [all...] |
/frameworks/base/core/java/android/app/ |
ListFragment.java | 349 getContext(), android.R.anim.fade_out)); 351 getContext(), android.R.anim.fade_in)); 361 getContext(), android.R.anim.fade_in)); 363 getContext(), android.R.anim.fade_out));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
SlashDrawable.java | 129 ObjectAnimator anim = ObjectAnimator.ofFloat(this, mSlashLengthProp, start, end); local 130 anim.addUpdateListener((ValueAnimator valueAnimator) -> invalidateSelf()); 131 anim.setDuration(QS_ANIM_LENGTH); 132 anim.start();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
QSIconViewImpl.java | 169 ValueAnimator anim = ValueAnimator.ofFloat(0, 1); local 170 anim.setDuration(QS_ANIM_LENGTH); 171 anim.addUpdateListener(animation -> { 179 anim.start();
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
MarqueeActivity.java | 61 R.anim.slide_off_left);
|
/frameworks/support/fragment/java/android/support/v4/app/ |
ListFragment.java | 293 getContext(), android.R.anim.fade_out)); 295 getContext(), android.R.anim.fade_in)); 305 getContext(), android.R.anim.fade_in)); 307 getContext(), android.R.anim.fade_out));
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
WindowDecorActionBar.java | 802 ViewPropertyAnimatorCompatSet anim = new ViewPropertyAnimatorCompatSet(); local 805 anim.play(a); 808 anim.play(ViewCompat.animate(mContentView).translationY(0f)); 810 anim.setInterpolator(sShowInterpolator); 811 anim.setDuration(250); 819 anim.setListener(mShowListener); 820 mCurrentShowAnim = anim; 821 anim.start(); 843 ViewPropertyAnimatorCompatSet anim = new ViewPropertyAnimatorCompatSet(); local 852 anim.play(a) [all...] |