本文整理了Java中android.animation.AnimatorSet.end()
方法的一些代码示例,展示了AnimatorSet.end()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。AnimatorSet.end()
方法的具体详情如下:
包路径:android.animation.AnimatorSet
类名称:AnimatorSet
方法名:end
暂无
代码示例来源:origin: aa112901/remusic
private void stopAnim() {
mActiveView = null;
if (mRotateAnim != null) {
mRotateAnim.end();
mRotateAnim = null;
}
if (mNeedleAnim != null) {
mNeedleAnim.end();
mNeedleAnim = null;
}
if (mAnimatorSet != null) {
mAnimatorSet.end();
mAnimatorSet = null;
}
}
代码示例来源:origin: scwang90/SmartRefreshLayout
mFlyAnimator.end();
mFlyView.clearAnimation();
代码示例来源:origin: scwang90/SmartRefreshLayout
mFlyAnimator.end();
mFlyView.clearAnimation();
代码示例来源:origin: smuyyh/BookReader
public void stop() {
mIsAnimatorCancel = true;
if (animator != null) {
animator.end();
animator.cancel();
}
if (animatorSet != null) {
animatorSet.end();
animatorSet.cancel();
}
animator = null;
animatorSet = null;
mAnimationStarted = false;
mRing.reset();
mRotation = 0;
invalidate();
}
代码示例来源:origin: iSoron/uhabits
mTransition.end();
代码示例来源:origin: mayubao/KuaiChuan
public synchronized void stop() {
if (mAnimatorSet == null || !mIsStarted) {
return;
}
mAnimatorSet.end();
}
代码示例来源:origin: lygttpod/AndroidCustomView
/**
* 停止动画
*/
public void stop() {
mAnimatorSet.end();
}
代码示例来源:origin: wangdan/AisenWeiBo
mTransition.end();
代码示例来源:origin: wdullaer/MaterialDateTimePicker
anims[3] != null) {
if (mTransition != null && mTransition.isRunning()) {
mTransition.end();
代码示例来源:origin: chaychan/TouTiao
public void hideLoading() {
if (mAnimatorSet == null)
return;
if ((!mAnimatorSet.isRunning()) && (!mAnimatorSet.isStarted()))
return;
mAnimatorSet.removeAllListeners();
mAnimatorSet.cancel();
mAnimatorSet.end();
}
代码示例来源:origin: thuetz/Energize
public void cancel() {
if (animatorSet != null) {
animatorSet.end();
}
}
}
代码示例来源:origin: google-developer-training/android-advanced
/**
* Stops tracking the device. Removes the location
* updates, stops the animation, and resets the UI.
*/
private void stopTrackingLocation() {
if (mTrackingLocation) {
mTrackingLocation = false;
mLocationButton.setText(R.string.start_tracking_location);
mLocationTextView.setText(R.string.textview_hint);
mRotateAnim.end();
}
}
代码示例来源:origin: google-developer-training/android-advanced
/**
* Stops tracking the device. Removes the location
* updates, stops the animation, and resets the UI.
*/
private void stopTrackingLocation() {
if (mTrackingLocation) {
mTrackingLocation = false;
mLocationButton.setText(R.string.start_tracking_location);
mLocationTextView.setText(R.string.textview_hint);
mRotateAnim.end();
}
}
代码示例来源:origin: google-developer-training/android-advanced
/**
* Stops tracking the device. Removes the location
* updates, stops the animation, and resets the UI.
*/
private void stopTrackingLocation() {
if (mTrackingLocation) {
mTrackingLocation = false;
mLocationButton.setText(R.string.start_tracking_location);
mLocationTextView.setText(R.string.textview_hint);
mRotateAnim.end();
}
}
代码示例来源:origin: GadgetCheck/TinderView
public void stopRippleAnimation() {
if (isRippleAnimationRunning()) {
animatorSet.end();
animationRunning = false;
}
}
代码示例来源:origin: Muyangmin/UltraPtrHeaderCollection
@Override
public void onUIRefreshComplete(PtrFrameLayout frame) {
isRefreshing = false;
circleAnimators.end();
postInvalidate();
}
}
代码示例来源:origin: sdwfqin/AndroidSamples
/**
* 停止动画
*/
public void stopRippleAnimation() {
if (isRippleRunning()) {
Collections.reverse(mRippleViewList);
for (RippleCircleView rippleView : mRippleViewList) {
rippleView.setVisibility(INVISIBLE);
}
mAnimatorSet.end();
mAnimationRunning = false;
}
}
代码示例来源:origin: ShuKeW/TVRecyclerViewAndFocus
protected void releaseTranslateAnim() {
if (translateAnimatorSet != null) {
translateAnimatorSet.removeListener(translateListener);
translateAnimatorSet.end();
translateAnimatorSet.cancel();
translateAnimatorSet = null;
}
}
代码示例来源:origin: qiaoyhh/MvpBase
public void stop() {
isRunning = false;
mAnimatorSet.removeListener(repeatAnimatorListener);
mAnimatorSet.end();
mView.clearAnimation();
}
代码示例来源:origin: wusp/IndicatorBox
public void startWholeAnimation(){
if (isAnimationShowing){
return;
}
if (animatorSet.isRunning()){
animatorSet.end();
animatorSet.cancel();
}
initParameters();
animatorSet.start();
}
内容来源于网络,如有侵权,请联系作者删除!