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>.
Loading...
Searching...
No Matches
QtAndroidWindowEmbedding Namespace Reference

Functions

void createRootWindow (JNIEnv *, jclass, QtJniTypes::View rootView, jint x, jint y, jint width, jint height)
 
void deleteWindow (JNIEnv *, jclass, jlong windowRef)
 
void setWindowVisible (JNIEnv *, jclass, jlong windowRef, jboolean visible)
 
void resizeWindow (JNIEnv *, jclass, jlong windowRef, jint x, jint y, jint width, jint height)
 
bool registerNatives (QJniEnvironment &env)
 

Function Documentation

◆ createRootWindow()

void QtAndroidWindowEmbedding::createRootWindow ( JNIEnv * ,
jclass ,
QtJniTypes::View rootView,
jint x,
jint y,
jint width,
jint height )

Definition at line 17 of file androidwindowembedding.cpp.

References QMetaObject::invokeMethod(), qApp, and QWindow::setGeometry().

Referenced by registerNatives().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ deleteWindow()

void QtAndroidWindowEmbedding::deleteWindow ( JNIEnv * ,
jclass ,
jlong windowRef )

Definition at line 29 of file androidwindowembedding.cpp.

References window().

Referenced by registerNatives().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ registerNatives()

bool QtAndroidWindowEmbedding::registerNatives ( QJniEnvironment & env)

Definition at line 60 of file androidwindowembedding.cpp.

References createRootWindow(), deleteWindow(), resizeWindow(), and setWindowVisible().

Referenced by JNI_OnLoad().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ resizeWindow()

void QtAndroidWindowEmbedding::resizeWindow ( JNIEnv * ,
jclass ,
jlong windowRef,
jint x,
jint y,
jint width,
jint height )

Definition at line 49 of file androidwindowembedding.cpp.

References QMetaObject::invokeMethod(), qApp, QWindow::setGeometry(), and window().

Referenced by registerNatives().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setWindowVisible()

void QtAndroidWindowEmbedding::setWindowVisible ( JNIEnv * ,
jclass ,
jlong windowRef,
jboolean visible )

Definition at line 35 of file androidwindowembedding.cpp.

References QMetaObject::invokeMethod(), qApp, and window().

Referenced by registerNatives().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: