Avoid potential negative array index access to cached text.
[LibreOffice.git] / android / source / src / java / org / mozilla / gecko / gfx / InputConnectionHandler.java
blobd460c19e1c2f57b2ba49d4cc8a191708997348a6
1 package org.mozilla.gecko.gfx;
3 import android.view.KeyEvent;
4 import android.view.inputmethod.EditorInfo;
5 import android.view.inputmethod.InputConnection;
7 public interface InputConnectionHandler
9 InputConnection onCreateInputConnection(EditorInfo outAttrs);
10 boolean onKeyPreIme(int keyCode, KeyEvent event);
11 boolean onKeyDown(int keyCode, KeyEvent event);
12 boolean onKeyLongPress(int keyCode, KeyEvent event);
13 boolean onKeyMultiple(int keyCode, int repeatCount, KeyEvent event);
14 boolean onKeyUp(int keyCode, KeyEvent event);