Home
last modified time | relevance | path

Searched refs:animator (Results 1 – 23 of 23) sorted by relevance

/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/
DDefaultCardStreamAnimator.java36 ObjectAnimator animator = ObjectAnimator.ofPropertyValuesHolder(new Object(), in getDisappearingAnimator() local
42 animator.setDuration((long) (200 * mSpeedFactor)); in getDisappearingAnimator()
43 return animator; in getDisappearingAnimator()
54 ObjectAnimator animator = ObjectAnimator.ofPropertyValuesHolder(new Object(), in getAppearingAnimator() local
59 animator.setDuration((long) (200 * mSpeedFactor)); in getAppearingAnimator()
60 return animator; in getAppearingAnimator()
67 ObjectAnimator animator = ObjectAnimator.ofPropertyValuesHolder(new Object(), in getInitalAnimator() local
71 animator.setDuration((long) (200 * mSpeedFactor)); in getInitalAnimator()
72 return animator; in getInitalAnimator()
86 ObjectAnimator animator = ObjectAnimator.ofPropertyValuesHolder(view, in getSwipeInAnimator() local
[all …]
DCardStreamLinearLayout.java239 ObjectAnimator animator; in onLayout() local
242 animator = mAnimators.getDisappearingAnimator(getContext()); in onLayout()
243 layoutTransition.setAnimator(LayoutTransition.DISAPPEARING, animator); in onLayout()
245 animator = mAnimators.getAppearingAnimator(getContext()); in onLayout()
246 layoutTransition.setAnimator(LayoutTransition.APPEARING, animator); in onLayout()
250 if( animator != null ) in onLayout()
251 layoutTransition.setDuration(animator.getDuration()); in onLayout()
469 ObjectAnimator animator = mAnimators.getInitalAnimator(getContext()); in runInitialAnimations() local
470 if( animator != null ){ in runInitialAnimations()
471 animator.setTarget(child); in runInitialAnimations()
[all …]
DCard.java158 ObjectAnimator animator = ObjectAnimator.ofFloat(mOverlayView, "alpha", 0.f); in setState() local
159 animator.setRepeatMode(ObjectAnimator.REVERSE); in setState()
160 animator.setRepeatCount(ObjectAnimator.INFINITE); in setState()
161 animator.setDuration(1000); in setState()
162 animator.start(); in setState()
163 mOngoingAnimator = animator; in setState()
/development/samples/devbytes/animation/PropertyAnimations/src/com/example/android/propertyanimations/
DPropertyAnimations.java87 setupAnimation(alphaButton, alphaAnimation, R.animator.fade); in onCreate()
88 setupAnimation(translateButton, translateAnimation, R.animator.move); in onCreate()
89 setupAnimation(rotateButton, rotateAnimation, R.animator.spin); in onCreate()
90 setupAnimation(scaleButton, scaleAnimation, R.animator.scale); in onCreate()
91 setupAnimation(setButton, setAnimation, R.animator.combo); in onCreate()
/development/samples/browseable/RevealEffectBasic/src/com.example.android.revealeffectbasic/
DRevealEffectBasicFragment.java59 Animator animator = ViewAnimationUtils.createCircularReveal( in onCreateView()
67 animator.setInterpolator(new AccelerateDecelerateInterpolator()); in onCreateView()
70 animator.start(); in onCreateView()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DFragmentCustomAnimations.java78 ft.setCustomAnimations(R.animator.fragment_slide_left_enter, in addFragmentToStack()
79 R.animator.fragment_slide_left_exit, in addFragmentToStack()
80 R.animator.fragment_slide_right_enter, in addFragmentToStack()
81 R.animator.fragment_slide_right_exit); in addFragmentToStack()
DFragmentHideShow.java61 ft.setCustomAnimations(android.R.animator.fade_in, in addShowHideListener()
62 android.R.animator.fade_out); in addShowHideListener()
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/
DCardFlipActivity.java130 R.animator.card_flip_right_in, R.animator.card_flip_right_out, in flipCard()
131 R.animator.card_flip_left_in, R.animator.card_flip_left_out) in flipCard()
/development/samples/browseable/Interpolator/src/com.example.android.interpolator/
DInterpolatorFragment.java207 ObjectAnimator animator = ObjectAnimator.ofFloat(mView, View.SCALE_X, View.SCALE_Y, path); in startAnimation() local
210 animator.setDuration(duration); in startAnimation()
211 animator.setInterpolator(interpolator); in startAnimation()
213 animator.start(); in startAnimation()
215 return animator; in startAnimation()
/development/samples/browseable/CustomTransition/src/com.example.android.customtransition/
DChangeColor.java95 ValueAnimator animator = ValueAnimator.ofObject(new ArgbEvaluator(), in createAnimator() local
98 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in createAnimator()
111 return animator; in createAnimator()
/development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/
DInsertingCells.java94 ObjectAnimator animator = mRoundView.getScalingAnimator(); in addRow() local
95 animator.addListener(new AnimatorListenerAdapter() { in addRow()
101 animator.start(); in addRow()
/development/samples/devbytes/animation/SlidingFragments/src/com/example/android/slidingfragments/
DTextFragment.java47 int id = enter ? R.animator.slide_fragment_in : R.animator.slide_fragment_out; in onCreateAnimator()
DSlidingFragments.java112 transaction.setCustomAnimations(R.animator.slide_fragment_in, 0, 0, in switchFragments()
113 R.animator.slide_fragment_out); in switchFragments()
/development/samples/devbytes/animation/MultiPropertyAnimations/src/com/example/android/multipropertyanimations/
DMultiPropertyAnimations.java56 public void onAnimationUpdate(ValueAnimator animator) { in runValueAnimator()
57 float fraction = animator.getAnimatedFraction(); in runValueAnimator()
/development/samples/devbytes/animation/CardFlip/src/com/example/android/cardflip/
DCardView.java285 ObjectAnimator animator = ObjectAnimator.ofFloat(this, View.ROTATION, rotation);
287 animator.setStartDelay(ROTATION_DELAY_PER_CARD * cardFromTop);
288 animator.setDuration(ROTATION_DURATION);
290 animator.addListener(new AnimatorListenerAdapter() {
297 return animator;
/development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/
DFoldingLayoutActivity.java330 ObjectAnimator animator = ObjectAnimator.ofFloat(mFoldLayout, "foldFactor", foldFactor, 1); in animateFold() local
331 animator.setRepeatMode(ValueAnimator.REVERSE); in animateFold()
332 animator.setRepeatCount(1); in animateFold()
333 animator.setDuration(FOLD_ANIMATION_DURATION); in animateFold()
334 animator.setInterpolator(new AccelerateInterpolator()); in animateFold()
335 animator.start(); in animateFold()
/development/samples/devbytes/graphics/ImagePixelization/src/com/example/android/imagepixelization/
DImagePixelization.java123 ObjectAnimator animator = ObjectAnimator.ofInt(mSeekBar, "progress", 0, in onOptionsItemSelected() local
125 animator.setInterpolator(new LinearInterpolator()); in onOptionsItemSelected()
126 animator.setDuration(SEEKBAR_ANIMATION_DURATION); in onOptionsItemSelected()
127 animator.start(); in onOptionsItemSelected()
/development/samples/MultiDisplay/src/com/example/android/multidisplay/launcher/
DLauncherActivity.java278 final Animator animator = revealAnimator(mAppDrawerView, show); in showAppDrawer() local
288 animator.addListener(new AnimatorListenerAdapter() { in showAppDrawer()
297 animator.start(); in showAppDrawer()
/development/samples/devbytes/animation/ListViewDraggingAnimation/src/com/example/android/listviewdragginganimation/
DDynamicListView.java362 ObjectAnimator animator = ObjectAnimator.ofFloat(switchView, in handleCellSwitch()
364 animator.setDuration(MOVE_DURATION); in handleCellSwitch()
365 animator.start(); in handleCellSwitch()
/development/samples/IntentPlayground/src/com/example/android/intentplayground/
DBaseActivity.java142 .setCustomAnimations(android.R.animator.fade_in, android.R.animator.fade_out); in loadMode()
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/
DListViewItemAnimations.java361 private void setAnimatorEndAction(Animator animator, final Runnable endAction) { in setAnimatorEndAction() argument
363 animator.addListener(new AnimatorListenerAdapter() { in setAnimatorEndAction()
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
DMainActivity.java203 public void onAnimationEnd(Animator animator) { in toggleVisibleTitles()
221 public void onAnimationEnd(Animator animator) { in toggleVisibleTitles()
/development/samples/ApiDemos/src/com/example/android/apis/animation/
DAnimationLoading.java97 loadAnimator(appContext, R.anim.animator); in createAnimation()