Source code

Copy as Markdown

Other Tools

// GENERATED CODE
// Generated by the Java program at /build/annotationProcessors at compile time
// from annotations on Java methods. To update, change the annotations on the
// corresponding Javamethods and rerun the build. Manually updating this file
// will cause your build to fail.
#ifndef AccessibilityEvent_h__
#define AccessibilityEvent_h__
#include "mozilla/jni/Refs.h"
namespace mozilla {
namespace java {
namespace sdk {
class AccessibilityEvent : public mozilla::jni::ObjectBase<AccessibilityEvent>
{
public:
static constexpr char name[] =
"android/view/accessibility/AccessibilityEvent";
explicit AccessibilityEvent(const Context& ctx) : ObjectBase<AccessibilityEvent>(ctx) {}
static constexpr int32_t CONTENTS_FILE_DESCRIPTOR = 1;
static constexpr int32_t CONTENT_CHANGE_TYPE_CONTENT_DESCRIPTION = 4;
static constexpr int32_t CONTENT_CHANGE_TYPE_CONTENT_INVALID = 1024;
static constexpr int32_t CONTENT_CHANGE_TYPE_DRAG_CANCELLED = 512;
static constexpr int32_t CONTENT_CHANGE_TYPE_DRAG_DROPPED = 256;
static constexpr int32_t CONTENT_CHANGE_TYPE_DRAG_STARTED = 128;
static constexpr int32_t CONTENT_CHANGE_TYPE_ENABLED = 4096;
static constexpr int32_t CONTENT_CHANGE_TYPE_ERROR = 2048;
static constexpr int32_t CONTENT_CHANGE_TYPE_PANE_APPEARED = 16;
static constexpr int32_t CONTENT_CHANGE_TYPE_PANE_DISAPPEARED = 32;
static constexpr int32_t CONTENT_CHANGE_TYPE_PANE_TITLE = 8;
static constexpr int32_t CONTENT_CHANGE_TYPE_STATE_DESCRIPTION = 64;
static constexpr int32_t CONTENT_CHANGE_TYPE_SUBTREE = 1;
static constexpr int32_t CONTENT_CHANGE_TYPE_TEXT = 2;
static constexpr int32_t CONTENT_CHANGE_TYPE_UNDEFINED = 0;
static constexpr int32_t INVALID_POSITION = -1;
static constexpr int32_t MAX_TEXT_LENGTH = 500;
static constexpr int32_t PARCELABLE_WRITE_RETURN_VALUE = 1;
static constexpr int32_t SPEECH_STATE_LISTENING_END = 8;
static constexpr int32_t SPEECH_STATE_LISTENING_START = 4;
static constexpr int32_t SPEECH_STATE_SPEAKING_END = 2;
static constexpr int32_t SPEECH_STATE_SPEAKING_START = 1;
static constexpr int32_t TYPES_ALL_MASK = -1;
static constexpr int32_t TYPE_ANNOUNCEMENT = 16384;
static constexpr int32_t TYPE_ASSIST_READING_CONTEXT = 16777216;
static constexpr int32_t TYPE_GESTURE_DETECTION_END = 524288;
static constexpr int32_t TYPE_GESTURE_DETECTION_START = 262144;
static constexpr int32_t TYPE_NOTIFICATION_STATE_CHANGED = 64;
static constexpr int32_t TYPE_SPEECH_STATE_CHANGE = 33554432;
static constexpr int32_t TYPE_TOUCH_EXPLORATION_GESTURE_END = 1024;
static constexpr int32_t TYPE_TOUCH_EXPLORATION_GESTURE_START = 512;
static constexpr int32_t TYPE_TOUCH_INTERACTION_END = 2097152;
static constexpr int32_t TYPE_TOUCH_INTERACTION_START = 1048576;
static constexpr int32_t TYPE_VIEW_ACCESSIBILITY_FOCUSED = 32768;
static constexpr int32_t TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED = 65536;
static constexpr int32_t TYPE_VIEW_CLICKED = 1;
static constexpr int32_t TYPE_VIEW_CONTEXT_CLICKED = 8388608;
static constexpr int32_t TYPE_VIEW_FOCUSED = 8;
static constexpr int32_t TYPE_VIEW_HOVER_ENTER = 128;
static constexpr int32_t TYPE_VIEW_HOVER_EXIT = 256;
static constexpr int32_t TYPE_VIEW_LONG_CLICKED = 2;
static constexpr int32_t TYPE_VIEW_SCROLLED = 4096;
static constexpr int32_t TYPE_VIEW_SELECTED = 4;
static constexpr int32_t TYPE_VIEW_TARGETED_BY_SCROLL = 67108864;
static constexpr int32_t TYPE_VIEW_TEXT_CHANGED = 16;
static constexpr int32_t TYPE_VIEW_TEXT_SELECTION_CHANGED = 8192;
static constexpr int32_t TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY = 131072;
static constexpr int32_t TYPE_WINDOWS_CHANGED = 4194304;
static constexpr int32_t TYPE_WINDOW_CONTENT_CHANGED = 2048;
static constexpr int32_t TYPE_WINDOW_STATE_CHANGED = 32;
static constexpr int32_t WINDOWS_CHANGE_ACCESSIBILITY_FOCUSED = 128;
static constexpr int32_t WINDOWS_CHANGE_ACTIVE = 32;
static constexpr int32_t WINDOWS_CHANGE_ADDED = 1;
static constexpr int32_t WINDOWS_CHANGE_BOUNDS = 8;
static constexpr int32_t WINDOWS_CHANGE_CHILDREN = 512;
static constexpr int32_t WINDOWS_CHANGE_FOCUSED = 64;
static constexpr int32_t WINDOWS_CHANGE_LAYER = 16;
static constexpr int32_t WINDOWS_CHANGE_PARENT = 256;
static constexpr int32_t WINDOWS_CHANGE_PIP = 1024;
static constexpr int32_t WINDOWS_CHANGE_REMOVED = 2;
static constexpr int32_t WINDOWS_CHANGE_TITLE = 4;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
};
} /* sdk */
} /* java */
} /* mozilla */
#endif