summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/24/changes
diff options
context:
space:
mode:
authorRobert Carr <racarr@google.com>2016-06-13 19:12:13 -0700
committerRobert Carr <racarr@google.com>2016-06-13 20:23:14 -0700
commitcb8dcec66aa68e576bfd1520d1ad39a961f22c56 (patch)
tree26934aec11e92058846cd00aa69fe3c17c9bb733 /docs/html/sdk/api_diff/24/changes
parente4b1fb94e3e9686379c0b6159292cbb45dded821 (diff)
PopupWindow: Resolve measure specs before passing to WM.
For the setClipToScreen case we need constraint to the available display area, but not to the parent window. If we don't pass FLAG_LAYOUT_NO_LIMITS, we will be constrained to the parent window. However when we do pass it, we will not be constrained to the system insets. So, we can pass FLAG_LAYOUT_NO_LIMITS and constrain ourselves to the insets via getWindowVisibleDisplayFrame. We also need to avoid calling setWidth/Height with these resolved values so we can preserve the indeterminate values in case layout changes (e.g. rotation). Bug: 29166136 Change-Id: I4c7c6204e6bc1cdcf4ad86f7e99e3511d4312ae4
Diffstat (limited to 'docs/html/sdk/api_diff/24/changes')
0 files changed, 0 insertions, 0 deletions