Home
last modified time | relevance | path

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

123456789

/frameworks/base/core/jni/
Dandroid_view_RenderNode.cpp50 static void android_view_RenderNode_output(JNIEnv* env, jobject clazz, jlong renderNodePtr) { in android_view_RenderNode_output()
55 static jint android_view_RenderNode_getDebugSize(JNIEnv* env, jobject clazz, jlong renderNodePtr) { in android_view_RenderNode_getDebugSize()
60 static jlong android_view_RenderNode_create(JNIEnv* env, jobject, jstring name) { in android_view_RenderNode_create()
68 return reinterpret_cast<jlong>(renderNode); in android_view_RenderNode_create()
75 static jlong android_view_RenderNode_getNativeFinalizer(JNIEnv* env, in android_view_RenderNode_getNativeFinalizer()
77 return static_cast<jlong>(reinterpret_cast<uintptr_t>(&releaseRenderNode)); in android_view_RenderNode_getNativeFinalizer()
81 jobject clazz, jlong renderNodePtr, jlong displayListPtr) { in android_view_RenderNode_setDisplayList()
87 static jboolean android_view_RenderNode_isValid(jlong renderNodePtr) { in android_view_RenderNode_isValid()
95 static jboolean android_view_RenderNode_setLayerType(jlong renderNodePtr, jint jlayerType) { in android_view_RenderNode_setLayerType()
100 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_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_view_DisplayListCanvas.cpp105 jlong canvasPtr, jlong functorPtr, jobject releasedCallback) { in android_view_DisplayListCanvas_callDrawGLFunction()
118 static jlong android_view_DisplayListCanvas_createDisplayListCanvas(jlong renderNodePtr, in android_view_DisplayListCanvas_createDisplayListCanvas()
121 return reinterpret_cast<jlong>(Canvas::create_recording_canvas(width, height, renderNode)); in android_view_DisplayListCanvas_createDisplayListCanvas()
124 static void android_view_DisplayListCanvas_resetDisplayListCanvas(jlong canvasPtr, in android_view_DisplayListCanvas_resetDisplayListCanvas()
125 jlong renderNodePtr, jint width, jint height) { in android_view_DisplayListCanvas_resetDisplayListCanvas()
145 static void android_view_DisplayListCanvas_insertReorderBarrier(jlong canvasPtr, in android_view_DisplayListCanvas_insertReorderBarrier()
151 static jlong android_view_DisplayListCanvas_finishRecording(jlong canvasPtr) { in android_view_DisplayListCanvas_finishRecording()
153 return reinterpret_cast<jlong>(canvas->finishRecording()); in android_view_DisplayListCanvas_finishRecording()
156 static void android_view_DisplayListCanvas_drawRenderNode(jlong canvasPtr, jlong renderNodePtr) { in android_view_DisplayListCanvas_drawRenderNode()
162 static void android_view_DisplayListCanvas_drawTextureLayer(jlong canvasPtr, jlong layerPtr) { in android_view_DisplayListCanvas_drawTextureLayer()
[all …]
Dandroid_graphics_Canvas.cpp42 static Canvas* get_canvas(jlong canvasHandle) { in get_canvas()
50 static jlong getNativeFinalizer(JNIEnv* env, jobject clazz) { in getNativeFinalizer()
51 return static_cast<jlong>(reinterpret_cast<uintptr_t>(&delete_canvas)); in getNativeFinalizer()
55 static jlong initRaster(JNIEnv* env, jobject, jobject jbitmap) { in initRaster()
60 return reinterpret_cast<jlong>(Canvas::create_canvas(bitmap)); in initRaster()
65 static void setBitmap(JNIEnv* env, jobject, jlong canvasHandle, jobject jbitmap) { in setBitmap()
73 static jboolean isOpaque(jlong canvasHandle) { in isOpaque()
77 static jint getWidth(jlong canvasHandle) { in getWidth()
81 static jint getHeight(jlong canvasHandle) { in getHeight()
85 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_text_MeasuredParagraph.cpp45 static inline minikin::MeasuredTextBuilder* toBuilder(jlong ptr) { in toBuilder()
49 static inline Paint* toPaint(jlong ptr) { in toPaint()
53 static inline minikin::MeasuredText* toMeasuredParagraph(jlong ptr) { in toMeasuredParagraph()
57 template<typename Ptr> static inline jlong toJLong(Ptr ptr) { in toJLong()
58 return reinterpret_cast<jlong>(ptr); in toJLong()
61 static void releaseMeasuredParagraph(jlong measuredTextPtr) { in releaseMeasuredParagraph()
66 static jlong nInitBuilder() { in nInitBuilder()
71 static void nAddStyleRun(JNIEnv* /* unused */, jclass /* unused */, jlong builderPtr, in nAddStyleRun()
72 jlong paintPtr, jint start, jint end, jboolean isRtl) { in nAddStyleRun()
80 static void nAddReplacementRun(JNIEnv* /* unused */, jclass /* unused */, jlong builderPtr, in nAddReplacementRun()
[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_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_jar_StrictJarFile.cpp46 static_cast<jlong>(entry.crc32), in newZipEntry()
47 static_cast<jlong>(entry.compressed_length), in newZipEntry()
48 static_cast<jlong>(entry.uncompressed_length), in newZipEntry()
52 static_cast<jlong>(entry.offset)); in newZipEntry()
55 static jlong StrictJarFile_nativeOpenJarFile(JNIEnv* env, jobject, jstring name, jint fd) { in StrictJarFile_nativeOpenJarFile()
59 return static_cast<jlong>(-1); in StrictJarFile_nativeOpenJarFile()
68 return static_cast<jlong>(-1); in StrictJarFile_nativeOpenJarFile()
71 return reinterpret_cast<jlong>(handle); in StrictJarFile_nativeOpenJarFile()
93 static jlong StrictJarFile_nativeStartIteration(JNIEnv* env, jobject, jlong nativeHandle, in StrictJarFile_nativeStartIteration()
97 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_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) in android_content_XmlBlock_nativeCreateParseState()
91 return reinterpret_cast<jlong>(st); in android_content_XmlBlock_nativeCreateParseState()
95 jlong token) in android_content_XmlBlock_nativeNext()
129 jlong token) in android_content_XmlBlock_nativeGetNamespace()
[all …]
Dandroid_hardware_HardwareBuffer.cpp72 static jlong android_hardware_HardwareBuffer_create(JNIEnv* env, jobject clazz, in android_hardware_HardwareBuffer_create()
73 jint width, jint height, jint format, jint layers, jlong usage) { in android_hardware_HardwareBuffer_create()
96 return reinterpret_cast<jlong>(wrapper); in android_hardware_HardwareBuffer_create()
103 static jlong android_hardware_HardwareBuffer_getNativeFinalizer(JNIEnv* env, jobject clazz) { in android_hardware_HardwareBuffer_getNativeFinalizer()
104 return static_cast<jlong>(reinterpret_cast<uintptr_t>(&destroyWrapper)); in android_hardware_HardwareBuffer_getNativeFinalizer()
112 jlong nativeObject) { in GraphicBufferWrapper_to_GraphicBuffer()
117 jlong nativeObject) { in android_hardware_HardwareBuffer_getWidth()
123 jobject clazz, jlong nativeObject) { in android_hardware_HardwareBuffer_getHeight()
129 jobject clazz, jlong nativeObject) { in android_hardware_HardwareBuffer_getFormat()
136 jobject clazz, jlong nativeObject) { in android_hardware_HardwareBuffer_getLayers()
[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.cpp38 static void finalizer(jlong objHandle) { in finalizer()
43 static jlong getNativeFinalizer(JNIEnv* env, jobject clazz) { in getNativeFinalizer()
44 return static_cast<jlong>(reinterpret_cast<uintptr_t>(&finalizer)); in getNativeFinalizer()
47 static jlong create(JNIEnv* env, jobject clazz, jlong srcHandle) { in create()
54 return reinterpret_cast<jlong>(obj); in create()
59 static void mapPoints(JNIEnv* env, jobject clazz, jlong matrixHandle, in mapPoints()
79 jlong matrixHandle, jobjectArray dst, jobject src) { in mapRect__RectFRectF()
89 jlong matrixHandle, jobject src, jobject dst, jint stfHandle) { in setRectToRect()
100 jlong matrixHandle, jfloatArray jsrc, jint srcIndex, in setPolyToPoly()
120 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.cpp31 static inline Typeface* toTypeface(jlong ptr) { in toTypeface()
35 template<typename Ptr> static inline jlong toJLong(Ptr ptr) { in toJLong()
36 return reinterpret_cast<jlong>(ptr); in toJLong()
39 static jlong Typeface_createFromTypeface(JNIEnv* env, jobject, jlong familyHandle, jint style) { in Typeface_createFromTypeface()
53 static jlong Typeface_createFromTypefaceWithExactStyle(JNIEnv* env, jobject, jlong nativeInstance, in Typeface_createFromTypefaceWithExactStyle()
58 static jlong Typeface_createFromTypefaceWithVariation(JNIEnv* env, jobject, jlong familyHandle, in Typeface_createFromTypefaceWithVariation()
73 static jlong Typeface_createWeightAlias(JNIEnv* env, jobject, jlong familyHandle, jint weight) { in Typeface_createWeightAlias()
77 static void releaseFunc(jlong ptr) { in releaseFunc()
82 static jlong Typeface_getReleaseFunc() { in Typeface_getReleaseFunc()
87 static jint Typeface_getStyle(jlong faceHandle) { in Typeface_getStyle()
[all …]
DAnimatedImageDrawable.cpp36 static jlong AnimatedImageDrawable_nCreate(JNIEnv* env, jobject /*clazz*/, in AnimatedImageDrawable_nCreate()
37 jlong nativeImageDecoder, jobject jpostProcess, in AnimatedImageDrawable_nCreate()
110 return reinterpret_cast<jlong>(drawable.release()); in AnimatedImageDrawable_nCreate()
117 static jlong AnimatedImageDrawable_nGetNativeFinalizer(JNIEnv* /*env*/, jobject /*clazz*/) { in AnimatedImageDrawable_nGetNativeFinalizer()
118 return static_cast<jlong>(reinterpret_cast<uintptr_t>(&AnimatedImageDrawable_destruct)); in AnimatedImageDrawable_nGetNativeFinalizer()
124 static jlong AnimatedImageDrawable_nDraw(JNIEnv* env, jobject /*clazz*/, jlong nativePtr, in AnimatedImageDrawable_nDraw()
125 jlong canvasPtr) { in AnimatedImageDrawable_nDraw()
128 return (jlong) canvas->drawAnimatedImage(drawable); in AnimatedImageDrawable_nDraw()
131 static void AnimatedImageDrawable_nSetAlpha(JNIEnv* env, jobject /*clazz*/, jlong nativePtr, in AnimatedImageDrawable_nSetAlpha()
137 static jlong AnimatedImageDrawable_nGetAlpha(JNIEnv* env, jobject /*clazz*/, jlong nativePtr) { in AnimatedImageDrawable_nGetAlpha()
[all …]
DPaint.cpp84 static jlong getNativeFinalizer(JNIEnv*, jobject) { in getNativeFinalizer()
85 return static_cast<jlong>(reinterpret_cast<uintptr_t>(&deletePaint)); in getNativeFinalizer()
88 static jlong init(JNIEnv* env, jobject) { in init()
101 return reinterpret_cast<jlong>(obj); in init()
104 static jlong initWithPaint(JNIEnv* env, jobject clazz, jlong paintHandle) { in initWithPaint()
107 return reinterpret_cast<jlong>(obj); in initWithPaint()
142 static jint breakTextC(JNIEnv* env, jobject clazz, jlong paintHandle, jcharArray jtext, in breakTextC()
171 static jint breakTextS(JNIEnv* env, jobject clazz, jlong paintHandle, jstring jtext, in breakTextS()
217 static jfloat getTextAdvances___CIIIII_FI(JNIEnv* env, jobject clazz, jlong paintHandle, in getTextAdvances___CIIIII_FI()
229 static jfloat getTextAdvances__StringIIIII_FI(JNIEnv* env, jobject clazz, jlong paintHandle, in getTextAdvances__StringIIIII_FI()
[all …]
DPath.cpp50 static jlong init(JNIEnv* env, jclass clazz) { in init()
51 return reinterpret_cast<jlong>(new SkPath()); in init()
54 static jlong init_Path(JNIEnv* env, jclass clazz, jlong valHandle) { in init_Path()
56 return reinterpret_cast<jlong>(new SkPath(*val)); in init_Path()
59 static jlong getFinalizer(JNIEnv* env, jclass clazz) { in getFinalizer()
60 return static_cast<jlong>(reinterpret_cast<uintptr_t>(&finalizer)); in getFinalizer()
63 static void set(JNIEnv* env, jclass clazz, jlong dstHandle, jlong srcHandle) { in set()
69 static void computeBounds(JNIEnv* env, jclass clazz, jlong objHandle, jobject jbounds) { in computeBounds()
75 static void incReserve(JNIEnv* env, jclass clazz, jlong objHandle, jint extraPtCount) { in incReserve()
80 static void moveTo__FF(JNIEnv* env, jclass clazz, jlong objHandle, jfloat x, jfloat y) { in moveTo__FF()
[all …]
DCamera.cpp13 env->SetLongField(obj, gNativeInstanceFieldID, reinterpret_cast<jlong>(view)); in Camera_constructor()
17 jlong viewHandle = env->GetLongField(obj, gNativeInstanceFieldID); in Camera_destructor()
23 jlong viewHandle = env->GetLongField(obj, gNativeInstanceFieldID); in Camera_save()
29 jlong viewHandle = env->GetLongField(obj, gNativeInstanceFieldID); in Camera_restore()
36 jlong viewHandle = env->GetLongField(obj, gNativeInstanceFieldID); in Camera_translate()
42 jlong viewHandle = env->GetLongField(obj, gNativeInstanceFieldID); in Camera_rotateX()
48 jlong viewHandle = env->GetLongField(obj, gNativeInstanceFieldID); in Camera_rotateY()
54 jlong viewHandle = env->GetLongField(obj, gNativeInstanceFieldID); in Camera_rotateZ()
60 jlong viewHandle = env->GetLongField(obj, gNativeInstanceFieldID); in Camera_rotate()
68 jlong viewHandle = env->GetLongField(obj, gNativeInstanceFieldID); in Camera_setLocation()
[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 …]

123456789