/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.ni(), 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 | 235 private final long native_instance; field in Matrix 241 native_instance = nCreate(0); in Matrix() 242 NoImagePreloadHolder.sRegistry.registerNativeAllocation(this, native_instance); in Matrix() 251 native_instance = nCreate(src != null ? src.native_instance : 0); in Matrix() 252 NoImagePreloadHolder.sRegistry.registerNativeAllocation(this, native_instance); in Matrix() 259 return nIsIdentity(native_instance); in isIdentity() 269 return nIsAffine(native_instance); in isAffine() 277 return nRectStaysRect(native_instance); in rectStaysRect() 288 nSet(native_instance, src.native_instance); in set() 301 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 | Typeface.java | 194 public final long native_instance; field in Typeface 242 nativeSetDefault(t.native_instance); in setDefault() 871 ptrArray, fallbackTypeface.native_instance, weight, italic)); 920 final long ni = family.native_instance; 992 SparseArray<Typeface> innerCache = sWeightTypefaceCache.get(base.native_instance); 995 sWeightTypefaceCache.put(base.native_instance, innerCache); 1004 nativeCreateFromTypefaceWithExactStyle(base.native_instance, weight, italic)); 1014 return new Typeface(nativeCreateFromTypefaceWithVariation(base.native_instance, axes)); 1163 ptrArray, fallbackTypeface.native_instance, weight, italic)); 1173 native_instance = ni; [all …]
|
D | TableMaskFilter.java | 30 native_instance = nativeNewTable(table); in TableMaskFilter() 34 native_instance = ni; in TableMaskFilter()
|
D | Camera.java | 158 native_instance = 0; in finalize() 169 private long native_instance; field in Camera
|
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 | Paint.java | 1407 effectNative = effect.native_instance; in setPathEffect() 1436 maskfilterNative = maskfilter.native_instance; in setMaskFilter() 1465 final long typefaceNative = typeface == null ? 0 : typeface.native_instance; in setTypeface()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | PathMeasure_Delegate.java | 74 /*package*/ static void native_destroy(long native_instance) { in native_destroy() argument 75 sManager.removeJavaReferenceFor(native_instance); in native_destroy() 79 /*package*/ static boolean native_getPosTan(long native_instance, float distance, float pos[], in native_getPosTan() argument 87 /*package*/ static boolean native_getMatrix(long native_instance, float distance, long in native_getMatrix() argument 95 /*package*/ static boolean native_nextContour(long native_instance) { in native_nextContour() argument 102 /*package*/ static void native_setPath(long native_instance, long native_path, boolean in native_setPath() argument 104 PathMeasure_Delegate pathMeasure = sManager.getDelegate(native_instance); in native_setPath() 123 /*package*/ static float native_getLength(long native_instance) { in native_getLength() argument 124 PathMeasure_Delegate pathMeasure = sManager.getDelegate(native_instance); in native_getLength() 135 /*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 …]
|
D | Matrix_Delegate.java | 58 public static Matrix_Delegate getDelegate(long native_instance) { in getDelegate() argument 59 return sManager.getDelegate(native_instance); in getDelegate()
|
D | Paint_Delegate.java | 136 typeface = Typeface_Delegate.getDelegate(Typeface.sDefaultTypeface.native_instance); in getFonts() 1263 Typeface_Delegate.getDelegate(Typeface.sDefaults[0].native_instance); in reset()
|
/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/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 20792 Landroid/graphics/Interpolator;->native_instance:J 20824 Landroid/graphics/MaskFilter;->native_instance:J 21102 Landroid/graphics/PathEffect;->native_instance:J 21110 Landroid/graphics/PathMeasure;->native_instance:J
|