13#include "wrap/ObjectWrapperBase.h"
16namespace android::app {
20namespace android::content {
24namespace android::view {
26 class WindowManager_LayoutParams;
29namespace org::freedesktop::monado::auxiliary {
37namespace org::freedesktop::monado::auxiliary {
44 using ObjectWrapperBase::ObjectWrapperBase;
45 static constexpr const char *
46 getTypeName()
noexcept
48 return "org/freedesktop/monado/auxiliary/MonadoView";
51 static constexpr const char *
52 getFullyQualifiedTypeName()
noexcept
54 return "org.freedesktop.monado.auxiliary.MonadoView";
71 android::view::WindowManager_LayoutParams
const &lp);
123 int32_t displayModeId);
138 int32_t displayModeId);
149 static std::vector<float>
185 android::view::SurfaceHolder
203 jni::method_t attachToWindow;
204 jni::method_t removeFromWindow;
205 jni::method_t getDisplayMetrics;
206 jni::method_t getDisplayRefreshRate;
207 jni::method_t getSupportedRefreshRates;
208 jni::method_t getNativePointer;
209 jni::method_t markAsDiscardedByNative;
210 jni::method_t waitGetSurfaceHolder;
211 jni::method_t getDisplayModeIdWidth;
212 jni::method_t getDisplayModeIdHeight;
218 data(jni::jclass clazz =
nullptr)
220 static Meta instance{clazz};
225 explicit Meta(jni::jclass clazz);
232 using ObjectWrapperBase::ObjectWrapperBase;
233 static constexpr const char *
234 getTypeName()
noexcept
236 return "org/freedesktop/monado/auxiliary/ActivityLifecycleListener";
239 static constexpr const char *
240 getFullyQualifiedTypeName()
noexcept
242 return "org.freedesktop.monado.auxiliary.ActivityLifecycleListener";
297 jni::method_t registerCallback;
298 jni::method_t unregisterCallback;
304 data(jni::jclass clazz =
nullptr)
306 static Meta instance{clazz};
311 explicit Meta(jni::jclass clazz);
Definition: context.hpp:57
Definition: org.freedesktop.monado.auxiliary.hpp:230
void registerCallback(android::app::Activity const &activity)
Wrapper for the registerCallback method.
Definition: org.freedesktop.monado.auxiliary.impl.hpp:113
static void staticInitClass(jni::jclass clazz)
Initialize the static metadata of this wrapper with a known (non-null) Java class.
Definition: org.freedesktop.monado.auxiliary.hpp:250
static ActivityLifecycleListener construct(void *nativePointer)
Wrapper for a constructor.
Definition: org.freedesktop.monado.auxiliary.impl.hpp:106
void unregisterCallback(android::app::Activity const &activity)
Wrapper for the unregisterCallback method.
Definition: org.freedesktop.monado.auxiliary.impl.hpp:119
Wrapper for org.freedesktop.monado.auxiliary.MonadoView objects.
Definition: org.freedesktop.monado.auxiliary.hpp:42
static void removeFromWindow(MonadoView const &view)
Wrapper for the removeFromWindow static method.
Definition: org.freedesktop.monado.auxiliary.impl.hpp:32
void markAsDiscardedByNative()
Wrapper for the markAsDiscardedByNative method.
Definition: org.freedesktop.monado.auxiliary.impl.hpp:91
static float getDisplayRefreshRate(android::content::Context const &context)
Wrapper for the getDisplayRefreshRate static method.
Definition: org.freedesktop.monado.auxiliary.impl.hpp:44
static void staticInitClass(jni::jclass clazz)
Initialize the static metadata of this wrapper with a known (non-null) Java class.
Definition: org.freedesktop.monado.auxiliary.hpp:193
static int32_t getDisplayModeIdHeight(android::content::Context const &context, int32_t displayId, int32_t displayModeId)
Wrapper for the getDisplayModeIdHeight static method.
Definition: org.freedesktop.monado.auxiliary.impl.hpp:59
static int32_t getDisplayModeIdWidth(android::content::Context const &context, int32_t displayId, int32_t displayModeId)
Wrapper for the getDisplayModeIdWidth static method.
Definition: org.freedesktop.monado.auxiliary.impl.hpp:50
android::view::SurfaceHolder waitGetSurfaceHolder(int32_t wait_ms)
Wrapper for the waitGetSurfaceHolder method.
Definition: org.freedesktop.monado.auxiliary.impl.hpp:98
static MonadoView attachToWindow(android::content::Context const &displayContext, void *nativePointer, android::view::WindowManager_LayoutParams const &lp)
Wrapper for the attachToWindow static method.
static std::vector< float > getSupportedRefreshRates(android::content::Context const &context)
Wrapper for the getSupportedRefreshRates static method.
Definition: org.freedesktop.monado.auxiliary.impl.hpp:68
static jni::Object getDisplayMetrics(android::content::Context const &context)
Wrapper for the getDisplayMetrics static method.
Definition: org.freedesktop.monado.auxiliary.impl.hpp:38
void * getNativePointer()
Wrapper for the getNativePointer method.
Definition: org.freedesktop.monado.auxiliary.impl.hpp:83
Inline implementations for partially-generated wrapper for the org.freedesktop.monado....