opt
This commit is contained in:
@@ -236,13 +236,14 @@ public class SimpleHandlerThreadPool {
|
||||
startPoint.point = lastPoint;
|
||||
startPoint.marker = marker;
|
||||
startPoint.angle = ( float ) lastPosition.getHeading();
|
||||
List<BaseDrawer.PointData> points = BaseDrawer.interpolate( startPoint, endPoint, 30, interval );
|
||||
List<BaseDrawer.PointData> points = BaseDrawer.interpolate( startPoint, endPoint, 20, interval );
|
||||
Message msg = new Message();
|
||||
BaseDrawer.SettingData obj = new BaseDrawer.SettingData();
|
||||
obj.points = points;
|
||||
msg.obj = obj;
|
||||
msg.what = MSG_POINTS_SETTING;
|
||||
renderHandler.sendMessage( msg );
|
||||
startSettingPointLooper(obj);
|
||||
// msg.obj = obj;
|
||||
// msg.what = MSG_POINTS_SETTING;
|
||||
// renderHandler.sendMessage( msg );
|
||||
// marker.startSmoothInMs( points, interval );
|
||||
// marker.addDynamicAnchorPosition( endLatLon, interval );
|
||||
Logger.d( TAG, "anim duration: %s, points size = %s", interval, points.size() );
|
||||
|
||||
Reference in New Issue
Block a user