Home
last modified time | relevance | path

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

12345678

/frameworks/base/core/jni/
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.cpp29 static jlong createAccelerateDecelerateInterpolator(JNIEnv* env, jobject clazz) { in createAccelerateDecelerateInterpolator()
30 return reinterpret_cast<jlong>(new AccelerateDecelerateInterpolator()); in createAccelerateDecelerateInterpolator()
33 static jlong createAccelerateInterpolator(JNIEnv* env, jobject clazz, jfloat factor) { in createAccelerateInterpolator()
34 return reinterpret_cast<jlong>(new AccelerateInterpolator(factor)); in createAccelerateInterpolator()
37 static jlong createAnticipateInterpolator(JNIEnv* env, jobject clazz, jfloat tension) { in createAnticipateInterpolator()
38 return reinterpret_cast<jlong>(new AnticipateInterpolator(tension)); in createAnticipateInterpolator()
41 static jlong createAnticipateOvershootInterpolator(JNIEnv* env, jobject clazz, jfloat tension) { in createAnticipateOvershootInterpolator()
42 return reinterpret_cast<jlong>(new AnticipateOvershootInterpolator(tension)); in createAnticipateOvershootInterpolator()
45 static jlong createBounceInterpolator(JNIEnv* env, jobject clazz) { in createBounceInterpolator()
46 return reinterpret_cast<jlong>(new BounceInterpolator()); in createBounceInterpolator()
[all …]
Dandroid_graphics_Canvas.cpp35 static Canvas* get_canvas(jlong canvasHandle) { in get_canvas()
43 static jlong getNativeFinalizer(JNIEnv* env, jobject clazz) { in getNativeFinalizer()
44 return static_cast<jlong>(reinterpret_cast<uintptr_t>(&delete_canvas)); in getNativeFinalizer()
48 static jlong initRaster(JNIEnv* env, jobject, jobject jbitmap) { in initRaster()
53 return reinterpret_cast<jlong>(Canvas::create_canvas(bitmap)); in initRaster()
58 static void setBitmap(JNIEnv* env, jobject, jlong canvasHandle, jobject jbitmap) { in setBitmap()
66 static jboolean isOpaque(JNIEnv*, jobject, jlong canvasHandle) { in isOpaque()
70 static jint getWidth(JNIEnv*, jobject, jlong canvasHandle) { in getWidth()
74 static jint getHeight(JNIEnv*, jobject, jlong canvasHandle) { in getHeight()
78 static void setHighContrastText(JNIEnv*, jobject, jlong canvasHandle, jboolean highContrastText) { in setHighContrastText()
[all …]
Dandroid_graphics_drawable_AnimatedVectorDrawable.cpp85 static void addAnimator(JNIEnv*, jobject, jlong animatorSetPtr, jlong propertyHolderPtr, in addAnimator()
86 jlong interpolatorPtr, jlong startDelay, jlong duration, jint repeatCount) { in addAnimator()
93 static jlong createAnimatorSet(JNIEnv*, jobject) { in createAnimatorSet()
95 return reinterpret_cast<jlong>(animatorSet); in createAnimatorSet()
98 static jlong createGroupPropertyHolder(JNIEnv*, jobject, jlong nativePtr, jint propertyId, in createGroupPropertyHolder()
103 return reinterpret_cast<jlong>(newHolder); in createGroupPropertyHolder()
106 static jlong createPathDataPropertyHolder(JNIEnv*, jobject, jlong nativePtr, jlong startValuePtr, in createPathDataPropertyHolder()
107 jlong endValuePtr) { in createPathDataPropertyHolder()
113 return reinterpret_cast<jlong>(newHolder); in createPathDataPropertyHolder()
116 static jlong createPathColorPropertyHolder(JNIEnv*, jobject, jlong nativePtr, jint propertyId, in createPathColorPropertyHolder()
[all …]
Dandroid_view_RenderNode.cpp99 jobject clazz, jlong renderNodePtr) { in android_view_RenderNode_output()
105 jobject clazz, jlong renderNodePtr) { in android_view_RenderNode_getDebugSize()
110 static jlong android_view_RenderNode_create(JNIEnv* env, jobject thiz, in android_view_RenderNode_create()
120 return reinterpret_cast<jlong>(renderNode); in android_view_RenderNode_create()
124 jobject clazz, jlong renderNodePtr) { in android_view_RenderNode_destroyRenderNode()
130 jobject clazz, jlong renderNodePtr, jlong displayListPtr) { in android_view_RenderNode_setDisplayList()
154 jobject clazz, jlong renderNodePtr, jint jlayerType) { in android_view_RenderNode_setLayerType()
160 jobject clazz, jlong renderNodePtr, jlong paintPtr) { in android_view_RenderNode_setLayerPaint()
166 jobject clazz, jlong renderNodePtr, jlong matrixPtr) { in android_view_RenderNode_setStaticMatrix()
172 jobject clazz, jlong renderNodePtr, jlong matrixPtr) { in android_view_RenderNode_setAnimationMatrix()
[all …]
Dandroid_view_DisplayListCanvas.cpp95 jlong canvasPtr, jboolean reorderEnable) { in android_view_DisplayListCanvas_insertReorderBarrier()
105 jlong canvasPtr, jlong functorPtr, jobject releasedCallback) { in android_view_DisplayListCanvas_callDrawGLFunction()
138 jlong canvasPtr, jlong leftPropPtr, jlong topPropPtr, jlong rightPropPtr, in android_view_DisplayListCanvas_drawRoundRectProps()
139 jlong bottomPropPtr, jlong rxPropPtr, jlong ryPropPtr, jlong paintPropPtr) { in android_view_DisplayListCanvas_drawRoundRectProps()
152 jlong canvasPtr, jlong xPropPtr, jlong yPropPtr, jlong radiusPropPtr, jlong paintPropPtr) { in android_view_DisplayListCanvas_drawCircleProps()
165 static jlong android_view_DisplayListCanvas_finishRecording(JNIEnv* env, in android_view_DisplayListCanvas_finishRecording()
166 jobject clazz, jlong canvasPtr) { in android_view_DisplayListCanvas_finishRecording()
168 return reinterpret_cast<jlong>(canvas->finishRecording()); in android_view_DisplayListCanvas_finishRecording()
171 static jlong android_view_DisplayListCanvas_createDisplayListCanvas(JNIEnv* env, jobject clazz, in android_view_DisplayListCanvas_createDisplayListCanvas()
173 return reinterpret_cast<jlong>(Canvas::create_recording_canvas(width, height)); in android_view_DisplayListCanvas_createDisplayListCanvas()
[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 …]
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.cpp45 static_cast<jlong>(entry.crc32), in newZipEntry()
46 static_cast<jlong>(entry.compressed_length), in newZipEntry()
47 static_cast<jlong>(entry.uncompressed_length), in newZipEntry()
51 static_cast<jlong>(entry.offset)); in newZipEntry()
54 static jlong StrictJarFile_nativeOpenJarFile(JNIEnv* env, jobject, jstring fileName) { in StrictJarFile_nativeOpenJarFile()
57 return static_cast<jlong>(-1); in StrictJarFile_nativeOpenJarFile()
65 return static_cast<jlong>(-1); in StrictJarFile_nativeOpenJarFile()
68 return reinterpret_cast<jlong>(handle); in StrictJarFile_nativeOpenJarFile()
90 static jlong StrictJarFile_nativeStartIteration(JNIEnv* env, jobject, jlong nativeHandle, in StrictJarFile_nativeStartIteration()
94 return static_cast<jlong>(-1); in StrictJarFile_nativeStartIteration()
[all …]
Dandroid_view_ThreadedRenderer.cpp399 jlong proxyPtr, jobject graphicBuffer, jlongArray atlasMapArray) { in android_view_ThreadedRenderer_setAtlas()
414 jlong proxyPtr, jint fd) { in android_view_ThreadedRenderer_setProcessStatsBuffer()
419 static jlong android_view_ThreadedRenderer_createRootRenderNode(JNIEnv* env, jobject clazz) { in android_view_ThreadedRenderer_createRootRenderNode()
423 return reinterpret_cast<jlong>(node); in android_view_ThreadedRenderer_createRootRenderNode()
426 static jlong android_view_ThreadedRenderer_createProxy(JNIEnv* env, jobject clazz, in android_view_ThreadedRenderer_createProxy()
427 jboolean translucent, jlong rootRenderNodePtr) { in android_view_ThreadedRenderer_createProxy()
430 return (jlong) new RenderProxy(translucent, rootRenderNode, &factory); in android_view_ThreadedRenderer_createProxy()
434 jlong proxyPtr) { in android_view_ThreadedRenderer_deleteProxy()
440 jlong proxyPtr) { in android_view_ThreadedRenderer_loadSystemProperties()
446 jlong proxyPtr, jstring jname) { in android_view_ThreadedRenderer_setName()
[all …]
Dandroid_os_Parcel.cpp93 static jint android_os_Parcel_dataSize(JNIEnv* env, jclass clazz, jlong nativePtr) in android_os_Parcel_dataSize()
99 static jint android_os_Parcel_dataAvail(JNIEnv* env, jclass clazz, jlong nativePtr) in android_os_Parcel_dataAvail()
105 static jint android_os_Parcel_dataPosition(JNIEnv* env, jclass clazz, jlong nativePtr) in android_os_Parcel_dataPosition()
111 static jint android_os_Parcel_dataCapacity(JNIEnv* env, jclass clazz, 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(JNIEnv* env, jclass clazz, 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(JNIEnv* env, jclass clazz, jlong nativePtr, jboolean… in android_os_Parcel_pushAllowFds()
159 static void android_os_Parcel_restoreAllowFds(JNIEnv* env, jclass clazz, jlong nativePtr, jboolean … in android_os_Parcel_restoreAllowFds()
167 static void android_os_Parcel_writeNative(JNIEnv* env, jclass clazz, jlong nativePtr, jobject data, in android_os_Parcel_writeNative()
[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_database_SQLiteConnection.cpp114 static jlong nativeOpen(JNIEnv* env, jclass clazz, jstring pathStr, jint openFlags, in nativeOpen()
175 return reinterpret_cast<jlong>(connection); in nativeOpen()
178 static void nativeClose(JNIEnv* env, jclass clazz, jlong connectionPtr) { in nativeClose()
248 static void nativeRegisterCustomFunction(JNIEnv* env, jclass clazz, jlong connectionPtr, in nativeRegisterCustomFunction()
272 static void nativeRegisterLocalizedCollators(JNIEnv* env, jclass clazz, jlong connectionPtr, in nativeRegisterLocalizedCollators()
285 static jlong nativePrepareStatement(JNIEnv* env, jclass clazz, jlong connectionPtr, in nativePrepareStatement()
313 return reinterpret_cast<jlong>(statement); in nativePrepareStatement()
316 static void nativeFinalizeStatement(JNIEnv* env, jclass clazz, jlong connectionPtr, in nativeFinalizeStatement()
317 jlong statementPtr) { in nativeFinalizeStatement()
328 static jint nativeGetParameterCount(JNIEnv* env, jclass clazz, jlong connectionPtr, in nativeGetParameterCount()
[all …]
Dandroid_os_SystemClock.cpp42 static jlong android_os_SystemClock_uptimeMillis(JNIEnv* env, in android_os_SystemClock_uptimeMillis()
45 return (jlong)uptimeMillis(); in android_os_SystemClock_uptimeMillis()
51 static jlong android_os_SystemClock_elapsedRealtime(JNIEnv* env, in android_os_SystemClock_elapsedRealtime()
54 return (jlong)elapsedRealtime(); in android_os_SystemClock_elapsedRealtime()
60 static jlong android_os_SystemClock_currentThreadTimeMillis(JNIEnv* env, in android_os_SystemClock_currentThreadTimeMillis()
73 static jlong android_os_SystemClock_currentThreadTimeMicro(JNIEnv* env, in android_os_SystemClock_currentThreadTimeMicro()
86 static jlong android_os_SystemClock_currentTimeMicro(JNIEnv* env, in android_os_SystemClock_currentTimeMicro()
98 static jlong android_os_SystemClock_elapsedRealtimeNano(JNIEnv* env, in android_os_SystemClock_elapsedRealtimeNano()
101 return (jlong)elapsedRealtimeNano(); in android_os_SystemClock_elapsedRealtimeNano()
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp241 _env->ReleaseLongArrayElements((jlongArray)data, (jlong *)ptr, relFlag); \
343 nContextFinish(JNIEnv *_env, jobject _this, jlong con) in nContextFinish()
351 static jlong
352 nClosureCreate(JNIEnv *_env, jobject _this, jlong con, jlong kernelID, in nClosureCreate()
353 jlong returnValue, jlongArray fieldIDArray, in nClosureCreate()
356 jlong ret = 0; in nClosureCreate()
358 jlong* jFieldIDs = _env->GetLongArrayElements(fieldIDArray, nullptr); in nClosureCreate()
365 jlong* jValues = _env->GetLongArrayElements(valueArray, nullptr); in nClosureCreate()
379 jlong* jDepClosures = in nClosureCreate()
387 jlong* jDepFieldIDs = in nClosureCreate()
[all …]
/frameworks/support/v8/renderscript/jni/
Dandroid_renderscript_RenderScript.cpp204 _env->ReleaseLongArrayElements((jlongArray)data, (jlong *)ptr, relFlag); \
347 nContextFinish(JNIEnv *_env, jobject _this, jlong con) in nContextFinish()
353 static jlong
354 nClosureCreate(JNIEnv *_env, jobject _this, jlong con, jlong kernelID, in nClosureCreate()
355 jlong returnValue, jlongArray fieldIDArray, in nClosureCreate()
358 jlong ret = 0; in nClosureCreate()
360 jlong* jFieldIDs = _env->GetLongArrayElements(fieldIDArray, nullptr); in nClosureCreate()
362 jlong* jValues = _env->GetLongArrayElements(valueArray, nullptr); in nClosureCreate()
366 jlong* jDepClosures = in nClosureCreate()
369 jlong* jDepFieldIDs = in nClosureCreate()
[all …]
/frameworks/base/core/jni/android/graphics/
DMatrix.cpp31 static void finalizer(JNIEnv* env, jobject clazz, jlong objHandle) { in finalizer()
36 static jlong create(JNIEnv* env, jobject clazz, jlong srcHandle) { in create()
43 return reinterpret_cast<jlong>(obj); in create()
46 static jboolean isIdentity(JNIEnv* env, jobject clazz, jlong objHandle) { in isIdentity()
51 static jboolean isAffine(JNIEnv* env, jobject clazz, jlong objHandle) { in isAffine()
56 static jboolean rectStaysRect(JNIEnv* env, jobject clazz, jlong objHandle) { in rectStaysRect()
61 static void reset(JNIEnv* env, jobject clazz, jlong objHandle) { in reset()
65 static void set(JNIEnv* env, jobject clazz, jlong objHandle, jlong otherHandle) { in set()
70 static void setTranslate(JNIEnv* env, jobject clazz, jlong objHandle, jfloat dx, jfloat dy) { in setTranslate()
74 …static void setScale__FFFF(JNIEnv* env, jobject clazz, jlong objHandle, jfloat sx, jfloat sy, jflo… in setScale__FFFF()
[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()
24 return reinterpret_cast<jlong>(effect); in Compose_constructor()
27 static jlong Sum_constructor(JNIEnv* env, jobject, in Sum_constructor()
28 jlong firstHandle, jlong secondHandle) { in Sum_constructor()
32 return reinterpret_cast<jlong>(effect); in Sum_constructor()
35 static jlong Dash_constructor(JNIEnv* env, jobject, in Dash_constructor()
45 return reinterpret_cast<jlong>(effect); in Dash_constructor()
48 static jlong OneD_constructor(JNIEnv* env, jobject, in OneD_constructor()
[all …]
DPaint.cpp83 static jlong getNativeFinalizer(JNIEnv*, jobject) { in getNativeFinalizer()
84 return static_cast<jlong>(reinterpret_cast<uintptr_t>(&deletePaint)); in getNativeFinalizer()
87 static jlong init(JNIEnv* env, jobject) { in init()
100 return reinterpret_cast<jlong>(obj); in init()
103 static jlong initWithPaint(JNIEnv* env, jobject clazz, jlong paintHandle) { in initWithPaint()
106 return reinterpret_cast<jlong>(obj); in initWithPaint()
109 static void reset(JNIEnv* env, jobject clazz, jlong objHandle) { in reset()
115 static void assign(JNIEnv* env, jobject clazz, jlong dstPaintHandle, jlong srcPaintHandle) { in assign()
124 static jint getFlags(JNIEnv* env, jobject, jlong paintHandle) { in getFlags()
134 static void setFlags(JNIEnv* env, jobject, jlong paintHandle, jint flags) { in setFlags()
[all …]
DShader.cpp44 static void Shader_destructor(JNIEnv* env, jobject o, jlong shaderHandle, jlong shaderWithLMHandle) in Shader_destructor()
50 static jlong Shader_setLocalMatrix(JNIEnv* env, jobject o, jlong shaderHandle, jlong matrixHandle) in Shader_setLocalMatrix()
79 return reinterpret_cast<jlong>(currentShader.detach()); in Shader_setLocalMatrix()
81 return reinterpret_cast<jlong>(baseShader->newWithLocalMatrix(*matrix)); in Shader_setLocalMatrix()
83 return reinterpret_cast<jlong>(currentShader->newWithLocalMatrix(*matrix)); in Shader_setLocalMatrix()
88 static jlong BitmapShader_constructor(JNIEnv* env, jobject o, jobject jbitmap, in BitmapShader_constructor()
102 return reinterpret_cast<jlong>(s); in BitmapShader_constructor()
107 static jlong LinearGradient_create1(JNIEnv* env, jobject o, in LinearGradient_create1()
131 return reinterpret_cast<jlong>(shader); in LinearGradient_create1()
134 static jlong LinearGradient_create2(JNIEnv* env, jobject o, in LinearGradient_create2()
[all …]
DPath.cpp39 static void finalizer(JNIEnv* env, jobject clazz, jlong objHandle) { in finalizer()
48 static jlong init1(JNIEnv* env, jobject clazz) { in init1()
49 return reinterpret_cast<jlong>(new SkPath()); in init1()
52 static jlong init2(JNIEnv* env, jobject clazz, jlong valHandle) { in init2()
54 return reinterpret_cast<jlong>(new SkPath(*val)); in init2()
57 static void reset(JNIEnv* env, jobject clazz, jlong objHandle) { in reset()
62 static void rewind(JNIEnv* env, jobject clazz, jlong objHandle) { in rewind()
67 static void assign(JNIEnv* env, jobject clazz, jlong dstHandle, jlong srcHandle) { in assign()
73 static jboolean isConvex(JNIEnv* env, jobject clazz, jlong objHandle) { in isConvex()
78 static jint getFillType(JNIEnv* env, jobject clazz, jlong objHandle) { in getFillType()
[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 …]
DRegion.cpp37 jlong regionHandle = env->GetLongField(regionObject, gRegion_nativeInstanceFieldID); in GetSkRegion()
43 static jlong Region_constructor(JNIEnv* env, jobject) { in Region_constructor()
44 return reinterpret_cast<jlong>(new SkRegion); in Region_constructor()
47 static void Region_destructor(JNIEnv* env, jobject, jlong regionHandle) { in Region_destructor()
53 static void Region_setRegion(JNIEnv* env, jobject, jlong dstHandle, jlong srcHandle) { in Region_setRegion()
60 static jboolean Region_setRect(JNIEnv* env, jobject, jlong dstHandle, jint left, jint top, jint rig… in Region_setRect()
66 static jboolean Region_setPath(JNIEnv* env, jobject, jlong dstHandle, in Region_setPath()
67 jlong pathHandle, jlong clipHandle) { in Region_setPath()
77 static jboolean Region_getBounds(JNIEnv* env, jobject, jlong regionHandle, jobject rectBounds) { in Region_getBounds()
84 static jboolean Region_getBoundaryPath(JNIEnv* env, jobject, jlong regionHandle, jlong pathHandle) { in Region_getBoundaryPath()
[all …]
DTypeface.cpp29 static jlong Typeface_createFromTypeface(JNIEnv* env, jobject, jlong familyHandle, jint style) { in Typeface_createFromTypeface()
40 return reinterpret_cast<jlong>(face); in Typeface_createFromTypeface()
43 static jlong Typeface_createWeightAlias(JNIEnv* env, jobject, jlong familyHandle, jint weight) { in Typeface_createWeightAlias()
46 return reinterpret_cast<jlong>(face); in Typeface_createWeightAlias()
49 static void Typeface_unref(JNIEnv* env, jobject obj, jlong faceHandle) { in Typeface_unref()
56 static jint Typeface_getStyle(JNIEnv* env, jobject obj, jlong faceHandle) { in Typeface_getStyle()
61 static jlong Typeface_createFromArray(JNIEnv *env, jobject, jlongArray familyArray) { in Typeface_createFromArray()
68 return reinterpret_cast<jlong>(Typeface::createFromFamilies(familyVec)); in Typeface_createFromArray()
71 static void Typeface_setDefault(JNIEnv *env, jobject, jlong faceHandle) { in Typeface_setDefault()

12345678