Home
last modified time | relevance | path

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

/external/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/
DMatrix.java14 private long mNativeInstance; field in Matrix
20 mNativeInstance = nCreate(1, 0, 0, 0, in Matrix()
33 mNativeInstance = nCreate(m0, m4, m8, m12, in Matrix()
40 mNativeInstance = nativeInstance; in Matrix()
70 long nativeA = a.mNativeInstance; in makeConcat()
71 long nativeB = b.mNativeInstance; in makeConcat()
82 long nativeA = this.mNativeInstance; in preConcat()
83 long nativeB = b.mNativeInstance; in preConcat()
94 nTranslate(this.mNativeInstance, x, y, z); in translate()
104 nScale(this.mNativeInstance, x, y, z); in scale()
[all …]
DPaint.java14 private long mNativeInstance; field in Paint
17 mNativeInstance = nCreate(); in Paint()
21 nSetColor(mNativeInstance, c.r(), c.g(), c.b(), c.a()); in setColor()
25 nSetShader(mNativeInstance, shader != null ? shader.getNativeInstance() : 0); in setShader()
29 nSetStroke(mNativeInstance, stroke); in setStroke()
33 nSetStrokeWidth(mNativeInstance, w); in setStrokeWidth()
39 nRelease(mNativeInstance); in release()
40 mNativeInstance = 0; in release()
49 long getNativeInstance() { return mNativeInstance; } in getNativeInstance()
DCanvas.java16 private long mNativeInstance; field in Canvas
20 nSave(mNativeInstance); in save()
24 nRestore(mNativeInstance); in restore()
28 nConcat(mNativeInstance, m.getNativeInstance()); in concat()
36 nConcat16f(mNativeInstance, rowMajorMatrix); in concat()
40 nDrawRect(mNativeInstance, left, right, top, bottom, paint.getNativeInstance()); in drawRect()
44 nDrawColor(mNativeInstance, c.r(), c.g(), c.b(), c.a()); in drawColor()
48 nDrawColor(mNativeInstance, r, g, b, a); in drawColor()
52 nDrawColor(mNativeInstance, in drawColor()
62 mNativeInstance = native_instance; in Canvas()
DSurface.java17 private long mNativeInstance; field in Surface
51 return new Canvas(this, nGetNativeCanvas(mNativeInstance)); in getCanvas()
61 nFlushAndSubmit(mNativeInstance); in flushAndSubmit()
65 return nGetWidth(mNativeInstance); in getWidth()
69 return nGetHeight(mNativeInstance); in getHeight()
76 nRelease(mNativeInstance); in release()
77 mNativeInstance = 0; in release()
87 mNativeInstance = native_instance; in Surface()
DRuntimeShaderBuilder.java14 private long mNativeInstance; field in RuntimeShaderBuilder
17 mNativeInstance = nCreate(sksl); in RuntimeShaderBuilder()
21 nSetUniform(mNativeInstance, name, val); in setUniform()
26 return new Shader(nMakeShader(mNativeInstance)); in makeShader()
33 nRelease(mNativeInstance); in release()
34 mNativeInstance = 0; in release()
DShader.java11 private long mNativeInstance; field in Shader
14 mNativeInstance = native_instance; in Shader()
21 nRelease(mNativeInstance); in release()
22 mNativeInstance = 0; in release()
31 long getNativeInstance() { return mNativeInstance; } in getNativeInstance()