Flutter Engine
 
Loading...
Searching...
No Matches
keyboard_key_handler_unittests.cc File Reference

Go to the source code of this file.

Namespaces

namespace  flutter
 
namespace  flutter::testing
 

Functions

 flutter::testing::TEST (KeyboardKeyHandlerTest, SingleDelegateWithAsyncResponds)
 
 flutter::testing::TEST (KeyboardKeyHandlerTest, SingleDelegateWithSyncResponds)
 
 flutter::testing::TEST (KeyboardKeyHandlerTest, HandlerGetPressedState)
 
 flutter::testing::TEST (KeyboardKeyHandlerTest, KeyboardChannelGetPressedState)
 

Variable Documentation

◆ action

int action

Definition at line 116 of file keyboard_key_handler_unittests.cc.

Referenced by flutter::AccessibilityBridge::AddFlutterSemanticsCustomActionUpdate(), FlutterTextInputPlugin()::addToInputParentViewIfNeeded:, impeller::CanClearAttachment(), impeller::CanDiscardAttachmentWhenDone(), flutter::TestAccessibilityBridge::DispatchAccessibilityAction(), flutter::AccessibilityBridgeMac::DispatchAccessibilityAction(), flutter::AccessibilityBridgeWindows::DispatchAccessibilityAction(), flutter::FlutterWindowsEngine::DispatchSemanticsAction(), flutter::testing::MockAccessibilityBridge::DispatchSemanticsAction(), flutter::testing::MockAccessibilityBridgeNoWindow::DispatchSemanticsAction(), flutter::testing::MockAccessibilityBridge::DispatchSemanticsAction(), flutter::testing::MockAccessibilityBridgeNoWindow::DispatchSemanticsAction(), flutter_runner_test::AccessibilityBridgeTestDelegate::DispatchSemanticsAction(), flutter::EmbedderEngine::DispatchSemanticsAction(), flutter::Engine::DispatchSemanticsAction(), flutter::RuntimeController::DispatchSemanticsAction(), flutter::PlatformView::DispatchSemanticsAction(), flutter::PlatformViewAndroid::DispatchSemanticsAction(), flutter::DispatchSemanticsAction(), fl_accessible_node_do_action(), fl_accessible_node_get_n_actions(), fl_accessible_node_get_name(), fl_accessible_node_perform_action(), fl_accessible_node_perform_action_impl(), fl_accessible_node_set_actions_impl(), fl_accessible_text_field_perform_action(), fl_engine_dispatch_semantics_action(), FlutterEngineDispatchSemanticsAction(), impeller::FromMTLLoadAction(), impeller::FromMTLStoreAction(), flutter_runner::testing::FakeImeService::GetInputMethodEditor(), flutter::testing::EmbedderTestContext::GetUpdateSemanticsCustomActionCallbackHook(), GLFWKeyCallback(), GLFWKeyCallback(), GLFWKeyCallback(), GLFWmouseButtonCallback(), GLFWMouseButtonCallback(), flutter::KeyboardManager::HandleMessage(), has_action(), ui::AXNodeData::HasAction(), flutter::SemanticsNode::HasAction(), flutter_runner::IntoTextInputAction(), flutter::KeyEventHandler::KeyboardHook(), flutter::TextInputPlugin::KeyboardHook(), flutter::TextInputPlugin::KeyboardHook(), flutter::KeyboardKeyHandler::KeyboardHook(), flutter::KeyboardKeyChannelHandler::KeyboardHook(), flutter::KeyboardKeyEmbedderHandler::KeyboardHook(), impeller::LoadActionToString(), flutter_runner::AccessibilityBridge::OnAccessibilityActionRequested(), flutter_runner::TextDelegate::OnAction(), flutter::FlutterWindow::OnKey(), flutter::FlutterWindowsView::OnKey(), ui::ParseAction(), impeller::PlaygroundKeyCallback(), flutter::FlutterWindowsEngine::Run(), flutter::testing::ShellTest::SendSemanticsAction(), flutter_runner_test::AccessibilityBridgeTest::SetUp(), impeller::StoreActionNeedsResolveTexture(), impeller::StoreActionToString(), flutter::testing::TEST(), flutter::testing::TEST(), flutter::testing::TEST(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), impeller::ToMTLLoadAction(), impeller::ToMTLStoreAction(), ui::ToString(), flutter::SemanticsUpdateBuilder::updateCustomAction(), and flutter::PlatformViewAndroidDelegate::UpdateSemantics().

◆ callback

std::function<void(bool)> callback

