LibreOffice Module android (master) 1
Public Member Functions | Static Private Attributes | List of all members
org.libreoffice.LOKitInputConnectionHandler Class Reference

Implementation of InputConnectionHandler. More...

Inheritance diagram for org.libreoffice.LOKitInputConnectionHandler:
[legend]
Collaboration diagram for org.libreoffice.LOKitInputConnectionHandler:
[legend]

Public Member Functions

InputConnection onCreateInputConnection (EditorInfo outAttrs)
 
boolean onKeyPreIme (int keyCode, KeyEvent event)
 When key pre-Ime happens. More...
 
boolean onKeyDown (int keyCode, KeyEvent event)
 When key down event happens. More...
 
boolean onKeyLongPress (int keyCode, KeyEvent event)
 When key long press event happens. More...
 
boolean onKeyMultiple (int keyCode, int repeatCount, KeyEvent event)
 When key multiple event happens. More...
 
boolean onKeyUp (int keyCode, KeyEvent event)
 When key up event happens. More...
 
InputConnection onCreateInputConnection (EditorInfo outAttrs)
 
boolean onKeyPreIme (int keyCode, KeyEvent event)
 
boolean onKeyDown (int keyCode, KeyEvent event)
 
boolean onKeyLongPress (int keyCode, KeyEvent event)
 
boolean onKeyMultiple (int keyCode, int repeatCount, KeyEvent event)
 
boolean onKeyUp (int keyCode, KeyEvent event)
 

Static Private Attributes

static final String LOGTAG = LOKitInputConnectionHandler.class.getSimpleName()
 

Detailed Description

Implementation of InputConnectionHandler.

When a key event happens it is directed to this class which is then directed further to LOKitThread.

Definition at line 21 of file LOKitInputConnectionHandler.java.

Member Function Documentation

◆ onCreateInputConnection()

InputConnection org.libreoffice.LOKitInputConnectionHandler.onCreateInputConnection ( EditorInfo  outAttrs)
inline

◆ onKeyDown()

boolean org.libreoffice.LOKitInputConnectionHandler.onKeyDown ( int  keyCode,
KeyEvent  event 
)
inline

When key down event happens.

Implements org.mozilla.gecko.gfx.InputConnectionHandler.

Definition at line 41 of file LOKitInputConnectionHandler.java.

References org.libreoffice.LOKitShell.sendKeyEvent().

◆ onKeyLongPress()

boolean org.libreoffice.LOKitInputConnectionHandler.onKeyLongPress ( int  keyCode,
KeyEvent  event 
)
inline

When key long press event happens.

Implements org.mozilla.gecko.gfx.InputConnectionHandler.

Definition at line 50 of file LOKitInputConnectionHandler.java.

◆ onKeyMultiple()

boolean org.libreoffice.LOKitInputConnectionHandler.onKeyMultiple ( int  keyCode,
int  repeatCount,
KeyEvent  event 
)
inline

When key multiple event happens.

Key multiple event is triggered when non-ascii characters are entered on soft keyboard.

Implements org.mozilla.gecko.gfx.InputConnectionHandler.

Definition at line 59 of file LOKitInputConnectionHandler.java.

References org.libreoffice.LOKitShell.sendKeyEvent().

◆ onKeyPreIme()

boolean org.libreoffice.LOKitInputConnectionHandler.onKeyPreIme ( int  keyCode,
KeyEvent  event 
)
inline

When key pre-Ime happens.

Implements org.mozilla.gecko.gfx.InputConnectionHandler.

Definition at line 33 of file LOKitInputConnectionHandler.java.

◆ onKeyUp()

boolean org.libreoffice.LOKitInputConnectionHandler.onKeyUp ( int  keyCode,
KeyEvent  event 
)
inline

When key up event happens.

Implements org.mozilla.gecko.gfx.InputConnectionHandler.

Definition at line 68 of file LOKitInputConnectionHandler.java.

References org.libreoffice.LOKitShell.sendKeyEvent().

Member Data Documentation

◆ LOGTAG

final String org.libreoffice.LOKitInputConnectionHandler.LOGTAG = LOKitInputConnectionHandler.class.getSimpleName()
staticprivate

Definition at line 22 of file LOKitInputConnectionHandler.java.


The documentation for this class was generated from the following file: