diff --git a/core/function-impl/mogo-core-function-check/src/main/java/com/mogo/eagle/core/function/check/view/CheckActivity.java b/core/function-impl/mogo-core-function-check/src/main/java/com/mogo/eagle/core/function/check/view/CheckActivity.java index c43d4acb3a..0470f2ecc5 100644 --- a/core/function-impl/mogo-core-function-check/src/main/java/com/mogo/eagle/core/function/check/view/CheckActivity.java +++ b/core/function-impl/mogo-core-function-check/src/main/java/com/mogo/eagle/core/function/check/view/CheckActivity.java @@ -73,7 +73,7 @@ public class CheckActivity extends AppCompatActivity { private float movement = 1162f; //进度条 private ProgressBar mProgressBar; - private final static long DURATION_TIME = 3000; + private final static long DURATION_TIME = 1000; private static CheckAdapter mCheckAdapter; @Override @@ -152,7 +152,7 @@ public class CheckActivity extends AppCompatActivity { @Override public void onError(String message, int code) { super.onError(message, code); - Log.d(TAG, "车辆自检失败,请稍后重试"); + Log.d(TAG, "车辆自检失败,请稍后重试"+"=="+message+String.valueOf(code)); } }); @@ -179,10 +179,12 @@ public class CheckActivity extends AppCompatActivity { * **************************************************************************************检测动画 */ public void animation() { - ObjectAnimator animatorX = ObjectAnimator.ofFloat(scanLineImage, "translationX", scanBottomCarImage.getWidth(), 0); - ObjectAnimator animatorAl = ObjectAnimator.ofFloat(scanLineImage, "alpha", 0, 1); + ObjectAnimator animatorX = ObjectAnimator.ofFloat(scanLineImage, "translationX", + scanBottomCarImage.getWidth(), 0); + ObjectAnimator animatorAl = ObjectAnimator.ofFloat(scanLineImage, "alpha", + 0, 1); setAnimation.playTogether(animatorX, animatorAl); - setAnimation.setDuration(800); + setAnimation.setDuration(DURATION_TIME); setAnimation.start(); setAnimation.addListener(new AnimatorListenerAdapter() { @Override