blob: dd2cead8cd0c7d3c1fcd86508620749303cf2747 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
package org.qtproject.qt.android;
import android.graphics.Rect;
import android.view.accessibility.AccessibilityNodeInfo;
class QtNativeAccessibility
{
static native void setActive(boolean enable);
static native int[] childIdListForAccessibleObject(int objectId);
static native int parentId(int objectId);
static native String descriptionForAccessibleObject(int objectId);
static native Rect screenRect(int objectId);
static native int hitTest(float x, float y);
static native boolean clickAction(int objectId);
static native boolean scrollForward(int objectId);
static native boolean scrollBackward(int objectId);
static native boolean populateNode(int objectId, AccessibilityNodeInfo node);
}
|