Home
last modified time | relevance | path

Searched refs:native_instance (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/modules/androidkit/src/
DCanvas.cpp19 jint Canvas_GetWidth(JNIEnv* env, jobject, jlong native_instance) { in Canvas_GetWidth() argument
20 const auto* canvas = reinterpret_cast<const SkCanvas*>(native_instance); in Canvas_GetWidth()
24 jint Canvas_GetHeight(JNIEnv* env, jobject, jlong native_instance) { in Canvas_GetHeight() argument
25 const auto* canvas = reinterpret_cast<const SkCanvas*>(native_instance); in Canvas_GetHeight()
29 jint Canvas_Save(JNIEnv* env, jobject, jlong native_instance) { in Canvas_Save() argument
30 if (auto* canvas = reinterpret_cast<SkCanvas*>(native_instance)) { in Canvas_Save()
36 void Canvas_Restore(JNIEnv* env, jobject, jlong native_instance) { in Canvas_Restore() argument
37 if (auto* canvas = reinterpret_cast<SkCanvas*>(native_instance)) { in Canvas_Restore()
42 void Canvas_RestoreToCount(JNIEnv* env, jobject, jlong native_instance, jint count) { in Canvas_RestoreToCount() argument
43 if (auto* canvas = reinterpret_cast<SkCanvas*>(native_instance)) { in Canvas_RestoreToCount()
[all …]
DRuntimeShaderBuilder.cpp31 static void ShaderBuilder_Release(JNIEnv* env, jobject, jlong native_instance) { in ShaderBuilder_Release() argument
32 if (auto* builder = reinterpret_cast<SkRuntimeShaderBuilder*>(native_instance)) { in ShaderBuilder_Release()
37 static void ShaderBuilder_SetUniformFloat(JNIEnv* env, jobject, jlong native_instance, jstring jnam… in ShaderBuilder_SetUniformFloat() argument
38 if (auto* builder = reinterpret_cast<SkRuntimeShaderBuilder*>(native_instance)) { in ShaderBuilder_SetUniformFloat()
43 static void ShaderBuilder_SetUniformFloat3(JNIEnv* env, jobject, jlong native_instance, jstring jna… in ShaderBuilder_SetUniformFloat3() argument
44 if (auto* builder = reinterpret_cast<SkRuntimeShaderBuilder*>(native_instance)) { in ShaderBuilder_SetUniformFloat3()
49 static void ShaderBuilder_SetUniformMatrix(JNIEnv* env, jobject, jlong native_instance, jstring jna… in ShaderBuilder_SetUniformMatrix() argument
50 if (auto* builder = reinterpret_cast<SkRuntimeShaderBuilder*>(native_instance)) { in ShaderBuilder_SetUniformMatrix()
57 static jlong ShaderBuilder_MakeShader(JNIEnv* env, jobject, jlong native_instance) { in ShaderBuilder_MakeShader() argument
58 if (auto* builder = reinterpret_cast<SkRuntimeShaderBuilder*>(native_instance)) { in ShaderBuilder_MakeShader()
DImage.cpp26 void Image_Release(JNIEnv*, jobject, jlong native_instance) { in Image_Release() argument
27 SkSafeUnref(reinterpret_cast<const SkImage*>(native_instance)); in Image_Release()
30 jint Image_GetWidth(JNIEnv*, jobject, jlong native_instance) { in Image_GetWidth() argument
31 const auto* image = reinterpret_cast<const SkImage*>(native_instance); in Image_GetWidth()
35 jint Image_GetHeight(JNIEnv*, jobject, jlong native_instance) { in Image_GetHeight() argument
36 const auto* image = reinterpret_cast<const SkImage*>(native_instance); in Image_GetHeight()
40 jlong Image_MakeShader(JNIEnv*, jobject, jlong native_instance, jint jtmx, jint jtmy, in Image_MakeShader() argument
45 if (const auto* image = reinterpret_cast<const SkImage*>(native_instance)) { in Image_MakeShader()
/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/
DColorFilter.java26 protected ColorFilter(long native_instance) { in ColorFilter() argument
27 mNativeInstance = native_instance; in ColorFilter()
DPath.java13 Path(long native_instance) { in Path() argument
14 mNativeInstance = native_instance; in Path()
DShader.java27 Shader(long native_instance) { in Shader() argument
28 mNativeInstance = native_instance; in Shader()
DSurface.java96 private Surface(long native_instance) { in Surface() argument
97 mNativeInstance = native_instance; in Surface()
DImageFilter.java16 private ImageFilter(long native_instance) { in ImageFilter() argument
17 mNativeInstance = native_instance; in ImageFilter()
DCanvas.java153 Canvas(Surface surface, long native_instance) { in Canvas() argument
154 mNativeInstance = native_instance; in Canvas()