![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <dlfcn.h>
#include <pthread.h>
#include <qplugin.h>
#include <semaphore.h>
#include "androidcontentfileengine.h"
#include "qandroidapkfileengine.h"
#include "androidjniinput.h"
#include "androidjnimain.h"
#include "androidjnimenu.h"
#include "androidwindowembedding.h"
#include "qandroidassetsfileenginehandler.h"
#include "qandroideventdispatcher.h"
#include "qandroidplatformdialoghelpers.h"
#include "qandroidplatformintegration.h"
#include "qandroidplatformscreen.h"
#include "qandroidplatformwindow.h"
#include <android/api-level.h>
#include <android/asset_manager_jni.h>
#include <android/bitmap.h>
#include <QtCore/private/qjnihelpers_p.h>
#include <QtCore/qbasicatomic.h>
#include <QtCore/qjnienvironment.h>
#include <QtCore/qjniobject.h>
#include <QtCore/qprocess.h>
#include <QtCore/qresource.h>
#include <QtCore/qscopeguard.h>
#include <QtCore/qthread.h>
#include <QtCore/private/qandroiditemmodelproxy_p.h>
#include <QtCore/private/qandroidmodelindexproxy_p.h>
#include <QtGui/private/qguiapplication_p.h>
#include <QtGui/private/qhighdpiscaling_p.h>
#include <qpa/qwindowsysteminterface.h>
Go to the source code of this file.
Namespaces | |
namespace | QtAndroid |
Macros | |
#define | FIND_AND_CHECK_CLASS(CLASS_NAME) |
#define | GET_AND_CHECK_METHOD(VAR, CLASS, METHOD_NAME, METHOD_SIGNATURE) |
#define | GET_AND_CHECK_STATIC_METHOD(VAR, CLASS, METHOD_NAME, METHOD_SIGNATURE) |
#define | GET_AND_CHECK_FIELD(VAR, CLASS, FIELD_NAME, FIELD_SIGNATURE) |
#define | GET_AND_CHECK_STATIC_FIELD(VAR, CLASS, FIELD_NAME, FIELD_SIGNATURE) |
Typedefs | |
typedef int(* | Main) (int, char **) |
#define FIND_AND_CHECK_CLASS | ( | CLASS_NAME | ) |
Definition at line 742 of file androidjnimain.cpp.
#define GET_AND_CHECK_FIELD | ( | VAR, | |
CLASS, | |||
FIELD_NAME, | |||
FIELD_SIGNATURE ) |
Definition at line 763 of file androidjnimain.cpp.
#define GET_AND_CHECK_METHOD | ( | VAR, | |
CLASS, | |||
METHOD_NAME, | |||
METHOD_SIGNATURE ) |
Definition at line 749 of file androidjnimain.cpp.
#define GET_AND_CHECK_STATIC_FIELD | ( | VAR, | |
CLASS, | |||
FIELD_NAME, | |||
FIELD_SIGNATURE ) |
Definition at line 770 of file androidjnimain.cpp.
#define GET_AND_CHECK_STATIC_METHOD | ( | VAR, | |
CLASS, | |||
METHOD_NAME, | |||
METHOD_SIGNATURE ) |
Definition at line 756 of file androidjnimain.cpp.
typedef int(* Main)(int, char **) |
Definition at line 72 of file androidjnimain.cpp.
|
static |
Definition at line 503 of file androidjnimain.cpp.
References m_ARGB_8888_BitmapConfigValue, m_assets, m_bitmapClass, m_bitmapDrawableClass, m_qtActivityClass, m_qtServiceClass, m_resourcesObj, and m_RGB_565_BitmapConfigValue.
|
static |
Definition at line 576 of file androidjnimain.cpp.
|
static |
Definition at line 634 of file androidjnimain.cpp.
References m_androidPlatformIntegration, and QAndroidPlatformIntegration::screen().
|
static |
Definition at line 673 of file androidjnimain.cpp.
|
static |
Definition at line 680 of file androidjnimain.cpp.
|
static |
Definition at line 687 of file androidjnimain.cpp.
|
static |
Definition at line 708 of file androidjnimain.cpp.
|
static |
Definition at line 694 of file androidjnimain.cpp.
|
static |
Definition at line 701 of file androidjnimain.cpp.
|
static |
Definition at line 372 of file androidjnimain.cpp.
References m_exitSemaphore, and m_stopQtSemaphore.
Referenced by startQtNativeApplication().
|
static |
Definition at line 362 of file androidjnimain.cpp.
References m_androidApkFileEngineHandler, m_androidAssetsFileEngineHandler, m_androidContentFileEngineHandler, and m_backendRegister.
Referenced by startQtNativeApplication().
|
static |
Definition at line 816 of file androidjnimain.cpp.
References m_assetManager.
QT_END_NAMESPACE Q_DECL_EXPORT jint JNICALL JNI_OnLoad | ( | JavaVM * | , |
void * | ) |
Definition at line 882 of file androidjnimain.cpp.
|
static |
Definition at line 714 of file androidjnimain.cpp.
|
static |
Definition at line 727 of file androidjnimain.cpp.
|
static |
Definition at line 722 of file androidjnimain.cpp.
Q_DECLARE_JNI_CLASS | ( | QtThread | , |
"org/qtproject/qt/android/QtThread" | ) |
|
static |
Definition at line 779 of file androidjnimain.cpp.
|
static |
Definition at line 378 of file androidjnimain.cpp.
References initCleanupHandshakeSemaphores(), initializeBackends(), m_androidPlatformIntegration, m_exitSemaphore, m_main, and m_stopQtSemaphore.
|
static |
Definition at line 543 of file androidjnimain.cpp.
|
static |
Definition at line 589 of file androidjnimain.cpp.
References QAndroidEventDispatcherStopper::goingToStop(), QAndroidEventDispatcherStopper::instance(), m_androidPlatformIntegration, m_main, m_pendingApplicationState, QAndroidEventDispatcherStopper::startAll(), QAndroidEventDispatcherStopper::stopAll(), and QAndroidEventDispatcherStopper::stopped().
|
static |
Definition at line 628 of file androidjnimain.cpp.
|
static |
Definition at line 82 of file androidjnimain.cpp.
Referenced by initializeBackends().
|
static |
Definition at line 80 of file androidjnimain.cpp.
Referenced by initializeBackends().
|
static |
Definition at line 81 of file androidjnimain.cpp.
Referenced by initializeBackends().
|
static |
Definition at line 76 of file androidjnimain.cpp.
Referenced by QtAndroid::androidPlatformIntegration(), handleOrientationChanged(), QtAndroid::setAndroidPlatformIntegration(), startQtNativeApplication(), QtAndroid::topLevelWindowAt(), and updateApplicationState().
|
static |
Definition at line 53 of file androidjnimain.cpp.
|
static |
Definition at line 66 of file androidjnimain.cpp.
Referenced by clearJavaReferences().
|
static |
Definition at line 54 of file androidjnimain.cpp.
Referenced by initJavaReferences().
|
static |
Definition at line 55 of file androidjnimain.cpp.
Referenced by clearJavaReferences().
|
static |
Definition at line 84 of file androidjnimain.cpp.
Referenced by QtAndroid::backendRegister(), and initializeBackends().
|
static |
Definition at line 64 of file androidjnimain.cpp.
Referenced by clearJavaReferences().
|
static |
Definition at line 69 of file androidjnimain.cpp.
Referenced by clearJavaReferences().
|
static |
Definition at line 70 of file androidjnimain.cpp.
|
static |
Definition at line 87 of file androidjnimain.cpp.
Referenced by QtAndroid::classErrorMsgFmt().
|
static |
Definition at line 65 of file androidjnimain.cpp.
|
static |
Definition at line 78 of file androidjnimain.cpp.
Referenced by QtAndroid::pixelDensity().
|
static |
Definition at line 74 of file androidjnimain.cpp.
Referenced by initCleanupHandshakeSemaphores(), and startQtNativeApplication().
|
static |
Definition at line 73 of file androidjnimain.cpp.
Referenced by startQtNativeApplication(), and updateApplicationState().
Definition at line 88 of file androidjnimain.cpp.
Referenced by QtAndroid::methodErrorMsgFmt().
|
static |
Definition at line 61 of file androidjnimain.cpp.
Referenced by QtAndroid::setAndroidPlatformIntegration(), and updateApplicationState().
|
static |
Definition at line 62 of file androidjnimain.cpp.
|
static |
Definition at line 58 of file androidjnimain.cpp.
Referenced by clearJavaReferences().
|
static |
Definition at line 59 of file androidjnimain.cpp.
Referenced by clearJavaReferences().
|
static |
Definition at line 86 of file androidjnimain.cpp.
Referenced by QtAndroid::qtTagText().
|
static |
Definition at line 56 of file androidjnimain.cpp.
Referenced by clearJavaReferences().
|
static |
Definition at line 67 of file androidjnimain.cpp.
Referenced by clearJavaReferences().
|
static |
Definition at line 74 of file androidjnimain.cpp.
Referenced by initCleanupHandshakeSemaphores(), and startQtNativeApplication().
|
static |
Definition at line 732 of file androidjnimain.cpp.
|
static |
Definition at line 90 of file androidjnimain.cpp.