[6.2.0]
[ani] [动画修改]
This commit is contained in:
@@ -253,9 +253,9 @@ public abstract class BaseTaxiTabFragment<V extends IView, P extends Presenter<V
|
||||
|
||||
int width = AutoSizeUtils.dp2px(AbsMogoApplication.getApp(), 420f);
|
||||
int height = AutoSizeUtils.dp2px(AbsMogoApplication.getApp(), 220f);
|
||||
startAutopilotAnimator = new FrameAnimatorContainer(R.array.anim_flow, 20,mAnimFlowIv,false,width,height);
|
||||
startAutopilotAnimator = new FrameAnimatorContainer(R.array.anim_flow, 20,mAnimFlowIv,false,false,true,width,height);
|
||||
startAutopilotAnimator.setOnAnimStopListener(() -> CallerLogger.d(SceneConstant.M_TAXI_P + TAG, "自动驾驶动画暂停"));
|
||||
startManCOAnimator = new FrameAnimatorContainer(R.array.nim_flow_man_co, 20,mAnimFlowIv,false,width,height);
|
||||
startManCOAnimator = new FrameAnimatorContainer(R.array.nim_flow_man_co, 20,mAnimFlowIv,false,false,true,width,height);
|
||||
startManCOAnimator.setOnAnimStopListener(() -> CallerLogger.d(SceneConstant.M_TAXI_P + TAG, "平行驾驶动画暂停"));
|
||||
}
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@ import com.mogo.eagle.core.utilcode.util.DeviceUtils
|
||||
import com.mogo.eagle.core.utilcode.util.OverlayViewUtils
|
||||
import com.mogo.map.listener.IMogoMapListener
|
||||
import com.mogo.map.uicontroller.VisualAngleMode
|
||||
import com.mogo.och.common.module.utils.FrameAnimatorContainer
|
||||
import com.mogo.och.common.module.utils.RxUtils
|
||||
import com.mogo.och.common.module.voice.VoiceNotice
|
||||
import com.mogo.och.taxi.passenger.R
|
||||
|
||||
@@ -222,13 +222,13 @@ abstract class BaseTaxiTabFragment<V : IView, P : Presenter<V>> : MvpFragment<V,
|
||||
|
||||
val width = AutoSizeUtils.dp2px(AbsMogoApplication.getApp(), 420f)
|
||||
val height = AutoSizeUtils.dp2px(AbsMogoApplication.getApp(), 220f)
|
||||
startAutopilotAnimator = FrameAnimatorContainer(R.array.anim_flow, 20,anim_flow_iv,false,width,height)
|
||||
startAutopilotAnimator = FrameAnimatorContainer(R.array.anim_flow, 20,anim_flow_iv,false,width = width, height = height)
|
||||
startAutopilotAnimator?.setOnAnimStopListener(object : FrameAnimatorContainer.OnAnimationStoppedListener{
|
||||
override fun AnimationStopped() {
|
||||
d(SceneConstant.M_TAXI_P + TAG, "自动驾驶动画暂停")
|
||||
}
|
||||
})
|
||||
startManCOAnimator = FrameAnimatorContainer(R.array.nim_flow_man_co, 20,anim_flow_iv,false,width,height)
|
||||
startManCOAnimator = FrameAnimatorContainer(R.array.nim_flow_man_co, 20,anim_flow_iv,false,width = width, height = height)
|
||||
startManCOAnimator?.setOnAnimStopListener(object : FrameAnimatorContainer.OnAnimationStoppedListener{
|
||||
override fun AnimationStopped() {
|
||||
d(SceneConstant.M_TAXI_P + TAG, "平行驾驶动画暂停")
|
||||
|
||||
Reference in New Issue
Block a user