Flutter Engine
 
Loading...
Searching...
No Matches
semantics_node.h File Reference
#include <cstdint>
#include <string>
#include <unordered_map>
#include <vector>
#include "third_party/skia/include/core/SkM44.h"
#include "third_party/skia/include/core/SkRect.h"
#include "flutter/lib/ui/semantics/semantics_flags.h"
#include "flutter/lib/ui/semantics/string_attribute.h"

Go to the source code of this file.

Classes

struct  flutter::SemanticsNode
 

Namespaces

namespace  flutter
 

Typedefs

using flutter::SemanticsNodeUpdates = std::unordered_map< int32_t, SemanticsNode >
 

Enumerations

enum class  flutter::SemanticsAction : int32_t {
  flutter::kTap = 1 << 0 ,
  flutter::kLongPress = 1 << 1 ,
  flutter::kScrollLeft = 1 << 2 ,
  flutter::kScrollRight = 1 << 3 ,
  flutter::kScrollUp = 1 << 4 ,
  flutter::kScrollDown = 1 << 5 ,
  flutter::kIncrease = 1 << 6 ,
  flutter::kDecrease = 1 << 7 ,
  flutter::kShowOnScreen = 1 << 8 ,
  flutter::kMoveCursorForwardByCharacter = 1 << 9 ,
  flutter::kMoveCursorBackwardByCharacter = 1 << 10 ,
  flutter::kSetSelection = 1 << 11 ,
  flutter::kCopy = 1 << 12 ,
  flutter::kCut = 1 << 13 ,
  flutter::kPaste = 1 << 14 ,
  flutter::kDidGainAccessibilityFocus = 1 << 15 ,
  flutter::kDidLoseAccessibilityFocus = 1 << 16 ,
  flutter::kCustomAction = 1 << 17 ,
  flutter::kDismiss = 1 << 18 ,
  flutter::kMoveCursorForwardByWord = 1 << 19 ,
  flutter::kMoveCursorBackwardByWord = 1 << 20 ,
  flutter::kSetText = 1 << 21 ,
  flutter::kFocus = 1 << 22 ,
  flutter::kScrollToOffset = 1 << 23 ,
  flutter::kExpand = 1 << 24 ,
  flutter::kCollapse = 1 << 25
}
 
enum class  flutter::SemanticsRole : int32_t {
  flutter::kNone = 0 ,
  flutter::kTab = 1 ,
  flutter::kTabBar = 2 ,
  flutter::kTabPanel = 3 ,
  flutter::kDialog = 4 ,
  flutter::kAlertDialog = 5 ,
  flutter::kTable = 6 ,
  flutter::kCell = 7 ,
  flutter::kRow = 8 ,
  flutter::kColumnHeader = 9 ,
  flutter::kDragHandle = 10 ,
  flutter::kSpinButton = 11 ,
  flutter::kComboBox = 12 ,
  flutter::kMenuBar = 13 ,
  flutter::kMenu = 14 ,
  flutter::kMenuItem = 15 ,
  flutter::kMenuItemCheckbox = 16 ,
  flutter::kMenuItemRadio = 17 ,
  flutter::kList = 18 ,
  flutter::kListItem = 19 ,
  flutter::kForm = 20 ,
  flutter::kTooltip = 21 ,
  flutter::kLoadingSpinner = 22 ,
  flutter::kProgressBar = 23 ,
  flutter::kHotKey = 24 ,
  flutter::kRadioGroup = 25 ,
  flutter::kStatus = 26 ,
  flutter::kAlert = 27 ,
  flutter::kComplementary = 28 ,
  flutter::kContentInfo = 29 ,
  flutter::kMain = 30 ,
  flutter::kNavigation = 31 ,
  flutter::kRegion = 32
}
 
enum class  flutter::SemanticsValidationResult : int32_t {
  flutter::kNone = 0 ,
  flutter::kValid = 1 ,
  flutter::kInvalid = 2
}
 

Variables

constexpr int flutter::kVerticalScrollSemanticsActions
 
constexpr int flutter::kHorizontalScrollSemanticsActions
 
constexpr int flutter::kScrollableSemanticsActions
 
constexpr int flutter::kSystemActions
 The following actions are not user-initiated.