Home
last modified time | relevance | path

Searched refs:animate (Results 1 – 25 of 202) sorted by relevance

123456789

/frameworks/support/compat/java/android/support/v4/view/
DViewPropertyAnimatorCompat.java123 view.animate().setDuration(value); in setDuration()
138 view.animate().alpha(value); in alpha()
153 view.animate().alphaBy(value); in alphaBy()
168 view.animate().translationX(value); in translationX()
183 view.animate().translationY(value); in translationY()
217 view.animate().withEndAction(runnable); in withEndAction()
237 return view.animate().getDuration(); in getDuration()
254 view.animate().setInterpolator(value); in setInterpolator()
268 return (Interpolator) view.animate().getInterpolator(); in getInterpolator()
286 view.animate().setStartDelay(value); in setStartDelay()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DCollapsedStatusBarFragment.java145 public void disable(int state1, int state2, boolean animate) { in disable() argument
152 hideSystemIconArea(animate); in disable()
154 showSystemIconArea(animate); in disable()
159 hideNotificationIconArea(animate); in disable()
161 showNotificationIconArea(animate); in disable()
194 public void hideSystemIconArea(boolean animate) { in hideSystemIconArea() argument
195 animateHide(mSystemIconArea, animate); in hideSystemIconArea()
198 public void showSystemIconArea(boolean animate) { in showSystemIconArea() argument
199 animateShow(mSystemIconArea, animate); in showSystemIconArea()
202 public void hideNotificationIconArea(boolean animate) { in hideNotificationIconArea() argument
[all …]
DNavigationBarTransitions.java91 protected void onTransition(int oldMode, int newMode, boolean animate) { in onTransition() argument
92 super.onTransition(oldMode, newMode, animate); in onTransition()
93 applyLightsOut(animate, false /*force*/); in onTransition()
96 private void applyLightsOut(boolean animate, boolean force) { in applyLightsOut() argument
98 applyLightsOut(isLightsOut(getMode()), animate, force); in applyLightsOut() local
101 private void applyLightsOut(boolean lightsOut, boolean animate, boolean force) { in applyLightsOut() argument
109 navButtons.animate().cancel(); in applyLightsOut()
113 if (!animate) { in applyLightsOut()
117 navButtons.animate() in applyLightsOut()
DBarTransitions.java91 public void transitionTo(int mode, boolean animate) { in transitionTo() argument
103 modeToString(oldMode), modeToString(mode), animate)); in transitionTo()
104 onTransition(oldMode, mMode, animate); in transitionTo()
107 protected void onTransition(int oldMode, int newMode, boolean animate) { in onTransition() argument
108 applyModeBackground(oldMode, newMode, animate); in onTransition()
111 protected void applyModeBackground(int oldMode, int newMode, boolean animate) { in applyModeBackground() argument
113 modeToString(oldMode), modeToString(newMode), animate)); in applyModeBackground()
114 mBarBackground.applyModeBackground(oldMode, newMode, animate); in applyModeBackground()
210 public void applyModeBackground(int oldMode, int newMode, boolean animate) { in applyModeBackground() argument
213 mAnimating = animate; in applyModeBackground()
[all …]
DPhoneStatusBarTransitions.java76 protected void onTransition(int oldMode, int newMode, boolean animate) { in onTransition() argument
77 super.onTransition(oldMode, newMode, animate); in onTransition()
78 applyMode(newMode, animate); in onTransition()
81 private void applyMode(int mode, boolean animate) { in applyMode() argument
88 if (animate) { in applyMode()
DKeyguardAffordanceHelper.java444 boolean animate, boolean slowRadiusAnimation, boolean force, in updateIcon() argument
454 updateIconAlpha(view, alpha, animate); in updateIcon()
457 private void updateIconAlpha(KeyguardAffordanceView view, float alpha, boolean animate) { in updateIconAlpha() argument
460 view.setImageAlpha(alpha, animate); in updateIconAlpha()
461 view.setImageScale(scale, animate); in updateIconAlpha()
510 public void reset(boolean animate) { in reset() argument
512 setTranslation(0.0f, true /* isReset */, animate); in reset()
524 public void launchAffordance(boolean animate, boolean left) { in launchAffordance() argument
532 if (animate) { in launchAffordance()
DKeyguardStatusBarView.java262 public void setKeyguardUserSwitcherShowing(boolean showing, boolean animate) { in setKeyguardUserSwitcherShowing() argument
264 if (animate) { in setKeyguardUserSwitcherShowing()
281 mSystemIconsSuperContainer.animate() in animateNextLayoutChange()
289 mMultiUserSwitch.animate() in animateNextLayoutChange()
305 mMultiUserSwitch.animate() in animateNextLayoutChange()
321 mSystemIconsSuperContainer.animate().cancel(); in setVisibility()
323 mMultiUserSwitch.animate().cancel(); in setVisibility()
DNotificationIconContainer.java550 boolean animate = false; in applyToView()
562 animate = true; in applyToView()
566 animate = true; in applyToView()
568 if (!animate && mAddAnimationStartIndex >= 0 in applyToView()
573 animate = true; in applyToView()
588 animate = true; in applyToView()
591 if (!animate && mCannedAnimationStartIndex >= 0 in applyToView()
601 animate = true; in applyToView()
606 if (animate) { in applyToView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DCrossFadeHelper.java31 view.animate().cancel(); in fadeOut()
32 view.animate() in fadeOut()
46 view.animate().withLayer(); in fadeOut()
66 view.animate().cancel(); in fadeOut()
96 view.animate().cancel(); in fadeIn()
101 view.animate() in fadeIn()
107 view.animate().withLayer(); in fadeIn()
127 view.animate().cancel(); in fadeIn()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistOrbContainer.java58 public void show(final boolean show, boolean animate) { in show() argument
62 if (animate) { in show()
69 if (animate) { in show()
100 mScrim.animate() in startEnterAnimation()
105 mNavbarScrim.animate() in startEnterAnimation()
123 mScrim.animate() in startExitAnimation()
128 mNavbarScrim.animate() in startExitAnimation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardUserSwitcher.java102 public void setKeyguard(boolean keyguard, boolean animate) { in setKeyguard() argument
105 show(animate); in setKeyguard()
107 hide(animate); in setKeyguard()
120 public void show(boolean animate) { in show() argument
125 mStatusBarView.setKeyguardUserSwitcherShowing(true, animate); in show()
126 if (animate) { in show()
132 private boolean hide(boolean animate) { in hide() argument
135 if (animate) { in hide()
140 mStatusBarView.setKeyguardUserSwitcherShowing(false, animate); in hide()
149 mUserSwitcher.getChildAt(i).animate().cancel(); in cancelAnimations()
[all …]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMagnificationController.java395 public boolean reset(boolean animate) { in reset() argument
397 return resetLocked(animate); in reset()
401 private boolean resetLocked(boolean animate) { in resetLocked() argument
412 sendSpecToAnimation(spec, animate); in resetLocked()
430 public boolean setScale(float scale, float pivotX, float pivotY, boolean animate, int id) { in setScale() argument
451 return setScaleAndCenterLocked(scale, centerX, centerY, animate, id); in setScale()
469 public boolean setCenter(float centerX, float centerY, boolean animate, int id) { in setCenter() argument
474 return setScaleAndCenterLocked(Float.NaN, centerX, centerY, animate, id); in setCenter()
495 float scale, float centerX, float centerY, boolean animate, int id) { in setScaleAndCenter() argument
500 return setScaleAndCenterLocked(scale, centerX, centerY, animate, id); in setScaleAndCenter()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DPropertyAnimatorTest.java113 mAnimationFilter.animate(mProperty.getProperty()); in testAnimationStarted()
128 mAnimationFilter.animate(mProperty.getProperty()); in testEndValueUpdated()
138 mAnimationFilter.animate(mProperty.getProperty()); in testStartTagUpdated()
154 mAnimationFilter.animate(mProperty.getProperty()); in testAnimationToRightValueUpdated()
166 mAnimationFilter.animate(mProperty.getProperty()); in testAnimationToRightValueUpdateAnimated()
169 mAnimationFilter.animate(mProperty.getProperty()); in testAnimationToRightValueUpdateAnimated()
180 mAnimationFilter.animate(mProperty.getProperty()); in testStartTagShiftedWhenChanging()
191 mAnimationFilter.animate(mProperty.getProperty()); in testUsingDuration()
202 mAnimationFilter.animate(mProperty.getProperty()); in testUsingDelay()
213 mAnimationFilter.animate(mProperty.getProperty()); in testUsingInterpolator()
[all …]
/frameworks/support/compat/tests/java/android/support/v4/view/
DViewPropertyAnimatorCompatTest.java57 ViewCompat.animate(mView).alpha(0).setDuration(100).withEndAction(new Runnable() { in testWithEndAction()
73 ViewCompat.animate(mView).alpha(0).setDuration(50).withEndAction(new Runnable() { in testWithEndAction()
77 ViewCompat.animate(mView).alpha(1); in testWithEndAction()
93 ViewCompat.animate(mView).alpha(0).setDuration(100).withStartAction(new Runnable() { in testWithStartAction()
109 ViewCompat.animate(mView).alpha(0).setDuration(50).withStartAction(new Runnable() { in testWithStartAction()
113 ViewCompat.animate(mView).alpha(1); in testWithStartAction()
/frameworks/base/core/java/android/widget/
DViewAnimator.java150 void showOnly(int childIndex, boolean animate) { in showOnly() argument
155 if (animate && mInAnimation != null) { in showOnly()
161 if (animate && mOutAnimation != null && child.getVisibility() == View.VISIBLE) { in showOnly()
177 final boolean animate = (!mFirstTime || mAnimateFirstTime); in showOnly()
178 showOnly(childIndex, animate); in showOnly()
350 public void setAnimateFirstView(boolean animate) { in setAnimateFirstView() argument
351 mAnimateFirstTime = animate; in setAnimateFirstView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogMotion.java111 mDialogView.animate().cancel(); in startShow()
131 mDialogView.animate() in startShowAnimation()
184 mContents.animate() in startShowAnimation()
196 mChevron.animate() in startShowAnimation()
209 mDialogView.animate().cancel(); in startDismiss()
213 mContents.animate().cancel(); in startDismiss()
217 mChevron.animate().cancel(); in startDismiss()
220 mDialogView.animate() in startDismiss()
/frameworks/base/tests/Assist/src/com/android/test/assist/
DAssistInteractionSession.java125 mScrim.animate() in playAssistAnimation()
130 mBackground.animate() in playAssistAnimation()
157 mCard1.animate() in playAssistAnimation()
162 mCard2.animate() in playAssistAnimation()
169 mNavbarScrim.animate() in playAssistAnimation()
/frameworks/support/wear/src/android/support/wear/widget/drawer/
DPageIndicatorView.java146 animate().alpha(0f).setStartDelay(2000).setDuration(mDotFadeOutDuration).start(); in PageIndicatorView()
148 animate().cancel(); in PageIndicatorView()
484 animate().cancel(); in fadeIn()
485 animate().alpha(1f).setStartDelay(0).setDuration(mDotFadeInDuration).start(); in fadeIn()
490 animate().cancel(); in fadeOut()
491 animate().alpha(0f).setStartDelay(delayMillis).setDuration(mDotFadeOutDuration).start(); in fadeOut()
496 animate().cancel(); in fadeInOut()
497 animate() in fadeInOut()
506 animate() in fadeInOut()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/picker/
DPicker.java357 void updateColumnAlpha(int colIndex, boolean animate) { in updateColumnAlpha() argument
366 setOrAnimateAlpha(item, (selected == i), colIndex, animate); in updateColumnAlpha()
372 boolean animate) { in setOrAnimateAlpha() argument
377 setOrAnimateAlpha(view, animate, mFocusedAlpha, -1, mDecelerateInterpolator); in setOrAnimateAlpha()
379 setOrAnimateAlpha(view, animate, mUnfocusedAlpha, -1, mDecelerateInterpolator); in setOrAnimateAlpha()
384 setOrAnimateAlpha(view, animate, mVisibleColumnAlpha, -1, mDecelerateInterpolator); in setOrAnimateAlpha()
386 setOrAnimateAlpha(view, animate, mInvisibleColumnAlpha, -1, in setOrAnimateAlpha()
392 private void setOrAnimateAlpha(View view, boolean animate, float destAlpha, float startAlpha, in setOrAnimateAlpha() argument
394 view.animate().cancel(); in setOrAnimateAlpha()
395 if (!animate) { in setOrAnimateAlpha()
[all …]
/frameworks/support/design/src/android/support/design/internal/
DSnackbarContentLayout.java135 mMessageView.animate().alpha(1f).setDuration(duration) in animateContentIn()
140 mActionView.animate().alpha(1f).setDuration(duration) in animateContentIn()
148 mMessageView.animate().alpha(0f).setDuration(duration) in animateContentOut()
153 mActionView.animate().alpha(0f).setDuration(duration) in animateContentOut()
/frameworks/support/design/src/android/support/design/widget/
DTextInputLayout.java431 void updateLabelState(boolean animate) { in updateLabelState() argument
432 updateLabelState(animate, false); in updateLabelState()
435 void updateLabelState(final boolean animate, final boolean force) { in updateLabelState() argument
456 collapseHint(animate); in updateLabelState()
461 expandHint(animate); in updateLabelState()
621 mErrorView.animate().cancel(); in setErrorEnabled()
709 private void setError(@Nullable final CharSequence error, final boolean animate) { in setError() argument
724 mErrorView.animate().cancel(); in setError()
730 if (animate) { in setError()
735 mErrorView.animate() in setError()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DAnimationFilter.java52 animate(View.SCALE_X); in animateScale()
53 animate(View.SCALE_Y); in animateScale()
172 public AnimationFilter animate(Property property) { in animate() method in AnimationFilter
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DEmergencyCarrierArea.java51 mCarrierText.animate().alpha(0); in onFinishInflate()
54 mCarrierText.animate().alpha(1); in onFinishInflate()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DDefaultItemAnimator.java200 final ViewPropertyAnimator animation = view.animate(); in animateRemoveImpl()
230 final ViewPropertyAnimator animation = view.animate(); in animateAddImpl()
282 view.animate().translationX(0); in animateMoveImpl()
285 view.animate().translationY(0); in animateMoveImpl()
290 final ViewPropertyAnimator animation = view.animate(); in animateMoveImpl()
353 final ViewPropertyAnimator oldViewAnim = view.animate().setDuration( in animateChangeImpl()
377 final ViewPropertyAnimator newViewAnimation = newView.animate(); in animateChangeImpl()
439 view.animate().cancel(); in endAnimation()
525 holder.itemView.animate().setInterpolator(sDefaultInterpolator); in resetAnimation()
642 viewHolders.get(i).itemView.animate().cancel(); in cancelAll()
/frameworks/base/core/java/com/android/internal/widget/
DDefaultItemAnimator.java201 final ViewPropertyAnimator animation = view.animate(); in animateRemoveImpl()
231 final ViewPropertyAnimator animation = view.animate(); in animateAddImpl()
283 view.animate().translationX(0); in animateMoveImpl()
286 view.animate().translationY(0); in animateMoveImpl()
291 final ViewPropertyAnimator animation = view.animate(); in animateMoveImpl()
354 final ViewPropertyAnimator oldViewAnim = view.animate().setDuration( in animateChangeImpl()
378 final ViewPropertyAnimator newViewAnimation = newView.animate(); in animateChangeImpl()
440 view.animate().cancel(); in endAnimation()
526 holder.itemView.animate().setInterpolator(sDefaultInterpolator); in resetAnimation()
643 viewHolders.get(i).itemView.animate().cancel(); in cancelAll()

123456789