formatting changes
This commit is contained in:
parent
fe1889653e
commit
46918ee907
1 changed files with 3 additions and 3 deletions
|
@ -1265,7 +1265,7 @@ public final class PopupVideoPlayer extends Service {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(initPointerDistance != -1){
|
if (initPointerDistance != -1) {
|
||||||
|
|
||||||
//get the movements of the fingers
|
//get the movements of the fingers
|
||||||
float firstPointerMoveX = event.getX(0) - initFirstPointerX;
|
float firstPointerMoveX = event.getX(0) - initFirstPointerX;
|
||||||
|
@ -1275,8 +1275,8 @@ public final class PopupVideoPlayer extends Service {
|
||||||
//minimum threshold beyond which pinch gesture will work
|
//minimum threshold beyond which pinch gesture will work
|
||||||
int scaledTouchSlop = ViewConfiguration.get(PopupVideoPlayer.this).getScaledTouchSlop();
|
int scaledTouchSlop = ViewConfiguration.get(PopupVideoPlayer.this).getScaledTouchSlop();
|
||||||
|
|
||||||
if(firstPointerMoveX > scaledTouchSlop ||firstPointerMoveY > scaledTouchSlop ||
|
if (firstPointerMoveX > scaledTouchSlop ||firstPointerMoveY > scaledTouchSlop
|
||||||
secPointerMoveX > scaledTouchSlop || secPointerMoveY > scaledTouchSlop) {
|
|| secPointerMoveX > scaledTouchSlop || secPointerMoveY > scaledTouchSlop) {
|
||||||
|
|
||||||
double newWidth = popupWidth;
|
double newWidth = popupWidth;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue