(KeyEvent event)
| 5 | public class KeyUtil { |
| 6 | |
| 7 | public static boolean isActionDown(KeyEvent event) { |
| 8 | return event.getAction() == KeyEvent.ACTION_DOWN; |
| 9 | } |
| 10 | |
| 11 | public static boolean isActionUp(KeyEvent event) { |
| 12 | return event.getAction() == KeyEvent.ACTION_UP; |
no test coverage detected