formatting changes

This commit is contained in:
Harshal Lele 2020-03-09 23:26:35 +05:30 committed by Stypox
parent fe1889653e
commit 46918ee907
No known key found for this signature in database
GPG Key ID: 4BDF1B40A49FDD23
1 changed files with 3 additions and 3 deletions

View File

@ -1265,7 +1265,7 @@ public final class PopupVideoPlayer extends Service {
return false;
}
if(initPointerDistance != -1){
if (initPointerDistance != -1) {
//get the movements of the fingers
float firstPointerMoveX = event.getX(0) - initFirstPointerX;
@ -1275,8 +1275,8 @@ public final class PopupVideoPlayer extends Service {
//minimum threshold beyond which pinch gesture will work
int scaledTouchSlop = ViewConfiguration.get(PopupVideoPlayer.this).getScaledTouchSlop();
if(firstPointerMoveX > scaledTouchSlop ||firstPointerMoveY > scaledTouchSlop ||
secPointerMoveX > scaledTouchSlop || secPointerMoveY > scaledTouchSlop) {
if (firstPointerMoveX > scaledTouchSlop ||firstPointerMoveY > scaledTouchSlop
|| secPointerMoveX > scaledTouchSlop || secPointerMoveY > scaledTouchSlop) {
double newWidth = popupWidth;