Definition at line 55 of file keyboard_key_handler_unittests.cc.

◆ callback_handler

CallbackHandler callback_handler

Definition at line 169 of file keyboard_key_handler_unittests.cc.

◆ character

◆ delegate_id

◆ extended

◆ hook_history

std::list<KeyboardHookCall>* hook_history

◆ key

int key

Definition at line 114 of file keyboard_key_handler_unittests.cc.

Referenced by flutter::ImageLRU::AddImage(), fml::MessageLoop::AddTaskObserver(), fml::MessageLoopImpl::AddTaskObserver(), fml::MessageLoopTaskQueues::AddTaskObserver(), flutter::PersistentCache::BuildCacheObject(), flutter_runner::Keyboard::ConsumeEvent(), convert_key_to_char(), flutter::DartIsolate::CreatePlatformIsolate(), flutter::testing::ShellTest::CreateSettingsForFixture(), fml::CurrentMessageLoopAddAfterTaskObserver(), fml::CurrentMessageLoopRemoveAfterTaskObserver(), FlutterDartProject::defaultBundleIdentifier, define_system_cursor(), flutter::ImageLRU::FindImage(), fl_key_embedder_responder_new(), fl_value_equal(), fl_value_lookup(), fl_value_lookup_index(), fl_value_lookup_string(), fl_value_set(), fl_value_set_string(), fl_value_set_string_take(), fl_value_set_take(), fl_view_accessible_handle_update_semantics(), FlutterEngineInitialize(), FlutterStandardCodecHelperReadValueOfType(), G_DEFINE_TYPE(), gdk_keymap_lookup_key(), get_keyboard_state(), get_value(), flutter::RasterCache::GetAccessCount(), impeller::ContentContext::GetCachedRuntimeEffectPipeline(), tonic::DartClassLibrary::GetClass(), impeller::ShaderArchive::GetMapping(), flutter::PlatformHandler::GetPlainText(), GLFWKeyCallback(), GLFWKeyCallback(), GLFWKeyCallback(), GLFWmouseButtonCallback(), GLFWMouseButtonCallback(), flutter::RasterCache::HasEntry(), flutter::KeyEventHandler::KeyboardHook(), flutter::TextInputPlugin::KeyboardHook(), flutter::TextInputPlugin::KeyboardHook(), flutter::KeyboardKeyHandler::KeyboardHook(), flutter::KeyboardKeyChannelHandler::KeyboardHook(), flutter::KeyboardKeyEmbedderHandler::KeyboardHook(), flutter::testing::keyEventWithPhase(), flutter::PersistentCache::load(), flutter::PersistentCache::LoadSkSLs(), lookup_hash_table(), main(), flutter_runner::testing::PlatformViewTests::MakeEvent(), flutter::RasterCache::MarkSeen(), impeller::NormalizeUniformKey(), flutter::FlutterWindow::OnKey(), flutter::FlutterWindowsView::OnKey(), impeller::PipelineLibraryGLES::ProgramKey::Hash::operator()(), impeller::ContentContext::RuntimeEffectPipelineKey::Hash::operator()(), impeller::ShaderKey::Hash::operator()(), impeller::ShaderArchive::ShaderKey::Hash::operator()(), impeller::TextShadowCache::TextShadowCacheKey::Hash::operator()(), flutter::RasterCacheKey::Hash::operator()(), DepsParser::Parse(), flutter::PersistentCacheStore(), impeller::PlaygroundKeyCallback(), read_map_value(), flutter::StandardCodecSerializer::ReadValueOfType(), fml::MessageLoop::RemoveTaskObserver(), fml::MessageLoopImpl::RemoveTaskObserver(), fml::MessageLoopTaskQueues::RemoveTaskObserver(), set_value(), settings_portal_read(), impeller::ShaderArchive::ShaderArchive(), flutter::PersistentCache::SkKeyToFilePath(), fml::tracing::SplitArguments(), fml::tracing::SplitArgumentsCollect(), flutter::testing::ShellTest::StorePersistentCache(), synchronize_lock_states(), synchronize_pressed_states(), TEST(), fml::testing::TEST(), flutter::testing::TEST(), flutter::testing::TEST(), flutter::testing::TEST_F(), flutter::RasterCache::UpdateCacheEntry(), flutter::ImageExternalTextureGL::UpdateImage(), and flutter::ImageLRU::~ImageLRU().

◆ scancode

◆ user_data

void* user_data

Definition at line 56 of file keyboard_key_handler_unittests.cc.

◆ was_down