Flutter Engine
The Flutter Engine
|
Classes | |
class | MachThreads |
class | MockPlatformMessageResponse |
Functions | |
typedef | NS_OPTIONS (NSInteger, kKeyboardModifier) |
static NSString * | getEventCharacters (NSString *characters, UIKeyboardHIDUsage keyCode) API_AVAILABLE(ios(13.4)) |
static NSUInteger | lowestSetBit (NSUInteger bitmask) |
static bool | IsControlCharacter (NSUInteger length, NSString *label) |
static bool | IsUnprintableKey (NSUInteger length, NSString *label) |
static uint64_t | KeyOfPlane (uint64_t baseKey, uint64_t plane) |
static uint64_t | GetPhysicalKeyForKeyCode (UInt32 keyCode) |
static uint64_t | GetLogicalKeyForModifier (UInt32 keyCode, uint64_t hidCode) |
static uint64_t | toLower (uint64_t n) |
static const char * | getEventCharacters (NSString *characters, UIKeyboardHIDUsage keyCode) API_AVAILABLE(ios(13.4)) |
static uint64_t | GetLogicalKeyForEvent (FlutterUIPressProxy *press, NSNumber *maybeSpecialKey) API_AVAILABLE(ios(13.4)) |
static double | GetFlutterTimestampFrom (NSTimeInterval timestamp) |
static NSUInteger | computeModifierFlagOfInterestMask () |
static bool | isKeyDown (FlutterUIPressProxy *press) API_AVAILABLE(ios(13.4)) |
void | HandleResponse (bool handled, void *user_data) |
flutter::SemanticsAction | GetSemanticsActionForScrollDirection (UIAccessibilityScrollDirection direction) |
SkM44 | GetGlobalTransform (SemanticsObject *reference) |
SkPoint | ApplyTransform (SkPoint &point, const SkM44 &transform) |
CGPoint | ConvertPointToGlobal (SemanticsObject *reference, CGPoint local_point) |
CGRect | ConvertRectToGlobal (SemanticsObject *reference, CGRect local_rect) |
fml::RefPtr< fml::TaskRunner > | CreateNewThread (const std::string &name) |
fml::RefPtr< fml::TaskRunner > | GetCurrentTaskRunner () |
Definition at line 47 of file SemanticsObject.mm.
|
static |
Compute |modifierFlagOfInterestMask| out of |keyCodeToModifierFlag|.
This is equal to the bitwise-or of all values of |keyCodeToModifierFlag|.
Definition at line 211 of file FlutterEmbedderKeyResponder.mm.
CGPoint FLUTTER_ASSERT_ARC::ConvertPointToGlobal | ( | SemanticsObject * | reference, |
CGPoint | local_point | ||
) |
Definition at line 52 of file SemanticsObject.mm.
CGRect FLUTTER_ASSERT_ARC::ConvertRectToGlobal | ( | SemanticsObject * | reference, |
CGRect | local_rect | ||
) |
Definition at line 66 of file SemanticsObject.mm.
fml::RefPtr< fml::TaskRunner > FLUTTER_ASSERT_ARC::CreateNewThread | ( | const std::string & | name | ) |
Definition at line 16 of file VsyncWaiterIosTest.mm.
fml::RefPtr< fml::TaskRunner > FLUTTER_ASSERT_ARC::GetCurrentTaskRunner | ( | ) |
Definition at line 27 of file platform_message_handler_ios_test.mm.
|
static |
Filters out some special cases in the characters field on UIKey.
Definition at line 53 of file FlutterChannelKeyResponder.mm.
|
static |
Filters out some special cases in the characters field on UIKey.
Definition at line 124 of file FlutterEmbedderKeyResponder.mm.
|
static |
Converts NSEvent.timestamp to the timestamp for Flutter.
Definition at line 201 of file FlutterEmbedderKeyResponder.mm.
SkM44 FLUTTER_ASSERT_ARC::GetGlobalTransform | ( | SemanticsObject * | reference | ) |
Definition at line 39 of file SemanticsObject.mm.
|
static |
Returns the logical key of a KeyUp or KeyDown event.
The maybeSpecialKey
is a nullable integer, and if not nil, indicates that the event key is a special key as defined by specialKeyMapping
, and is the corresponding logical key.
For modifier keys, use GetLogicalKeyForModifier.
Definition at line 158 of file FlutterEmbedderKeyResponder.mm.
|
static |
Returns the logical key for a modifier physical key.
Definition at line 84 of file FlutterEmbedderKeyResponder.mm.
|
static |
Returns the physical key for a key code.
Definition at line 73 of file FlutterEmbedderKeyResponder.mm.
flutter::SemanticsAction FLUTTER_ASSERT_ARC::GetSemanticsActionForScrollDirection | ( | UIAccessibilityScrollDirection | direction | ) |
Definition at line 14 of file SemanticsObject.mm.
void FLUTTER_ASSERT_ARC::HandleResponse | ( | bool | handled, |
void * | user_data | ||
) |
The C-function sent to the engine's |sendKeyEvent|, wrapping |FlutterEmbedderKeyResponder.handleResponse|.
For the reason of this wrap, see |FlutterKeyPendingResponse|.
|
static |
Whether a string represents a control character.
Definition at line 37 of file FlutterEmbedderKeyResponder.mm.
|
static |
Definition at line 221 of file FlutterEmbedderKeyResponder.mm.
|
static |
Whether a string represents an unprintable key.
Definition at line 48 of file FlutterEmbedderKeyResponder.mm.
|
static |
Returns a key code composed with a base key and a plane.
Examples of unprintable keys are "NSUpArrowFunctionKey = 0xF700" or "NSHomeFunctionKey = 0xF729".
See https://developer.apple.com/documentation/appkit/1535851-function-key_unicodes?language=objc for more information.
Definition at line 66 of file FlutterEmbedderKeyResponder.mm.
|
static |
Isolate the least significant 1-bit.
For example,
Definition at line 28 of file FlutterEmbedderKeyResponder.mm.
typedef FLUTTER_ASSERT_ARC::NS_OPTIONS | ( | NSInteger | , |
kKeyboardModifier | |||
) |
Definition at line 19 of file FlutterChannelKeyResponder.mm.
|
static |
Converts upper letters to lower letters in ASCII and extended ASCII, and returns as-is otherwise.
Independent of locale.
Definition at line 98 of file FlutterEmbedderKeyResponder.mm.