Home
last modified time | relevance | path

Searched refs:native_instance (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
DPathMeasure.java33 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 …]
DMatrix.java235 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 …]
DInterpolator.java26 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 …]
DPathEffect.java27 nativeDestructor(native_instance); in finalize()
28 native_instance = 0; // Other finalizers can still call us. in finalize()
32 long native_instance; field in PathEffect
DMaskFilter.java27 nativeDestructor(native_instance); in finalize()
28 native_instance = 0; // Other finalizers can still call us. in finalize()
32 long native_instance; field in MaskFilter
DComposePathEffect.java26 native_instance = nativeCreate(outerpe.native_instance, in ComposePathEffect()
27 innerpe.native_instance); in ComposePathEffect()
DSumPathEffect.java26 native_instance = nativeCreate(first.native_instance, in SumPathEffect()
27 second.native_instance); in SumPathEffect()
DTypeface.java194 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 …]
DTableMaskFilter.java30 native_instance = nativeNewTable(table); in TableMaskFilter()
34 native_instance = ni; in TableMaskFilter()
DCamera.java158 native_instance = 0; in finalize()
169 private long native_instance; field in Camera
DCornerPathEffect.java28 native_instance = nativeCreate(radius); in CornerPathEffect()
DDiscretePathEffect.java26 native_instance = nativeCreate(segmentLength, deviation); in DiscretePathEffect()
DDashPathEffect.java38 native_instance = nativeCreate(intervals, phase); in DashPathEffect()
DEmbossMaskFilter.java36 native_instance = nativeConstructor(direction, ambient, specular, blurRadius); in EmbossMaskFilter()
DBlurMaskFilter.java62 native_instance = nativeConstructor(radius, style.native_int); in BlurMaskFilter()
DPathDashPathEffect.java44 native_instance = nativeCreate(shape.readOnlyNI(), advance, phase, in PathDashPathEffect()
DPaint.java1407 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/
DPathMeasure_Delegate.java74 /*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 …]
DTypeface_Delegate.java107 /*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 …]
DMatrix_Delegate.java58 public static Matrix_Delegate getDelegate(long native_instance) { in getDelegate() argument
59 return sManager.getDelegate(native_instance); in getDelegate()
DPaint_Delegate.java136 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/
DClassWithNative.java43 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
DClassWithNative_Delegate.java27 public static int native_instance(ClassWithNative instance, int a, double d, Object[] o) { in native_instance() method in ClassWithNative_Delegate
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt20792 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