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

Go to the source code of this file.

Namespaces

namespace  flutter
 

Variables

static constexpr char kChannelName [] = "flutter/keyevent"
 
static constexpr char kKeyCodeKey [] = "keyCode"
 
static constexpr char kKeyMapKey [] = "keymap"
 
static constexpr char kScanCodeKey [] = "scanCode"
 
static constexpr char kModifiersKey [] = "modifiers"
 
static constexpr char kTypeKey [] = "type"
 
static constexpr char kToolkitKey [] = "toolkit"
 
static constexpr char kUnicodeScalarValues [] = "unicodeScalarValues"
 
static constexpr char kLinuxKeyMap [] = "linux"
 
static constexpr char kGLFWKey [] = "glfw"
 
static constexpr char kKeyUp [] = "keyup"
 
static constexpr char kKeyDown [] = "keydown"
 
static constexpr int kTwoByteMask = 0xC0
 
static constexpr int kThreeByteMask = 0xE0
 
static constexpr int kFourByteMask = 0xF0
 

Variable Documentation

◆ first_byte_mask

int first_byte_mask

Definition at line 39 of file key_event_handler.cc.

◆ kChannelName

constexpr char kChannelName[] = "flutter/keyevent"
staticconstexpr

Definition at line 11 of file key_event_handler.cc.

◆ kFourByteMask

constexpr int kFourByteMask = 0xF0
staticconstexpr

Definition at line 30 of file key_event_handler.cc.

◆ kGLFWKey

constexpr char kGLFWKey[] = "glfw"
staticconstexpr

Definition at line 22 of file key_event_handler.cc.

Referenced by flutter::KeyEventHandler::KeyboardHook().

◆ kKeyCodeKey

constexpr char kKeyCodeKey[] = "keyCode"
staticconstexpr

◆ kKeyDown

constexpr char kKeyDown[] = "keydown"
staticconstexpr

◆ kKeyMapKey

constexpr char kKeyMapKey[] = "keymap"
staticconstexpr

◆ kKeyUp

constexpr char kKeyUp[] = "keyup"
staticconstexpr

◆ kLinuxKeyMap

constexpr char kLinuxKeyMap[] = "linux"
staticconstexpr

Definition at line 21 of file key_event_handler.cc.

Referenced by flutter::KeyEventHandler::KeyboardHook().

◆ kModifiersKey

constexpr char kModifiersKey[] = "modifiers"
staticconstexpr

◆ kScanCodeKey

constexpr char kScanCodeKey[] = "scanCode"
staticconstexpr

◆ kThreeByteMask

constexpr int kThreeByteMask = 0xE0
staticconstexpr

Definition at line 29 of file key_event_handler.cc.

◆ kToolkitKey

constexpr char kToolkitKey[] = "toolkit"
staticconstexpr

Definition at line 18 of file key_event_handler.cc.

Referenced by flutter::KeyEventHandler::KeyboardHook().

◆ kTwoByteMask

constexpr int kTwoByteMask = 0xC0
staticconstexpr

Definition at line 28 of file key_event_handler.cc.

◆ kTypeKey

constexpr char kTypeKey[] = "type"
staticconstexpr

Definition at line 17 of file key_event_handler.cc.

◆ kUnicodeScalarValues

constexpr char kUnicodeScalarValues[] = "unicodeScalarValues"
staticconstexpr

Definition at line 19 of file key_event_handler.cc.

Referenced by flutter::KeyEventHandler::KeyboardHook().

◆ length

size_t length

Definition at line 41 of file key_event_handler.cc.

