Home
last modified time | relevance | path

Searched refs:jlong (Results 1 – 25 of 217) sorted by relevance

123456789

/frameworks/base/core/jni/
Dandroid_view_RenderNode.cpp51 static void android_view_RenderNode_output(JNIEnv* env, jobject clazz, jlong renderNodePtr) { in android_view_RenderNode_output()
56 static jint android_view_RenderNode_getDebugSize(JNIEnv* env, jobject clazz, jlong renderNodePtr) { in android_view_RenderNode_getDebugSize()
61 static jlong android_view_RenderNode_create(JNIEnv* env, jobject, jstring name) { in android_view_RenderNode_create()
69 return reinterpret_cast<jlong>(renderNode); in android_view_RenderNode_create()
76 static jlong android_view_RenderNode_getNativeFinalizer(JNIEnv* env, in android_view_RenderNode_getNativeFinalizer()
78 return static_cast<jlong>(reinterpret_cast<uintptr_t>(&releaseRenderNode)); in android_view_RenderNode_getNativeFinalizer()
82 jobject clazz, jlong renderNodePtr, jlong displayListPtr) { in android_view_RenderNode_setDisplayList()
88 static jboolean android_view_RenderNode_isValid(jlong renderNodePtr) { in android_view_RenderNode_isValid()
96 static jboolean android_view_RenderNode_setLayerType(jlong renderNodePtr, jint jlayerType) { in android_view_RenderNode_setLayerType()
101 static jboolean android_view_RenderNode_setLayerPaint(jlong renderNodePtr, jlong paintPtr) { in android_view_RenderNode_setLayerPaint()
[all …]
Dandroid_graphics_drawable_VectorDrawable.cpp33 static jlong createTree(JNIEnv*, jobject, jlong groupPtr) { in createTree()
36 return reinterpret_cast<jlong>(tree); in createTree()
39 static jlong createTreeFromCopy(JNIEnv*, jobject, jlong treePtr, jlong groupPtr) { in createTreeFromCopy()
43 return reinterpret_cast<jlong>(tree); in createTreeFromCopy()
46 static jlong createEmptyFullPath(JNIEnv*, jobject) { in createEmptyFullPath()
48 return reinterpret_cast<jlong>(newPath); in createEmptyFullPath()
51 static jlong createFullPath(JNIEnv*, jobject, jlong srcFullPathPtr) { in createFullPath()
55 return reinterpret_cast<jlong>(newPath); in createFullPath()
58 static jlong createEmptyClipPath(JNIEnv*, jobject) { in createEmptyClipPath()
60 return reinterpret_cast<jlong>(newPath); in createEmptyClipPath()
[all …]
Dcom_android_internal_view_animation_NativeInterpolatorFactoryHelper.cpp30 static jlong createAccelerateDecelerateInterpolator(JNIEnv* env, jobject clazz) { in createAccelerateDecelerateInterpolator()
31 return reinterpret_cast<jlong>(new AccelerateDecelerateInterpolator()); in createAccelerateDecelerateInterpolator()
34 static jlong createAccelerateInterpolator(JNIEnv* env, jobject clazz, jfloat factor) { in createAccelerateInterpolator()
35 return reinterpret_cast<jlong>(new AccelerateInterpolator(factor)); in createAccelerateInterpolator()
38 static jlong createAnticipateInterpolator(JNIEnv* env, jobject clazz, jfloat tension) { in createAnticipateInterpolator()
39 return reinterpret_cast<jlong>(new AnticipateInterpolator(tension)); in createAnticipateInterpolator()
42 static jlong createAnticipateOvershootInterpolator(JNIEnv* env, jobject clazz, jfloat tension) { in createAnticipateOvershootInterpolator()
43 return reinterpret_cast<jlong>(new AnticipateOvershootInterpolator(tension)); in createAnticipateOvershootInterpolator()
46 static jlong createBounceInterpolator(JNIEnv* env, jobject clazz) { in createBounceInterpolator()
47 return reinterpret_cast<jlong>(new BounceInterpolator()); in createBounceInterpolator()
[all …]
Dandroid_view_DisplayListCanvas.cpp94 jlong canvasPtr, jlong functorPtr, jobject releasedCallback) { in android_view_DisplayListCanvas_callDrawGLFunction()
107 static jlong android_view_DisplayListCanvas_createDisplayListCanvas(jlong renderNodePtr, in android_view_DisplayListCanvas_createDisplayListCanvas()
110 return reinterpret_cast<jlong>(Canvas::create_recording_canvas(width, height, renderNode)); in android_view_DisplayListCanvas_createDisplayListCanvas()
113 static void android_view_DisplayListCanvas_resetDisplayListCanvas(jlong canvasPtr, in android_view_DisplayListCanvas_resetDisplayListCanvas()
114 jlong renderNodePtr, jint width, jint height) { in android_view_DisplayListCanvas_resetDisplayListCanvas()
124 static void android_view_DisplayListCanvas_insertReorderBarrier(jlong canvasPtr, in android_view_DisplayListCanvas_insertReorderBarrier()
130 static jlong android_view_DisplayListCanvas_finishRecording(jlong canvasPtr) { in android_view_DisplayListCanvas_finishRecording()
132 return reinterpret_cast<jlong>(canvas->finishRecording()); in android_view_DisplayListCanvas_finishRecording()
135 static void android_view_DisplayListCanvas_drawRenderNode(jlong canvasPtr, jlong renderNodePtr) { in android_view_DisplayListCanvas_drawRenderNode()
141 static void android_view_DisplayListCanvas_drawTextureLayer(jlong canvasPtr, jlong layerPtr) { in android_view_DisplayListCanvas_drawTextureLayer()
[all …]
Dandroid_graphics_drawable_AnimatedVectorDrawable.cpp86 static void addAnimator(JNIEnv*, jobject, jlong animatorSetPtr, jlong propertyHolderPtr, in addAnimator()
87 jlong interpolatorPtr, jlong startDelay, jlong duration, jint repeatCount, in addAnimator()
96 static jlong createAnimatorSet(JNIEnv*, jobject) { in createAnimatorSet()
98 return reinterpret_cast<jlong>(animatorSet); in createAnimatorSet()
101 static void setVectorDrawableTarget(JNIEnv*, jobject,jlong animatorPtr, jlong vectorDrawablePtr) { in setVectorDrawableTarget()
107 static jlong createGroupPropertyHolder(JNIEnv*, jobject, jlong nativePtr, jint propertyId, in createGroupPropertyHolder()
112 return reinterpret_cast<jlong>(newHolder); in createGroupPropertyHolder()
115 static jlong createPathDataPropertyHolder(JNIEnv*, jobject, jlong nativePtr, jlong startValuePtr, in createPathDataPropertyHolder()
116 jlong endValuePtr) { in createPathDataPropertyHolder()
122 return reinterpret_cast<jlong>(newHolder); in createPathDataPropertyHolder()
[all …]
Dandroid_graphics_Canvas.cpp44 static Canvas* get_canvas(jlong canvasHandle) { in get_canvas()
52 static jlong getNativeFinalizer(JNIEnv* env, jobject clazz) { in getNativeFinalizer()
53 return static_cast<jlong>(reinterpret_cast<uintptr_t>(&delete_canvas)); in getNativeFinalizer()
57 static jlong initRaster(JNIEnv* env, jobject, jlong bitmapHandle) { in initRaster()
62 return reinterpret_cast<jlong>(Canvas::create_canvas(bitmap)); in initRaster()
67 static void setBitmap(JNIEnv* env, jobject, jlong canvasHandle, jlong bitmapHandle) { in setBitmap()
75 static jboolean isOpaque(jlong canvasHandle) { in isOpaque()
79 static jint getWidth(jlong canvasHandle) { in getWidth()
83 static jint getHeight(jlong canvasHandle) { in getHeight()
87 static jint save(jlong canvasHandle, jint flagsHandle) { in save()
[all …]
Dandroid_view_RenderNodeAnimator.cpp108 static jlong createAnimator(JNIEnv* env, jobject clazz, in createAnimator()
113 return reinterpret_cast<jlong>( animator ); in createAnimator()
116 static jlong createCanvasPropertyFloatAnimator(JNIEnv* env, jobject clazz, in createCanvasPropertyFloatAnimator()
117 jlong canvasPropertyPtr, jfloat finalValue) { in createCanvasPropertyFloatAnimator()
121 return reinterpret_cast<jlong>( animator ); in createCanvasPropertyFloatAnimator()
124 static jlong createCanvasPropertyPaintAnimator(JNIEnv* env, jobject clazz, in createCanvasPropertyPaintAnimator()
125 jlong canvasPropertyPtr, jint paintFieldRaw, in createCanvasPropertyPaintAnimator()
132 return reinterpret_cast<jlong>( animator ); in createCanvasPropertyPaintAnimator()
135 static jlong createRevealAnimator(JNIEnv* env, jobject clazz, in createRevealAnimator()
139 return reinterpret_cast<jlong>( animator ); in createRevealAnimator()
[all …]
Dandroid_graphics_Picture.cpp28 static jlong android_graphics_Picture_newPicture(JNIEnv* env, jobject, jlong srcHandle) { in android_graphics_Picture_newPicture()
30 return reinterpret_cast<jlong>(new Picture(src)); in android_graphics_Picture_newPicture()
33 static jlong android_graphics_Picture_deserialize(JNIEnv* env, jobject, jobject jstream, in android_graphics_Picture_deserialize()
41 return reinterpret_cast<jlong>(picture); in android_graphics_Picture_deserialize()
44 static void android_graphics_Picture_killPicture(JNIEnv* env, jobject, jlong pictureHandle) { in android_graphics_Picture_killPicture()
50 static void android_graphics_Picture_draw(JNIEnv* env, jobject, jlong canvasHandle, in android_graphics_Picture_draw()
51 jlong pictureHandle) { in android_graphics_Picture_draw()
59 static jboolean android_graphics_Picture_serialize(JNIEnv* env, jobject, jlong pictureHandle, in android_graphics_Picture_serialize()
72 static jint android_graphics_Picture_getWidth(JNIEnv* env, jobject, jlong pictureHandle) { in android_graphics_Picture_getWidth()
77 static jint android_graphics_Picture_getHeight(JNIEnv* env, jobject, jlong pictureHandle) { in android_graphics_Picture_getHeight()
[all …]
Dcom_android_internal_os_FuseAppLoop.cpp110 void CallOnCommand(jint command, jlong unique, jlong inode, jlong offset, jint size, in CallOnCommand()
117 jlong com_android_internal_os_FuseAppLoop_new(JNIEnv* env, jobject self, jint jfd) { in com_android_internal_os_FuseAppLoop_new()
118 return reinterpret_cast<jlong>(new fuse::FuseAppLoop(base::unique_fd(jfd))); in com_android_internal_os_FuseAppLoop_new()
121 void com_android_internal_os_FuseAppLoop_delete(JNIEnv* env, jobject self, jlong ptr) { in com_android_internal_os_FuseAppLoop_delete()
125 void com_android_internal_os_FuseAppLoop_start(JNIEnv* env, jobject self, jlong ptr) { in com_android_internal_os_FuseAppLoop_start()
131 JNIEnv* env, jobject self, jlong ptr, jlong unique, jint result) { in com_android_internal_os_FuseAppLoop_replySimple()
138 JNIEnv* env, jobject self, jlong ptr, jlong unique, jlong fh) { in com_android_internal_os_FuseAppLoop_replyOpen()
145 JNIEnv* env, jobject self, jlong ptr, jlong unique, jlong inode, jlong size) { in com_android_internal_os_FuseAppLoop_replyLookup()
152 JNIEnv* env, jobject self, jlong ptr, jlong unique, jlong inode, jlong size) { in com_android_internal_os_FuseAppLoop_replyGetAttr()
160 JNIEnv* env, jobject self, jlong ptr, jlong unique, jint size) { in com_android_internal_os_FuseAppLoop_replyWrite()
[all …]
Dandroid_util_jar_StrictJarFile.cpp48 static_cast<jlong>(entry.crc32), in newZipEntry()
49 static_cast<jlong>(entry.compressed_length), in newZipEntry()
50 static_cast<jlong>(entry.uncompressed_length), in newZipEntry()
54 static_cast<jlong>(entry.offset)); in newZipEntry()
57 jlong StrictJarFile_nativeOpenJarFile(JNIEnv* env, jobject, jstring name, jint fd) { in StrictJarFile_nativeOpenJarFile()
61 return static_cast<jlong>(-1); in StrictJarFile_nativeOpenJarFile()
70 return static_cast<jlong>(-1); in StrictJarFile_nativeOpenJarFile()
73 return reinterpret_cast<jlong>(handle); in StrictJarFile_nativeOpenJarFile()
95 jlong StrictJarFile_nativeStartIteration(JNIEnv* env, jobject, jlong nativeHandle, in StrictJarFile_nativeStartIteration()
99 return static_cast<jlong>(-1); in StrictJarFile_nativeStartIteration()
[all …]
Dandroid_os_Parcel.cpp93 static jint android_os_Parcel_dataSize(jlong nativePtr) in android_os_Parcel_dataSize()
99 static jint android_os_Parcel_dataAvail(jlong nativePtr) in android_os_Parcel_dataAvail()
105 static jint android_os_Parcel_dataPosition(jlong nativePtr) in android_os_Parcel_dataPosition()
111 static jint android_os_Parcel_dataCapacity(jlong 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()
130 static void android_os_Parcel_setDataPosition(jlong nativePtr, jint pos) in android_os_Parcel_setDataPosition()
138 static void android_os_Parcel_setDataCapacity(JNIEnv* env, jclass clazz, jlong nativePtr, jint size) in android_os_Parcel_setDataCapacity()
149 static jboolean android_os_Parcel_pushAllowFds(jlong nativePtr, jboolean allowFds) in android_os_Parcel_pushAllowFds()
159 static void android_os_Parcel_restoreAllowFds(jlong nativePtr, jboolean lastValue) in android_os_Parcel_restoreAllowFds()
167 static void android_os_Parcel_writeByteArray(JNIEnv* env, jclass clazz, jlong nativePtr, in android_os_Parcel_writeByteArray()
[all …]
Dandroid_util_PathParser.cpp31 static void parseStringForPath(JNIEnv* env, jobject, jlong skPathHandle, jstring inputPathStr, in parseStringForPath()
46 return reinterpret_cast<jlong>(pathData); in createEmptyPathData()
49 static long createPathData(JNIEnv*, jobject, jlong pathDataPtr) { in createPathData()
52 return reinterpret_cast<jlong>(newPathData); in createPathData()
62 return reinterpret_cast<jlong>(pathData); in createPathDataFromStringPath()
70 static bool interpolatePathData(JNIEnv*, jobject, jlong outPathDataPtr, jlong fromPathDataPtr, in interpolatePathData()
71 jlong toPathDataPtr, jfloat fraction) { in interpolatePathData()
79 static void deletePathData(JNIEnv*, jobject, jlong pathDataHandle) { in deletePathData()
84 static bool canMorphPathData(JNIEnv*, jobject, jlong fromPathDataPtr, jlong toPathDataPtr) { in canMorphPathData()
90 static void setPathData(JNIEnv*, jobject, jlong outPathDataPtr, jlong fromPathDataPtr) { in setPathData()
[all …]
Dandroid_util_XmlBlock.cpp34 static jlong android_content_XmlBlock_nativeCreate(JNIEnv* env, jobject clazz, in android_content_XmlBlock_nativeCreate()
59 return reinterpret_cast<jlong>(osb); in android_content_XmlBlock_nativeCreate()
62 static jlong android_content_XmlBlock_nativeGetStringBlock(JNIEnv* env, jobject clazz, in android_content_XmlBlock_nativeGetStringBlock()
63 jlong token) in android_content_XmlBlock_nativeGetStringBlock()
71 return reinterpret_cast<jlong>(&osb->getStrings()); in android_content_XmlBlock_nativeGetStringBlock()
74 static jlong android_content_XmlBlock_nativeCreateParseState(JNIEnv* env, jobject clazz, in android_content_XmlBlock_nativeCreateParseState()
75 jlong token, jint res_id) in android_content_XmlBlock_nativeCreateParseState()
92 return reinterpret_cast<jlong>(st); in android_content_XmlBlock_nativeCreateParseState()
96 jlong token) in android_content_XmlBlock_nativeNext()
130 jlong token) in android_content_XmlBlock_nativeGetNamespace()
[all …]
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp242 _env->ReleaseLongArrayElements((jlongArray)data, (jlong *)ptr, relFlag); \
344 nContextFinish(JNIEnv *_env, jobject _this, jlong con) in nContextFinish()
352 static jlong
353 nClosureCreate(JNIEnv *_env, jobject _this, jlong con, jlong kernelID, in nClosureCreate()
354 jlong returnValue, jlongArray fieldIDArray, in nClosureCreate()
357 jlong ret = 0; in nClosureCreate()
359 jlong* jFieldIDs = _env->GetLongArrayElements(fieldIDArray, nullptr); in nClosureCreate()
366 jlong* jValues = _env->GetLongArrayElements(valueArray, nullptr); in nClosureCreate()
380 jlong* jDepClosures = in nClosureCreate()
388 jlong* jDepFieldIDs = in nClosureCreate()
[all …]
/frameworks/rs/support/jni/
Dandroid_renderscript_RenderScript.cpp206 _env->ReleaseLongArrayElements((jlongArray)data, (jlong *)ptr, relFlag); \
349 nContextFinish(JNIEnv *_env, jobject _this, jlong con) in nContextFinish()
355 static jlong
356 nClosureCreate(JNIEnv *_env, jobject _this, jlong con, jlong kernelID, in nClosureCreate()
357 jlong returnValue, jlongArray fieldIDArray, in nClosureCreate()
360 jlong ret = 0; in nClosureCreate()
362 jlong* jFieldIDs = _env->GetLongArrayElements(fieldIDArray, nullptr); in nClosureCreate()
364 jlong* jValues = _env->GetLongArrayElements(valueArray, nullptr); in nClosureCreate()
368 jlong* jDepClosures = in nClosureCreate()
371 jlong* jDepFieldIDs = in nClosureCreate()
[all …]
/frameworks/base/core/jni/android/graphics/
DMatrix.cpp37 static void finalizer(jlong objHandle) { in finalizer()
42 static jlong getNativeFinalizer(JNIEnv* env, jobject clazz) { in getNativeFinalizer()
43 return static_cast<jlong>(reinterpret_cast<uintptr_t>(&finalizer)); in getNativeFinalizer()
46 static jlong create(JNIEnv* env, jobject clazz, jlong srcHandle) { in create()
53 return reinterpret_cast<jlong>(obj); in create()
58 static void mapPoints(JNIEnv* env, jobject clazz, jlong matrixHandle, in mapPoints()
78 jlong matrixHandle, jobjectArray dst, jobject src) { in mapRect__RectFRectF()
88 jlong matrixHandle, jobject src, jobject dst, jint stfHandle) { in setRectToRect()
99 jlong matrixHandle, jfloatArray jsrc, jint srcIndex, in setPolyToPoly()
119 static void getValues(JNIEnv* env, jobject clazz, jlong matrixHandle, in getValues()
[all …]
DPathEffect.cpp14 static void destructor(JNIEnv* env, jobject, jlong effectHandle) { in destructor()
19 static jlong Compose_constructor(JNIEnv* env, jobject, in Compose_constructor()
20 jlong outerHandle, jlong innerHandle) { in Compose_constructor()
25 return reinterpret_cast<jlong>(effect); in Compose_constructor()
28 static jlong Sum_constructor(JNIEnv* env, jobject, in Sum_constructor()
29 jlong firstHandle, jlong secondHandle) { in Sum_constructor()
34 return reinterpret_cast<jlong>(effect); in Sum_constructor()
37 static jlong Dash_constructor(JNIEnv* env, jobject, in Dash_constructor()
47 return reinterpret_cast<jlong>(effect); in Dash_constructor()
50 static jlong OneD_constructor(JNIEnv* env, jobject, in OneD_constructor()
[all …]
DTypeface.cpp33 static inline Typeface* toTypeface(jlong ptr) { in toTypeface()
37 template<typename Ptr> static inline jlong toJLong(Ptr ptr) { in toJLong()
38 return reinterpret_cast<jlong>(ptr); in toJLong()
41 static jlong Typeface_createFromTypeface(JNIEnv* env, jobject, jlong familyHandle, jint style) { in Typeface_createFromTypeface()
55 static jlong Typeface_createFromTypefaceWithExactStyle(JNIEnv* env, jobject, jlong nativeInstance, in Typeface_createFromTypefaceWithExactStyle()
60 static jlong Typeface_createFromTypefaceWithVariation(JNIEnv* env, jobject, jlong familyHandle, in Typeface_createFromTypefaceWithVariation()
75 static jlong Typeface_createWeightAlias(JNIEnv* env, jobject, jlong familyHandle, jint weight) { in Typeface_createWeightAlias()
79 static void releaseFunc(jlong ptr) { in releaseFunc()
84 static jlong Typeface_getReleaseFunc() { in Typeface_getReleaseFunc()
89 static jint Typeface_getStyle(jlong faceHandle) { in Typeface_getStyle()
[all …]
DPaint.cpp101 static jlong getNativeFinalizer(JNIEnv*, jobject) { in getNativeFinalizer()
102 return static_cast<jlong>(reinterpret_cast<uintptr_t>(&deletePaint)); in getNativeFinalizer()
105 static jlong init(JNIEnv* env, jobject) { in init()
106 return reinterpret_cast<jlong>(new Paint); in init()
109 static jlong initWithPaint(JNIEnv* env, jobject clazz, jlong paintHandle) { in initWithPaint()
112 return reinterpret_cast<jlong>(obj); in initWithPaint()
147 static jint breakTextC(JNIEnv* env, jobject clazz, jlong paintHandle, jcharArray jtext, in breakTextC()
176 static jint breakTextS(JNIEnv* env, jobject clazz, jlong paintHandle, jstring jtext, in breakTextS()
222 static jfloat getTextAdvances___CIIIII_FI(JNIEnv* env, jobject clazz, jlong paintHandle, in getTextAdvances___CIIIII_FI()
234 static jfloat getTextAdvances__StringIIIII_FI(JNIEnv* env, jobject clazz, jlong paintHandle, in getTextAdvances__StringIIIII_FI()
[all …]
DAnimatedImageDrawable.cpp36 static jlong AnimatedImageDrawable_nCreate(JNIEnv* env, jobject /*clazz*/, in AnimatedImageDrawable_nCreate()
37 jlong nativeImageDecoder, jobject jpostProcess, in AnimatedImageDrawable_nCreate()
38 jint width, jint height, jlong colorSpaceHandle, in AnimatedImageDrawable_nCreate()
109 return reinterpret_cast<jlong>(drawable.release()); in AnimatedImageDrawable_nCreate()
116 static jlong AnimatedImageDrawable_nGetNativeFinalizer(JNIEnv* /*env*/, jobject /*clazz*/) { in AnimatedImageDrawable_nGetNativeFinalizer()
117 return static_cast<jlong>(reinterpret_cast<uintptr_t>(&AnimatedImageDrawable_destruct)); in AnimatedImageDrawable_nGetNativeFinalizer()
123 static jlong AnimatedImageDrawable_nDraw(JNIEnv* env, jobject /*clazz*/, jlong nativePtr, in AnimatedImageDrawable_nDraw()
124 jlong canvasPtr) { in AnimatedImageDrawable_nDraw()
127 return (jlong) canvas->drawAnimatedImage(drawable); in AnimatedImageDrawable_nDraw()
130 static void AnimatedImageDrawable_nSetAlpha(JNIEnv* env, jobject /*clazz*/, jlong nativePtr, in AnimatedImageDrawable_nSetAlpha()
[all …]
DShader.cpp59 static jlong Shader_getNativeFinalizer(JNIEnv*, jobject) { in Shader_getNativeFinalizer()
60 return static_cast<jlong>(reinterpret_cast<uintptr_t>(&Shader_safeUnref)); in Shader_getNativeFinalizer()
65 static jlong BitmapShader_constructor(JNIEnv* env, jobject o, jlong matrixPtr, jlong bitmapHandle, in BitmapShader_constructor()
87 return reinterpret_cast<jlong>(shader.release()); in BitmapShader_constructor()
94 const jlong* colorValues = env->GetLongArrayElements(colorArray, nullptr); in convertColorLongs()
101 env->ReleaseLongArrayElements(colorArray, const_cast<jlong*>(colorValues), JNI_ABORT); in convertColorLongs()
107 static jlong LinearGradient_create(JNIEnv* env, jobject, jlong matrixPtr, in LinearGradient_create()
109 jfloatArray posArray, jint tileMode, jlong colorSpaceHandle) { in LinearGradient_create()
133 return reinterpret_cast<jlong>(shader.release()); in LinearGradient_create()
138 static jlong RadialGradient_create(JNIEnv* env, jobject, jlong matrixPtr, jfloat x, jfloat y, in RadialGradient_create()
[all …]
/frameworks/base/tests/JankBench/app/src/main/jni/
Dtest.cpp39 jlong Java_com_android_benchmark_synthetic_TestInterface_nInit(JNIEnv *_env, jobject _this, jlong o… in Java_com_android_benchmark_synthetic_TestInterface_nInit()
44 return (jlong)b; in Java_com_android_benchmark_synthetic_TestInterface_nInit()
51 void Java_com_android_benchmark_synthetic_TestInterface_nDestroy(JNIEnv *_env, jobject _this, jlong in Java_com_android_benchmark_synthetic_TestInterface_nDestroy()
58 JNIEnv *_env, jobject _this, jlong _b, jlong options) { in Java_com_android_benchmark_synthetic_TestInterface_nRunPowerManagementTest()
64 JNIEnv *_env, jobject _this, jlong _b, jlong options) { in Java_com_android_benchmark_synthetic_TestInterface_nRunCPUHeatSoakTest()
70 JNIEnv *_env, jobject _this, jlong _b, jfloatArray data) { in Java_com_android_benchmark_synthetic_TestInterface_nGetData()
84 JNIEnv *_env, jobject _this, jlong _b) { in Java_com_android_benchmark_synthetic_TestInterface_nMemTestStart()
90 JNIEnv *_env, jobject _this, jlong _b, jlong opt) { in Java_com_android_benchmark_synthetic_TestInterface_nMemTestBandwidth()
96 JNIEnv *_env, jobject _this, jlong _b, jlong opt) { in Java_com_android_benchmark_synthetic_TestInterface_nGFlopsTest()
102 JNIEnv *_env, jobject _this, jlong _b, jlong opt) { in Java_com_android_benchmark_synthetic_TestInterface_nMemTestLatency()
[all …]
/frameworks/base/core/jni/android/graphics/text/
DLineBreaker.cpp51 static inline minikin::android::StaticLayoutNative* toNative(jlong ptr) { in toNative()
57 static jlong nInit(JNIEnv* env, jclass /* unused */, in nInit()
59 return reinterpret_cast<jlong>(new minikin::android::StaticLayoutNative( in nInit()
66 static void nFinish(jlong nativePtr) { in nFinish()
71 static jlong nGetReleaseFunc() { in nGetReleaseFunc()
72 return reinterpret_cast<jlong>(nFinish); in nGetReleaseFunc()
75 static jlong nComputeLineBreaks(JNIEnv* env, jclass, jlong nativePtr, in nComputeLineBreaks()
78 jlong measuredTextPtr, in nComputeLineBreaks()
98 return reinterpret_cast<jlong>(result.release()); in nComputeLineBreaks()
101 static jint nGetLineCount(jlong ptr) { in nGetLineCount()
[all …]
DMeasuredText.cpp42 static inline minikin::MeasuredTextBuilder* toBuilder(jlong ptr) { in toBuilder()
46 static inline Paint* toPaint(jlong ptr) { in toPaint()
50 static inline minikin::MeasuredText* toMeasuredParagraph(jlong ptr) { in toMeasuredParagraph()
54 template<typename Ptr> static inline jlong toJLong(Ptr ptr) { in toJLong()
55 return reinterpret_cast<jlong>(ptr); in toJLong()
58 static void releaseMeasuredParagraph(jlong measuredTextPtr) { in releaseMeasuredParagraph()
63 static jlong nInitBuilder() { in nInitBuilder()
68 static void nAddStyleRun(JNIEnv* /* unused */, jclass /* unused */, jlong builderPtr, in nAddStyleRun()
69 jlong paintPtr, jint start, jint end, jboolean isRtl) { in nAddStyleRun()
77 static void nAddReplacementRun(JNIEnv* /* unused */, jclass /* unused */, jlong builderPtr, in nAddReplacementRun()
[all …]
/frameworks/base/core/jni/android/graphics/fonts/
DFontFamily.cpp36 static inline NativeFamilyBuilder* toBuilder(jlong ptr) { in toBuilder()
40 static inline FontWrapper* toFontWrapper(jlong ptr) { in toFontWrapper()
44 static void releaseFontFamily(jlong family) { in releaseFontFamily()
49 static jlong FontFamily_Builder_initBuilder(JNIEnv*, jobject) { in FontFamily_Builder_initBuilder()
50 return reinterpret_cast<jlong>(new NativeFamilyBuilder()); in FontFamily_Builder_initBuilder()
54 static void FontFamily_Builder_addFont(jlong builderPtr, jlong fontPtr) { in FontFamily_Builder_addFont()
59 static jlong FontFamily_Builder_build(JNIEnv* env, jobject clazz, jlong builderPtr, in FontFamily_Builder_build()
78 return reinterpret_cast<jlong>(new FontFamilyWrapper(std::move(family))); in FontFamily_Builder_build()
82 static jlong FontFamily_Builder_GetReleaseFunc() { in FontFamily_Builder_GetReleaseFunc()
83 return reinterpret_cast<jlong>(releaseFontFamily); in FontFamily_Builder_GetReleaseFunc()

123456789