Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
wangcongtao
2020-12-04 18:41:01 +08:00
238 changed files with 1084 additions and 616 deletions

View File

@@ -581,7 +581,11 @@ public class AMapNaviViewWrapper implements IMogoMapView,
// mMyLocationMarker.startAnimation();
// }
// });
mMyLocationMarker.startAnimation();
try {
mMyLocationMarker.startAnimation();
} catch ( Exception e ) {
e.printStackTrace();
}
}
@Override

View File

@@ -342,10 +342,16 @@ public class AMapMarkerWrapper implements IMogoMarker, Observer {
ScaleAnimation animationScale = new ScaleAnimation( fromX, toX, fromY, toY );
animationScale.setDuration( duration );
animationScale.setFillMode( Animation.FILL_MODE_FORWARDS );
animationScale.setInterpolator( interpolator );
if ( interpolator != null ) {
animationScale.setInterpolator( interpolator );
}
mMarker.setAnimation( animationScale );
mMarker.startAnimation();
try {
mMarker.startAnimation();
} catch ( Exception e ) {
e.printStackTrace();
}
}
@Override
@@ -357,7 +363,9 @@ public class AMapMarkerWrapper implements IMogoMarker, Observer {
ScaleAnimation animationScale = new ScaleAnimation( fromX, toX, fromY, toY );
animationScale.setDuration( duration );
animationScale.setFillMode( Animation.FILL_MODE_FORWARDS );
animationScale.setInterpolator( interpolator );
if ( interpolator != null ) {
animationScale.setInterpolator( interpolator );
}
animationScale.setAnimationListener( new Animation.AnimationListener() {
@Override
public void onAnimationStart() {
@@ -398,7 +406,9 @@ public class AMapMarkerWrapper implements IMogoMarker, Observer {
AnimationSet animationSet = new AnimationSet( true );
animationSet.setDuration( duration );
animationSet.setInterpolator( interpolator );
if ( interpolator != null ) {
animationSet.setInterpolator( interpolator );
}
animationSet.setAnimationListener( new Animation.AnimationListener() {
@Override
public void onAnimationStart() {
@@ -422,7 +432,11 @@ public class AMapMarkerWrapper implements IMogoMarker, Observer {
} );
mMarker.setAnimation( animationSet );
mMarker.startAnimation();
try {
mMarker.startAnimation();
} catch ( Exception e ) {
e.printStackTrace();
}
}
@Override

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 25 KiB