/frameworks/base/graphics/java/android/graphics/ |
D | ComposeShader.java | 89 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()
|
D | BaseRecordingCanvas.java | 51 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 …]
|
D | BaseCanvas.java | 98 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 …]
|
D | Shader.java | 60 mColorSpace.getNativeInstance(); in Shader() 170 public final long getNativeInstance() { in getNativeInstance() method in Shader
|
D | ColorFilter.java | 60 public long getNativeInstance() { in getNativeInstance() method in ColorFilter
|
D | CanvasProperty.java | 37 return new CanvasProperty<Paint>(nCreatePaint(initialValue.getNativeInstance())); in createPaint()
|
D | BitmapShader.java | 65 return nativeCreate(nativeMatrix, mBitmap.getNativeInstance(), mTileX, mTileY); in createNativeInstance()
|
D | Bitmap.java | 179 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()
|
D | SweepGradient.java | 136 colorSpace().getNativeInstance()); in createNativeInstance()
|
D | Movie.java | 53 paint != null ? paint.getNativeInstance() : 0); in draw()
|
D | RadialGradient.java | 154 colorSpace().getNativeInstance()); in createNativeInstance()
|
D | LinearGradient.java | 158 colorSpace().getNativeInstance()); in createNativeInstance()
|
D | HardwareRenderer.java | 686 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()
|
D | NinePatch.java | 264 long r = nativeGetTransparentRegion(mBitmap.getNativeInstance(), in getTransparentRegion()
|
D | BitmapFactory.java | 475 return opts.inBitmap.getNativeInstance(); in nativeInBitmap() 489 return opts.inPreferredColorSpace.getNativeInstance(); in nativeColorSpace()
|
D | Paint.java | 578 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()
|
D | Canvas.java | 120 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()
|
D | RenderNode.java | 516 return nSetLayerPaint(mNativeRenderNode, paint != null ? paint.getNativeInstance() : 0); in setLayerPaint() 544 paint != null ? paint.getNativeInstance() : 0); in setUseCompositingLayer()
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLUtils.java | 47 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/ |
D | MeasuredText.java | 238 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/ |
D | TextureLayer.java | 55 nSetLayerPaint(mFinalizer.get(), paint != null ? paint.getNativeInstance() : 0); in setLayerPaint()
|
/frameworks/layoutlib/bridge/src/android/graphics/drawable/ |
D | VectorDrawable_Delegate.java | 1188 .getNativeInstance()); in drawPath() 1205 .getNativeInstance()); in drawPath() 1232 .getNativeInstance()); in drawPath() 1245 .getNativeInstance()); in drawPath()
|
/frameworks/base/graphics/java/android/graphics/pdf/ |
D | PdfRenderer.java | 438 nativeRenderPage(mNativeDocument, mNativePage, destination.getNativeInstance(), in render()
|
/frameworks/base/rs/java/android/renderscript/ |
D | RenderScript.java | 454 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/ |
D | VectorDrawable.java | 423 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()
|