commit | 798fb798660115845ba42df293baa28b3cc26a03 | [log] [tgz] |
---|---|---|
author | Robert Carr <racarr@google.com> | Tue Jul 12 15:48:53 2016 -0700 |
committer | Rob Carr <racarr@google.com> | Mon Aug 08 20:35:17 2016 +0000 |
tree | dcd8f0b20153556afdee3a10580dbfaabbb85c6e | |
parent | 67abc837af97e887477a60fff58821df99f84c72 [diff] |
PopupWindow: Be more consistent about Gravity calculation. Currently we are only appending the DISPLAY_CLIP_VERTICAL if the API user happens to call update() after showAsDropDown(). This fixes that behavior, and fixes a RTL issue (START v. LEFT). Unblocks a CTS test I am working on. Bug: 30578621 Change-Id: Ibf838544d453986b66eb223e2ac0f7d909fe5630 (cherry picked from commit 8367c50972ee4fce55ac483441125b8b09af5eae)