Referenced by CommentsUtil::AddTrimLine(), flutter::testing::BM_DrawArc(), flutter::testing::BM_DrawCircle(), flutter::testing::BM_DrawDRRect(), flutter::testing::BM_DrawLine(), flutter::testing::BM_DrawOval(), flutter::testing::BM_DrawPath(), flutter::testing::BM_DrawPoints(), flutter::testing::BM_DrawRect(), flutter::testing::BM_DrawRRect(), flutter::testing::BM_DrawShadow(), flutter::testing::BM_DrawVertices(), flutter::testing::BM_SaveLayer(), impeller::LineGeometry::ComputeAlongVector(), flutter::ConvertMappingToNSData(), impeller::compiler::ConvertToEntrypointName(), fml::MallocMapping::Copy(), fml::MallocMapping::Copy(), flutter::CopyMappingPtrToNSData(), tonic::DartByteData::Create(), impeller::Allocator::CreateBufferWithCopy(), impeller::CreateMappingWithCopy(), flutter::DeserializeImageWithoutData(), impeller::DashedLinePathSource::Dispatch(), impeller::Canvas::DrawDashedLine(), impeller::HostBuffer::Emplace(), impeller::HostBuffer::Emplace(), impeller::BlitCopyTextureToBufferCommandGLES::Encode(), flutter::Base64::Encode(), fl_accessible_text_field_insert_text(), fl_json_method_codec_decode_response(), fl_standard_message_codec_real_write_value(), fl_value_new_uint8_list_from_bytes(), FlutterStandardCodecHelperReadBytes(), FlutterStandardCodecHelperReadValueOfType(), FlutterStandardCodecHelperWriteBytes(), FlutterStandardCodecHelperWriteData(), FlutterStandardCodecHelperWriteUTF8(), flutter::PlatformViewAndroidJNIImpl::FlutterViewComputePlatformResolvedLocale(), tonic::DartConverter< std::string >::FromDart(), tonic::DartConverter< std::u16string >::FromDart(), tonic::DartConverter< std::vector< T > >::FromDart(), flutter::testing::EmbedderTestContext::GetComputePlatformResolvedLocaleCallbackHook(), FLUTTER_ASSERT_ARC::getEventCharacters(), flutter::GetExecutableDirectory(), FLUTTER_ASSERT_ARC::GetLogicalKeyForEvent(), impeller::ProcTableGLES::GetProgramInfoLogString(), impeller::GetShaderSource(), flutter::WindowsProcTable::GetThreadPreferredUILanguages(), impeller::interop::ImpellerParagraphBuilderAddText(), FlutterEngine(ScenariosTest)::initWithScenario:withCompletion:, FLUTTER_ASSERT_ARC::IsControlCharacter(), FLUTTER_ASSERT_ARC::IsUnprintableKey(), FlValueHandler::Key(), main(), impeller::testing::mockObjectLabelKHR(), flutter::FlutterWindow::NarrowToWide(), ui::AXPlatformNodeBase::NearestTextIndexToPoint(), tonic::DartListFactory< T, Enable >::NewList(), impeller::TPoint< T >::Normalize(), flutter::Paint::paint(), read_float32_list_value(), read_float64_list_value(), read_int32_list_value(), read_int64_list_value(), read_list_value(), read_map_value(), read_string_value(), read_uint8_list_value(), flutter::ByteBufferStreamReader::ReadBytes(), ReadDataNoCopy(), FlutterStandardReaderWriter::readerWithData:, flutter::StandardCodecSerializer::ReadValueOfType(), impeller::Tessellator::RoundCapLine(), base::win::ScopedVariant::ScopedVariant(), impeller::Texture::SetContents(), impeller::interop::Texture::SetContents(), FlValueHandler::String(), fml::jni::StringArrayToVector(), ui::StringCompareICU(), synchronize_pressed_states(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), fml::TEST(), fml::TEST(), fml::TEST(), fml::TEST(), fml::TEST(), TEST(), impeller::testing::TEST(), gfx::TEST(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), impeller::compiler::ToCamelCase(), tonic::DartConverter< TypedList< kTypeName, ElemType > >::ToDart(), impeller::Allocation::Truncate(), and flutter::ByteBufferStreamWriter::WriteBytes().