Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <android/log.h>
#include "androiddeadlockprotector.h"
#include "androidjniinput.h"
#include "androidjnimain.h"
#include "qandroideventdispatcher.h"
#include "qandroidinputcontext.h"
#include "qandroidplatformintegration.h"
#include "private/qhighdpiscaling_p.h"
#include <QTextBoundaryFinder>
#include <QTextCharFormat>
#include <QtCore/QJniEnvironment>
#include <QtCore/QJniObject>
#include <qevent.h>
#include <qguiapplication.h>
#include <qinputmethod.h>
#include <qsharedpointer.h>
#include <qthread.h>
#include <qwindow.h>
#include <qpa/qplatformwindow.h>
Go to the source code of this file.
Classes | |
class | QT_BEGIN_NAMESPACE::BatchEditLock |
Namespaces | |
namespace | QT_BEGIN_NAMESPACE |
Combined button and popup list for selecting options. | |
Functions | |
static void | runOnQtThread (const std::function< void()> &func) |
static jboolean | beginBatchEdit (JNIEnv *, jobject) |
static jboolean | endBatchEdit (JNIEnv *, jobject) |
static jboolean | commitText (JNIEnv *env, jobject, jstring text, jint newCursorPosition) |
static jboolean | deleteSurroundingText (JNIEnv *, jobject, jint leftLength, jint rightLength) |
static jboolean | finishComposingText (JNIEnv *, jobject) |
static jboolean | replaceText (JNIEnv *env, jobject, jint start, jint end, jstring text, jint newCursorPosition) |
static jint | getCursorCapsMode (JNIEnv *, jobject, jint reqModes) |
static jobject | getExtractedText (JNIEnv *env, jobject, int hintMaxChars, int hintMaxLines, jint flags) |
static jstring | getSelectedText (JNIEnv *env, jobject, jint flags) |
static jstring | getTextAfterCursor (JNIEnv *env, jobject, jint length, jint flags) |
static jstring | getTextBeforeCursor (JNIEnv *env, jobject, jint length, jint flags) |
static jboolean | setComposingText (JNIEnv *env, jobject, jstring text, jint newCursorPosition) |
static jboolean | setComposingRegion (JNIEnv *, jobject, jint start, jint end) |
static jboolean | setSelection (JNIEnv *, jobject, jint start, jint end) |
static jboolean | selectAll (JNIEnv *, jobject) |
static jboolean | cut (JNIEnv *, jobject) |
static jboolean | copy (JNIEnv *, jobject) |
static jboolean | copyURL (JNIEnv *, jobject) |
static jboolean | paste (JNIEnv *, jobject) |
static jboolean | updateCursorPosition (JNIEnv *, jobject) |
static void | reportFullscreenMode (JNIEnv *, jobject, jboolean enabled) |
static jboolean | fullscreenMode (JNIEnv *, jobject) |
static QRect | screenInputItemRectangle () |
static int | getAbsoluteCursorPosition (const QSharedPointer< QInputMethodQueryEvent > &query) |
static int | getBlockPosition (const QSharedPointer< QInputMethodQueryEvent > &query) |
Variables | |
static QAndroidInputContext * | m_androidInputContext = nullptr |
static char const *const | QtNativeInputConnectionClassName = "org/qtproject/qt/android/QtNativeInputConnection" |
static char const *const | QtExtractedTextClassName = "org/qtproject/qt/android/QtExtractedText" |
static int | m_selectHandleWidth = 0 |
static jclass | m_extractedTextClass = 0 |
static jmethodID | m_classConstructorMethodID = 0 |
static jfieldID | m_partialEndOffsetFieldID = 0 |
static jfieldID | m_partialStartOffsetFieldID = 0 |
static jfieldID | m_selectionEndFieldID = 0 |
static jfieldID | m_selectionStartFieldID = 0 |
static jfieldID | m_startOffsetFieldID = 0 |
static jfieldID | m_textFieldID = 0 |
static JNINativeMethod | methods [] |
|
static |
Definition at line 78 of file qandroidinputcontext.cpp.
References m_androidInputContext.
|
static |
Definition at line 102 of file qandroidinputcontext.cpp.
References m_androidInputContext.
|
static |
Definition at line 288 of file qandroidinputcontext.cpp.
References m_androidInputContext.
|
static |
Definition at line 299 of file qandroidinputcontext.cpp.
References m_androidInputContext.
|
static |
Definition at line 277 of file qandroidinputcontext.cpp.
References m_androidInputContext.
|
static |
Definition at line 118 of file qandroidinputcontext.cpp.
References m_androidInputContext.
|
static |
Definition at line 89 of file qandroidinputcontext.cpp.
References m_androidInputContext.
|
static |
Definition at line 129 of file qandroidinputcontext.cpp.
References m_androidInputContext.
|
static |
Definition at line 340 of file qandroidinputcontext.cpp.
References m_androidInputContext.
|
inlinestatic |
Definition at line 495 of file qandroidinputcontext.cpp.
|
inlinestatic |
Definition at line 502 of file qandroidinputcontext.cpp.
|
static |
Definition at line 157 of file qandroidinputcontext.cpp.
References m_androidInputContext.
|
static |
Definition at line 167 of file qandroidinputcontext.cpp.
References m_androidInputContext.
|
static |
Definition at line 191 of file qandroidinputcontext.cpp.
References m_androidInputContext.
|
static |
Definition at line 204 of file qandroidinputcontext.cpp.
References m_androidInputContext.
|
static |
Definition at line 215 of file qandroidinputcontext.cpp.
References m_androidInputContext.
|
static |
Definition at line 310 of file qandroidinputcontext.cpp.
References m_androidInputContext.
|
static |
Definition at line 140 of file qandroidinputcontext.cpp.
References m_androidInputContext.
|
static |
Definition at line 332 of file qandroidinputcontext.cpp.
References m_androidInputContext.
Definition at line 70 of file qandroidinputcontext.cpp.
References AndroidDeadlockProtector::acquire().
|
static |
Definition at line 370 of file qandroidinputcontext.cpp.
|
static |
Definition at line 266 of file qandroidinputcontext.cpp.
References m_androidInputContext.
|
static |
Definition at line 242 of file qandroidinputcontext.cpp.
References m_androidInputContext.
|
static |
Definition at line 226 of file qandroidinputcontext.cpp.
References m_androidInputContext.
|
static |
Definition at line 254 of file qandroidinputcontext.cpp.
References m_androidInputContext.
|
static |
Definition at line 321 of file qandroidinputcontext.cpp.
References m_androidInputContext, and QAndroidInputContext::updateCursorPosition().
|
static |
Definition at line 57 of file qandroidinputcontext.cpp.
Referenced by QAndroidInputContext::QAndroidInputContext(), QAndroidInputContext::~QAndroidInputContext(), QAndroidInputContext::androidInputContext(), beginBatchEdit(), commitText(), copy(), copyURL(), cut(), deleteSurroundingText(), endBatchEdit(), finishComposingText(), fullscreenMode(), getCursorCapsMode(), getExtractedText(), getSelectedText(), getTextAfterCursor(), getTextBeforeCursor(), paste(), replaceText(), reportFullscreenMode(), selectAll(), setComposingRegion(), setComposingText(), setSelection(), and updateCursorPosition().
|
static |
Definition at line 62 of file qandroidinputcontext.cpp.
Referenced by QAndroidInputContext::QAndroidInputContext().
|
static |
Definition at line 61 of file qandroidinputcontext.cpp.
Referenced by QAndroidInputContext::QAndroidInputContext(), and QAndroidInputContext::~QAndroidInputContext().
|
static |
Definition at line 63 of file qandroidinputcontext.cpp.
Referenced by QAndroidInputContext::QAndroidInputContext(), and QAndroidInputContext::~QAndroidInputContext().
|
static |
Definition at line 64 of file qandroidinputcontext.cpp.
Referenced by QAndroidInputContext::QAndroidInputContext(), and QAndroidInputContext::~QAndroidInputContext().
|
static |
Definition at line 60 of file qandroidinputcontext.cpp.
Referenced by QAndroidInputContext::updateSelectionHandles().
|
static |
Definition at line 65 of file qandroidinputcontext.cpp.
Referenced by QAndroidInputContext::QAndroidInputContext(), and QAndroidInputContext::~QAndroidInputContext().
|
static |
Definition at line 66 of file qandroidinputcontext.cpp.
Referenced by QAndroidInputContext::QAndroidInputContext(), and QAndroidInputContext::~QAndroidInputContext().
|
static |
Definition at line 67 of file qandroidinputcontext.cpp.
Referenced by QAndroidInputContext::QAndroidInputContext(), and QAndroidInputContext::~QAndroidInputContext().
|
static |
Definition at line 68 of file qandroidinputcontext.cpp.
Referenced by QAndroidInputContext::QAndroidInputContext(), and QAndroidInputContext::~QAndroidInputContext().
|
static |
Definition at line 345 of file qandroidinputcontext.cpp.
Referenced by QAndroidInputContext::QAndroidInputContext().
|
static |
Definition at line 59 of file qandroidinputcontext.cpp.
Referenced by QAndroidInputContext::QAndroidInputContext().
|
static |
Definition at line 58 of file qandroidinputcontext.cpp.
Referenced by QAndroidInputContext::QAndroidInputContext().