Other Tools

// GENERATED CODE
// Generated by the Java program at /build/annotationProcessors at compile time
// from annotations on Java methods. To update, change the annotations on the
// corresponding Java methods and rerun the build. Manually updating this file
// will cause your build to fail.
#ifndef MOZ_PREPROCESSOR
#include "mozilla/java/AndroidVsyncWrappers.h"
#include "mozilla/jni/Accessors.h"
#endif
namespace mozilla {
namespace java {
const char AndroidVsync::name[] =
"org/mozilla/gecko/gfx/AndroidVsync";
constexpr char AndroidVsync::New_t::name[];
constexpr char AndroidVsync::New_t::signature[];
auto AndroidVsync::New() -> AndroidVsync::LocalRef
{
return mozilla::jni::Constructor<New_t>::Call(AndroidVsync::Context(), nullptr);
}
constexpr char AndroidVsync::DisposeNative_t::name[];
constexpr char AndroidVsync::DisposeNative_t::signature[];
constexpr char AndroidVsync::DoFrame_t::name[];
constexpr char AndroidVsync::DoFrame_t::signature[];
auto AndroidVsync::DoFrame(int64_t a0) const -> void
{
return mozilla::jni::Method<DoFrame_t>::Call(AndroidVsync::mCtx, nullptr, a0);
}
constexpr char AndroidVsync::GetRefreshRate_t::name[];
constexpr char AndroidVsync::GetRefreshRate_t::signature[];
auto AndroidVsync::GetRefreshRate() const -> float
{
return mozilla::jni::Method<GetRefreshRate_t>::Call(AndroidVsync::mCtx, nullptr);
}
constexpr char AndroidVsync::NotifyVsync_t::name[];
constexpr char AndroidVsync::NotifyVsync_t::signature[];
constexpr char AndroidVsync::ObserveVsync_t::name[];
constexpr char AndroidVsync::ObserveVsync_t::signature[];
auto AndroidVsync::ObserveVsync(bool a0) const -> bool
{
return mozilla::jni::Method<ObserveVsync_t>::Call(AndroidVsync::mCtx, nullptr, a0);
}
const char16_t AndroidVsync::LOGTAG[] = u"AndroidVsync";
constexpr char AndroidVsync::MChoreographer_t::name[];
constexpr char AndroidVsync::MChoreographer_t::signature[];
auto AndroidVsync::MChoreographer() const -> mozilla::jni::Object::LocalRef
{
return mozilla::jni::Field<MChoreographer_t>::Get(AndroidVsync::mCtx, nullptr);
}
auto AndroidVsync::MChoreographer(mozilla::jni::Object::Param a0) const -> void
{
return mozilla::jni::Field<MChoreographer_t>::Set(AndroidVsync::mCtx, nullptr, a0);
}
constexpr char AndroidVsync::MObservingVsync_t::name[];
constexpr char AndroidVsync::MObservingVsync_t::signature[];
auto AndroidVsync::MObservingVsync() const -> bool
{
return mozilla::jni::Field<MObservingVsync_t>::Get(AndroidVsync::mCtx, nullptr);
}
auto AndroidVsync::MObservingVsync(bool a0) const -> void
{
return mozilla::jni::Field<MObservingVsync_t>::Set(AndroidVsync::mCtx, nullptr, a0);
}
} /* java */
} /* mozilla */