Home
last modified time | relevance | path

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

12

/frameworks/base/graphics/java/android/graphics/
DRenderEffect.java67 input.getNativeInstance() in createOffsetEffect()
140 bitmap.getNativeInstance(), in createBitmapEffect()
172 long bitmapHandle = bitmap.getNativeInstance(); in createBitmapEffect()
205 colorFilter.getNativeInstance(), in createColorFilterEffect()
206 renderEffect.getNativeInstance() in createColorFilterEffect()
220 colorFilter.getNativeInstance(), in createColorFilterEffect()
243 dst.getNativeInstance(), in createBlendModeEffect()
244 src.getNativeInstance(), in createBlendModeEffect()
275 outer.getNativeInstance(), in createChainEffect()
276 inner.getNativeInstance() in createChainEffect()
[all …]
DComposeShader.java90 mNativeInstanceShaderA = mShaderA.getNativeInstance(filterFromPaint); in createNativeInstance()
91 mNativeInstanceShaderB = mShaderB.getNativeInstance(filterFromPaint); in createNativeInstance()
93 mShaderA.getNativeInstance(), mShaderB.getNativeInstance(), mPorterDuffMode); in createNativeInstance()
99 return mShaderA.getNativeInstance(filterFromPaint) != mNativeInstanceShaderA in shouldDiscardNativeInstance()
100 || mShaderB.getNativeInstance(filterFromPaint) != mNativeInstanceShaderB; in shouldDiscardNativeInstance()
DBaseCanvas.java106 useCenter, paint.getNativeInstance()); in drawArc()
123 nDrawBitmap(mNativeCanvasWrapper, bitmap.getNativeInstance(), left, top, in drawBitmap()
124 paint != null ? paint.getNativeInstance() : 0, mDensity, mScreenDensity, in drawBitmap()
130 nDrawBitmapMatrix(mNativeCanvasWrapper, bitmap.getNativeInstance(), matrix.ni(), in drawBitmap()
131 paint != null ? paint.getNativeInstance() : 0); in drawBitmap()
141 final long nativePaint = paint == null ? 0 : paint.getNativeInstance(); in drawBitmap()
155 nDrawBitmap(mNativeCanvasWrapper, bitmap.getNativeInstance(), left, top, right, bottom, in drawBitmap()
167 final long nativePaint = paint == null ? 0 : paint.getNativeInstance(); in drawBitmap()
181 nDrawBitmap(mNativeCanvasWrapper, bitmap.getNativeInstance(), left, top, right, bottom, in drawBitmap()
212 paint != null ? paint.getNativeInstance() : 0); in drawBitmap()
[all …]
DBaseRecordingCanvas.java57 useCenter, paint.getNativeInstance()); in drawArc()
76 nDrawBitmap(mNativeCanvasWrapper, bitmap.getNativeInstance(), left, top, in drawBitmap()
77 paint != null ? paint.getNativeInstance() : 0, mDensity, mScreenDensity, in drawBitmap()
84 nDrawBitmapMatrix(mNativeCanvasWrapper, bitmap.getNativeInstance(), matrix.ni(), in drawBitmap()
85 paint != null ? paint.getNativeInstance() : 0); in drawBitmap()
95 final long nativePaint = paint == null ? 0 : paint.getNativeInstance(); in drawBitmap()
109 nDrawBitmap(mNativeCanvasWrapper, bitmap.getNativeInstance(), left, top, right, bottom, in drawBitmap()
121 final long nativePaint = paint == null ? 0 : paint.getNativeInstance(); in drawBitmap()
135 nDrawBitmap(mNativeCanvasWrapper, bitmap.getNativeInstance(), left, top, right, bottom, in drawBitmap()
167 paint != null ? paint.getNativeInstance() : 0); in drawBitmap()
[all …]
DShader.java59 mColorSpace.getNativeInstance(); in Shader()
185 public final synchronized long getNativeInstance(boolean filterFromPaint) { in getNativeInstance() method in Shader
205 public final long getNativeInstance() { in getNativeInstance() method in Shader
207 return getNativeInstance(false); in getNativeInstance()
DLightingColorFilter.java81 native_SetLightingFilterMul(getNativeInstance(), mul); in setColorMultiply()
107 native_SetLightingFilterAdd(getNativeInstance(), add); in setColorAdd()
DColorMatrixColorFilter.java89 nativeSetColorMatrix(getNativeInstance(), mMatrix.getArray()); in setColorMatrix()
122 nativeSetColorMatrix(getNativeInstance(), mMatrix.getArray()); in setColorMatrixArray()
DBitmapShader.java209 return getNativeInstance(); in getNativeInstanceWithDirectSampling()
225 return nativeCreate(nativeMatrix, mBitmap.getNativeInstance(), mTileX, in createNativeInstance()
DColorFilter.java50 public synchronized final long getNativeInstance() { in getNativeInstance() method in ColorFilter
DMeshSpecification.java337 fragmentShader, colorSpace.getNativeInstance()); in make()
382 fragmentShader, colorSpace.getNativeInstance(), alphaType); in make()
DCanvasProperty.java39 return new CanvasProperty<Paint>(nCreatePaint(initialValue.getNativeInstance())); in createPaint()
DHardwareRendererObserver.java83 /*package*/ long getNativeInstance() { in getNativeInstance() method in HardwareRendererObserver
DBitmap.java185 public long getNativeInstance() { in getNativeInstance() method in Bitmap
816 colorSpace.getNativeInstance()); in wrapHardwareBuffer()
1230 colorSpace == null ? 0 : colorSpace.getNativeInstance()); in createBitmap()
1312 config.nativeInt, false, sRGB.getNativeInstance()); in createBitmap()
1602 dumpData.add(bitmap.getNativeInstance(), bas.toByteArray()); in dumpAll()
2020 nativeSetColorSpace(mNativePtr, colorSpace.getNativeInstance()); in setColorSpace()
2050 nativeSetColorSpace(mNativePtr, mColorSpace.getNativeInstance()); in setColorSpace()
2112 nativeErase(mNativePtr, cs.getNativeInstance(), color); in eraseColor()
2427 long nativePaint = paint != null ? paint.getNativeInstance() : 0; in extractAlpha()
DMovie.java53 paint != null ? paint.getNativeInstance() : 0); in draw()
DTextureLayer.java52 nSetLayerPaint(mFinalizer.get(), paint != null ? paint.getNativeInstance() : 0); in setLayerPaint()
DSweepGradient.java138 colorSpace().getNativeInstance()); in createNativeInstance()
DCanvas.java121 mNativeCanvasWrapper = nInitRaster(bitmap.getNativeInstance()); in Canvas()
198 nSetBitmap(mNativeCanvasWrapper, bitmap.getNativeInstance()); in setBitmap()
554 nRestoreUnclippedLayer(mNativeCanvasWrapper, saveCount, paint.getNativeInstance()); in restoreUnclippedLayer()
569 paint != null ? paint.getNativeInstance() : 0); in saveLayer()
1149 nClipShader(mNativeCanvasWrapper, shader.getNativeInstance(), in clipShader()
1161 nClipShader(mNativeCanvasWrapper, shader.getNativeInstance(), in clipOutShader()
DNinePatch.java249 long r = nativeGetTransparentRegion(mBitmap.getNativeInstance(), in getTransparentRegion()
DRenderNode.java627 return nSetLayerPaint(mNativeRenderNode, paint != null ? paint.getNativeInstance() : 0); in setLayerPaint()
655 paint != null ? paint.getNativeInstance() : 0); in setUseCompositingLayer()
1008 renderEffect != null ? renderEffect.getNativeInstance() : 0); in setRenderEffect()
1025 renderEffect != null ? renderEffect.getNativeInstance() : 0); in setBackdropRenderEffect()
DHardwareRenderer.java657 nAddObserver(mNativeProxy, observer.getNativeInstance()); in addObserver()
666 nRemoveObserver(mNativeProxy, observer.getNativeInstance()); in removeObserver()
773 bitmap.getNativeInstance()); in copyLayerInto()
1124 return mDestinationBitmap.getNativeInstance(); in getDestinationBitmap()
DLinearGradient.java160 colorSpace().getNativeInstance()); in createNativeInstance()
DBitmapFactory.java491 return opts.inBitmap.getNativeInstance(); in nativeInBitmap()
505 return opts.inPreferredColorSpace.getNativeInstance(); in nativeColorSpace()
DRadialGradient.java216 mColorLongs, mPositions, mTileMode.nativeInt, colorSpace().getNativeInstance()); in createNativeInstance()
/frameworks/base/graphics/java/android/graphics/text/
DTextRunShaper.java72 paint.getNativeInstance()), in shapeTextRun()
104 paint.getNativeInstance()), in shapeTextRun()
112 0, contextCount, isRtl, paint.getNativeInstance()), in shapeTextRun()
DMeasuredText.java320 nAddStyleRun(mNativePtr, paint.getNativeInstance(), lbStyle, lbWordStyle, hyphenation, in appendStyleRun()
350 nAddReplacementRun(mNativePtr, paint.getNativeInstance(), mCurrentOffset, end, width); in appendReplacementRun()

12