Commit 9c5d9202 by Lee Jaebin

Viewに絵を描くメソッドのタイミング変更

parent 034ba989
...@@ -542,7 +542,6 @@ public class AcmsClient implements AcmsClientResponseListener { ...@@ -542,7 +542,6 @@ public class AcmsClient implements AcmsClientResponseListener {
HttpMultipartList.add(new HttpMultipart(ABookKeys.TASK_HOT_SPOT_INFO, taskReportDto.taskHotSpotInfo)); HttpMultipartList.add(new HttpMultipart(ABookKeys.TASK_HOT_SPOT_INFO, taskReportDto.taskHotSpotInfo));
HttpMultipartList.add(new HttpMultipart(ABookKeys.TASK_REPORT_INFO, taskReportDto.jsonData)); HttpMultipartList.add(new HttpMultipart(ABookKeys.TASK_REPORT_INFO, taskReportDto.jsonData));
HttpMultipartList.add(new HttpMultipart(ABookKeys.ATTACHED_CHANGE_FLAG, taskReportDto.attachedFileSendFlg ? "1" : "0")); HttpMultipartList.add(new HttpMultipart(ABookKeys.ATTACHED_CHANGE_FLAG, taskReportDto.attachedFileSendFlg ? "1" : "0"));
HttpMultipartList.add(new HttpMultipart(ABookKeys.ROUTINE_TASK_FLAG, reportType == Constant.ReportType.RoutineTask ? "1" : "0"));
HttpMultipartList.add(new HttpMultipart(ABookKeys.UPDATE_HOTSPOT_ONLY_FLAG, hotspotChangeFlg ? "1" : "0")); HttpMultipartList.add(new HttpMultipart(ABookKeys.UPDATE_HOTSPOT_ONLY_FLAG, hotspotChangeFlg ? "1" : "0"));
// 定期点検用 // 定期点検用
......
package jp.agentec.abook.abv.ui.viewer.view; package jp.agentec.abook.abv.ui.viewer.view;
import android.content.Context; import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color; import android.graphics.Color;
import android.graphics.Typeface; import android.graphics.Typeface;
import android.text.TextUtils; import android.text.TextUtils;
...@@ -62,4 +63,10 @@ public class ActionOperationTaskCode extends TextView { ...@@ -62,4 +63,10 @@ public class ActionOperationTaskCode extends TextView {
this.startAnimation(animation); this.startAnimation(animation);
this.isAnimated = true; this.isAnimated = true;
} }
@Override
protected void dispatchDraw(Canvas canvas) {
invalidate();
super.dispatchDraw(canvas);
}
} }
package jp.agentec.abook.abv.ui.viewer.view; package jp.agentec.abook.abv.ui.viewer.view;
import android.content.Context; import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color; import android.graphics.Color;
import android.view.animation.AlphaAnimation; import android.view.animation.AlphaAnimation;
import android.view.animation.Animation; import android.view.animation.Animation;
...@@ -46,4 +47,10 @@ public class ActionOperationTaskIcon extends ImageView { ...@@ -46,4 +47,10 @@ public class ActionOperationTaskIcon extends ImageView {
this.startAnimation(animation); this.startAnimation(animation);
this.isAnimated = true; this.isAnimated = true;
} }
@Override
protected void dispatchDraw(Canvas canvas) {
invalidate();
super.dispatchDraw(canvas);
}
} }
package jp.agentec.abook.abv.ui.viewer.view; package jp.agentec.abook.abv.ui.viewer.view;
import android.content.Context; import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color; import android.graphics.Color;
import android.graphics.Typeface; import android.graphics.Typeface;
import android.text.TextUtils; import android.text.TextUtils;
...@@ -58,4 +59,10 @@ public class ActionOperationTaskPin extends ImageView { ...@@ -58,4 +59,10 @@ public class ActionOperationTaskPin extends ImageView {
this.startAnimation(animation); this.startAnimation(animation);
this.isAnimated = true; this.isAnimated = true;
} }
@Override
protected void dispatchDraw(Canvas canvas) {
invalidate();
super.dispatchDraw(canvas);
}
} }
...@@ -184,7 +184,6 @@ public class ZoomRelativeLayout extends RelativeLayout { ...@@ -184,7 +184,6 @@ public class ZoomRelativeLayout extends RelativeLayout {
canvas.concat(imgMatrix); canvas.concat(imgMatrix);
} }
super.dispatchDraw(canvas); super.dispatchDraw(canvas);
invalidate();
canvas.restore(); canvas.restore();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment