Searched refs:KeyInputImpl (Results 1 - 9 of 9) sorted by relevance
| /ide/tools/previewer/test/mock/mock/ |
| H A D | MockKeyInputImpl.cpp | 16 #include "KeyInputImpl.h" 19 KeyInputImpl::KeyInputImpl() {} in KeyInputImpl() function in KeyInputImpl 21 KeyInputImpl& KeyInputImpl::GetInstance() in GetInstance() 23 static KeyInputImpl instance; in GetInstance() 27 void KeyInputImpl::DispatchOsInputMethodEvent() const in DispatchOsInputMethodEvent() 32 void KeyInputImpl::DispatchOsKeyEvent() const in DispatchOsKeyEvent() 37 void KeyInputImpl::SetKeyEvent(const int32_t keyCodeVal, const int32_t keyActionVal, in SetKeyEvent() 49 void KeyInputImpl [all...] |
| /ide/tools/previewer/mock/lite/ |
| H A D | KeyInputImpl.cpp | 16 #include "KeyInputImpl.h" 18 KeyInputImpl::KeyInputImpl() in KeyInputImpl() function in KeyInputImpl 22 KeyInputImpl& KeyInputImpl::GetInstance() in GetInstance() 24 static KeyInputImpl instance; in GetInstance()
|
| H A D | KeyInputImpl.h | 21 class KeyInputImpl : public KeyInput { class 23 static KeyInputImpl& GetInstance(); 25 KeyInputImpl(); 26 virtual ~KeyInputImpl() {}; in ~KeyInputImpl()
|
| /ide/tools/previewer/test/unittest/mock/ |
| H A D | KeyInputImplTest.cpp | 20 #include "KeyInputImpl.h" 27 KeyInputImpl::GetInstance().SetCodePoint(code); in TEST() 28 EXPECT_EQ(KeyInputImpl::GetInstance().codePoint, code); in TEST() 30 KeyInputImpl::GetInstance().DispatchOsInputMethodEvent(); in TEST() 43 KeyInputImpl::GetInstance().SetKeyEvent(keyCode, keyAction, pressedCodesVec, keyString); in TEST() 44 EXPECT_EQ(KeyInputImpl::GetInstance().keyCode, keyCode); in TEST() 45 EXPECT_EQ(KeyInputImpl::GetInstance().keyAction, keyAction); in TEST() 46 EXPECT_EQ(KeyInputImpl::GetInstance().keyString, keyString); in TEST() 49 KeyInputImpl::GetInstance().DispatchOsKeyEvent(); in TEST()
|
| /ide/tools/previewer/mock/rich/ |
| H A D | KeyInputImpl.cpp | 16 #include "KeyInputImpl.h" 26 KeyInputImpl::KeyInputImpl() : KeyInput(), pressedCodes(0) in KeyInputImpl() function in KeyInputImpl 30 KeyInputImpl& KeyInputImpl::GetInstance() in GetInstance() 32 static KeyInputImpl instance; in GetInstance() 36 void KeyInputImpl::DispatchOsInputMethodEvent() const in DispatchOsInputMethodEvent() 41 void KeyInputImpl::DispatchOsKeyEvent() const in DispatchOsKeyEvent() 54 void KeyInputImpl::SetKeyEvent(const int32_t keyCodeVal, const int32_t keyActionVal, in SetKeyEvent() 66 void KeyInputImpl [all...] |
| H A D | KeyInputImpl.h | 22 class KeyInputImpl : public KeyInput { class 24 static KeyInputImpl& GetInstance(); 32 KeyInputImpl(); 33 virtual ~KeyInputImpl() {}; in ~KeyInputImpl()
|
| /ide/tools/previewer/test/unittest/mock_lite/ |
| H A D | KeyInputImplTest.cpp | 18 #include "KeyInputImpl.h" 23 KeyInputImpl& instance = KeyInputImpl::GetInstance(); in TEST()
|
| /ide/tools/previewer/cli/ |
| H A D | CommandLine.cpp | 33 #include "KeyInputImpl.h" 1370 KeyInputImpl::GetInstance().SetCodePoint(codePoint); in RunAction() 1371 KeyInputImpl::GetInstance().DispatchOsInputMethodEvent(); in RunAction() 1385 KeyInputImpl::GetInstance().SetKeyEvent(keyCode, keyAction, pressedCodesVec, keyString); in RunAction() 1386 KeyInputImpl::GetInstance().DispatchOsKeyEvent(); in RunAction()
|
| /ide/tools/previewer/test/unittest/cli/ |
| H A D | CommandLineTest.cpp | 25 #include "KeyInputImpl.h" 521 KeyInputImpl::GetInstance().codePoint = 0; in TEST_F() 524 EXPECT_EQ(KeyInputImpl::GetInstance().codePoint, codePoint); in TEST_F() 588 EXPECT_EQ(KeyInputImpl::GetInstance().keyCode, 2033); in TEST_F() 589 EXPECT_EQ(KeyInputImpl::GetInstance().keyAction, 0); in TEST_F() 590 EXPECT_EQ(KeyInputImpl::GetInstance().keyString, "ctrl"); in TEST_F() 591 EXPECT_EQ(KeyInputImpl::GetInstance().pressedCodes[0], OHOS::MMI::KeyCode(2033)); in TEST_F() 599 EXPECT_EQ(KeyInputImpl::GetInstance().keyString, ""); in TEST_F()
|
Completed in 8 milliseconds