/frameworks/base/core/jni/ |
D | android_os_Parcel.cpp | 93 static jint android_os_Parcel_dataSize(jlong nativePtr) in android_os_Parcel_dataSize() argument 95 Parcel* parcel = reinterpret_cast<Parcel*>(nativePtr); in android_os_Parcel_dataSize() 99 static jint android_os_Parcel_dataAvail(jlong nativePtr) in android_os_Parcel_dataAvail() argument 101 Parcel* parcel = reinterpret_cast<Parcel*>(nativePtr); in android_os_Parcel_dataAvail() 105 static jint android_os_Parcel_dataPosition(jlong nativePtr) in android_os_Parcel_dataPosition() argument 107 Parcel* parcel = reinterpret_cast<Parcel*>(nativePtr); in android_os_Parcel_dataPosition() 111 static jint android_os_Parcel_dataCapacity(jlong nativePtr) in android_os_Parcel_dataCapacity() argument 113 Parcel* parcel = reinterpret_cast<Parcel*>(nativePtr); in android_os_Parcel_dataCapacity() 117 static jlong android_os_Parcel_setDataSize(JNIEnv* env, jclass clazz, jlong nativePtr, jint size) in android_os_Parcel_setDataSize() argument 119 Parcel* parcel = reinterpret_cast<Parcel*>(nativePtr); in android_os_Parcel_setDataSize() [all …]
|
D | android_view_MotionEvent.cpp | 335 jlong nativePtr, in android_view_MotionEvent_nativeInitialize() argument 349 if (nativePtr) { in android_view_MotionEvent_nativeInitialize() 350 event = reinterpret_cast<MotionEvent*>(nativePtr); in android_view_MotionEvent_nativeInitialize() 383 if (!nativePtr) { in android_view_MotionEvent_nativeInitialize() 390 jlong nativePtr) { in android_view_MotionEvent_nativeDispose() argument 391 MotionEvent* event = reinterpret_cast<MotionEvent*>(nativePtr); in android_view_MotionEvent_nativeDispose() 396 jlong nativePtr, jlong eventTimeNanos, jobjectArray pointerCoordsObjArray, in android_view_MotionEvent_nativeAddBatch() argument 398 MotionEvent* event = reinterpret_cast<MotionEvent*>(nativePtr); in android_view_MotionEvent_nativeAddBatch() 422 jlong nativePtr, jint pointerIndex, jint historyPos, jobject outPointerCoordsObj) { in android_view_MotionEvent_nativeGetPointerCoords() argument 423 MotionEvent* event = reinterpret_cast<MotionEvent*>(nativePtr); in android_view_MotionEvent_nativeGetPointerCoords() [all …]
|
D | android_graphics_drawable_AnimatedVectorDrawable.cpp | 107 static jlong createGroupPropertyHolder(JNIEnv*, jobject, jlong nativePtr, jint propertyId, in createGroupPropertyHolder() argument 109 VectorDrawable::Group* group = reinterpret_cast<VectorDrawable::Group*>(nativePtr); in createGroupPropertyHolder() 115 static jlong createPathDataPropertyHolder(JNIEnv*, jobject, jlong nativePtr, jlong startValuePtr, in createPathDataPropertyHolder() argument 117 VectorDrawable::Path* path = reinterpret_cast<VectorDrawable::Path*>(nativePtr); in createPathDataPropertyHolder() 125 static jlong createPathColorPropertyHolder(JNIEnv*, jobject, jlong nativePtr, jint propertyId, in createPathColorPropertyHolder() argument 127 VectorDrawable::FullPath* fullPath = reinterpret_cast<VectorDrawable::FullPath*>(nativePtr); in createPathColorPropertyHolder() 133 static jlong createPathPropertyHolder(JNIEnv*, jobject, jlong nativePtr, jint propertyId, in createPathPropertyHolder() argument 135 VectorDrawable::FullPath* fullPath = reinterpret_cast<VectorDrawable::FullPath*>(nativePtr); in createPathPropertyHolder() 141 static jlong createRootAlphaPropertyHolder(JNIEnv*, jobject, jlong nativePtr, jfloat startValue, in createRootAlphaPropertyHolder() argument 143 VectorDrawable::Tree* tree = reinterpret_cast<VectorDrawable::Tree*>(nativePtr); in createRootAlphaPropertyHolder()
|
/frameworks/base/core/jni/android/graphics/ |
D | AnimatedImageDrawable.cpp | 123 static jlong AnimatedImageDrawable_nDraw(JNIEnv* env, jobject /*clazz*/, jlong nativePtr, in AnimatedImageDrawable_nDraw() argument 125 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nDraw() 130 static void AnimatedImageDrawable_nSetAlpha(JNIEnv* env, jobject /*clazz*/, jlong nativePtr, in AnimatedImageDrawable_nSetAlpha() argument 132 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nSetAlpha() 136 static jlong AnimatedImageDrawable_nGetAlpha(JNIEnv* env, jobject /*clazz*/, jlong nativePtr) { in AnimatedImageDrawable_nGetAlpha() argument 137 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nGetAlpha() 141 static void AnimatedImageDrawable_nSetColorFilter(JNIEnv* env, jobject /*clazz*/, jlong nativePtr, in AnimatedImageDrawable_nSetColorFilter() argument 143 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nSetColorFilter() 148 static jboolean AnimatedImageDrawable_nIsRunning(JNIEnv* env, jobject /*clazz*/, jlong nativePtr) { in AnimatedImageDrawable_nIsRunning() argument 149 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nIsRunning() [all …]
|
D | ImageDecoder.cpp | 201 static jobject ImageDecoder_nDecodeBitmap(JNIEnv* env, jobject /*clazz*/, jlong nativePtr, in ImageDecoder_nDecodeBitmap() argument 208 auto* decoder = reinterpret_cast<ImageDecoder*>(nativePtr); in ImageDecoder_nDecodeBitmap() 487 static jobject ImageDecoder_nGetSampledSize(JNIEnv* env, jobject /*clazz*/, jlong nativePtr, in ImageDecoder_nGetSampledSize() argument 489 auto* decoder = reinterpret_cast<ImageDecoder*>(nativePtr); in ImageDecoder_nGetSampledSize() 494 static void ImageDecoder_nGetPadding(JNIEnv* env, jobject /*clazz*/, jlong nativePtr, in ImageDecoder_nGetPadding() argument 496 auto* decoder = reinterpret_cast<ImageDecoder*>(nativePtr); in ImageDecoder_nGetPadding() 500 static void ImageDecoder_nClose(JNIEnv* /*env*/, jobject /*clazz*/, jlong nativePtr) { in ImageDecoder_nClose() argument 501 delete reinterpret_cast<ImageDecoder*>(nativePtr); in ImageDecoder_nClose() 504 static jstring ImageDecoder_nGetMimeType(JNIEnv* env, jobject /*clazz*/, jlong nativePtr) { in ImageDecoder_nGetMimeType() argument 505 auto* decoder = reinterpret_cast<ImageDecoder*>(nativePtr); in ImageDecoder_nGetMimeType() [all …]
|
/frameworks/layoutlib/bridge/src/libcore/util/ |
D | NativeAllocationRegistry_Delegate.java | 65 long nativePtr) { in registerNativeAllocation() argument 69 sManager.markAsNativeAllocation(referent, nativePtr); in registerNativeAllocation() 73 if (nativePtr == 0) { in registerNativeAllocation() 85 applyFreeFunction(registry.freeFunction, nativePtr); in registerNativeAllocation() 89 thunk.setNativePtr(nativePtr); in registerNativeAllocation() 96 /*package*/ static void applyFreeFunction(long freeFunction, long nativePtr) { in applyFreeFunction() argument 103 delegate.mFinalizer.free(nativePtr); in applyFreeFunction() 110 void free(long nativePtr); in free() argument
|
/frameworks/layoutlib/bridge/src/android/graphics/drawable/ |
D | AnimatedVectorDrawable_Delegate.java | 90 /*package*/ static long nCreateGroupPropertyHolder(long nativePtr, int propertyId, in nCreateGroupPropertyHolder() argument 92 VGroup_Delegate group = VNativeObject.getDelegate(nativePtr); in nCreateGroupPropertyHolder() 100 /*package*/ static long nCreatePathDataPropertyHolder(long nativePtr, long startValuePtr, in nCreatePathDataPropertyHolder() argument 108 /*package*/ static long nCreatePathColorPropertyHolder(long nativePtr, int propertyId, in nCreatePathColorPropertyHolder() argument 110 VFullPath_Delegate path = VNativeObject.getDelegate(nativePtr); in nCreatePathColorPropertyHolder() 118 /*package*/ static long nCreatePathPropertyHolder(long nativePtr, int propertyId, in nCreatePathPropertyHolder() argument 120 VFullPath_Delegate path = VNativeObject.getDelegate(nativePtr); in nCreatePathPropertyHolder() 128 /*package*/ static long nCreateRootAlphaPropertyHolder(long nativePtr, float startValue, in nCreateRootAlphaPropertyHolder() argument 130 VPathRenderer_Delegate renderer = VNativeObject.getDelegate(nativePtr); in nCreateRootAlphaPropertyHolder() 138 /*package*/ static void nSetPropertyHolderData(long nativePtr, float[] data, int length) { in nSetPropertyHolderData() argument [all …]
|
/frameworks/base/core/java/android/view/ |
D | MotionEvent.java | 1522 private static native long nativeInitialize(long nativePtr, in nativeInitialize() argument 1528 private static native void nativeDispose(long nativePtr); in nativeDispose() argument 1529 private static native void nativeAddBatch(long nativePtr, long eventTimeNanos, in nativeAddBatch() argument 1531 private static native void nativeGetPointerCoords(long nativePtr, in nativeGetPointerCoords() argument 1533 private static native void nativeGetPointerProperties(long nativePtr, in nativeGetPointerProperties() argument 1536 private static native long nativeReadFromParcel(long nativePtr, Parcel parcel); in nativeReadFromParcel() argument 1537 private static native void nativeWriteToParcel(long nativePtr, Parcel parcel); in nativeWriteToParcel() argument 1545 private static native int nativeGetPointerId(long nativePtr, int pointerIndex); in nativeGetPointerId() argument 1547 private static native int nativeGetToolType(long nativePtr, int pointerIndex); in nativeGetToolType() argument 1549 private static native long nativeGetEventTimeNanos(long nativePtr, int historyPos); in nativeGetEventTimeNanos() argument [all …]
|
D | RenderNodeAnimator.java | 533 private static native void nSetStartValue(long nativePtr, float startValue); in nSetStartValue() argument 534 private static native void nSetDuration(long nativePtr, long duration); in nSetDuration() argument 535 private static native long nGetDuration(long nativePtr); in nGetDuration() argument 536 private static native void nSetStartDelay(long nativePtr, long startDelay); in nSetStartDelay() argument
|
/frameworks/layoutlib/bridge/src/android/graphics/text/ |
D | MeasuredText_Delegate.java | 46 /*package*/ static float nGetWidth(long nativePtr, int start, int end) { in nGetWidth() argument 63 /*package*/ static int nGetMemoryUsage(long nativePtr) { in nGetMemoryUsage() argument 69 /*package*/ static void nGetBounds(long nativePtr, char[] buf, int start, int end, Rect rect) { in nGetBounds() argument 74 /*package*/ static float nGetCharWidthAt(long nativePtr, int offset) { in nGetCharWidthAt() argument
|
D | LineBreaker_Delegate.java | 85 /* non zero */ long nativePtr, in nComputeLineBreaks() argument 97 Builder builder = sBuilderManager.getDelegate(nativePtr); in nComputeLineBreaks()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | AnimatedImageDrawable.java | 81 State(long nativePtr, InputStream is, AssetFileDescriptor afd) { in State() argument 82 mNativePtr = nativePtr; in State() 581 private static native long nDraw(long nativePtr, long canvasNativePtr); in nDraw() argument 583 private static native void nSetAlpha(long nativePtr, int alpha); in nSetAlpha() argument 585 private static native int nGetAlpha(long nativePtr); in nGetAlpha() argument 587 private static native void nSetColorFilter(long nativePtr, long nativeFilter); in nSetColorFilter() argument 589 private static native boolean nIsRunning(long nativePtr); in nIsRunning() argument 592 private static native boolean nStart(long nativePtr); in nStart() argument 594 private static native boolean nStop(long nativePtr); in nStop() argument 596 private static native int nGetRepeatCount(long nativePtr); in nGetRepeatCount() argument [all …]
|
D | AnimatedVectorDrawable.java | 1355 long nativePtr = target.getNativePtr(); in createRTAnimatorForGroup() local 1375 long propertyPtr = nCreateGroupPropertyHolder(nativePtr, propertyId, in createRTAnimatorForGroup() 1388 long nativePtr = target.getNativePtr(); in createRTAnimatorForPath() local 1393 long propertyPtr = nCreatePathDataPropertyHolder(nativePtr, startPathDataPtr, in createRTAnimatorForPath() 1403 long nativePtr = target.getNativePtr(); in createRTAnimatorForFullPath() local 1413 propertyPtr = nCreatePathPropertyHolder(nativePtr, propertyId, in createRTAnimatorForFullPath() 1423 propertyPtr = nCreatePathColorPropertyHolder(nativePtr, propertyId, in createRTAnimatorForFullPath() 1446 long nativePtr = target.getNativeRenderer(); in createRTAnimatorForRootGroup() local 1472 long propertyPtr = nCreateRootAlphaPropertyHolder(nativePtr, startValue, endValue); in createRTAnimatorForRootGroup() 1815 private static native void nSetPropertyHolderData(long nativePtr, float[] data, int length); in nSetPropertyHolderData() argument [all …]
|
/frameworks/base/core/java/android/os/ |
D | Parcel.java | 276 private static native int nativeDataSize(long nativePtr); in nativeDataSize() argument 278 private static native int nativeDataAvail(long nativePtr); in nativeDataAvail() argument 280 private static native int nativeDataPosition(long nativePtr); in nativeDataPosition() argument 282 private static native int nativeDataCapacity(long nativePtr); in nativeDataCapacity() argument 284 private static native long nativeSetDataSize(long nativePtr, int size); in nativeSetDataSize() argument 286 private static native void nativeSetDataPosition(long nativePtr, int pos); in nativeSetDataPosition() argument 288 private static native void nativeSetDataCapacity(long nativePtr, int size); in nativeSetDataCapacity() argument 291 private static native boolean nativePushAllowFds(long nativePtr, boolean allowFds); in nativePushAllowFds() argument 293 private static native void nativeRestoreAllowFds(long nativePtr, boolean lastValue); in nativeRestoreAllowFds() argument 295 private static native void nativeWriteByteArray(long nativePtr, byte[] b, int offset, int len); in nativeWriteByteArray() argument [all …]
|
/frameworks/base/core/jni/android/graphics/text/ |
D | LineBreaker.cpp | 66 static void nFinish(jlong nativePtr) { in nFinish() argument 67 delete toNative(nativePtr); in nFinish() 75 static jlong nComputeLineBreaks(JNIEnv* env, jclass, jlong nativePtr, in nComputeLineBreaks() argument 86 minikin::android::StaticLayoutNative* builder = toNative(nativePtr); in nComputeLineBreaks()
|
/frameworks/base/graphics/java/android/graphics/text/ |
D | MeasuredText.java | 140 private static native float nGetWidth(/* Non Zero */ long nativePtr, in nGetWidth() argument 148 private static native int nGetMemoryUsage(/* Non Zero */ long nativePtr); in nGetMemoryUsage() argument 150 private static native void nGetBounds(long nativePtr, char[] buf, int start, int end, in nGetBounds() argument 154 private static native float nGetCharWidthAt(long nativePtr, int offset); in nGetCharWidthAt() argument
|
/frameworks/base/core/java/android/util/ |
D | PathParser.java | 135 private static native long nCreatePathData(long nativePtr); in nCreatePathData() argument 140 private static native void nFinalize(long nativePtr); in nFinalize() argument
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | Bitmap_Delegate.java | 647 /*package*/ static ColorSpace nativeComputeColorSpace(long nativePtr) { in nativeComputeColorSpace() argument 654 /*package*/ static void nativeSetColorSpace(long nativePtr, long nativeColorSpace) { in nativeSetColorSpace() argument 660 /*package*/ static boolean nativeIsSRGBLinear(long nativePtr) { in nativeIsSRGBLinear() argument 667 /*package*/ static void nativeSetImmutable(long nativePtr) { in nativeSetImmutable() argument 668 Bitmap_Delegate bmpDelegate = sManager.getDelegate(nativePtr); in nativeSetImmutable() 676 /*package*/ static boolean nativeIsImmutable(long nativePtr) { in nativeIsImmutable() argument 677 Bitmap_Delegate bmpDelegate = sManager.getDelegate(nativePtr); in nativeIsImmutable()
|
D | Canvas_Delegate.java | 459 sFinalizer = NativeAllocationRegistry_Delegate.createFinalizer(nativePtr -> { in nGetNativeFinalizer() 460 Canvas_Delegate delegate = Canvas_Delegate.getDelegate(nativePtr); in nGetNativeFinalizer() 464 sManager.removeJavaReferenceFor(nativePtr); in nGetNativeFinalizer()
|
/frameworks/layoutlib/bridge/src/com/android/internal/view/animation/ |
D | NativeInterpolatorFactoryHelper_Delegate.java | 49 public static Interpolator getDelegate(long nativePtr) { in getDelegate() argument 50 return sManager.getDelegate(nativePtr); in getDelegate()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiCecController.java | 154 long nativePtr = nativeWrapper in createWithNativeWrapper() local 156 if (nativePtr == 0L) { in createWithNativeWrapper() 161 controller.init(nativePtr); in createWithNativeWrapper() 165 private void init(long nativePtr) { in init() argument 168 mNativePtr = nativePtr; in init()
|
/frameworks/base/graphics/java/android/graphics/ |
D | ImageDecoder.java | 813 private ImageDecoder(long nativePtr, int width, int height, in ImageDecoder() argument 815 mNativePtr = nativePtr; in ImageDecoder() 1984 private static native Bitmap nDecodeBitmap(long nativePtr, in nDecodeBitmap() argument 1993 private static native Size nGetSampledSize(long nativePtr, in nGetSampledSize() argument 1995 private static native void nGetPadding(long nativePtr, @NonNull Rect outRect); in nGetPadding() argument 1996 private static native void nClose(long nativePtr); in nClose() argument 1997 private static native String nGetMimeType(long nativePtr); in nGetMimeType() argument 1998 private static native ColorSpace nGetColorSpace(long nativePtr); in nGetColorSpace() argument
|
D | RenderNode.java | 235 private RenderNode(long nativePtr) { in RenderNode() argument 236 mNativeRenderNode = nativePtr; in RenderNode() 254 public static RenderNode adopt(long nativePtr) { in adopt() argument 255 return new RenderNode(nativePtr); in adopt()
|
D | Bitmap.java | 2279 private static native ColorSpace nativeComputeColorSpace(long nativePtr); in nativeComputeColorSpace() argument 2280 private static native void nativeSetColorSpace(long nativePtr, long nativeColorSpace); in nativeSetColorSpace() argument 2281 private static native boolean nativeIsSRGB(long nativePtr); in nativeIsSRGB() argument 2282 private static native boolean nativeIsSRGBLinear(long nativePtr); in nativeIsSRGBLinear() argument 2284 private static native void nativeSetImmutable(long nativePtr); in nativeSetImmutable() argument 2289 private static native boolean nativeIsImmutable(long nativePtr); in nativeIsImmutable() argument
|
/frameworks/layoutlib/bridge/src/android/util/ |
D | PathParser_Delegate.java | 54 public static PathParser_Delegate getDelegate(long nativePtr) { in getDelegate() argument 55 return sManager.getDelegate(nativePtr); in getDelegate() 94 /*package*/ static long nCreatePathData(long nativePtr) { in nCreatePathData() argument 95 PathParser_Delegate source = sManager.getDelegate(nativePtr); in nCreatePathData() 143 /*package*/ static void nFinalize(long nativePtr) { in nFinalize() argument 144 sManager.removeJavaReferenceFor(nativePtr); in nFinalize()
|