summaryrefslogtreecommitdiff
path: root/libs/hwui/ProgramCache.cpp
diff options
context:
space:
mode:
author Jun Mukai <mukai@google.com> 2015-04-02 13:44:29 -0700
committer Jun Mukai <mukai@google.com> 2015-07-08 13:18:54 -0700
commit31f581c5a64320d9a90ce3fb1a4625f94f4f8021 (patch)
tree25b0897b4dec41eea04d35f886930cf3f30a0b19 /libs/hwui/ProgramCache.cpp
parenta25ecac971e0aecc7843188d6ad86bc358972381 (diff)
Introduces mouse actions for popup menu.
- mouse hover moves the selected item in the menu. It moves the selection rectangle, and further up/down key or enter key will start from the hovered item. - when the mouse exits from the entire popup window, the selection is canceled. Further up/down key will start from the first item. To implement these behaviors, and consider about other keyboard behaviors which is special to menus, I believe it justifies to create another class for the menu popups rather than using ListPopupWindow directly. Bug: 19642104 Change-Id: I5e405c0491c67fdef9764898701119979ec13a9f
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions