mirror of
https://gitee.com/openharmony/inputmethod_imf
synced 2024-12-17 19:57:45 +00:00
commit
102139ae9e
@ -40,6 +40,7 @@ namespace MiscServices {
|
||||
virtual void SendKeyEventFromInputMethod(const KeyEvent& event) = 0;
|
||||
virtual void SendKeyboardInfo(const KeyboardInfo& info) = 0;
|
||||
virtual void SetKeyboardStatus(bool status) = 0;
|
||||
virtual void MoveCursor(const Direction direction) = 0;
|
||||
};
|
||||
|
||||
class ImsaDeathRecipient : public IRemoteObject::DeathRecipient {
|
||||
|
@ -41,6 +41,15 @@ namespace MiscServices {
|
||||
URL,
|
||||
VISIBLE_PASSWORD,
|
||||
};
|
||||
|
||||
enum class Direction {
|
||||
NONE = 0,
|
||||
UP = 1,
|
||||
DOWN,
|
||||
LEFT,
|
||||
RIGHT,
|
||||
};
|
||||
|
||||
class Configuration {
|
||||
public:
|
||||
EnterKeyType GetEnterKeyType() const
|
||||
|
@ -64,6 +64,10 @@ namespace MiscServices {
|
||||
{
|
||||
IMSA_HILOGI("IMC TEST TextListener SendKeyboardInfo");
|
||||
}
|
||||
void MoveCursor(const Direction direction)
|
||||
{
|
||||
IMSA_HILOGI("IMC TEST TextListener Direction");
|
||||
}
|
||||
};
|
||||
class InputMethodControllerTest : public testing::Test {
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user