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
);