Flutter Engine
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"

Go to the source code of this file.

Classes

struct  flutter::SemanticsNode
 

Namespaces

 flutter
 

Typedefs

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

Enumerations

enum  flutter::SemanticsAction : int32_t {
  flutter::SemanticsAction::kTap = 1 << 0,
  flutter::SemanticsAction::kLongPress = 1 << 1,
  flutter::SemanticsAction::kScrollLeft = 1 << 2,
  flutter::SemanticsAction::kScrollRight = 1 << 3,
  flutter::SemanticsAction::kScrollUp = 1 << 4,
  flutter::SemanticsAction::kScrollDown = 1 << 5,
  flutter::SemanticsAction::kIncrease = 1 << 6,
  flutter::SemanticsAction::kDecrease = 1 << 7,
  flutter::SemanticsAction::kShowOnScreen = 1 << 8,
  flutter::SemanticsAction::kMoveCursorForwardByCharacter = 1 << 9,
  flutter::SemanticsAction::kMoveCursorBackwardByCharacter = 1 << 10,
  flutter::SemanticsAction::kSetSelection = 1 << 11,
  flutter::SemanticsAction::kCopy = 1 << 12,
  flutter::SemanticsAction::kCut = 1 << 13,
  flutter::SemanticsAction::kPaste = 1 << 14,
  flutter::SemanticsAction::kDidGainAccessibilityFocus = 1 << 15,
  flutter::SemanticsAction::kDidLoseAccessibilityFocus = 1 << 16,
  flutter::SemanticsAction::kCustomAction = 1 << 17,
  flutter::SemanticsAction::kDismiss = 1 << 18,
  flutter::SemanticsAction::kMoveCursorForwardByWordIndex = 1 << 19,
  flutter::SemanticsAction::kMoveCursorBackwardByWordIndex = 1 << 20
}
 
enum  flutter::SemanticsFlags : int32_t {
  flutter::SemanticsFlags::kHasCheckedState = 1 << 0,
  flutter::SemanticsFlags::kIsChecked = 1 << 1,
  flutter::SemanticsFlags::kIsSelected = 1 << 2,
  flutter::SemanticsFlags::kIsButton = 1 << 3,
  flutter::SemanticsFlags::kIsTextField = 1 << 4,
  flutter::SemanticsFlags::kIsFocused = 1 << 5,
  flutter::SemanticsFlags::kHasEnabledState = 1 << 6,
  flutter::SemanticsFlags::kIsEnabled = 1 << 7,
  flutter::SemanticsFlags::kIsInMutuallyExclusiveGroup = 1 << 8,
  flutter::SemanticsFlags::kIsHeader = 1 << 9,
  flutter::SemanticsFlags::kIsObscured = 1 << 10,
  flutter::SemanticsFlags::kScopesRoute = 1 << 11,
  flutter::SemanticsFlags::kNamesRoute = 1 << 12,
  flutter::SemanticsFlags::kIsHidden = 1 << 13,
  flutter::SemanticsFlags::kIsImage = 1 << 14,
  flutter::SemanticsFlags::kIsLiveRegion = 1 << 15,
  flutter::SemanticsFlags::kHasToggledState = 1 << 16,
  flutter::SemanticsFlags::kIsToggled = 1 << 17,
  flutter::SemanticsFlags::kHasImplicitScrolling = 1 << 18,
  flutter::SemanticsFlags::kIsReadOnly = 1 << 20,
  flutter::SemanticsFlags::kIsFocusable = 1 << 21,
  flutter::SemanticsFlags::kIsLink = 1 << 22,
  flutter::SemanticsFlags::kIsSlider = 1 << 23
}
 

Variables

const int flutter::kScrollableSemanticsActions
 
const int flutter::kScrollableSemanticsFlags