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