/frameworks/base/graphics/java/android/graphics/ |
D | PathMeasure.java | 33 native_instance = native_create(0, false); in PathMeasure() 53 native_instance = native_create(path != null ? path.ni() : 0, in PathMeasure() 62 native_setPath(native_instance, in setPath() 72 return native_getLength(native_instance); in getLength() 91 return native_getPosTan(native_instance, distance, pos, tan); in getPosTan() 108 return native_getMatrix(native_instance, distance, matrix.native_instance, flags); in getMatrix() 138 return native_getSegment(native_instance, startD, stopD, dst.ni(), startWithMoveTo); in getSegment() 145 return native_isClosed(native_instance); in isClosed() 153 return native_nextContour(native_instance); in nextContour() 157 native_destroy(native_instance); in finalize() [all …]
|
D | Matrix.java | 222 public long native_instance; field in Matrix 228 native_instance = native_create(0); in Matrix() 236 native_instance = native_create(src != null ? src.native_instance : 0); in Matrix() 244 return native_isIdentity(native_instance); in isIdentity() 254 return native_isAffine(native_instance); in isAffine() 263 return native_rectStaysRect(native_instance); in rectStaysRect() 274 native_set(native_instance, src.native_instance); in set() 284 return native_equals(native_instance, ((Matrix)obj).native_instance); in equals() 298 native_reset(native_instance); in reset() 303 native_setTranslate(native_instance, dx, dy); in setTranslate() [all …]
|
D | Interpolator.java | 26 native_instance = nativeConstructor(valueCount, 2); in Interpolator() 32 native_instance = nativeConstructor(valueCount, frameCount); in Interpolator() 52 nativeReset(native_instance, valueCount, frameCount); in reset() 97 nativeSetKeyFrame(native_instance, index, msec, values, blend); in setKeyFrame() 107 nativeSetRepeatMirror(native_instance, repeatCount, mirror); in setRepeatMirror() 140 switch (nativeTimeToValues(native_instance, msec, values)) { in timeToValues() 149 nativeDestructor(native_instance); in finalize() 150 native_instance = 0; // Other finalizers can still call us. in finalize() 155 private long native_instance; field in Interpolator 158 private static native void nativeDestructor(long native_instance); in nativeDestructor() argument [all …]
|
D | Shader.java | 29 private long native_instance; field in Shader 37 native_instance = ni; in init() 85 native_instance = nativeSetLocalMatrix(native_instance, in setLocalMatrix() 86 localM == null ? 0 : localM.native_instance); in setLocalMatrix() 93 nativeDestructor(native_instance); in finalize() 94 native_instance = 0; // Other finalizers can still call us. in finalize() 124 return native_instance; in getNativeInstance()
|
D | Typeface.java | 81 public long native_instance; field in Typeface 93 nativeSetDefault(t.native_instance); in setDefault() 151 ni = family.native_instance; in create() 293 native_instance = ni; in Typeface() 370 newFace = new Typeface(nativeCreateWeightAlias(base.native_instance, weight)); in init() 413 nativeUnref(native_instance); in finalize() 414 native_instance = 0; // Other finalizers can still call us. in finalize() 427 return mStyle == typeface.mStyle && native_instance == typeface.native_instance; in equals() 437 result = 31 * result + (int) (native_instance ^ (native_instance >>> 32)); in hashCode() 442 private static native long nativeCreateFromTypeface(long native_instance, int style); in nativeCreateFromTypeface() argument [all …]
|
D | Xfermode.java | 35 finalizer(native_instance); in finalize() 36 native_instance = 0; in finalize() 42 private static native void finalizer(long native_instance); in finalizer() argument 44 long native_instance; field in Xfermode
|
D | Rasterizer.java | 28 finalizer(native_instance); in finalize() 29 native_instance = 0; in finalize() 32 private static native void finalizer(long native_instance); in finalizer() argument 34 long native_instance; field in Rasterizer
|
D | ColorFilter.java | 35 public long native_instance; field in ColorFilter 42 destroyFilter(native_instance); in finalize() 43 native_instance = 0; in finalize() 47 static native void destroyFilter(long native_instance); in destroyFilter() argument
|
D | MaskFilter.java | 27 nativeDestructor(native_instance); in finalize() 28 native_instance = 0; // Other finalizers can still call us. in finalize() 32 long native_instance; field in MaskFilter
|
D | PathEffect.java | 27 nativeDestructor(native_instance); in finalize() 28 native_instance = 0; // Other finalizers can still call us. in finalize() 32 long native_instance; field in PathEffect
|
D | SumPathEffect.java | 26 native_instance = nativeCreate(first.native_instance, in SumPathEffect() 27 second.native_instance); in SumPathEffect()
|
D | ComposePathEffect.java | 26 native_instance = nativeCreate(outerpe.native_instance, in ComposePathEffect() 27 innerpe.native_instance); in ComposePathEffect()
|
D | LayerRasterizer.java | 22 native_instance = nativeConstructor(); in LayerRasterizer() 31 nativeAddLayer(native_instance, paint.getNativeInstance(), dx, dy); in addLayer() 35 nativeAddLayer(native_instance, paint.getNativeInstance(), 0, 0); in addLayer()
|
D | Camera.java | 142 nativeGetMatrix(matrix.native_instance); in getMatrix() 166 native_instance = 0; in finalize() 177 long native_instance; field in Camera
|
D | TableMaskFilter.java | 28 native_instance = nativeNewTable(table); in TableMaskFilter() 32 native_instance = ni; in TableMaskFilter()
|
D | LightingColorFilter.java | 107 destroyFilter(native_instance); in update() 108 native_instance = native_CreateLightingFilter(mMul, mAdd); in update()
|
D | ColorMatrixColorFilter.java | 123 destroyFilter(native_instance); in update() 124 native_instance = nativeColorMatrixFilter(colorMatrix); in update()
|
D | PorterDuffColorFilter.java | 105 destroyFilter(native_instance); in update() 106 native_instance = native_CreatePorterDuffFilter(mColor, mMode.nativeInt); in update()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | PathMeasure_Delegate.java | 75 /*package*/ static void native_destroy(long native_instance) { in native_destroy() argument 76 sManager.removeJavaReferenceFor(native_instance); in native_destroy() 80 /*package*/ static boolean native_getPosTan(long native_instance, float distance, float pos[], in native_getPosTan() argument 88 /*package*/ static boolean native_getMatrix(long native_instance, float distance, long in native_getMatrix() argument 96 /*package*/ static boolean native_nextContour(long native_instance) { in native_nextContour() argument 103 /*package*/ static void native_setPath(long native_instance, long native_path, boolean in native_setPath() argument 105 PathMeasure_Delegate pathMeasure = sManager.getDelegate(native_instance); in native_setPath() 124 /*package*/ static float native_getLength(long native_instance) { in native_getLength() argument 125 PathMeasure_Delegate pathMeasure = sManager.getDelegate(native_instance); in native_getLength() 136 /*package*/ static boolean native_isClosed(long native_instance) { in native_isClosed() argument [all …]
|
D | Typeface_Delegate.java | 148 /*package*/ static synchronized long nativeCreateFromTypeface(long native_instance, int style) { 149 Typeface_Delegate delegate = sManager.getDelegate(native_instance); 162 /*package*/ static long nativeCreateWeightAlias(long native_instance, int weight) { 163 Typeface_Delegate delegate = sManager.getDelegate(native_instance); 186 /*package*/ static void nativeUnref(long native_instance) { 187 sManager.removeJavaReferenceFor(native_instance); 191 /*package*/ static int nativeGetStyle(long native_instance) { 192 Typeface_Delegate delegate = sManager.getDelegate(native_instance); 201 /*package*/ static void nativeSetDefault(long native_instance) { 202 sDefaultTypeface = native_instance;
|
D | Xfermode_Delegate.java | 51 public static Xfermode_Delegate getDelegate(long native_instance) { in getDelegate() argument 52 return sManager.getDelegate(native_instance); in getDelegate() 63 /*package*/ static void finalizer(long native_instance) { in finalizer() argument 64 sManager.removeJavaReferenceFor(native_instance); in finalizer()
|
D | Rasterizer_Delegate.java | 59 /*package*/ static void finalizer(long native_instance) { in finalizer() argument 60 sManager.removeJavaReferenceFor(native_instance); in finalizer()
|
D | ColorFilter_Delegate.java | 69 /*package*/ static void destroyFilter(long native_instance) { in destroyFilter() argument 70 sManager.removeJavaReferenceFor(native_instance); in destroyFilter()
|
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/ |
D | ClassWithNative.java | 40 return native_instance(a, d, o); in callNativeInstance() 43 private native int native_instance(int a, double d, Object[] o); in native_instance() method in ClassWithNative
|
/frameworks/base/core/java/android/view/ |
D | RenderNode.java | 247 nGetTransformMatrix(mNativeRenderNode, outMatrix.native_instance); in getMatrix() 251 nGetInverseTransformMatrix(mNativeRenderNode, outMatrix.native_instance); in getInverseMatrix() 361 return nSetStaticMatrix(mNativeRenderNode, matrix.native_instance); in setStaticMatrix() 374 (matrix != null) ? matrix.native_instance : 0); in setAnimationMatrix()
|