Loading quickstep/src/com/android/quickstep/TouchInteractionService.java +0 −7 Original line number Original line Diff line number Diff line Loading @@ -534,13 +534,6 @@ public class TouchInteractionService extends Service implements PluginListener<O Point sz = new Point(); Point sz = new Point(); display.getRealSize(sz); display.getRealSize(sz); if (rotation != Surface.ROTATION_0) { if (rotation != Surface.ROTATION_0) { if ((rotation % 2) != 0) { // via display-manager, the display size is unrotated, so "rotate" its size // to match the rotation we are transforming the event into. final int tmpX = sz.x; sz.x = sz.y; sz.y = tmpX; } event.transform(InputChannelCompat.createRotationMatrix(rotation, sz.x, sz.y)); event.transform(InputChannelCompat.createRotationMatrix(rotation, sz.x, sz.y)); } } } } Loading Loading
quickstep/src/com/android/quickstep/TouchInteractionService.java +0 −7 Original line number Original line Diff line number Diff line Loading @@ -534,13 +534,6 @@ public class TouchInteractionService extends Service implements PluginListener<O Point sz = new Point(); Point sz = new Point(); display.getRealSize(sz); display.getRealSize(sz); if (rotation != Surface.ROTATION_0) { if (rotation != Surface.ROTATION_0) { if ((rotation % 2) != 0) { // via display-manager, the display size is unrotated, so "rotate" its size // to match the rotation we are transforming the event into. final int tmpX = sz.x; sz.x = sz.y; sz.y = tmpX; } event.transform(InputChannelCompat.createRotationMatrix(rotation, sz.x, sz.y)); event.transform(InputChannelCompat.createRotationMatrix(rotation, sz.x, sz.y)); } } } } Loading