Loading src/com/android/launcher3/touch/PortraitPagedViewHandler.java +8 −2 Original line number Diff line number Diff line Loading @@ -334,8 +334,14 @@ public class PortraitPagedViewHandler implements PagedOrientationHandler { // Set translations if (deviceProfile.isLandscape) { if (desiredTaskId == splitBounds.rightBottomTaskId) { translationX = ((taskViewWidth * splitBounds.leftTaskPercent) + (taskViewWidth * splitBounds.dividerWidthPercent)); float leftTopTaskPercent = splitBounds.appsStackedVertically ? splitBounds.topTaskPercent : splitBounds.leftTaskPercent; float dividerThicknessPercent = splitBounds.appsStackedVertically ? splitBounds.dividerHeightPercent : splitBounds.dividerWidthPercent; translationX = ((taskViewWidth * leftTopTaskPercent) + (taskViewWidth * dividerThicknessPercent)); } } else { if (desiredTaskId == splitBounds.leftTopTaskId) { Loading Loading
src/com/android/launcher3/touch/PortraitPagedViewHandler.java +8 −2 Original line number Diff line number Diff line Loading @@ -334,8 +334,14 @@ public class PortraitPagedViewHandler implements PagedOrientationHandler { // Set translations if (deviceProfile.isLandscape) { if (desiredTaskId == splitBounds.rightBottomTaskId) { translationX = ((taskViewWidth * splitBounds.leftTaskPercent) + (taskViewWidth * splitBounds.dividerWidthPercent)); float leftTopTaskPercent = splitBounds.appsStackedVertically ? splitBounds.topTaskPercent : splitBounds.leftTaskPercent; float dividerThicknessPercent = splitBounds.appsStackedVertically ? splitBounds.dividerHeightPercent : splitBounds.dividerWidthPercent; translationX = ((taskViewWidth * leftTopTaskPercent) + (taskViewWidth * dividerThicknessPercent)); } } else { if (desiredTaskId == splitBounds.leftTopTaskId) { Loading