summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorarthurhung <arthurhung@google.com>2021-02-23 16:00:21 +0800
committerarthurhung <arthurhung@google.com>2021-02-24 23:42:34 +0800
commit070eb5adf37d307dbeb2e877ba85fea8ac83bd44 (patch)
treedc68cdb4cac11ba1b32a4324a79566797c918de1 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parentf6ed5fc57c0955bf040438abd8bde6457c124a91 (diff)
Refactor key handling in interceptKeyBeforeDispatching
Moving the logic from the if-else statements to a switch-case statement, that could help us to maintain the key handling easier. This also extracts below shortcuts into switch-case statement : META-ALT : toggle caps lock. ALT-TAB : display task switcher. CTRL-SPACE/META-SPACE : keyboard layout switching. Bug: 162194917 Bug: 127687575 Test: manual with connected keyboard Change-Id: I1e392ac98135150421e2ea26daeb2a7b7821a618
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions