Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Enumerations | Variables
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/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
}
 
enum class  flutter::SemanticsFlags : int32_t {
  flutter::kHasCheckedState = 1 << 0 , flutter::kIsChecked = 1 << 1 , flutter::kIsSelected = 1 << 2 , flutter::kIsButton = 1 << 3 ,
  flutter::kIsTextField = 1 << 4 , flutter::kIsFocused = 1 << 5 , flutter::kHasEnabledState = 1 << 6 , flutter::kIsEnabled = 1 << 7 ,
  flutter::kIsInMutuallyExclusiveGroup = 1 << 8 , flutter::kIsHeader = 1 << 9 , flutter::kIsObscured = 1 << 10 , flutter::kScopesRoute = 1 << 11 ,
  flutter::kNamesRoute = 1 << 12 , flutter::kIsHidden = 1 << 13 , flutter::kIsImage = 1 << 14 , flutter::kIsLiveRegion = 1 << 15 ,
  flutter::kHasToggledState = 1 << 16 , flutter::kIsToggled = 1 << 17 , flutter::kHasImplicitScrolling = 1 << 18 , flutter::kIsMultiline = 1 << 19 ,
  flutter::kIsReadOnly = 1 << 20 , flutter::kIsFocusable = 1 << 21 , flutter::kIsLink = 1 << 22 , flutter::kIsSlider = 1 << 23 ,
  flutter::kIsKeyboardKey = 1 << 24 , flutter::kIsCheckStateMixed = 1 << 25 , flutter::kHasExpandedState = 1 << 26 , flutter::kIsExpanded = 1 << 27
}
 

Variables

const int flutter::kVerticalScrollSemanticsActions
 
const int flutter::kHorizontalScrollSemanticsActions
 
const int flutter::kScrollableSemanticsActions
 
const int flutter::kScrollableSemanticsFlags