/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() 119 return native_getSegment(native_instance, startD, stopD, dst.ni(), startWithMoveTo); in getSegment() 126 return native_isClosed(native_instance); in isClosed() 134 return native_nextContour(native_instance); in nextContour() 138 native_destroy(native_instance); in finalize() [all …]
|
D | Matrix.java | 222 public int 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() 253 return native_rectStaysRect(native_instance); in rectStaysRect() 264 native_set(native_instance, src.native_instance); in set() 274 return native_equals(native_instance, ((Matrix)obj).native_instance); in equals() 288 native_reset(native_instance); in reset() 293 native_setTranslate(native_instance, dx, dy); in setTranslate() 302 native_setScale(native_instance, sx, sy, px, py); in setScale() [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() 154 private final int native_instance; field in Interpolator 157 private static native void nativeDestructor(int native_instance); in nativeDestructor() argument 158 private static native void nativeReset(int native_instance, int valueCount, int frameCount); in nativeReset() argument [all …]
|
D | ComposeShader.java | 56 native_instance = nativeCreate1(shaderA.native_instance, shaderB.native_instance, in ComposeShader() 57 (mode != null) ? mode.native_instance : 0); in ComposeShader() 60 native_shader = nativePostCreate2(native_instance, shaderA.native_shader, in ComposeShader() 63 native_shader = nativePostCreate1(native_instance, shaderA.native_shader, in ComposeShader() 64 shaderB.native_shader, mode != null ? mode.native_instance : 0); in ComposeShader() 80 native_instance = nativeCreate2(shaderA.native_instance, shaderB.native_instance, in ComposeShader() 82 native_shader = nativePostCreate2(native_instance, shaderA.native_shader, in ComposeShader()
|
D | Typeface.java | 51 int native_instance; field in Typeface 110 ni = family.native_instance; in create() 178 native_instance = ni; in Typeface() 199 nativeUnref(native_instance); in finalize() 212 return mStyle == typeface.mStyle && native_instance == typeface.native_instance; in equals() 217 int result = native_instance; in hashCode() 223 private static native int nativeCreateFromTypeface(int native_instance, int style); in nativeCreateFromTypeface() argument 224 private static native void nativeUnref(int native_instance); in nativeUnref() argument 225 private static native int nativeGetStyle(int native_instance); in nativeGetStyle() argument
|
D | ColorMatrixColorFilter.java | 29 native_instance = nativeColorMatrixFilter(colorMatrix); in ColorMatrixColorFilter() 30 nativeColorFilter = nColorMatrixFilter(native_instance, colorMatrix); in ColorMatrixColorFilter() 44 native_instance = nativeColorMatrixFilter(array); in ColorMatrixColorFilter() 45 nativeColorFilter = nColorMatrixFilter(native_instance, array); in ColorMatrixColorFilter()
|
D | Rasterizer.java | 27 finalizer(native_instance); in finalize() 30 private static native void finalizer(int native_instance); in finalizer() argument 32 int native_instance; field in Rasterizer
|
D | Xfermode.java | 35 finalizer(native_instance); in finalize() 41 private static native void finalizer(int native_instance); in finalizer() argument 43 int native_instance; field in Xfermode
|
D | Shader.java | 31 public int native_instance; field in Shader 81 nativeSetLocalMatrix(native_instance, native_shader, in setLocalMatrix() 82 localM == null ? 0 : localM.native_instance); in setLocalMatrix() 89 nativeDestructor(native_instance, native_shader); in finalize()
|
D | ColorFilter.java | 26 int native_instance; field in ColorFilter 37 finalizer(native_instance, nativeColorFilter); in finalize() 41 private static native void finalizer(int native_instance, int nativeColorFilter); in finalizer() argument
|
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 | 21 native_instance = nativeConstructor(); in LayerRasterizer() 30 nativeAddLayer(native_instance, paint.mNativePaint, dx, dy); in addLayer() 34 nativeAddLayer(native_instance, paint.mNativePaint, 0, 0); in addLayer()
|
D | SweepGradient.java | 65 native_instance = nativeCreate1(cx, cy, colors, positions); in SweepGradient() 66 native_shader = nativePostCreate1(native_instance, cx, cy, colors, positions); in SweepGradient() 83 native_instance = nativeCreate2(cx, cy, color0, color1); in SweepGradient() 84 native_shader = nativePostCreate2(native_instance, cx, cy, color0, color1); in SweepGradient()
|
D | RadialGradient.java | 68 native_instance = nativeCreate1(x, y, radius, colors, positions, tile.nativeInt); in RadialGradient() 69 native_shader = nativePostCreate1(native_instance, x, y, radius, colors, positions, in RadialGradient() 93 native_instance = nativeCreate2(x, y, radius, color0, color1, tile.nativeInt); in RadialGradient() 94 native_shader = nativePostCreate2(native_instance, x, y, radius, color0, color1, in RadialGradient()
|
D | LinearGradient.java | 68 native_instance = nativeCreate1(x0, y0, x1, y1, colors, positions, tile.nativeInt); in LinearGradient() 69 native_shader = nativePostCreate1(native_instance, x0, y0, x1, y1, colors, positions, in LinearGradient() 92 native_instance = nativeCreate2(x0, y0, x1, y1, color0, color1, tile.nativeInt); in LinearGradient() 93 native_shader = nativePostCreate2(native_instance, x0, y0, x1, y1, color0, color1, in LinearGradient()
|
D | PathEffect.java | 27 nativeDestructor(native_instance); in finalize() 31 int native_instance; field in PathEffect
|
D | MaskFilter.java | 27 nativeDestructor(native_instance); in finalize() 31 int native_instance; field in MaskFilter
|
D | LightingColorFilter.java | 32 native_instance = native_CreateLightingFilter(mul, add); in LightingColorFilter() 33 nativeColorFilter = nCreateLightingFilter(native_instance, mul, add); in LightingColorFilter()
|
D | PorterDuffColorFilter.java | 28 native_instance = native_CreatePorterDuffFilter(srcColor, mode.nativeInt); in PorterDuffColorFilter() 29 nativeColorFilter = nCreatePorterDuffFilter(native_instance, srcColor, mode.nativeInt); in PorterDuffColorFilter()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Xfermode_Delegate.java | 51 public static Xfermode_Delegate getDelegate(int native_instance) { in getDelegate() argument 52 return sManager.getDelegate(native_instance); in getDelegate() 63 /*package*/ static void finalizer(int native_instance) { in finalizer() argument 64 sManager.removeJavaReferenceFor(native_instance); in finalizer()
|
D | Typeface_Delegate.java | 83 return getFonts(typeface.native_instance); in getFonts() 124 /*package*/ static synchronized int nativeCreateFromTypeface(int native_instance, int style) { in nativeCreateFromTypeface() argument 125 Typeface_Delegate delegate = sManager.getDelegate(native_instance); in nativeCreateFromTypeface() 180 /*package*/ static void nativeUnref(int native_instance) { in nativeUnref() argument 181 sManager.removeJavaReferenceFor(native_instance); in nativeUnref() 185 /*package*/ static int nativeGetStyle(int native_instance) { in nativeGetStyle() argument 186 Typeface_Delegate delegate = sManager.getDelegate(native_instance); in nativeGetStyle()
|
D | Rasterizer_Delegate.java | 59 /*package*/ static void finalizer(int native_instance) { in finalizer() argument 60 sManager.removeJavaReferenceFor(native_instance); in finalizer()
|
D | ColorFilter_Delegate.java | 59 /*package*/ static void finalizer(int native_instance, int nativeColorFilter) { in finalizer() argument 60 sManager.removeJavaReferenceFor(native_instance); in finalizer()
|
/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
|