Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
Classes | |
struct | NodeInfo |
Functions | |
void | createAccessibilityContextObject (QObject *parent) |
template<typename Func , typename Ret > | |
void | runInObjectContext (QObject *context, Func &&func, Ret *retVal) |
void | initialize () |
bool | isActive () |
static void | setActive (JNIEnv *, jobject, jboolean active) |
QAccessibleInterface * | interfaceFromId (jint objectId) |
void | notifyLocationChange (uint accessibilityObjectId) |
static int | parentId_helper (int objectId) |
void | notifyObjectHide (uint accessibilityObjectId) |
void | notifyObjectShow (uint accessibilityObjectId) |
void | notifyObjectFocus (uint accessibilityObjectId) |
static jstring | jvalueForAccessibleObject (int objectId) |
void | notifyValueChanged (uint accessibilityObjectId) |
void | notifyScrolledEvent (uint accessiblityObjectId) |
static QVarLengthArray< int, 8 > | childIdListForAccessibleObject_helper (int objectId) |
static jintArray | childIdListForAccessibleObject (JNIEnv *env, jobject, jint objectId) |
static jint | parentId (JNIEnv *, jobject, jint objectId) |
static QRect | screenRect_helper (int objectId, bool clip=true) |
static jobject | screenRect (JNIEnv *env, jobject, jint objectId) |
static int | hitTest_helper (float x, float y) |
static jint | hitTest (JNIEnv *, jobject, jfloat x, jfloat y) |
static void | invokeActionOnInterfaceInMainThread (QAccessibleActionInterface *actionInterface, const QString &action) |
static bool | clickAction_helper (int objectId) |
static jboolean | clickAction (JNIEnv *, jobject, jint objectId) |
static bool | scroll_helper (int objectId, const QString &actionName) |
static jboolean | scrollForward (JNIEnv *, jobject, jint objectId) |
static jboolean | scrollBackward (JNIEnv *, jobject, jint objectId) |
static QString | textFromValue (QAccessibleInterface *iface) |
static QString | descriptionForInterface (QAccessibleInterface *iface) |
static QString | descriptionForAccessibleObject_helper (int objectId) |
static jstring | descriptionForAccessibleObject (JNIEnv *env, jobject, jint objectId) |
static NodeInfo | populateNode_helper (int objectId) |
static jboolean | populateNode (JNIEnv *env, jobject, jint objectId, jobject node) |
bool | registerNatives (QJniEnvironment &env) |
Variables | |
static jmethodID | m_addActionMethodID = 0 |
static jmethodID | m_setCheckableMethodID = 0 |
static jmethodID | m_setCheckedMethodID = 0 |
static jmethodID | m_setClickableMethodID = 0 |
static jmethodID | m_setContentDescriptionMethodID = 0 |
static jmethodID | m_setEditableMethodID = 0 |
static jmethodID | m_setEnabledMethodID = 0 |
static jmethodID | m_setFocusableMethodID = 0 |
static jmethodID | m_setFocusedMethodID = 0 |
static jmethodID | m_setHeadingMethodID = 0 |
static jmethodID | m_setScrollableMethodID = 0 |
static jmethodID | m_setTextSelectionMethodID = 0 |
static jmethodID | m_setVisibleToUserMethodID = 0 |
static bool | m_accessibilityActivated = false |
static Q_CONSTINIT QPointer< QObject > | m_accessibilityContext = {} |
static const JNINativeMethod | methods [] |
|
static |
Definition at line 171 of file androidjniaccessibility.cpp.
References childIdListForAccessibleObject_helper(), m_accessibilityContext, and runInObjectContext().
|
static |
Definition at line 154 of file androidjniaccessibility.cpp.
References child, i, and interfaceFromId().
Referenced by childIdListForAccessibleObject(), scrollBackward(), and scrollForward().
|
static |
Definition at line 299 of file androidjniaccessibility.cpp.
References clickAction_helper(), m_accessibilityContext, and runInObjectContext().
|
static |
Definition at line 279 of file androidjniaccessibility.cpp.
References interfaceFromId(), and invokeActionOnInterfaceInMainThread().
Referenced by clickAction().
Definition at line 56 of file androidjniaccessibility.cpp.
References m_accessibilityContext.
Referenced by QAndroidPlatformAccessibility::setRootObject().
|
static |
Definition at line 454 of file androidjniaccessibility.cpp.
References descriptionForAccessibleObject_helper(), m_accessibilityContext, and runInObjectContext().
|
static |
Definition at line 448 of file androidjniaccessibility.cpp.
References descriptionForInterface(), and interfaceFromId().
Referenced by descriptionForAccessibleObject().
|
static |
Definition at line 424 of file androidjniaccessibility.cpp.
References QString::isEmpty(), and textFromValue().
Referenced by descriptionForAccessibleObject_helper(), and populateNode_helper().
|
static |
Definition at line 258 of file androidjniaccessibility.cpp.
References hitTest_helper(), m_accessibilityContext, and runInObjectContext().
|
static |
Definition at line 240 of file androidjniaccessibility.cpp.
References child, QHighDpi::fromNativePixels(), interfaceFromId(), and pos.
Referenced by hitTest().
void QtAndroidAccessibility::initialize | ( | ) |
Definition at line 83 of file androidjniaccessibility.cpp.
References QtAndroid::qtActivityDelegate().
Referenced by QAndroidPlatformAccessibility::QAndroidPlatformAccessibility().
QAccessibleInterface * QtAndroidAccessibility::interfaceFromId | ( | jint | objectId | ) |
Definition at line 104 of file androidjniaccessibility.cpp.
Referenced by childIdListForAccessibleObject_helper(), clickAction_helper(), descriptionForAccessibleObject_helper(), hitTest_helper(), jvalueForAccessibleObject(), parentId_helper(), populateNode_helper(), screenRect_helper(), and scroll_helper().
|
static |
Definition at line 269 of file androidjniaccessibility.cpp.
References QMetaObject::invokeMethod(), qApp, and Qt::QueuedConnection.
Referenced by clickAction_helper().
bool QtAndroidAccessibility::isActive | ( | ) |
Definition at line 88 of file androidjniaccessibility.cpp.
References m_accessibilityActivated.
Referenced by QAndroidPlatformNativeInterface::customEvent().
|
static |
Definition at line 413 of file androidjniaccessibility.cpp.
References interfaceFromId(), m_qtTag, and textFromValue().
Referenced by notifyValueChanged().
Definition at line 117 of file androidjniaccessibility.cpp.
References QtAndroid::notifyAccessibilityLocationChange().
Referenced by QAndroidPlatformAccessibility::notifyAccessibilityUpdate().
Definition at line 136 of file androidjniaccessibility.cpp.
References QtAndroid::notifyObjectFocus().
Referenced by QAndroidPlatformAccessibility::notifyAccessibilityUpdate().
Definition at line 124 of file androidjniaccessibility.cpp.
References QtAndroid::notifyObjectHide(), and parentId_helper().
Referenced by QAndroidPlatformAccessibility::notifyAccessibilityUpdate().
Definition at line 130 of file androidjniaccessibility.cpp.
References QtAndroid::notifyObjectShow(), and parentId_helper().
Referenced by QAndroidPlatformAccessibility::notifyAccessibilityUpdate().
Definition at line 149 of file androidjniaccessibility.cpp.
References QtAndroid::notifyScrolledEvent().
Referenced by QAndroidPlatformAccessibility::notifyAccessibilityUpdate().
Definition at line 143 of file androidjniaccessibility.cpp.
References jvalueForAccessibleObject(), and QtAndroid::notifyValueChanged().
Referenced by QAndroidPlatformAccessibility::notifyAccessibilityUpdate().
|
static |
Definition at line 200 of file androidjniaccessibility.cpp.
References m_accessibilityContext, parentId_helper(), and runInObjectContext().
|
static |
Definition at line 186 of file androidjniaccessibility.cpp.
References interfaceFromId().
Referenced by notifyObjectHide(), notifyObjectShow(), and parentId().
|
static |
Definition at line 497 of file androidjniaccessibility.cpp.
References info, m_accessibilityContext, m_addActionMethodID, m_qtTag, m_setCheckableMethodID, m_setCheckedMethodID, m_setClickableMethodID, m_setContentDescriptionMethodID, m_setEditableMethodID, m_setEnabledMethodID, m_setFocusableMethodID, m_setFocusedMethodID, m_setHeadingMethodID, m_setScrollableMethodID, m_setTextSelectionMethodID, m_setVisibleToUserMethodID, populateNode_helper(), and runInObjectContext().
|
static |
Definition at line 478 of file androidjniaccessibility.cpp.
References descriptionForInterface(), QAccessibleBridgeUtils::effectiveActionNames(), info, and interfaceFromId().
Referenced by populateNode().
bool QtAndroidAccessibility::registerNatives | ( | QJniEnvironment & | env | ) |
Definition at line 576 of file androidjniaccessibility.cpp.
References QtAndroidPrivate::androidSdkVersion(), GET_AND_CHECK_STATIC_METHOD, m_addActionMethodID, m_setCheckableMethodID, m_setCheckedMethodID, m_setClickableMethodID, m_setContentDescriptionMethodID, m_setEditableMethodID, m_setEnabledMethodID, m_setFocusableMethodID, m_setFocusedMethodID, m_setHeadingMethodID, m_setScrollableMethodID, m_setTextSelectionMethodID, m_setVisibleToUserMethodID, and methods.
Referenced by JNI_OnLoad().
void QtAndroidAccessibility::runInObjectContext | ( | QObject * | context, |
Func && | func, | ||
Ret * | retVal ) |
Definition at line 64 of file androidjniaccessibility.cpp.
References QGuiApplication::applicationState(), Qt::ApplicationSuspended, QtAndroid::blockEventLoopsWhenSuspended(), Qt::BlockingQueuedConnection, context, QMetaObject::invokeMethod(), and m_qtTag.
Referenced by childIdListForAccessibleObject(), clickAction(), descriptionForAccessibleObject(), hitTest(), parentId(), populateNode(), screenRect(), scrollBackward(), and scrollForward().
|
static |
Definition at line 226 of file androidjniaccessibility.cpp.
References m_accessibilityContext, rect, runInObjectContext(), and screenRect_helper().
|
static |
Definition at line 211 of file androidjniaccessibility.cpp.
References interfaceFromId(), rect, and QHighDpi::toNativePixels().
Referenced by screenRect(), scrollBackward(), and scrollForward().
|
static |
Definition at line 310 of file androidjniaccessibility.cpp.
References interfaceFromId(), and QAccessibleBridgeUtils::performEffectiveAction().
Referenced by scrollBackward(), and scrollForward().
|
static |
Definition at line 339 of file androidjniaccessibility.cpp.
References childIdListForAccessibleObject_helper(), m_accessibilityContext, oldPosition, runInObjectContext(), screenRect_helper(), and scroll_helper().
|
static |
Definition at line 318 of file androidjniaccessibility.cpp.
References childIdListForAccessibleObject_helper(), m_accessibilityContext, oldPosition, runInObjectContext(), screenRect_helper(), and scroll_helper().
|
static |
Definition at line 93 of file androidjniaccessibility.cpp.
References QtAndroid::androidPlatformIntegration(), lock, m_accessibilityActivated, m_qtTag, and QtAndroid::platformInterfaceMutex().
|
static |
Definition at line 360 of file androidjniaccessibility.cpp.
References QString::number(), qAbs(), qFuzzyCompare(), qFuzzyIsNull(), and QVariant::typeId().
Referenced by descriptionForInterface(), and jvalueForAccessibleObject().
|
static |
Definition at line 45 of file androidjniaccessibility.cpp.
Referenced by isActive(), and setActive().
Definition at line 52 of file androidjniaccessibility.cpp.
Referenced by childIdListForAccessibleObject(), clickAction(), createAccessibilityContextObject(), descriptionForAccessibleObject(), hitTest(), parentId(), populateNode(), screenRect(), scrollBackward(), and scrollForward().
|
static |
Definition at line 31 of file androidjniaccessibility.cpp.
Referenced by populateNode(), and registerNatives().
|
static |
Definition at line 32 of file androidjniaccessibility.cpp.
Referenced by populateNode(), and registerNatives().
|
static |
Definition at line 33 of file androidjniaccessibility.cpp.
Referenced by populateNode(), and registerNatives().
|
static |
Definition at line 34 of file androidjniaccessibility.cpp.
Referenced by populateNode(), and registerNatives().
|
static |
Definition at line 35 of file androidjniaccessibility.cpp.
Referenced by populateNode(), and registerNatives().
|
static |
Definition at line 36 of file androidjniaccessibility.cpp.
Referenced by populateNode(), and registerNatives().
|
static |
Definition at line 37 of file androidjniaccessibility.cpp.
Referenced by populateNode(), and registerNatives().
|
static |
Definition at line 38 of file androidjniaccessibility.cpp.
Referenced by populateNode(), and registerNatives().
|
static |
Definition at line 39 of file androidjniaccessibility.cpp.
Referenced by populateNode(), and registerNatives().
|
static |
Definition at line 40 of file androidjniaccessibility.cpp.
Referenced by populateNode(), and registerNatives().
|
static |
Definition at line 41 of file androidjniaccessibility.cpp.
Referenced by populateNode(), and registerNatives().
|
static |
Definition at line 42 of file androidjniaccessibility.cpp.
Referenced by populateNode(), and registerNatives().
|
static |
Definition at line 43 of file androidjniaccessibility.cpp.
Referenced by populateNode(), and registerNatives().
|
static |
Definition at line 556 of file androidjniaccessibility.cpp.
Referenced by registerNatives().