Home
last modified time | relevance | path

Searched refs:getNativeInstance (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/graphics/java/android/graphics/
DComposeShader.java89 mNativeInstanceShaderA = mShaderA.getNativeInstance(); in createNativeInstance()
90 mNativeInstanceShaderB = mShaderB.getNativeInstance(); in createNativeInstance()
92 mShaderA.getNativeInstance(), mShaderB.getNativeInstance(), mPorterDuffMode); in createNativeInstance()
98 if (mShaderA.getNativeInstance() != mNativeInstanceShaderA in verifyNativeInstance()
99 || mShaderB.getNativeInstance() != mNativeInstanceShaderB) { in verifyNativeInstance()
DBaseRecordingCanvas.java51 useCenter, paint.getNativeInstance()); in drawArc()
70 nDrawBitmap(mNativeCanvasWrapper, bitmap.getNativeInstance(), left, top, in drawBitmap()
71 paint != null ? paint.getNativeInstance() : 0, mDensity, mScreenDensity, in drawBitmap()
78 nDrawBitmapMatrix(mNativeCanvasWrapper, bitmap.getNativeInstance(), matrix.ni(), in drawBitmap()
79 paint != null ? paint.getNativeInstance() : 0); in drawBitmap()
89 final long nativePaint = paint == null ? 0 : paint.getNativeInstance(); in drawBitmap()
103 nDrawBitmap(mNativeCanvasWrapper, bitmap.getNativeInstance(), left, top, right, bottom, in drawBitmap()
115 final long nativePaint = paint == null ? 0 : paint.getNativeInstance(); in drawBitmap()
129 nDrawBitmap(mNativeCanvasWrapper, bitmap.getNativeInstance(), left, top, right, bottom, in drawBitmap()
161 paint != null ? paint.getNativeInstance() : 0); in drawBitmap()
[all …]
DBaseCanvas.java98 useCenter, paint.getNativeInstance()); in drawArc()
115 nDrawBitmap(mNativeCanvasWrapper, bitmap.getNativeInstance(), left, top, in drawBitmap()
116 paint != null ? paint.getNativeInstance() : 0, mDensity, mScreenDensity, in drawBitmap()
122 nDrawBitmapMatrix(mNativeCanvasWrapper, bitmap.getNativeInstance(), matrix.ni(), in drawBitmap()
123 paint != null ? paint.getNativeInstance() : 0); in drawBitmap()
133 final long nativePaint = paint == null ? 0 : paint.getNativeInstance(); in drawBitmap()
147 nDrawBitmap(mNativeCanvasWrapper, bitmap.getNativeInstance(), left, top, right, bottom, in drawBitmap()
159 final long nativePaint = paint == null ? 0 : paint.getNativeInstance(); in drawBitmap()
173 nDrawBitmap(mNativeCanvasWrapper, bitmap.getNativeInstance(), left, top, right, bottom, in drawBitmap()
204 paint != null ? paint.getNativeInstance() : 0); in drawBitmap()
[all …]
DShader.java60 mColorSpace.getNativeInstance(); in Shader()
170 public final long getNativeInstance() { in getNativeInstance() method in Shader
DColorFilter.java60 public long getNativeInstance() { in getNativeInstance() method in ColorFilter
DCanvasProperty.java37 return new CanvasProperty<Paint>(nCreatePaint(initialValue.getNativeInstance())); in createPaint()
DBitmapShader.java65 return nativeCreate(nativeMatrix, mBitmap.getNativeInstance(), mTileX, mTileY); in createNativeInstance()
DBitmap.java179 public long getNativeInstance() { in getNativeInstance() method in Bitmap
762 return nativeWrapHardwareBufferBitmap(hardwareBuffer, colorSpace.getNativeInstance()); in wrapHardwareBuffer()
1123 colorSpace == null ? 0 : colorSpace.getNativeInstance()); in createBitmap()
1203 config.nativeInt, false, sRGB.getNativeInstance()); in createBitmap()
1779 nativeSetColorSpace(mNativePtr, colorSpace.getNativeInstance()); in setColorSpace()
1809 nativeSetColorSpace(mNativePtr, mColorSpace.getNativeInstance()); in setColorSpace()
1843 nativeErase(mNativePtr, cs.getNativeInstance(), color); in eraseColor()
2147 long nativePaint = paint != null ? paint.getNativeInstance() : 0; in extractAlpha()
DSweepGradient.java136 colorSpace().getNativeInstance()); in createNativeInstance()
DMovie.java53 paint != null ? paint.getNativeInstance() : 0); in draw()
DRadialGradient.java154 colorSpace().getNativeInstance()); in createNativeInstance()
DLinearGradient.java158 colorSpace().getNativeInstance()); in createNativeInstance()
DHardwareRenderer.java686 bitmap.getNativeInstance()); in copyLayerInto()
913 return nCopySurfaceInto(surface, 0, 0, 0, 0, bitmap.getNativeInstance()); in copySurfaceInto()
916 srcRect.right, srcRect.bottom, bitmap.getNativeInstance()); in copySurfaceInto()
DNinePatch.java264 long r = nativeGetTransparentRegion(mBitmap.getNativeInstance(), in getTransparentRegion()
DBitmapFactory.java475 return opts.inBitmap.getNativeInstance(); in nativeInBitmap()
489 return opts.inPreferredColorSpace.getNativeInstance(); in nativeColorSpace()
DPaint.java578 mNativePaint = nInitWithPaint(paint.getNativeInstance()); in Paint()
680 public long getNativeInstance() { in getNativeInstance() method in Paint
681 long newNativeShader = mShader == null ? 0 : mShader.getNativeInstance(); in getNativeInstance()
686 long newNativeColorFilter = mColorFilter == null ? 0 : mColorFilter.getNativeInstance(); in getNativeInstance()
1068 nSetColor(mNativePaint, cs.getNativeInstance(), color); in setColor()
1491 nSetShadowLayer(mNativePaint, radius, dx, dy, cs.getNativeInstance(), shadowColor); in setShadowLayer()
DCanvas.java120 mNativeCanvasWrapper = nInitRaster(bitmap.getNativeInstance()); in Canvas()
196 nSetBitmap(mNativeCanvasWrapper, bitmap.getNativeInstance()); in setBitmap()
568 nRestoreUnclippedLayer(mNativeCanvasWrapper, saveCount, paint.getNativeInstance()); in restoreUnclippedLayer()
583 paint != null ? paint.getNativeInstance() : 0, in saveLayer()
DRenderNode.java516 return nSetLayerPaint(mNativeRenderNode, paint != null ? paint.getNativeInstance() : 0); in setLayerPaint()
544 paint != null ? paint.getNativeInstance() : 0); in setUseCompositingLayer()
/frameworks/base/opengl/java/android/opengl/
DGLUtils.java47 int result = native_getInternalFormat(bitmap.getNativeInstance()); in getInternalFormat()
69 int result = native_getType(bitmap.getNativeInstance()); in getType()
106 if (native_texImage2D(target, level, internalformat, bitmap.getNativeInstance(), -1, in texImage2D()
133 if (native_texImage2D(target, level, internalformat, bitmap.getNativeInstance(), type, in texImage2D()
156 if (native_texImage2D(target, level, -1, bitmap.getNativeInstance(), -1, border) != 0) { in texImage2D()
192 if (native_texSubImage2D(target, level, xoffset, yoffset, bitmap.getNativeInstance(), -1, in texSubImage2D()
217 if (native_texSubImage2D(target, level, xoffset, yoffset, bitmap.getNativeInstance(), in texSubImage2D()
/frameworks/base/graphics/java/android/graphics/text/
DMeasuredText.java238 nAddStyleRun(mNativePtr, paint.getNativeInstance(), mCurrentOffset, end, isRtl); in appendStyleRun()
263 nAddReplacementRun(mNativePtr, paint.getNativeInstance(), mCurrentOffset, end, width); in appendReplacementRun()
/frameworks/base/core/java/android/view/
DTextureLayer.java55 nSetLayerPaint(mFinalizer.get(), paint != null ? paint.getNativeInstance() : 0); in setLayerPaint()
/frameworks/layoutlib/bridge/src/android/graphics/drawable/
DVectorDrawable_Delegate.java1188 .getNativeInstance()); in drawPath()
1205 .getNativeInstance()); in drawPath()
1232 .getNativeInstance()); in drawPath()
1245 .getNativeInstance()); in drawPath()
/frameworks/base/graphics/java/android/graphics/pdf/
DPdfRenderer.java438 nativeRenderPage(mNativeDocument, mNativePage, destination.getNativeInstance(), in render()
/frameworks/base/rs/java/android/renderscript/
DRenderScript.java454 return rsnAllocationCreateFromBitmap(mContext, type, mip, bmp.getNativeInstance(), usage); in nAllocationCreateFromBitmap()
462 … return rsnAllocationCreateBitmapBackedAllocation(mContext, type, mip, bmp.getNativeInstance(), in nAllocationCreateBitmapBackedAllocation()
470 return rsnAllocationCubeCreateFromBitmap(mContext, type, mip, bmp.getNativeInstance(), in nAllocationCubeCreateFromBitmap()
476 return rsnAllocationCreateBitmapRef(mContext, type, bmp.getNativeInstance()); in nAllocationCreateBitmapRef()
487 rsnAllocationCopyToBitmap(mContext, alloc, bmp.getNativeInstance()); in nAllocationCopyToBitmap()
543 rsnAllocationCopyFromBitmap(mContext, alloc, bmp.getNativeInstance()); in nAllocationCopyFromBitmap()
/frameworks/base/graphics/java/android/graphics/drawable/
DVectorDrawable.java423 colorFilter.getNativeInstance(); in draw()
2076 fillGradient != null ? fillGradient.getNativeInstance() : 0); in updateStateFromTypedArray()
2078 strokeGradient != null ? strokeGradient.getNativeInstance() : 0); in updateStateFromTypedArray()
2139 ((GradientColor) mFillColors).getShader().getNativeInstance()); in applyTheme()
2149 ((GradientColor) mStrokeColors).getShader().getNativeInstance()); in applyTheme()

12