1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-05 10:49:24 +02:00

formatting cleanup

This commit is contained in:
Nikolay Pultsin 2012-04-18 04:01:47 +01:00
parent 3c29d063ec
commit a709312218

View file

@ -162,9 +162,9 @@ class CurlAnimationProvider extends AnimationProvider {
canvas.clipPath(myFgPath);
canvas.drawBitmap(fgBitmap, 0, 0, myPaint);
canvas.restore();
myEdgePaint.setColor(ZLAndroidColorUtil.rgb(ZLAndroidColorUtil.getAverageColor(fgBitmap)));
myEdgePath.rewind();
myEdgePath.moveTo(x, y);
myEdgePath.lineTo(
@ -239,7 +239,7 @@ class CurlAnimationProvider extends AnimationProvider {
y = 1;
} else {
x = 1;
y = mySpeed < 0 ? myHeight - 3 : 3;
y = mySpeed < 0 ? myHeight - 3 : 3;
}
} else {
final int cornerX = x > myWidth / 2 ? myWidth : 0;