Flutter Engine
The Flutter Engine
|
#include <ax_position.h>
Classes | |
struct | SerializedPosition |
Public Types | |
using | AXPositionInstance = std::unique_ptr< AXPosition< AXPositionType, AXNodeType > > |
using | AXRangeType = AXRange< AXPosition< AXPositionType, AXNodeType > > |
typedef bool | BoundaryConditionPredicate(const AXPositionInstance &) |
typedef std::vector< int32_t > | BoundaryTextOffsetsFunc(const AXPositionInstance &) |
Static Public Member Functions | |
static AXPositionInstance | CreateNullPosition () |
static AXPositionInstance | CreateTreePosition (AXTreeID tree_id, AXNode::AXID anchor_id, int child_index) |
static AXPositionInstance | CreateTextPosition (AXTreeID tree_id, AXNode::AXID anchor_id, int text_offset, ax::mojom::TextAffinity affinity) |
static AXPositionInstance | Unserialize (const SerializedPosition &serialization) |
Static Public Attributes | |
static const int | BEFORE_TEXT = -1 |
static const int | INVALID_INDEX = -2 |
static const int | INVALID_OFFSET = -1 |
static constexpr char16_t | kEmbeddedCharacter = L'\xfffc' |
Protected Member Functions | |
AXPosition () | |
AXPosition (const AXPosition &other) | |
int | AnchorTextOffsetInParent () const |
void | Initialize (AXPositionKind kind, AXTreeID tree_id, int32_t anchor_id, int child_index, int text_offset, ax::mojom::TextAffinity affinity) |
virtual void | AnchorChild (int child_index, AXTreeID *tree_id, int32_t *child_id) const =0 |
virtual int | AnchorChildCount () const =0 |
virtual int | AnchorUnignoredChildCount () const =0 |
virtual int | AnchorIndexInParent () const =0 |
virtual int | AnchorSiblingCount () const =0 |
virtual std::stack< AXNodeType * > | GetAncestorAnchors () const =0 |
virtual AXNodeType * | GetLowestUnignoredAncestor () const =0 |
virtual void | AnchorParent (AXTreeID *tree_id, int32_t *parent_id) const =0 |
virtual AXNodeType * | GetNodeInTree (AXTreeID tree_id, int32_t node_id) const =0 |
virtual int32_t | GetAnchorID (AXNodeType *node) const =0 |
virtual AXTreeID | GetTreeID (AXNodeType *node) const =0 |
int | MaxTextOffsetInParent () const |
virtual bool | IsEmbeddedObjectInParent () const =0 |
virtual bool | IsInLineBreakingObject () const =0 |
virtual ax::mojom::Role | GetAnchorRole () const =0 |
virtual ax::mojom::Role | GetRole (AXNodeType *node) const =0 |
virtual AXNodeTextStyles | GetTextStyles () const =0 |
virtual std::vector< int32_t > | GetWordStartOffsets () const =0 |
virtual std::vector< int32_t > | GetWordEndOffsets () const =0 |
virtual int32_t | GetNextOnLineID (int32_t node_id) const =0 |
virtual int32_t | GetPreviousOnLineID (int32_t node_id) const =0 |
Definition at line 160 of file ax_position.h.
using ui::AXPosition< AXPositionType, AXNodeType >::AXPositionInstance = std::unique_ptr<AXPosition<AXPositionType, AXNodeType> > |
Definition at line 162 of file ax_position.h.
using ui::AXPosition< AXPositionType, AXNodeType >::AXRangeType = AXRange<AXPosition<AXPositionType, AXNodeType> > |
Definition at line 165 of file ax_position.h.
typedef bool ui::AXPosition< AXPositionType, AXNodeType >::BoundaryConditionPredicate(const AXPositionInstance &) |
Definition at line 167 of file ax_position.h.
typedef std::vector< int32_t > ui::AXPosition< AXPositionType, AXNodeType >::BoundaryTextOffsetsFunc(const AXPositionInstance &) |
Definition at line 169 of file ax_position.h.
|
virtualdefault |
|
inlineprotected |
Definition at line 3214 of file ax_position.h.
|
inlineprotected |
Definition at line 3223 of file ax_position.h.
|
inline |
Definition at line 328 of file ax_position.h.
|
inline |
Definition at line 317 of file ax_position.h.
|
protectedpure virtual |
Implemented in ui::AXNodePosition.
|
protectedpure virtual |
Implemented in ui::AXNodePosition.
|
protectedpure virtual |
Implemented in ui::AXNodePosition.
|
protectedpure virtual |
Implemented in ui::AXNodePosition.
|
protectedpure virtual |
Implemented in ui::AXNodePosition.
|
inlineprotected |
Definition at line 3233 of file ax_position.h.
|
protectedpure virtual |
Implemented in ui::AXNodePosition.
|
inline |
Definition at line 1301 of file ax_position.h.
|
inline |
Definition at line 2100 of file ax_position.h.
|
inline |
Definition at line 2066 of file ax_position.h.
|
inline |
Definition at line 1197 of file ax_position.h.
|
inline |
Definition at line 1232 of file ax_position.h.
|
inline |
Definition at line 1130 of file ax_position.h.
|
inline |
Definition at line 1367 of file ax_position.h.
|
inline |
Definition at line 1060 of file ax_position.h.
|
inline |
Definition at line 464 of file ax_position.h.
|
inline |
Definition at line 859 of file ax_position.h.
|
inline |
Definition at line 991 of file ax_position.h.
|
inline |
Definition at line 937 of file ax_position.h.
|
inline |
Definition at line 556 of file ax_position.h.
|
inline |
Definition at line 817 of file ax_position.h.
|
inline |
Definition at line 718 of file ax_position.h.
|
inline |
Definition at line 494 of file ax_position.h.
|
inline |
Definition at line 997 of file ax_position.h.
|
inline |
Definition at line 447 of file ax_position.h.
|
inline |
Definition at line 843 of file ax_position.h.
|
inline |
Definition at line 985 of file ax_position.h.
|
inline |
Definition at line 904 of file ax_position.h.
|
inline |
Definition at line 941 of file ax_position.h.
|
inline |
Definition at line 510 of file ax_position.h.
|
inline |
Definition at line 791 of file ax_position.h.
|
inline |
Definition at line 639 of file ax_position.h.
|
inline |
Definition at line 477 of file ax_position.h.
|
inline |
Definition at line 326 of file ax_position.h.
|
pure virtual |
Implemented in ui::AXNodePosition.
|
inline |
Definition at line 2833 of file ax_position.h.
|
inline |
Definition at line 1041 of file ax_position.h.
|
inline |
Definition at line 2675 of file ax_position.h.
|
inline |
Definition at line 2555 of file ax_position.h.
|
inline |
Definition at line 1820 of file ax_position.h.
|
inline |
Definition at line 2814 of file ax_position.h.
|
inline |
Definition at line 2148 of file ax_position.h.
|
inline |
Definition at line 2378 of file ax_position.h.
|
inline |
Definition at line 2009 of file ax_position.h.
|
inline |
Definition at line 1994 of file ax_position.h.
|
inline |
Definition at line 2298 of file ax_position.h.
|
inline |
Definition at line 2282 of file ax_position.h.
|
inline |
Definition at line 2541 of file ax_position.h.
|
inline |
Definition at line 2527 of file ax_position.h.
|
inline |
Definition at line 2458 of file ax_position.h.
|
inline |
Definition at line 2444 of file ax_position.h.
|
inline |
Definition at line 2267 of file ax_position.h.
|
inline |
Definition at line 2250 of file ax_position.h.
|
inlinestatic |
Definition at line 183 of file ax_position.h.
|
inline |
Definition at line 1874 of file ax_position.h.
|
inline |
Definition at line 1713 of file ax_position.h.
|
inline |
Definition at line 1751 of file ax_position.h.
|
inline |
Definition at line 1805 of file ax_position.h.
|
inline |
Definition at line 1698 of file ax_position.h.
|
inline |
Definition at line 1728 of file ax_position.h.
|
inline |
Definition at line 1785 of file ax_position.h.
|
inline |
Definition at line 1475 of file ax_position.h.
|
inline |
Definition at line 2819 of file ax_position.h.
|
inline |
Definition at line 2202 of file ax_position.h.
|
inline |
Definition at line 2314 of file ax_position.h.
|
inline |
Definition at line 2040 of file ax_position.h.
|
inline |
Definition at line 2000 of file ax_position.h.
|
inline |
Definition at line 2307 of file ax_position.h.
|
inline |
Definition at line 2289 of file ax_position.h.
|
inline |
Definition at line 2548 of file ax_position.h.
|
inline |
Definition at line 2534 of file ax_position.h.
|
inline |
Definition at line 2465 of file ax_position.h.
|
inline |
Definition at line 2451 of file ax_position.h.
|
inline |
Definition at line 2275 of file ax_position.h.
|
inline |
Definition at line 2258 of file ax_position.h.
|
inlinestatic |
Definition at line 201 of file ax_position.h.
|
inlinestatic |
Definition at line 191 of file ax_position.h.
|
inline |
Definition at line 1439 of file ax_position.h.
|
protectedpure virtual |
Implemented in ui::AXNodePosition.
|
inline |
Definition at line 319 of file ax_position.h.
|
protectedpure virtual |
Implemented in ui::AXNodePosition.
|
protectedpure virtual |
Implemented in ui::AXNodePosition.
|
inline |
Definition at line 3138 of file ax_position.h.
|
inline |
Definition at line 908 of file ax_position.h.
|
inline |
Definition at line 875 of file ax_position.h.
|
protectedpure virtual |
Implemented in ui::AXNodePosition.
|
protectedpure virtual |
Implemented in ui::AXNodePosition.
|
protectedpure virtual |
Implemented in ui::AXNodePosition.
|
protectedpure virtual |
Implemented in ui::AXNodePosition.
|
protectedpure virtual |
Implemented in ui::AXNodePosition.
|
pure virtual |
Implemented in ui::AXNodePosition.
|
protectedpure virtual |
Implemented in ui::AXNodePosition.
|
protectedpure virtual |
Implemented in ui::AXNodePosition.
|
protectedpure virtual |
Implemented in ui::AXNodePosition.
|
protectedpure virtual |
Implemented in ui::AXNodePosition.
|
inlineprotected |
Definition at line 3254 of file ax_position.h.
|
protectedpure virtual |
Implemented in ui::AXNodePosition.
|
inline |
Definition at line 3094 of file ax_position.h.
|
inline |
Definition at line 330 of file ax_position.h.
|
inline |
Definition at line 3125 of file ax_position.h.
|
pure virtual |
Implemented in ui::AXNodePosition.
|
protectedpure virtual |
Implemented in ui::AXNodePosition.
|
pure virtual |
Implemented in ui::AXNodePosition.
|
pure virtual |
Implemented in ui::AXNodePosition.
|
inline |
Definition at line 409 of file ax_position.h.
|
inline |
Definition at line 407 of file ax_position.h.
|
inline |
Definition at line 401 of file ax_position.h.
|
inline |
Definition at line 393 of file ax_position.h.
|
inline |
Definition at line 403 of file ax_position.h.
|
inline |
Definition at line 397 of file ax_position.h.
|
inline |
Definition at line 418 of file ax_position.h.
|
inline |
Definition at line 325 of file ax_position.h.
|
inline |
Definition at line 1035 of file ax_position.h.
|
inline |
Definition at line 1010 of file ax_position.h.
|
inlinevirtual |
Reimplemented in ui::AXNodePosition.
Definition at line 3207 of file ax_position.h.
|
inlineprotected |
Definition at line 3305 of file ax_position.h.
|
inline |
Definition at line 215 of file ax_position.h.
|
inline |
Definition at line 238 of file ax_position.h.
|
inline |
Definition at line 2991 of file ax_position.h.
|
inline |
Definition at line 3084 of file ax_position.h.
|
inline |
Definition at line 3171 of file ax_position.h.
|
inline |
Definition at line 327 of file ax_position.h.
|
inline |
Definition at line 265 of file ax_position.h.
|
inline |
Definition at line 316 of file ax_position.h.
|
inlinestatic |
Definition at line 255 of file ax_position.h.
|
static |
Definition at line 172 of file ax_position.h.
|
static |
Definition at line 173 of file ax_position.h.
|
static |
Definition at line 174 of file ax_position.h.
|
staticconstexpr |
Definition at line 181 of file ax_position.h.