#include <semantics_update_builder.h>
Public Member Functions | |
| ~SemanticsUpdateBuilder () override | |
| void | updateNode (int id, Dart_Handle flags, int actions, int maxValueLength, int currentValueLength, int textSelectionBase, int textSelectionExtent, int platformViewId, int scrollChildren, int scrollIndex, int traversalParent, double scrollPosition, double scrollExtentMax, double scrollExtentMin, double left, double top, double right, double bottom, std::string identifier, std::string label, const std::vector< NativeStringAttribute * > &labelAttributes, std::string value, const std::vector< NativeStringAttribute * > &valueAttributes, std::string increasedValue, const std::vector< NativeStringAttribute * > &increasedValueAttributes, std::string decreasedValue, const std::vector< NativeStringAttribute * > &decreasedValueAttributes, std::string hint, const std::vector< NativeStringAttribute * > &hintAttributes, std::string tooltip, int textDirection, const tonic::Float64List &transform, const tonic::Float64List &hitTestTransform, const tonic::Int32List &childrenInTraversalOrder, const tonic::Int32List &childrenInHitTestOrder, const tonic::Int32List &customAccessibilityActions, int headingLevel, std::string linkUrl, int role, const std::vector< std::string > &controlsNodes, int validationResult, int hitTestBehavior, int inputType, std::string locale) |
| void | updateCustomAction (int id, std::string label, std::string hint, int overrideId) |
| void | build (Dart_Handle semantics_update_handle) |
Public Member Functions inherited from flutter::RefCountedDartWrappable< SemanticsUpdateBuilder > | |
| virtual void | RetainDartWrappableReference () const override |
| virtual void | ReleaseDartWrappableReference () const override |
Public Member Functions inherited from fml::RefCountedThreadSafe< T > | |
| void | Release () const |
Public Member Functions inherited from fml::internal::RefCountedThreadSafeBase | |
| void | AddRef () const |
| bool | HasOneRef () const |
| void | AssertHasOneRef () const |
Public Member Functions inherited from tonic::DartWrappable | |
| DartWrappable () | |
| virtual const DartWrapperInfo & | GetDartWrapperInfo () const =0 |
| Dart_Handle | CreateDartWrapper (DartState *dart_state) |
| void | AssociateWithDartWrapper (Dart_Handle wrappable) |
| void | ClearDartWrapper () |
| Dart_WeakPersistentHandle | dart_wrapper () const |
Static Public Member Functions | |
| static void | Create (Dart_Handle wrapper) |
Additional Inherited Members | |
Public Types inherited from tonic::DartWrappable | |
| enum | DartNativeFields { kPeerIndex , kNumberOfNativeFields } |
Protected Member Functions inherited from fml::RefCountedThreadSafe< T > | |
| RefCountedThreadSafe () | |
| ~RefCountedThreadSafe () | |
Protected Member Functions inherited from fml::internal::RefCountedThreadSafeBase | |
| RefCountedThreadSafeBase () | |
| ~RefCountedThreadSafeBase () | |
| bool | Release () const |
| void | Adopt () |
Protected Member Functions inherited from tonic::DartWrappable | |
| virtual | ~DartWrappable () |
Static Protected Member Functions inherited from tonic::DartWrappable | |
| static Dart_PersistentHandle | GetTypeForWrapper (tonic::DartState *dart_state, const tonic::DartWrapperInfo &wrapper_info) |
Definition at line 18 of file semantics_update_builder.h.
|
overridedefault |
References build().
| void flutter::SemanticsUpdateBuilder::build | ( | Dart_Handle | semantics_update_handle | ) |
Definition at line 156 of file semantics_update_builder.cc.
References tonic::DartWrappable::ClearDartWrapper(), and flutter::SemanticsUpdate::create().
Referenced by ~SemanticsUpdateBuilder().
|
inlinestatic |
Definition at line 24 of file semantics_update_builder.h.
References flutter::UIDartState::ThrowIfUIOperationsProhibited().
| void flutter::SemanticsUpdateBuilder::updateCustomAction | ( | int | id, |
| std::string | label, | ||
| std::string | hint, | ||
| int | overrideId | ||
| ) |
Definition at line 144 of file semantics_update_builder.cc.
References action, id, and flutter::CustomAccessibilityAction::id.
| void flutter::SemanticsUpdateBuilder::updateNode | ( | int | id, |
| Dart_Handle | flags, | ||
| int | actions, | ||
| int | maxValueLength, | ||
| int | currentValueLength, | ||
| int | textSelectionBase, | ||
| int | textSelectionExtent, | ||
| int | platformViewId, | ||
| int | scrollChildren, | ||
| int | scrollIndex, | ||
| int | traversalParent, | ||
| double | scrollPosition, | ||
| double | scrollExtentMax, | ||
| double | scrollExtentMin, | ||
| double | left, | ||
| double | top, | ||
| double | right, | ||
| double | bottom, | ||
| std::string | identifier, | ||
| std::string | label, | ||
| const std::vector< NativeStringAttribute * > & | labelAttributes, | ||
| std::string | value, | ||
| const std::vector< NativeStringAttribute * > & | valueAttributes, | ||
| std::string | increasedValue, | ||
| const std::vector< NativeStringAttribute * > & | increasedValueAttributes, | ||
| std::string | decreasedValue, | ||
| const std::vector< NativeStringAttribute * > & | decreasedValueAttributes, | ||
| std::string | hint, | ||
| const std::vector< NativeStringAttribute * > & | hintAttributes, | ||
| std::string | tooltip, | ||
| int | textDirection, | ||
| const tonic::Float64List & | transform, | ||
| const tonic::Float64List & | hitTestTransform, | ||
| const tonic::Int32List & | childrenInTraversalOrder, | ||
| const tonic::Int32List & | childrenInHitTestOrder, | ||
| const tonic::Int32List & | customAccessibilityActions, | ||
| int | headingLevel, | ||
| std::string | linkUrl, | ||
| int | role, | ||
| const std::vector< std::string > & | controlsNodes, | ||
| int | validationResult, | ||
| int | hitTestBehavior, | ||
| int | inputType, | ||
| std::string | locale | ||
| ) |
Definition at line 33 of file semantics_update_builder.cc.
References flutter::SemanticsNode::actions, flutter::SemanticsNode::childrenInHitTestOrder, flutter::SemanticsNode::childrenInTraversalOrder, flutter::SemanticsNode::currentValueLength, flutter::SemanticsNode::customAccessibilityActions, flutter::SemanticsNode::decreasedValue, flutter::SemanticsNode::decreasedValueAttributes, flutter::SemanticsNode::flags, FML_CHECK, flutter::SemanticsNode::headingLevel, flutter::SemanticsNode::hint, flutter::SemanticsNode::hintAttributes, flutter::SemanticsNode::hitTestTransform, i, id, flutter::SemanticsNode::id, flutter::SemanticsNode::identifier, flutter::SemanticsNode::increasedValue, flutter::SemanticsNode::increasedValueAttributes, flutter::SemanticsNode::label, flutter::SemanticsNode::labelAttributes, flutter::SemanticsNode::linkUrl, flutter::SemanticsNode::locale, flutter::SemanticsNode::maxValueLength, flutter::SemanticsNode::platformViewId, flutter::pushStringAttributes(), flutter::SemanticsNode::rect, flutter::SemanticsNode::role, flutter::SafeNarrow(), flutter::SemanticsNode::scrollChildren, flutter::SemanticsNode::scrollExtentMax, flutter::SemanticsNode::scrollExtentMin, flutter::SemanticsNode::scrollIndex, flutter::SemanticsNode::scrollPosition, flutter::SemanticsNode::textDirection, flutter::SemanticsNode::textSelectionBase, flutter::SemanticsNode::textSelectionExtent, flutter::SemanticsNode::tooltip, transform, flutter::SemanticsNode::transform, flutter::SemanticsNode::traversalParent, flutter::SemanticsNode::validationResult, value, flutter::SemanticsNode::value, and flutter::SemanticsNode::valueAttributes.