|
@@ -18,8 +18,6 @@ import android.graphics.drawable.BitmapDrawable;
|
|
import android.os.Debug;
|
|
import android.os.Debug;
|
|
import android.os.Handler;
|
|
import android.os.Handler;
|
|
import android.os.Message;
|
|
import android.os.Message;
|
|
-import android.support.p000v4.internal.view.SupportMenu;
|
|
|
|
-import android.support.p000v4.view.InputDeviceCompat;
|
|
|
|
import android.util.AttributeSet;
|
|
import android.util.AttributeSet;
|
|
import android.util.DisplayMetrics;
|
|
import android.util.DisplayMetrics;
|
|
import android.util.Log;
|
|
import android.util.Log;
|
|
@@ -28,6 +26,9 @@ import android.view.MotionEvent;
|
|
import android.view.ScaleGestureDetector;
|
|
import android.view.ScaleGestureDetector;
|
|
import android.view.View;
|
|
import android.view.View;
|
|
|
|
|
|
|
|
+import androidx.core.internal.view.SupportMenu;
|
|
|
|
+import androidx.core.view.InputDeviceCompat;
|
|
|
|
+
|
|
import java.util.ArrayList;
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
import java.util.List;
|
|
|
|
|
|
@@ -62,8 +63,8 @@ public class ImageCollectView extends View {
|
|
private int mViewMode = 0;
|
|
private int mViewMode = 0;
|
|
private final GestureDetector.SimpleOnGestureListener onGestureDetectorListener = new GestureDetector.SimpleOnGestureListener() {
|
|
private final GestureDetector.SimpleOnGestureListener onGestureDetectorListener = new GestureDetector.SimpleOnGestureListener() {
|
|
public boolean onDoubleTap(MotionEvent motionEvent) {
|
|
public boolean onDoubleTap(MotionEvent motionEvent) {
|
|
- ImageCollectView.this.ResetScalePos(true);
|
|
|
|
- ImageCollectView.this.invalidate();
|
|
|
|
|
|
+ ResetScalePos(true);
|
|
|
|
+ invalidate();
|
|
return super.onDoubleTap(motionEvent);
|
|
return super.onDoubleTap(motionEvent);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -105,14 +106,14 @@ public class ImageCollectView extends View {
|
|
}
|
|
}
|
|
|
|
|
|
public boolean onScale(ScaleGestureDetector scaleGestureDetector) {
|
|
public boolean onScale(ScaleGestureDetector scaleGestureDetector) {
|
|
- ImageCollectView.this.SetScale(scaleGestureDetector.getScaleFactor());
|
|
|
|
- ImageCollectView.this.invalidate();
|
|
|
|
|
|
+ SetScale(scaleGestureDetector.getScaleFactor());
|
|
|
|
+ invalidate();
|
|
return true;
|
|
return true;
|
|
}
|
|
}
|
|
|
|
|
|
public void onScaleEnd(ScaleGestureDetector scaleGestureDetector) {
|
|
public void onScaleEnd(ScaleGestureDetector scaleGestureDetector) {
|
|
- ImageCollectView.this.SetScale(scaleGestureDetector.getScaleFactor());
|
|
|
|
- ImageCollectView.this.invalidate();
|
|
|
|
|
|
+ SetScale(scaleGestureDetector.getScaleFactor());
|
|
|
|
+ invalidate();
|
|
super.onScaleEnd(scaleGestureDetector);
|
|
super.onScaleEnd(scaleGestureDetector);
|
|
}
|
|
}
|
|
};
|
|
};
|
|
@@ -496,7 +497,7 @@ public class ImageCollectView extends View {
|
|
}
|
|
}
|
|
|
|
|
|
public void MessageOff() {
|
|
public void MessageOff() {
|
|
- mData.mTimerCropImageCropCircle.TimerOff();
|
|
|
|
|
|
+ mData.mTimerOff();
|
|
}
|
|
}
|
|
|
|
|
|
public void ReleaseResource() {
|
|
public void ReleaseResource() {
|
|
@@ -504,7 +505,7 @@ public class ImageCollectView extends View {
|
|
ReleaseMask();
|
|
ReleaseMask();
|
|
PathEffectData pathEffectData = mPathEffectData;
|
|
PathEffectData pathEffectData = mPathEffectData;
|
|
if (pathEffectData != null) {
|
|
if (pathEffectData != null) {
|
|
- pathEffectData.Cleanup();
|
|
|
|
|
|
+ Cleanup();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -593,30 +594,30 @@ public class ImageCollectView extends View {
|
|
if (z) {
|
|
if (z) {
|
|
int i6 = mViewMode;
|
|
int i6 = mViewMode;
|
|
if (i6 == 0) {
|
|
if (i6 == 0) {
|
|
- if (mGetCropPoint && mData.f133d[this.INVERT[mOrient]].dcm.mPointPreviewCrop[3].y != 0.0f) {
|
|
|
|
|
|
+ if (mGetCropPoint && mData.f133d[INVERT[mOrient]].dcm.mPointPreviewCrop[3].y != 0.0f) {
|
|
for (int i7 = 0; i7 < 4; i7++) {
|
|
for (int i7 = 0; i7 < 4; i7++) {
|
|
- mData.f133d[mOrient].dcm.mPointPreviewCrop[i7].x = ((mData.f133d[this.INVERT[mOrient]].dcm.mPointPreviewCrop[i7].x - mData.f133d[this.INVERT[mOrient]].mPointPreviewImageOffset.x) * f4) + mData.f133d[mOrient].mPointPreviewImageOffset.x;
|
|
|
|
- mData.f133d[mOrient].dcm.mPointPreviewCrop[i7].y = ((mData.f133d[this.INVERT[mOrient]].dcm.mPointPreviewCrop[i7].y - mData.f133d[this.INVERT[mOrient]].mPointPreviewImageOffset.y) * f4) + mData.f133d[mOrient].mPointPreviewImageOffset.y;
|
|
|
|
|
|
+ mData.f133d[mOrient].dcm.mPointPreviewCrop[i7].x = ((mData.f133d[INVERT[mOrient]].dcm.mPointPreviewCrop[i7].x - mData.f133d[INVERT[mOrient]].mPointPreviewImageOffset.x) * f4) + mData.f133d[mOrient].mPointPreviewImageOffset.x;
|
|
|
|
+ mData.f133d[mOrient].dcm.mPointPreviewCrop[i7].y = ((mData.f133d[INVERT[mOrient]].dcm.mPointPreviewCrop[i7].y - mData.f133d[INVERT[mOrient]].mPointPreviewImageOffset.y) * f4) + mData.f133d[mOrient].mPointPreviewImageOffset.y;
|
|
}
|
|
}
|
|
DataCropImage dataCropImage = mData.f133d[mOrient].dcm;
|
|
DataCropImage dataCropImage = mData.f133d[mOrient].dcm;
|
|
- mData.f133d[this.INVERT[mOrient]].dcm.mSelectArea = -1;
|
|
|
|
|
|
+ mData.f133d[INVERT[mOrient]].dcm.mSelectArea = -1;
|
|
dataCropImage.mSelectArea = -1;
|
|
dataCropImage.mSelectArea = -1;
|
|
}
|
|
}
|
|
} else if (i6 == 1) {
|
|
} else if (i6 == 1) {
|
|
- mData.f133d[mOrient].ddp[mViewMode].mScale[1] = mData.f133d[this.INVERT[mOrient]].ddp[mViewMode].mScale[1];
|
|
|
|
- mData.f133d[mOrient].ddp[mViewMode].mScale[0] = mData.f133d[this.INVERT[mOrient]].ddp[mViewMode].mScale[0];
|
|
|
|
- mData.f133d[mOrient].ddp[mViewMode].mPointMoveDeff[1].x = mData.f133d[this.INVERT[mOrient]].ddp[mViewMode].mPointMoveDeff[1].x * f4;
|
|
|
|
- mData.f133d[mOrient].ddp[mViewMode].mPointMoveDeff[1].y = mData.f133d[this.INVERT[mOrient]].ddp[mViewMode].mPointMoveDeff[1].y * f4;
|
|
|
|
- mData.f133d[mOrient].ddp[mViewMode].mPointMoveDeff[0].x = mData.f133d[this.INVERT[mOrient]].ddp[mViewMode].mPointMoveDeff[0].x * f4;
|
|
|
|
- mData.f133d[mOrient].ddp[mViewMode].mPointMoveDeff[0].y = mData.f133d[this.INVERT[mOrient]].ddp[mViewMode].mPointMoveDeff[0].y * f4;
|
|
|
|
|
|
+ mData.f133d[mOrient].ddp[mViewMode].mScale[1] = mData.f133d[INVERT[mOrient]].ddp[mViewMode].mScale[1];
|
|
|
|
+ mData.f133d[mOrient].ddp[mViewMode].mScale[0] = mData.f133d[INVERT[mOrient]].ddp[mViewMode].mScale[0];
|
|
|
|
+ mData.f133d[mOrient].ddp[mViewMode].mPointMoveDeff[1].x = mData.f133d[INVERT[mOrient]].ddp[mViewMode].mPointMoveDeff[1].x * f4;
|
|
|
|
+ mData.f133d[mOrient].ddp[mViewMode].mPointMoveDeff[1].y = mData.f133d[INVERT[mOrient]].ddp[mViewMode].mPointMoveDeff[1].y * f4;
|
|
|
|
+ mData.f133d[mOrient].ddp[mViewMode].mPointMoveDeff[0].x = mData.f133d[INVERT[mOrient]].ddp[mViewMode].mPointMoveDeff[0].x * f4;
|
|
|
|
+ mData.f133d[mOrient].ddp[mViewMode].mPointMoveDeff[0].y = mData.f133d[INVERT[mOrient]].ddp[mViewMode].mPointMoveDeff[0].y * f4;
|
|
DrawPreviewImageCalcMatrix(new Matrix());
|
|
DrawPreviewImageCalcMatrix(new Matrix());
|
|
DrawPreviewImagePointCheck(true);
|
|
DrawPreviewImagePointCheck(true);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (z2 && f4 != 0.0f && mViewMode == 3) {
|
|
if (z2 && f4 != 0.0f && mViewMode == 3) {
|
|
if (z) {
|
|
if (z) {
|
|
- mData.f133d[mOrient].dca.mPointArray = ClontPointArray(mData.f133d[this.INVERT[mOrient]].dca.mPointArray);
|
|
|
|
- mData.f133d[mOrient].dca.mPointEdgeArray = ClontPointArray(mData.f133d[this.INVERT[mOrient]].dca.mPointEdgeArray);
|
|
|
|
|
|
+ mData.f133d[mOrient].dca.mPointArray = ClontPointArray(mData.f133d[INVERT[mOrient]].dca.mPointArray);
|
|
|
|
+ mData.f133d[mOrient].dca.mPointEdgeArray = ClontPointArray(mData.f133d[INVERT[mOrient]].dca.mPointEdgeArray);
|
|
}
|
|
}
|
|
if (mData.f133d[mOrient].dca.mPointArray != null) {
|
|
if (mData.f133d[mOrient].dca.mPointArray != null) {
|
|
for (List<PointF> it : mData.f133d[mOrient].dca.mPointArray) {
|
|
for (List<PointF> it : mData.f133d[mOrient].dca.mPointArray) {
|
|
@@ -694,7 +695,7 @@ public class ImageCollectView extends View {
|
|
|
|
|
|
private void DrawColorAdjustmentAll(Canvas canvas) {
|
|
private void DrawColorAdjustmentAll(Canvas canvas) {
|
|
DrawPreviewImage(canvas);
|
|
DrawPreviewImage(canvas);
|
|
- mData.mPaintDragEdge.setPathEffect(mPathEffectData.BlinkingIndex((RectF) null));
|
|
|
|
|
|
+ mData.mPaintDragEdge.setPathEffect(mBlinkingIndex((RectF) null));
|
|
canvas.drawRect(mData.f133d[mOrient].mRectPreviewImage, mData.mPaintDragEdge);
|
|
canvas.drawRect(mData.f133d[mOrient].mRectPreviewImage, mData.mPaintDragEdge);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -747,7 +748,7 @@ public class ImageCollectView extends View {
|
|
}
|
|
}
|
|
} else if (mData.f133d[mOrient].dca.mPointEdgeArray != null && !mData.f133d[mOrient].dca.mPointEdgeArray.isEmpty()) {
|
|
} else if (mData.f133d[mOrient].dca.mPointEdgeArray != null && !mData.f133d[mOrient].dca.mPointEdgeArray.isEmpty()) {
|
|
Path path3 = new Path();
|
|
Path path3 = new Path();
|
|
- mData.mPaintDragEdge.setPathEffect(mPathEffectData.BlinkingIndex((RectF) null));
|
|
|
|
|
|
+ mData.mPaintDragEdge.setPathEffect(mBlinkingIndex((RectF) null));
|
|
for (List next2 : mData.f133d[mOrient].dca.mPointEdgeArray) {
|
|
for (List next2 : mData.f133d[mOrient].dca.mPointEdgeArray) {
|
|
if (next2.size() > 0) {
|
|
if (next2.size() > 0) {
|
|
PointF pointF5 = (PointF) next2.get(0);
|
|
PointF pointF5 = (PointF) next2.get(0);
|
|
@@ -905,14 +906,14 @@ public class ImageCollectView extends View {
|
|
case 0:
|
|
case 0:
|
|
float x = motionEvent.getX();
|
|
float x = motionEvent.getX();
|
|
float y = motionEvent.getY();
|
|
float y = motionEvent.getY();
|
|
- mData.mTimerCropImageCropCircle.TimerOff();
|
|
|
|
|
|
+ mData.mTimerOff();
|
|
int TouchEventCropImageHitCheck2 = TouchEventCropImageHitCheck(x, y, true);
|
|
int TouchEventCropImageHitCheck2 = TouchEventCropImageHitCheck(x, y, true);
|
|
if (TouchEventCropImageHitCheck2 > -1) {
|
|
if (TouchEventCropImageHitCheck2 > -1) {
|
|
mData.f133d[mOrient].dcm.mPointPreviewTouch.set(x, y);
|
|
mData.f133d[mOrient].dcm.mPointPreviewTouch.set(x, y);
|
|
mData.f133d[mOrient].dcm.mSelectArea = TouchEventCropImageHitCheck2;
|
|
mData.f133d[mOrient].dcm.mSelectArea = TouchEventCropImageHitCheck2;
|
|
return;
|
|
return;
|
|
} else if (mData.f133d[mOrient].dcm.mSelectArea > -1 && (TouchEventCropImageHitCheck = TouchEventCropImageHitCheck(x, y, false)) > -1) {
|
|
} else if (mData.f133d[mOrient].dcm.mSelectArea > -1 && (TouchEventCropImageHitCheck = TouchEventCropImageHitCheck(x, y, false)) > -1) {
|
|
- mData.mTimerCropImageCropCircle.TimerOn(this);
|
|
|
|
|
|
+ mData.mTimerOn(this);
|
|
mData.f133d[mOrient].dcm.mPointPreviewTouch.set(x, y);
|
|
mData.f133d[mOrient].dcm.mPointPreviewTouch.set(x, y);
|
|
mData.f133d[mOrient].dcm.mSelectArea = TouchEventCropImageHitCheck;
|
|
mData.f133d[mOrient].dcm.mSelectArea = TouchEventCropImageHitCheck;
|
|
return;
|
|
return;
|
|
@@ -922,7 +923,7 @@ public class ImageCollectView extends View {
|
|
case 1:
|
|
case 1:
|
|
case 3:
|
|
case 3:
|
|
if (mData.f133d[mOrient].dcm.mSelectArea > -1) {
|
|
if (mData.f133d[mOrient].dcm.mSelectArea > -1) {
|
|
- mData.mTimerCropImageCropCircle.TimerOn(this);
|
|
|
|
|
|
+ mData.mTimerOn(this);
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
return;
|
|
return;
|
|
@@ -1195,9 +1196,9 @@ public class ImageCollectView extends View {
|
|
private Handler mHandlerTimerCropImageTextMessage = new Handler() {
|
|
private Handler mHandlerTimerCropImageTextMessage = new Handler() {
|
|
public void handleMessage(Message message) {
|
|
public void handleMessage(Message message) {
|
|
if (message.what == 501) {
|
|
if (message.what == 501) {
|
|
- ImageCollectView.mData.mShowTextMessage = false;
|
|
|
|
- if (TimerCropImageTextMessage.mView != null) {
|
|
|
|
- TimerCropImageTextMessage.mView.invalidate();
|
|
|
|
|
|
+ mData.mShowTextMessage = false;
|
|
|
|
+ if (mView != null) {
|
|
|
|
+ mView.invalidate();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -1228,7 +1229,7 @@ public class ImageCollectView extends View {
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
try {
|
|
try {
|
|
- if (TimerCropImageTextMessage.mBreak) {
|
|
|
|
|
|
+ if (mBreak) {
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
Thread.sleep(200);
|
|
Thread.sleep(200);
|
|
@@ -1237,8 +1238,8 @@ public class ImageCollectView extends View {
|
|
e.printStackTrace();
|
|
e.printStackTrace();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- if (TimerCropImageTextMessage.mHandlerTimerCropImageTextMessage != null) {
|
|
|
|
- TimerCropImageTextMessage.mHandlerTimerCropImageTextMessage.sendEmptyMessage(501);
|
|
|
|
|
|
+ if (mHandlerTimerCropImageTextMessage != null) {
|
|
|
|
+ mHandlersendEmptyMessage(501);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
});
|
|
});
|
|
@@ -1254,9 +1255,9 @@ public class ImageCollectView extends View {
|
|
private Handler mHandlerTimerCropImageCropCircle = new Handler() {
|
|
private Handler mHandlerTimerCropImageCropCircle = new Handler() {
|
|
public void handleMessage(Message message) {
|
|
public void handleMessage(Message message) {
|
|
if (message.what == 500) {
|
|
if (message.what == 500) {
|
|
- ImageCollectView.mData.f133d[ImageCollectView.mOrient].dcm.mSelectArea = -1;
|
|
|
|
- if (TimerCropImageCropCircle.mView != null) {
|
|
|
|
- TimerCropImageCropCircle.mView.invalidate();
|
|
|
|
|
|
+ mData.f133d[mOrient].dcm.mSelectArea = -1;
|
|
|
|
+ if (mView != null) {
|
|
|
|
+ mView.invalidate();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -1294,19 +1295,19 @@ public class ImageCollectView extends View {
|
|
mBreak = false;
|
|
mBreak = false;
|
|
mTimer = new Thread(new Runnable() {
|
|
mTimer = new Thread(new Runnable() {
|
|
public void run() {
|
|
public void run() {
|
|
- while (!TimerCropImageCropCircle.mBreak) {
|
|
|
|
|
|
+ while (!mBreak) {
|
|
try {
|
|
try {
|
|
Thread.sleep(100);
|
|
Thread.sleep(100);
|
|
} catch (InterruptedException e) {
|
|
} catch (InterruptedException e) {
|
|
e.printStackTrace();
|
|
e.printStackTrace();
|
|
}
|
|
}
|
|
- long unused = TimerCropImageCropCircle.mNewTime = System.currentTimeMillis();
|
|
|
|
- if (TimerCropImageCropCircle.mStartTime + ((long) i) <= TimerCropImageCropCircle.mNewTime) {
|
|
|
|
|
|
+ long unused = mNewTime = System.currentTimeMillis();
|
|
|
|
+ if (mStartTime + ((long) i) <= mNewTime) {
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- if (!TimerCropImageCropCircle.mBreak && TimerCropImageCropCircle.mHandlerTimerCropImageCropCircle != null) {
|
|
|
|
- TimerCropImageCropCircle.mHandlerTimerCropImageCropCircle.sendEmptyMessage(500);
|
|
|
|
|
|
+ if (!mBreak && mHandlerTimerCropImageCropCircle != null) {
|
|
|
|
+ mHandlersendEmptyMessage(500);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
});
|
|
});
|
|
@@ -1323,13 +1324,13 @@ public class ImageCollectView extends View {
|
|
private boolean mBreak = false;
|
|
private boolean mBreak = false;
|
|
private Handler mHandlerPathEffectData = new Handler() {
|
|
private Handler mHandlerPathEffectData = new Handler() {
|
|
public void handleMessage(Message message) {
|
|
public void handleMessage(Message message) {
|
|
- if (message.what != PathEffectData.MSG_INVALIDATE_VIEW || PathEffectData.mView == null) {
|
|
|
|
|
|
+ if (message.what != MSG_INVALIDATE_VIEW || mView == null) {
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
- if (PathEffectData.mRectDirty.isEmpty()) {
|
|
|
|
- PathEffectData.mView.invalidate();
|
|
|
|
|
|
+ if (mRectDirty.isEmpty()) {
|
|
|
|
+ mView.invalidate();
|
|
} else {
|
|
} else {
|
|
- PathEffectData.mView.invalidate(PathEffectData.mRectDirty);
|
|
|
|
|
|
+ mView.invalidate(mRectDirty);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
};
|
|
};
|
|
@@ -1344,8 +1345,8 @@ public class ImageCollectView extends View {
|
|
|
|
|
|
public PathEffectData(View view) {
|
|
public PathEffectData(View view) {
|
|
mPathEffectList[0] = new DashPathEffect(new float[]{5.0f, 5.0f}, 8.0f);
|
|
mPathEffectList[0] = new DashPathEffect(new float[]{5.0f, 5.0f}, 8.0f);
|
|
- mPathEffectList[1] = new DashPathEffect(new float[]{5.0f, 5.0f}, ImageCollectView.VIEW_MARGINE);
|
|
|
|
- mPathEffectList[2] = new DashPathEffect(new float[]{5.0f, 5.0f}, ImageCollectView.SCALE_RANGE_MAX);
|
|
|
|
|
|
+ mPathEffectList[1] = new DashPathEffect(new float[]{5.0f, 5.0f}, VIEW_MARGINE);
|
|
|
|
+ mPathEffectList[2] = new DashPathEffect(new float[]{5.0f, 5.0f}, SCALE_RANGE_MAX);
|
|
mPathEffectList[3] = new DashPathEffect(new float[]{5.0f, 5.0f}, 2.0f);
|
|
mPathEffectList[3] = new DashPathEffect(new float[]{5.0f, 5.0f}, 2.0f);
|
|
mPathEffectList[4] = new DashPathEffect(new float[]{5.0f, 5.0f}, 0.0f);
|
|
mPathEffectList[4] = new DashPathEffect(new float[]{5.0f, 5.0f}, 0.0f);
|
|
mView = view;
|
|
mView = view;
|
|
@@ -1407,15 +1408,15 @@ public class ImageCollectView extends View {
|
|
mBreak = false;
|
|
mBreak = false;
|
|
mTimer = new Thread(new Runnable() {
|
|
mTimer = new Thread(new Runnable() {
|
|
public void run() {
|
|
public void run() {
|
|
- while (!PathEffectData.mBreak) {
|
|
|
|
|
|
+ while (!mBreak) {
|
|
try {
|
|
try {
|
|
Thread.sleep(100);
|
|
Thread.sleep(100);
|
|
} catch (InterruptedException e) {
|
|
} catch (InterruptedException e) {
|
|
e.printStackTrace();
|
|
e.printStackTrace();
|
|
}
|
|
}
|
|
- long unused = PathEffectData.mNewTime = System.currentTimeMillis();
|
|
|
|
- PathEffectData.mHandlerPathEffectData.sendEmptyMessage(PathEffectData.MSG_INVALIDATE_VIEW);
|
|
|
|
- if (PathEffectData.mStartTime + ((long) i) <= PathEffectData.mNewTime) {
|
|
|
|
|
|
+ long unused = mNewTime = System.currentTimeMillis();
|
|
|
|
+ mHandlersendEmptyMessage(MSG_INVALIDATE_VIEW);
|
|
|
|
+ if (mStartTime + ((long) i) <= mNewTime) {
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -1424,43 +1425,4 @@ public class ImageCollectView extends View {
|
|
mTimer.start();
|
|
mTimer.start();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
- /* renamed from: com.epson.cameracopy.ui.ImageCollectView$EPxLog */
|
|
|
|
- static class EPxLog {
|
|
|
|
- EPxLog() {
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /* renamed from: d */
|
|
|
|
- public static final void m63d(String str, String str2) {
|
|
|
|
- Log.d(str, str2);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /* renamed from: e */
|
|
|
|
- public static final void m64e(String str, String str2) {
|
|
|
|
- if (Debug.isDebuggerConnected()) {
|
|
|
|
- Log.e(str, str2);
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /* renamed from: i */
|
|
|
|
- public static final void m65i(String str, String str2) {
|
|
|
|
- if (Debug.isDebuggerConnected()) {
|
|
|
|
- Log.i(str, str2);
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /* renamed from: v */
|
|
|
|
- public static final void m66v(String str, String str2) {
|
|
|
|
- if (Debug.isDebuggerConnected()) {
|
|
|
|
- Log.v(str, str2);
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /* renamed from: w */
|
|
|
|
- public static final void m67w(String str, String str2) {
|
|
|
|
- if (Debug.isDebuggerConnected()) {
|
|
|
|
- Log.w(str, str2);
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
}
|
|
}
|