Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/widget/
DViewAnimator.java151 void showOnly(int childIndex, boolean animate) { in showOnly() argument
156 if (animate && mInAnimation != null) { in showOnly()
162 if (animate && mOutAnimation != null && child.getVisibility() == View.VISIBLE) { in showOnly()
178 final boolean animate = (!mFirstTime || mAnimateFirstTime); in showOnly()
179 showOnly(childIndex, animate); in showOnly()
351 public void setAnimateFirstView(boolean animate) { in setAnimateFirstView() argument
352 mAnimateFirstTime = animate; in setAnimateFirstView()
DAdapterViewAnimator.java264 void transformViewForTransition(int fromIndex, int toIndex, View view, boolean animate) { in transformViewForTransition() argument
296 private void setDisplayedChild(int whichChild, boolean animate) { in setDisplayedChild() argument
307 showOnly(mWhichChild, animate); in setDisplayedChild()
455 void showOnly(int childIndex, boolean animate) { in showOnly() argument
509 transformViewForTransition(oldRelativeIndex, -1, previousView, animate); in showOnly()
537 transformViewForTransition(oldRelativeIndex, newRelativeIndex, view, animate); in showOnly()
558 transformViewForTransition(-1, newRelativeIndex, fl, animate); in showOnly()
936 public void setAnimateFirstView(boolean animate) { in setAnimateFirstView() argument
937 mAnimateFirstTime = animate; in setAnimateFirstView()
DAbsSpinner.java268 public void setSelection(int position, boolean animate) { in setSelection() argument
270 boolean shouldAnimate = animate && mFirstPosition <= position && in setSelection()
290 void setSelectionInt(int position, boolean animate) { in setSelectionInt() argument
295 layout(delta, animate); in setSelectionInt()
300 abstract void layout(int delta, boolean animate); in layout() argument
DStackView.java226 void transformViewForTransition(int fromIndex, int toIndex, final View view, boolean animate) { in transformViewForTransition() argument
227 if (!animate) { in transformViewForTransition()
248 if (animate) { in transformViewForTransition()
268 if (animate) { in transformViewForTransition()
296 if (animate) { in transformViewForTransition()
309 transformViewAtIndex(toIndex, view, animate); in transformViewForTransition()
313 private void transformViewAtIndex(int index, final View view, boolean animate) { in transformViewAtIndex() argument
345 if (animate) { in transformViewAtIndex()
418 void showOnly(int childIndex, boolean animate) { in showOnly() argument
419 super.showOnly(childIndex, animate); in showOnly()
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
DKeyguardMultiUserSelectorView.java90 public void finalizeActiveUserView(boolean animate) { in finalizeActiveUserView() argument
91 if (animate) { in finalizeActiveUserView()
99 finalizeActiveUserNow(animate); in finalizeActiveUserView()
103 void finalizeActiveUserNow(boolean animate) { in finalizeActiveUserNow() argument
105 mActiveUserAvatar.setActive(true, animate, null); in finalizeActiveUserNow()
DEmergencyCarrierArea.java53 mCarrierText.animate().alpha(0); in onFinishInflate()
56 mCarrierText.animate().alpha(1); in onFinishInflate()
DKeyguardMultiUserAvatar.java159 public void setActive(boolean active, boolean animate, final Runnable onComplete) { in setActive() argument
173 updateVisualsForActive(mActive, animate, SWITCH_ANIMATION_DURATION, onComplete); in setActive()
176 void updateVisualsForActive(boolean active, boolean animate, int duration, in updateVisualsForActive() argument
189 if (animate && mTouched) { in updateVisualsForActive()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
DShirtPocket.java70 private void show(boolean animate) { in show() argument
72 if (animate) { in show()
80 private void hide(boolean animate) { in hide() argument
88 if (animate) { in hide()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DAbsSpinnerICS.java252 public void setSelection(int position, boolean animate) { in setSelection() argument
254 boolean shouldAnimate = animate && mFirstPosition <= position && in setSelection()
274 void setSelectionInt(int position, boolean animate) { in setSelectionInt() argument
279 layout(delta, animate); in setSelectionInt()
284 abstract void layout(int delta, boolean animate); in layout() argument
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
DAbstractLayoutTest.java41 animate(v); in create()
50 public void animate(View v) { in animate() method in AbstractLayoutTest
DAlignmentTest.java50 animate(v);
96 public static void animate(View v) { in animate() method in AlignmentTest
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPanelBar.java188 public void collapseAllPanels(boolean animate) { in collapseAllPanels() argument
191 if (animate && !pv.isFullyCollapsed()) { in collapseAllPanels()
199 if (DEBUG) LOG("collapseAllPanels: animate=%s waiting=%s", animate, waiting); in collapseAllPanels()
DNavigationBarView.java316 public void setLowProfile(final boolean lightsOut, final boolean animate, final boolean force) { in setLowProfile() argument
327 navButtons.animate().cancel(); in setLowProfile()
328 lowLights.animate().cancel(); in setLowProfile()
330 if (!animate) { in setLowProfile()
336 navButtons.animate() in setLowProfile()
346 lowLights.animate() in setLowProfile()
/frameworks/base/core/java/android/app/
DListFragment.java337 private void setListShown(boolean shown, boolean animate) { in setListShown() argument
347 if (animate) { in setListShown()
359 if (animate) { in setListShown()
/frameworks/base/docs/html/training/animation/
Dcrossfade.jd20 <a href="#animate">Crossfade the Views</a>
159 <h2 id="animate">
170 <li>For the view that is fading in, animate its alpha value from <code>0</code> to
171 <code>1</code>. At the same time, for the view that is fading out, animate the alpha value
200 mContentView.animate()
208 mHideView.animate()
/frameworks/base/core/java/com/android/internal/widget/
DSlidingTab.java250 void show(boolean animate) { in show() argument
254 if (animate) { in show()
291 void reset(boolean animate) { in reset() argument
302 if (animate) { in reset()
560 public void reset(boolean animate) { in reset() argument
561 mLeftSlider.reset(animate); in reset()
562 mRightSlider.reset(animate); in reset()
563 if (!animate) { in reset()
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
DMultiWaveView.java533 private void hideTargets(boolean animate, boolean expanded) { in hideTargets() argument
537 mAnimatingTargets = animate; in hideTargets()
538 final int duration = animate ? HIDE_ANIMATION_DURATION : 0; in hideTargets()
539 final int delay = animate ? HIDE_ANIMATION_DELAY : 0; in hideTargets()
568 private void showTargets(boolean animate) { in showTargets() argument
570 mAnimatingTargets = animate; in showTargets()
571 final int delay = animate ? SHOW_ANIMATION_DELAY : 0; in showTargets()
572 final int duration = animate ? SHOW_ANIMATION_DURATION : 0; in showTargets()
729 public void reset(boolean animate) { in reset() argument
735 hideTargets(animate, false); in reset()
[all …]
DGlowPadView.java492 private void hideTargets(boolean animate, boolean expanded) { in hideTargets() argument
496 mAnimatingTargets = animate; in hideTargets()
497 final int duration = animate ? HIDE_ANIMATION_DURATION : 0; in hideTargets()
498 final int delay = animate ? HIDE_ANIMATION_DELAY : 0; in hideTargets()
531 private void showTargets(boolean animate) { in showTargets() argument
533 mAnimatingTargets = animate; in showTargets()
534 final int delay = animate ? SHOW_ANIMATION_DELAY : 0; in showTargets()
535 final int duration = animate ? SHOW_ANIMATION_DURATION : 0; in showTargets()
734 public void reset(boolean animate) { in reset() argument
739 hideTargets(animate, false); in reset()
/frameworks/base/docs/html/guide/topics/graphics/
Dprop-animation.jd61 to animate almost anything. You can define an animation to change any object property over time,
63 …(a field in an object) value over a specified length of time. To animate something, you specify the
64 object property that you want to animate, such as an object's position on the screen, how long
65 you want to animate it for, and what values you want to animate between. </p>
130 starting and ending values for the property that you want to animate, along with the duration of
171 <p>The view animation system provides the capability to only animate {@link android.view.View}
172 objects, so if you wanted to animate non-{@link android.view.View} objects, you have to implement
174 exposes a few aspects of a {@link android.view.View} object to animate, such as the scaling and
182 …p>With the property animation system, these constraints are completely removed, and you can animate
185 a high level, you assign animators to the properties that you want to animate, such as color,
[all …]
/frameworks/support/v4/java/android/support/v4/app/
DListFragment.java279 private void setListShown(boolean shown, boolean animate) { in setListShown() argument
289 if (animate) { in setListShown()
301 if (animate) { in setListShown()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridgeRenderSession.java100 public Result animate(Object targetObject, String animationName, in animate() method in BridgeRenderSession
106 mLastResult = mSession.animate(targetObject, animationName, isFrameworkAnimation, in animate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSearchPanelView.java231 public void show(final boolean show, boolean animate) { in show() argument
233 final LayoutTransition transitioner = animate ? createLayoutTransitioner() : null; in show()
256 public void hide(boolean animate) { in hide() argument
/frameworks/base/services/java/com/android/server/accessibility/
DScreenMagnifier.java994 public void reset(boolean animate) { in reset() argument
999 if (animate) { in reset()
1022 public void setScale(float scale, float pivotX, float pivotY, boolean animate) { in setScale() argument
1035 setScaleAndMagnifiedRegionCenter(scale, centerX, centerY, animate); in setScale()
1038 public void setMagnifiedRegionCenter(float centerX, float centerY, boolean animate) { in setMagnifiedRegionCenter() argument
1040 animate); in setMagnifiedRegionCenter()
1054 boolean animate) { in setScaleAndMagnifiedRegionCenter() argument
1070 if (animate) { in setScaleAndMagnifiedRegionCenter()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DActionBarImplBase.java991 final boolean animate = isShowHideAnimationEnabled() || fromSystem; in doShow()
993 if (animate) { in doShow()
1000 if (animate) { in doShow()
1014 final boolean animate = isShowHideAnimationEnabled() || fromSystem; in doHide()
1016 if (animate) { in doHide()
1023 if (animate) { in doHide()
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimationDrawable.java219 private void setFrame(int frame, boolean unschedule, boolean animate) { in setFrame() argument
228 if (animate) { in setFrame()

123