/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.readOnlyNI() : 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() 137 return native_getSegment(native_instance, startD, stopD, dst.mutateNI(), startWithMoveTo); in getSegment() 144 return native_isClosed(native_instance); in isClosed() 152 return native_nextContour(native_instance); in nextContour() 156 native_destroy(native_instance); in finalize() [all …]
|
D | Matrix.java | 236 public final long native_instance; field in Matrix 242 native_instance = nCreate(0); in Matrix() 243 NoImagePreloadHolder.sRegistry.registerNativeAllocation(this, native_instance); in Matrix() 252 native_instance = nCreate(src != null ? src.native_instance : 0); in Matrix() 253 NoImagePreloadHolder.sRegistry.registerNativeAllocation(this, native_instance); in Matrix() 260 return nIsIdentity(native_instance); in isIdentity() 270 return nIsAffine(native_instance); in isAffine() 278 return nRectStaysRect(native_instance); in rectStaysRect() 289 nSet(native_instance, src.native_instance); in set() 302 return nEquals(native_instance, ((Matrix) obj).native_instance); in equals() [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 | 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 | 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 | ComposePathEffect.java | 26 native_instance = nativeCreate(outerpe.native_instance, in ComposePathEffect() 27 innerpe.native_instance); in ComposePathEffect()
|
D | SumPathEffect.java | 26 native_instance = nativeCreate(first.native_instance, in SumPathEffect() 27 second.native_instance); in SumPathEffect()
|
D | Camera.java | 142 nativeGetMatrix(matrix.native_instance); in getMatrix() 160 native_instance = 0; in finalize() 172 long native_instance; field in Camera
|
D | Typeface.java | 150 public long native_instance; field in Typeface 190 nativeSetDefault(t.native_instance); in setDefault() 843 final long ni = family.native_instance; 915 SparseArray<Typeface> innerCache = sWeightTypefaceCache.get(base.native_instance); 918 sWeightTypefaceCache.put(base.native_instance, innerCache); 927 nativeCreateFromTypefaceWithExactStyle(base.native_instance, weight, italic)); 937 return new Typeface(nativeCreateFromTypefaceWithVariation(base.native_instance, axes)); 1095 native_instance = ni; 1096 sRegistry.registerNativeAllocation(this, native_instance); 1127 new Typeface(nativeCreateWeightAlias(base.native_instance, weight)); [all …]
|
D | TableMaskFilter.java | 30 native_instance = nativeNewTable(table); in TableMaskFilter() 34 native_instance = ni; in TableMaskFilter()
|
D | CornerPathEffect.java | 28 native_instance = nativeCreate(radius); in CornerPathEffect()
|
D | DiscretePathEffect.java | 26 native_instance = nativeCreate(segmentLength, deviation); in DiscretePathEffect()
|
D | DashPathEffect.java | 38 native_instance = nativeCreate(intervals, phase); in DashPathEffect()
|
D | EmbossMaskFilter.java | 36 native_instance = nativeConstructor(direction, ambient, specular, blurRadius); in EmbossMaskFilter()
|
D | BlurMaskFilter.java | 62 native_instance = nativeConstructor(radius, style.native_int); in BlurMaskFilter()
|
D | PathDashPathEffect.java | 44 native_instance = nativeCreate(shape.readOnlyNI(), advance, phase, in PathDashPathEffect()
|
D | RenderNode.java | 484 nGetTransformMatrix(mNativeRenderNode, outMatrix.native_instance); in getMatrix() 494 nGetInverseTransformMatrix(mNativeRenderNode, outMatrix.native_instance); in getInverseMatrix() 800 return nSetStaticMatrix(mNativeRenderNode, matrix.native_instance); in setStaticMatrix() 816 (matrix != null) ? matrix.native_instance : 0); in setAnimationMatrix() 833 if (nGetAnimationMatrix(mNativeRenderNode, output.native_instance)) { in getAnimationMatrix()
|
D | Shader.java | 176 ? 0 : mLocalMatrix.native_instance); in getNativeInstance()
|
D | Path.java | 716 nAddPath(mNativePath, src.mNativePath, matrix.native_instance); in addPath() 780 nTransform(mNativePath, matrix.native_instance, dstNative); in transform() 790 nTransform(mNativePath, matrix.native_instance); in transform()
|
/frameworks/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 | 107 /*package*/ static synchronized long nativeCreateFromTypeface(long native_instance, int style) { in nativeCreateFromTypeface() argument 108 Typeface_Delegate delegate = sManager.getDelegate(native_instance); in nativeCreateFromTypeface() 122 /*package*/ static long nativeCreateFromTypefaceWithExactStyle(long native_instance, int weight, in nativeCreateFromTypefaceWithExactStyle() argument 124 Typeface_Delegate delegate = sManager.getDelegate(native_instance); in nativeCreateFromTypefaceWithExactStyle() 140 /*package*/ static synchronized long nativeCreateFromTypefaceWithVariation(long native_instance, in nativeCreateFromTypefaceWithVariation() argument 142 long newInstance = nativeCreateFromTypeface(native_instance, 0); in nativeCreateFromTypefaceWithVariation() 152 /*package*/ static synchronized int[] nativeGetSupportedAxes(long native_instance) { in nativeGetSupportedAxes() argument 158 /*package*/ static long nativeCreateWeightAlias(long native_instance, int weight) { in nativeCreateWeightAlias() argument 159 Typeface_Delegate delegate = sManager.getDelegate(native_instance); in nativeCreateWeightAlias() 212 /*package*/ static int nativeGetStyle(long native_instance) { in nativeGetStyle() argument [all …]
|
/frameworks/layoutlib/create/tests/src/com/android/tools/layoutlib/create/dataclass/ |
D | ClassWithNative.java | 43 return native_instance(a, d, o); in callNativeInstance() 46 private native int native_instance(int a, double d, Object[] o); in native_instance() method in ClassWithNative
|
D | ClassWithNative_Delegate.java | 27 public static int native_instance(ClassWithNative instance, int a, double d, Object[] o) { in native_instance() method in ClassWithNative_Delegate
|
/frameworks/base/graphics/java/android/graphics/pdf/ |
D | PdfEditor.java | 142 nativeSetTransformAndClip(mNativeDocument, pageIndex, transform.native_instance, in setTransformAndClip() 147 nativeSetTransformAndClip(mNativeDocument, pageIndex, transform.native_instance, in setTransformAndClip()
|
/frameworks/base/core/java/android/view/ |
D | TextureLayer.java | 118 nSetTransform(mFinalizer.get(), matrix.native_instance); in setTransform()
|