Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
androidjniinput.cpp File Reference
#include <QtGui/qtguiglobal.h>
#include "androidjniinput.h"
#include "androidjnimain.h"
#include "qandroidplatformintegration.h"
#include <qpa/qwindowsysteminterface.h>
#include <QTouchEvent>
#include <QPointer>
#include <QGuiApplication>
#include <QtMath>
+ Include dependency graph for androidjniinput.cpp:

Go to the source code of this file.

Namespaces

namespace  QtAndroidInput
 

Functions

QT_BEGIN_NAMESPACE Q_LOGGING_CATEGORY (lcQpaInputMethods, "qt.qpa.input.methods")
 
void QtAndroidInput::updateSelection (int selStart, int selEnd, int candidatesStart, int candidatesEnd)
 
void QtAndroidInput::showSoftwareKeyboard (int left, int top, int width, int height, int inputHints, int enterKeyType)
 
void QtAndroidInput::resetSoftwareKeyboard ()
 
void QtAndroidInput::hideSoftwareKeyboard ()
 
bool QtAndroidInput::isSoftwareKeyboardVisible ()
 
QRect QtAndroidInput::softwareKeyboardRect ()
 
int QtAndroidInput::getSelectHandleWidth ()
 
void QtAndroidInput::updateHandles (int mode, QPoint editMenuPos, uint32_t editButtons, QPoint cursor, QPoint anchor, bool rtl)
 
static void QtAndroidInput::mouseDown (JNIEnv *, jobject, jint, jint x, jint y)
 
static void QtAndroidInput::mouseUp (JNIEnv *, jobject, jint, jint x, jint y)
 
static void QtAndroidInput::mouseMove (JNIEnv *, jobject, jint, jint x, jint y)
 
static void QtAndroidInput::mouseWheel (JNIEnv *, jobject, jint, jint x, jint y, jfloat hdelta, jfloat vdelta)
 
static void QtAndroidInput::longPress (JNIEnv *, jobject, jint, jint x, jint y)
 
static void QtAndroidInput::touchBegin (JNIEnv *, jobject, jint)
 
static void QtAndroidInput::touchAdd (JNIEnv *, jobject, jint, jint id, jint action, jboolean, jint x, jint y, jfloat major, jfloat minor, jfloat rotation, jfloat pressure)
 
static QPointingDeviceQtAndroidInput::getTouchDevice ()
 
static void QtAndroidInput::touchEnd (JNIEnv *, jobject, jint, jint)
 
static void QtAndroidInput::touchCancel (JNIEnv *, jobject, jint)
 
static bool QtAndroidInput::isTabletEventSupported (JNIEnv *, jobject)
 
static void QtAndroidInput::tabletEvent (JNIEnv *, jobject, jint, jint deviceId, jlong time, jint action, jint pointerType, jint buttonState, jfloat x, jfloat y, jfloat pressure)
 
static QKeyCombination QtAndroidInput::mapAndroidKey (int key)
 
static Qt::KeyboardModifiers QtAndroidInput::mapAndroidModifiers (jint modifiers)
 
static QString QtAndroidInput::toString (jint unicode)
 
static void QtAndroidInput::keyDown (JNIEnv *, jobject, jint key, jint unicode, jint modifier, jboolean autoRepeat)
 
static void QtAndroidInput::keyUp (JNIEnv *, jobject, jint key, jint unicode, jint modifier, jboolean autoRepeat)
 
static void QtAndroidInput::keyboardVisibilityChanged (JNIEnv *, jobject, jboolean visibility)
 
static void QtAndroidInput::keyboardGeometryChanged (JNIEnv *, jobject, jint x, jint y, jint w, jint h)
 
static void QtAndroidInput::handleLocationChanged (JNIEnv *, jobject, int id, int x, int y)
 
bool QtAndroidInput::registerNatives (JNIEnv *env)
 

Variables

static bool QtAndroidInput::m_ignoreMouseEvents = false
 
static QRect QtAndroidInput::m_softwareKeyboardRect
 
static QList< QWindowSystemInterface::TouchPointQtAndroidInput::m_touchPoints
 
static QPointer< QWindowQtAndroidInput::m_mouseGrabber
 
static JNINativeMethod QtAndroidInput::methods []
 

Function Documentation

◆ Q_LOGGING_CATEGORY()

QT_BEGIN_NAMESPACE Q_LOGGING_CATEGORY ( lcQpaInputMethods  ,
"qt.qpa.input.methods"   
)