Home
last modified time | relevance | path

Searched refs:mNativeInstance (Results 1 – 16 of 16) sorted by relevance

/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/
DPathBuilder.java4 private long mNativeInstance; field in PathBuilder
7 mNativeInstance = nCreate(); in PathBuilder()
14 nRelease(mNativeInstance); in release()
15 mNativeInstance = 0; in release()
19 nMoveTo(mNativeInstance, x, y); in moveTo()
23 nLineTo(mNativeInstance, x, y); in lineTo()
27 nQuadTo(mNativeInstance, x1, y1, x2, y2); in quadTo()
30 nConicTo(mNativeInstance, x1, y1, x2, y2, w); in conicTo()
33 nCubicTo(mNativeInstance, x1, y1, x2, y2, x3, y3); in cubicTo()
37 nClose(mNativeInstance); in close()
[all …]
DCanvas.java14 private long mNativeInstance; field in Canvas
18 return nGetWidth(mNativeInstance); in getWidth()
22 return nGetHeight(mNativeInstance); in getHeight()
26 return nSave(mNativeInstance); in save()
30 nRestore(mNativeInstance); in restore()
34 nRestoreToCount(mNativeInstance, count); in restoreToCount()
42 return nSaveLayer(mNativeInstance, nativePaint); in saveLayer()
46 long native_matrix = nGetLocalToDevice(mNativeInstance); in getLocalToDevice()
51 nConcat(mNativeInstance, m.getNativeInstance()); in concat()
59 nConcat16f(mNativeInstance, rowMajorMatrix); in concat()
[all …]
DMatrix.java16 private long mNativeInstance; field in Matrix
22 mNativeInstance = nCreate(1, 0, 0, 0, in Matrix()
35 mNativeInstance = nCreate(m0, m4, m8, m12, in Matrix()
42 mNativeInstance = nativeInstance; in Matrix()
77 long nativeA = a.mNativeInstance; in makeConcat()
78 long nativeB = b.mNativeInstance; in makeConcat()
93 float[] vals = nGetRowMajor(this.mNativeInstance); in getRowMajor()
97 return nGetRowMajor(this.mNativeInstance); in getRowMajor()
106 long nativeA = this.mNativeInstance; in preConcat()
107 long nativeB = b.mNativeInstance; in preConcat()
[all …]
DPaint.java13 private long mNativeInstance; field in Paint
16 mNativeInstance = nCreate(); in Paint()
20 nSetColor(mNativeInstance, c.r(), c.g(), c.b(), c.a()); in setColor()
25 nSetColor(mNativeInstance, r, g, b, a); in setColor()
30 nSetColorFilter(mNativeInstance, filter != null ? filter.getNativeInstance() : 0); in setColorFilter()
35 nSetShader(mNativeInstance, shader != null ? shader.getNativeInstance() : 0); in setShader()
40 nSetImageFilter(mNativeInstance, filter != null ? filter.getNativeInstance() : 0); in setImageFilter()
45 nSetStroke(mNativeInstance, stroke); in setStroke()
50 nSetStrokeWidth(mNativeInstance, w); in setStrokeWidth()
65 nSetStrokeCap(mNativeInstance, cap.nativeInt); in setStrokeCap()
[all …]
DSkottieAnimation.java13 private long mNativeInstance; field in SkottieAnimation
19 mNativeInstance = nCreate(animation_json); in SkottieAnimation()
26 return nGetDuration(mNativeInstance); in getDuration()
34 return nGetFrameCount(mNativeInstance); in getFrameCount()
41 return nGetWidth(mNativeInstance); in getWidth()
48 return nGetHeight(mNativeInstance); in getHeight()
56 nSeekTime(mNativeInstance, t); in seekTime()
70 nSeekFrame(mNativeInstance, f); in seekFrame()
77 nRender(mNativeInstance, canvas.getNativeInstance()); in render()
84 nRelease(mNativeInstance); in release()
[all …]
DSurface.java18 private long mNativeInstance; field in Surface
52 return new Canvas(this, nGetNativeCanvas(mNativeInstance)); in getCanvas()
61 return new Image(nMakeImageSnapshot(mNativeInstance)); in makeImageSnapshot()
71 nFlushAndSubmit(mNativeInstance); in flushAndSubmit()
75 return nGetWidth(mNativeInstance); in getWidth()
79 return nGetHeight(mNativeInstance); in getHeight()
86 nRelease(mNativeInstance); in release()
87 mNativeInstance = 0; in release()
97 mNativeInstance = native_instance; in Surface()
DRuntimeShaderBuilder.java14 private long mNativeInstance; field in RuntimeShaderBuilder
17 mNativeInstance = nCreate(sksl); in RuntimeShaderBuilder()
21 nSetUniformFloat(mNativeInstance, name, val); in setUniform()
25 nSetUniformFloat3(mNativeInstance, name, valX, valY, valZ); in setUniform()
29 nSetUniformMatrix(mNativeInstance, name, mat.getNativeInstance()); in setUniform()
34 return new Shader(nMakeShader(mNativeInstance)); in makeShader()
41 nRelease(mNativeInstance); in release()
42 mNativeInstance = 0; in release()
DImage.java18 private long mNativeInstance; field in Image
45 return nGetWidth(mNativeInstance); in getWidth()
49 return nGetHeight(mNativeInstance); in getHeight()
59 return new Shader(nMakeShader(mNativeInstance, tmx.nativeInt, tmy.nativeInt, in makeShader()
69 nRelease(mNativeInstance); in release()
70 mNativeInstance = 0; in release()
80 mNativeInstance = nativeInstance; in Image()
84 long getNativeInstance() { return mNativeInstance; } in getNativeInstance()
DShader.java11 private long mNativeInstance; field in Shader
17 nRelease(mNativeInstance); in release()
18 mNativeInstance = 0; in release()
28 mNativeInstance = native_instance; in Shader()
31 long getNativeInstance() { return mNativeInstance; } in getNativeInstance()
DColorFilter.java11 private long mNativeInstance; field in ColorFilter
17 nRelease(mNativeInstance); in release()
18 mNativeInstance = 0; in release()
27 mNativeInstance = native_instance; in ColorFilter()
30 long getNativeInstance() { return mNativeInstance; } in getNativeInstance()
DPath.java11 private long mNativeInstance; field in Path
14 mNativeInstance = native_instance; in Path()
21 nRelease(mNativeInstance); in release()
22 mNativeInstance = 0; in release()
31 long getNativeInstance() { return mNativeInstance; } in getNativeInstance()
DFont.java4 private long mNativeInstance; field in Font
7 mNativeInstance = nCreate(fontFamily, size); in Font()
14 nRelease(mNativeInstance); in release()
15 mNativeInstance = 0; in release()
24 long getNativeInstance() { return mNativeInstance; } in getNativeInstance()
DImageFilter.java14 private long mNativeInstance; field in ImageFilter
17 mNativeInstance = native_instance; in ImageFilter()
99 nRelease(mNativeInstance); in release()
100 mNativeInstance = 0; in release()
109 long getNativeInstance() { return mNativeInstance; } in getNativeInstance()
DText.java11 private long mNativeInstance; field in Text
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DPerThreadProcTests.cpp28 : mNativeInstance(dawn_native::InstanceBase::Create()), in PerThreadProcTests()
29 mNativeAdapter(mNativeInstance.Get()) { in PerThreadProcTests()
34 Ref<dawn_native::InstanceBase> mNativeInstance; member in PerThreadProcTests
DGetProcAddressTests.cpp54 mNativeInstance(dawn_native::InstanceBase::Create()), in GetProcAddressTests()
55 mNativeAdapter(mNativeInstance.Get()) { in GetProcAddressTests()
93 Ref<dawn_native::InstanceBase> mNativeInstance; member in __anonbf802faa0111::GetProcAddressTests