Loading core/java/android/widget/PopupWindow.java +2 −2 Original line number Diff line number Diff line Loading @@ -1818,7 +1818,7 @@ public class PopupWindow { final int winOffsetY = screenLocationY - drawingLocationY; final int anchorTopInScreen = outParams.y + winOffsetY; final int spaceBelow = displayFrameBottom - anchorTopInScreen; if (anchorTopInScreen >= 0 && height <= spaceBelow) { if (anchorTopInScreen >= displayFrameTop && height <= spaceBelow) { return true; } Loading Loading @@ -1880,7 +1880,7 @@ public class PopupWindow { final int winOffsetX = screenLocationX - drawingLocationX; final int anchorLeftInScreen = outParams.x + winOffsetX; final int spaceRight = displayFrameRight - anchorLeftInScreen; if (anchorLeftInScreen >= 0 && width <= spaceRight) { if (anchorLeftInScreen >= displayFrameLeft && width <= spaceRight) { return true; } Loading Loading
core/java/android/widget/PopupWindow.java +2 −2 Original line number Diff line number Diff line Loading @@ -1818,7 +1818,7 @@ public class PopupWindow { final int winOffsetY = screenLocationY - drawingLocationY; final int anchorTopInScreen = outParams.y + winOffsetY; final int spaceBelow = displayFrameBottom - anchorTopInScreen; if (anchorTopInScreen >= 0 && height <= spaceBelow) { if (anchorTopInScreen >= displayFrameTop && height <= spaceBelow) { return true; } Loading Loading @@ -1880,7 +1880,7 @@ public class PopupWindow { final int winOffsetX = screenLocationX - drawingLocationX; final int anchorLeftInScreen = outParams.x + winOffsetX; final int spaceRight = displayFrameRight - anchorLeftInScreen; if (anchorLeftInScreen >= 0 && width <= spaceRight) { if (anchorLeftInScreen >= displayFrameLeft && width <= spaceRight) { return true; } Loading