Source code

Copy as Markdown

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 Javamethods and rerun the build. Manually updating this file
// will cause your build to fail.
#include "AndroidGraphics.h"
#include "mozilla/jni/Accessors.h"
namespace mozilla {
namespace java {
namespace sdk {
constexpr char Bitmap::name[];
constexpr char Bitmap::CopyPixelsFromBuffer_t::name[];
constexpr char Bitmap::CopyPixelsFromBuffer_t::signature[];
auto Bitmap::CopyPixelsFromBuffer(mozilla::jni::Object::Param a0) const -> void
{
return mozilla::jni::Method<CopyPixelsFromBuffer_t>::Call(Bitmap::mCtx, nullptr, a0);
}
constexpr char Bitmap::CreateBitmap_t::name[];
constexpr char Bitmap::CreateBitmap_t::signature[];
auto Bitmap::CreateBitmap(int32_t a0, int32_t a1, mozilla::jni::Object::Param a2) -> Bitmap::LocalRef
{
return mozilla::jni::Method<CreateBitmap_t>::Call(Bitmap::Context(), nullptr, a0, a1, a2);
}
constexpr char Bitmap::Config::name[];
constexpr char Bitmap::Config::ValueOf_t::name[];
constexpr char Bitmap::Config::ValueOf_t::signature[];
auto Bitmap::Config::ValueOf(mozilla::jni::String::Param a0) -> Config::LocalRef
{
return mozilla::jni::Method<ValueOf_t>::Call(Config::Context(), nullptr, a0);
}
constexpr char Bitmap::Config::ALPHA_8_t::name[];
constexpr char Bitmap::Config::ALPHA_8_t::signature[];
auto Bitmap::Config::ALPHA_8() -> Config::LocalRef
{
return mozilla::jni::Field<ALPHA_8_t>::Get(Config::Context(), nullptr);
}
constexpr char Bitmap::Config::ARGB_8888_t::name[];
constexpr char Bitmap::Config::ARGB_8888_t::signature[];
auto Bitmap::Config::ARGB_8888() -> Config::LocalRef
{
return mozilla::jni::Field<ARGB_8888_t>::Get(Config::Context(), nullptr);
}
constexpr char Bitmap::Config::RGBA_F16_t::name[];
constexpr char Bitmap::Config::RGBA_F16_t::signature[];
auto Bitmap::Config::RGBA_F16() -> Config::LocalRef
{
return mozilla::jni::Field<RGBA_F16_t>::Get(Config::Context(), nullptr);
}
constexpr char Bitmap::Config::RGB_565_t::name[];
constexpr char Bitmap::Config::RGB_565_t::signature[];
auto Bitmap::Config::RGB_565() -> Config::LocalRef
{
return mozilla::jni::Field<RGB_565_t>::Get(Config::Context(), nullptr);
}
} /* sdk */
} /* java */
} /* mozilla */