#include "flutter/shell/platform/linux/fl_accessibility_channel.h"#include "flutter/shell/platform/linux/public/flutter_linux/fl_basic_message_channel.h"#include "flutter/shell/platform/linux/public/flutter_linux/fl_standard_message_codec.h"Go to the source code of this file.
Classes | |
| struct | _FlAccessibilityChannel |
Functions | |
| static FlTextDirection | parse_text_direction (int64_t value) |
| static FlAssertiveness | parse_assertiveness (int64_t value) |
| static void | process_announce (FlAccessibilityChannel *self, FlValue *data) |
| static void | process_message (FlAccessibilityChannel *self, FlValue *message) |
| static void | message_cb (FlBasicMessageChannel *channel, FlValue *message, FlBasicMessageChannelResponseHandle *response_handle, gpointer user_data) |
| static void | fl_accessibility_channel_dispose (GObject *object) |
| static void | fl_accessibility_channel_class_init (FlAccessibilityChannelClass *klass) |
| static void | fl_accessibility_channel_init (FlAccessibilityChannel *self) |
| FlAccessibilityChannel * | fl_accessibility_channel_new (FlBinaryMessenger *messenger, FlAccessibilityChannelVTable *vtable, gpointer user_data) |
Variables | |
| static constexpr char | kChannelName [] = "flutter/accessibility" |
| static constexpr char | kTypeKey [] = "type" |
| static constexpr char | kDataKey [] = "data" |
| static constexpr char | kAnnounceType [] = "announce" |
| static constexpr char | kTooltipType [] = "tooltip" |
| static constexpr char | kLongPressType [] = "longPress" |
| static constexpr char | kTapType [] = "tap" |
| static constexpr char | kFocusType [] = "focus" |
| static constexpr char | kViewIdKey [] = "viewId" |
| static constexpr char | kMessageKey [] = "message" |
| static constexpr char | kTextDirectionKey [] = "textDirection" |
| static constexpr char | kAssertivenessKey [] = "assertiveness" |
|
static |
Definition at line 170 of file fl_accessibility_channel.cc.
References fl_accessibility_channel_dispose().
|
static |
Definition at line 162 of file fl_accessibility_channel.cc.
References self.
Referenced by fl_accessibility_channel_class_init().
|
static |
Definition at line 175 of file fl_accessibility_channel.cc.
| FlAccessibilityChannel * fl_accessibility_channel_new | ( | FlBinaryMessenger * | messenger, |
| FlAccessibilityChannelVTable * | vtable, | ||
| gpointer | user_data | ||
| ) |
fl_accessibility_channel_new: @messenger: an #FlBinaryMessenger @vtable: callbacks for incoming method calls. @user_data: data to pass in callbacks.
Creates a new channel that handles accessibility requests from Dart.
Returns: a new #FlAccessibilityChannel
Definition at line 177 of file fl_accessibility_channel.cc.
References fl_basic_message_channel_new(), fl_basic_message_channel_set_message_handler(), fl_standard_message_codec_new(), g_autoptr(), kChannelName, message_cb(), self, and user_data.
Referenced by fl_accessibility_handler_new().
|
static |
Definition at line 147 of file fl_accessibility_channel.cc.
References channel, error, fl_basic_message_channel_respond(), g_autoptr(), message, process_message(), self, and user_data.
Referenced by fl_accessibility_channel_new().
|
static |
Definition at line 51 of file fl_accessibility_channel.cc.
References FL_ASSERTIVENESS_ASSERTIVE, FL_ASSERTIVENESS_POLITE, and value.
Referenced by process_announce().
|
static |
Definition at line 39 of file fl_accessibility_channel.cc.
References FL_TEXT_DIRECTION_LTR, FL_TEXT_DIRECTION_RTL, and value.
Referenced by process_announce().
|
static |
Definition at line 63 of file fl_accessibility_channel.cc.
References assertiveness, data, FL_ASSERTIVENESS_POLITE, fl_value_get_int(), fl_value_get_string(), fl_value_get_type(), fl_value_lookup_string(), FL_VALUE_TYPE_INT, FL_VALUE_TYPE_STRING, kAssertivenessKey, kMessageKey, kTextDirectionKey, kViewIdKey, message, parse_assertiveness(), parse_text_direction(), self, text_direction, and view_id.
Referenced by process_message().
|
static |
Definition at line 106 of file fl_accessibility_channel.cc.
References data, fl_value_get_string(), fl_value_get_type(), fl_value_lookup_string(), FL_VALUE_TYPE_MAP, FL_VALUE_TYPE_STRING, kAnnounceType, kDataKey, kFocusType, kLongPressType, kTapType, kTooltipType, kTypeKey, message, process_announce(), self, and type.
Referenced by message_cb().
|
staticconstexpr |
Definition at line 14 of file fl_accessibility_channel.cc.
Referenced by process_message().
|
staticconstexpr |
Definition at line 23 of file fl_accessibility_channel.cc.
Referenced by process_announce().
|
staticconstexpr |
Definition at line 9 of file fl_accessibility_channel.cc.
Referenced by fl_accessibility_channel_new().
|
staticconstexpr |
Definition at line 12 of file fl_accessibility_channel.cc.
Referenced by flutter_runner::ComponentV2::ParseProgramMetadata(), and process_message().
|
staticconstexpr |
Definition at line 18 of file fl_accessibility_channel.cc.
Referenced by process_message().
|
staticconstexpr |
Definition at line 16 of file fl_accessibility_channel.cc.
Referenced by process_message().
|
staticconstexpr |
Definition at line 21 of file fl_accessibility_channel.cc.
Referenced by process_announce().
|
staticconstexpr |
Definition at line 17 of file fl_accessibility_channel.cc.
Referenced by process_message().
|
staticconstexpr |
Definition at line 22 of file fl_accessibility_channel.cc.
Referenced by process_announce().
|
staticconstexpr |
Definition at line 15 of file fl_accessibility_channel.cc.
Referenced by process_message().
|
staticconstexpr |
Definition at line 11 of file fl_accessibility_channel.cc.
Referenced by process_message().
|
staticconstexpr |
Definition at line 20 of file fl_accessibility_channel.cc.
Referenced by process_announce().