|
|
@@ -82,7 +82,6 @@ public class FunnelView extends View implements ValueAnimator.AnimatorUpdateList
|
|
|
calculate();
|
|
|
getMaxHight();
|
|
|
requestLayout();
|
|
|
- Log.i("FunnelMain", "setData:");
|
|
|
}
|
|
|
|
|
|
private void getMaxHight() {
|
|
|
@@ -166,8 +165,6 @@ public class FunnelView extends View implements ValueAnimator.AnimatorUpdateList
|
|
|
for (int i = 0; i < mMoneys.size(); i++) {
|
|
|
draw2(canvas, mPaints.get(i), mPathAngleWidths.get(i), mPathHeights.get(i),i);
|
|
|
}
|
|
|
- // maxHight = Math.round(mLastY);
|
|
|
- Log.i("FunnelMain", "onDraw:"+ maxHight);
|
|
|
}
|
|
|
ObjectAnimator xAnimator;
|
|
|
ObjectAnimator alphaAnimator;
|
|
|
@@ -197,7 +194,6 @@ public class FunnelView extends View implements ValueAnimator.AnimatorUpdateList
|
|
|
@Override
|
|
|
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
|
|
|
super.onMeasure(widthMeasureSpec, heightMeasureSpec);
|
|
|
-
|
|
|
setMeasuredDimension(getMeasuredLength(widthMeasureSpec, true),
|
|
|
getMeasuredLength(heightMeasureSpec, false));
|
|
|
}
|