Merge "Properly set the center of the circular mask." into cw-f-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
7aa48283b0
@@ -242,7 +242,7 @@ class CircularDisplayMask {
|
||||
}
|
||||
|
||||
double cx = (maskWidth - 1.0) / 2.0;
|
||||
double cy = (maskHeight - 1.0) / 2.0;
|
||||
double cy = (maskHeight - 1.0 + mScreenOffset) / 2.0;
|
||||
double radius = maskWidth / 2.0;
|
||||
int[] pixels = new int[maskWidth * maskHeight];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user