Home
last modified time | relevance | path

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

1234567

/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp104 _env->ReleaseLongArrayElements((jlongArray)data, (jlong *)ptr, relFlag); \
184 nContextFinish(JNIEnv *_env, jobject _this, jlong con) in nContextFinish()
191 nAssignName(JNIEnv *_env, jobject _this, jlong con, jlong obj, jbyteArray str) in nAssignName()
201 nGetName(JNIEnv *_env, jobject _this, jlong con, jlong obj) in nGetName()
213 nObjDestroy(JNIEnv *_env, jobject _this, jlong con, jlong obj) in nObjDestroy()
221 static jlong
225 return (jlong)(uintptr_t)rsDeviceCreate(); in nDeviceCreate()
229 nDeviceDestroy(JNIEnv *_env, jobject _this, jlong dev) in nDeviceDestroy()
236 nDeviceSetConfig(JNIEnv *_env, jobject _this, jlong dev, jint p, jint value) in nDeviceSetConfig()
242 static jlong
[all …]
/frameworks/base/core/jni/
Dcom_android_internal_view_animation_NativeInterpolatorFactoryHelper.cpp31 static jlong createAccelerateDecelerateInterpolator(JNIEnv* env, jobject clazz) { in createAccelerateDecelerateInterpolator()
32 return reinterpret_cast<jlong>(new AccelerateDecelerateInterpolator()); in createAccelerateDecelerateInterpolator()
35 static jlong createAccelerateInterpolator(JNIEnv* env, jobject clazz, jfloat factor) { in createAccelerateInterpolator()
36 return reinterpret_cast<jlong>(new AccelerateInterpolator(factor)); in createAccelerateInterpolator()
39 static jlong createAnticipateInterpolator(JNIEnv* env, jobject clazz, jfloat tension) { in createAnticipateInterpolator()
40 return reinterpret_cast<jlong>(new AnticipateInterpolator(tension)); in createAnticipateInterpolator()
43 static jlong createAnticipateOvershootInterpolator(JNIEnv* env, jobject clazz, jfloat tension) { in createAnticipateOvershootInterpolator()
44 return reinterpret_cast<jlong>(new AnticipateOvershootInterpolator(tension)); in createAnticipateOvershootInterpolator()
47 static jlong createBounceInterpolator(JNIEnv* env, jobject clazz) { in createBounceInterpolator()
48 return reinterpret_cast<jlong>(new BounceInterpolator()); in createBounceInterpolator()
[all …]
Dandroid_view_RenderNode.cpp52 jobject clazz, jlong renderNodePtr) { in android_view_RenderNode_output()
58 jobject clazz, jlong renderNodePtr) { in android_view_RenderNode_getDebugSize()
63 static jlong android_view_RenderNode_create(JNIEnv* env, jobject clazz, jstring name) { in android_view_RenderNode_create()
71 return reinterpret_cast<jlong>(renderNode); in android_view_RenderNode_create()
75 jobject clazz, jlong renderNodePtr) { in android_view_RenderNode_destroyRenderNode()
81 jobject clazz, jlong renderNodePtr, jlong newDataPtr) { in android_view_RenderNode_setDisplayListData()
92 jobject clazz, jlong renderNodePtr, jint jlayerType) { in android_view_RenderNode_setLayerType()
98 jobject clazz, jlong renderNodePtr, jlong paintPtr) { in android_view_RenderNode_setLayerPaint()
104 jobject clazz, jlong renderNodePtr, jlong matrixPtr) { in android_view_RenderNode_setStaticMatrix()
110 jobject clazz, jlong renderNodePtr, jlong matrixPtr) { in android_view_RenderNode_setAnimationMatrix()
[all …]
Dandroid_graphics_Canvas.cpp34 static Canvas* get_canvas(jlong canvasHandle) { in get_canvas()
38 static void finalizer(JNIEnv* env, jobject clazz, jlong canvasHandle) { in finalizer()
43 static jlong initRaster(JNIEnv* env, jobject, jlong bitmapHandle) { in initRaster()
45 return reinterpret_cast<jlong>(Canvas::create_canvas(bitmap)); in initRaster()
50 static void setBitmap(JNIEnv* env, jobject, jlong canvasHandle, jlong bitmapHandle, in setBitmap()
56 static jboolean isOpaque(JNIEnv*, jobject, jlong canvasHandle) { in isOpaque()
60 static jint getWidth(JNIEnv*, jobject, jlong canvasHandle) { in getWidth()
64 static jint getHeight(JNIEnv*, jobject, jlong canvasHandle) { in getHeight()
68 static jint getSaveCount(JNIEnv*, jobject, jlong canvasHandle) { in getSaveCount()
72 static jint save(JNIEnv*, jobject, jlong canvasHandle, jint flagsHandle) { in save()
[all …]
Dandroid_view_GLES20Canvas.cpp86 jlong rendererPtr) { in android_view_GLES20Canvas_destroyRenderer()
97 jlong rendererPtr, jint width, jint height) { in android_view_GLES20Canvas_setViewport()
103 jlong rendererPtr, jboolean highContrastText) { in android_view_GLES20Canvas_setHighContrastText()
109 jlong rendererPtr, jboolean reorderEnable) { in android_view_GLES20Canvas_insertReorderBarrier()
115 jlong rendererPtr, jboolean opaque) { in android_view_GLES20Canvas_prepare()
121 jlong rendererPtr, jint left, jint top, jint right, jint bottom, in android_view_GLES20Canvas_prepareDirty()
128 jlong rendererPtr) { in android_view_GLES20Canvas_finish()
156 jlong rendererPtr, jlong functorPtr) { in android_view_GLES20Canvas_callDrawGLFunction()
179 static jint android_view_GLES20Canvas_save(JNIEnv* env, jobject clazz, jlong rendererPtr, in android_view_GLES20Canvas_save()
186 jlong rendererPtr) { in android_view_GLES20Canvas_getSaveCount()
[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.cpp30 static jlong android_graphics_Picture_newPicture(JNIEnv* env, jobject, jlong srcHandle) { in android_graphics_Picture_newPicture()
32 return reinterpret_cast<jlong>(new Picture(src)); in android_graphics_Picture_newPicture()
35 static jlong android_graphics_Picture_deserialize(JNIEnv* env, jobject, jobject jstream, in android_graphics_Picture_deserialize()
43 return reinterpret_cast<jlong>(picture); in android_graphics_Picture_deserialize()
46 static void android_graphics_Picture_killPicture(JNIEnv* env, jobject, jlong pictureHandle) { in android_graphics_Picture_killPicture()
52 static void android_graphics_Picture_draw(JNIEnv* env, jobject, jlong canvasHandle, in android_graphics_Picture_draw()
53 jlong pictureHandle) { in android_graphics_Picture_draw()
61 static jboolean android_graphics_Picture_serialize(JNIEnv* env, jobject, jlong pictureHandle, in android_graphics_Picture_serialize()
74 static jint android_graphics_Picture_getWidth(JNIEnv* env, jobject, jlong pictureHandle) { in android_graphics_Picture_getWidth()
79 static jint android_graphics_Picture_getHeight(JNIEnv* env, jobject, jlong pictureHandle) { in android_graphics_Picture_getHeight()
[all …]
Dandroid_view_ThreadedRenderer.cpp210 jlong proxyPtr, jobject graphicBuffer, jlongArray atlasMapArray) { in android_view_ThreadedRenderer_setAtlas()
224 static jlong android_view_ThreadedRenderer_createRootRenderNode(JNIEnv* env, jobject clazz) { in android_view_ThreadedRenderer_createRootRenderNode()
228 return reinterpret_cast<jlong>(node); in android_view_ThreadedRenderer_createRootRenderNode()
231 static jlong android_view_ThreadedRenderer_createProxy(JNIEnv* env, jobject clazz, in android_view_ThreadedRenderer_createProxy()
232 jboolean translucent, jlong rootRenderNodePtr) { in android_view_ThreadedRenderer_createProxy()
235 return (jlong) new RenderProxy(translucent, rootRenderNode, &factory); in android_view_ThreadedRenderer_createProxy()
239 jlong proxyPtr) { in android_view_ThreadedRenderer_deleteProxy()
245 jlong proxyPtr, jlong frameIntervalNanos) { in android_view_ThreadedRenderer_setFrameInterval()
251 jlong proxyPtr) { in android_view_ThreadedRenderer_loadSystemProperties()
257 jlong proxyPtr, jobject jsurface) { in android_view_ThreadedRenderer_initialize()
[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_view_Surface.cpp119 gSurfaceClassInfo.ctor, (jlong)surface.get()); in android_view_Surface_createFromIGraphicBufferProducer()
140 static jlong nativeCreateFromSurfaceTexture(JNIEnv* env, jclass clazz, in nativeCreateFromSurfaceTexture()
156 return jlong(surface.get()); in nativeCreateFromSurfaceTexture()
159 static void nativeRelease(JNIEnv* env, jclass clazz, jlong nativeObject) { in nativeRelease()
164 static jboolean nativeIsValid(JNIEnv* env, jclass clazz, jlong nativeObject) { in nativeIsValid()
169 static jboolean nativeIsConsumerRunningBehind(JNIEnv* env, jclass clazz, jlong nativeObject) { in nativeIsConsumerRunningBehind()
195 static jlong nativeLockCanvas(JNIEnv* env, jclass clazz, in nativeLockCanvas()
196 jlong nativeObject, jobject canvasObj, jobject dirtyRectObj) { in nativeLockCanvas()
246 reinterpret_cast<jlong>(&bitmap)); in nativeLockCanvas()
265 return (jlong) lockedSurface.get(); in nativeLockCanvas()
[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()
80 static jlong android_os_SystemClock_currentThreadTimeMicro(JNIEnv* env, in android_os_SystemClock_currentThreadTimeMicro()
100 static jlong android_os_SystemClock_currentTimeMicro(JNIEnv* env, in android_os_SystemClock_currentTimeMicro()
112 static jlong android_os_SystemClock_elapsedRealtimeNano(JNIEnv* env, in android_os_SystemClock_elapsedRealtimeNano()
115 return (jlong)elapsedRealtimeNano(); in android_os_SystemClock_elapsedRealtimeNano()
Dandroid_database_SQLiteConnection.cpp112 static jlong nativeOpen(JNIEnv* env, jclass clazz, jstring pathStr, jint openFlags, in nativeOpen()
173 return reinterpret_cast<jlong>(connection); in nativeOpen()
176 static void nativeClose(JNIEnv* env, jclass clazz, jlong connectionPtr) { in nativeClose()
246 static void nativeRegisterCustomFunction(JNIEnv* env, jclass clazz, jlong connectionPtr, in nativeRegisterCustomFunction()
270 static void nativeRegisterLocalizedCollators(JNIEnv* env, jclass clazz, jlong connectionPtr, in nativeRegisterLocalizedCollators()
283 static jlong nativePrepareStatement(JNIEnv* env, jclass clazz, jlong connectionPtr, in nativePrepareStatement()
311 return reinterpret_cast<jlong>(statement); in nativePrepareStatement()
314 static void nativeFinalizeStatement(JNIEnv* env, jclass clazz, jlong connectionPtr, in nativeFinalizeStatement()
315 jlong statementPtr) { in nativeFinalizeStatement()
326 static jint nativeGetParameterCount(JNIEnv* env, jclass clazz, jlong connectionPtr, in nativeGetParameterCount()
[all …]
Dandroid_animation_PropertyValuesHolder.cpp32 static jlong android_animation_PropertyValuesHolder_getIntMethod( in android_animation_PropertyValuesHolder_getIntMethod()
38 return reinterpret_cast<jlong>(mid); in android_animation_PropertyValuesHolder_getIntMethod()
41 static jlong android_animation_PropertyValuesHolder_getFloatMethod( in android_animation_PropertyValuesHolder_getFloatMethod()
47 return reinterpret_cast<jlong>(mid); in android_animation_PropertyValuesHolder_getFloatMethod()
50 static jlong getMultiparameterMethod(JNIEnv* env, jclass targetClass, jstring methodName, in getMultiparameterMethod()
61 return reinterpret_cast<jlong>(mid); in getMultiparameterMethod()
64 static jlong android_animation_PropertyValuesHolder_getMultipleFloatMethod( in android_animation_PropertyValuesHolder_getMultipleFloatMethod()
70 static jlong android_animation_PropertyValuesHolder_getMultipleIntMethod( in android_animation_PropertyValuesHolder_getMultipleIntMethod()
77 JNIEnv* env, jclass pvhObject, jobject target, jlong methodID, jint arg) in android_animation_PropertyValuesHolder_callIntMethod()
83 JNIEnv* env, jclass pvhObject, jobject target, jlong methodID, jfloat arg) in android_animation_PropertyValuesHolder_callFloatMethod()
[all …]
Dandroid_os_Parcel.cpp91 static jint android_os_Parcel_dataSize(JNIEnv* env, jclass clazz, jlong nativePtr) in android_os_Parcel_dataSize()
97 static jint android_os_Parcel_dataAvail(JNIEnv* env, jclass clazz, jlong nativePtr) in android_os_Parcel_dataAvail()
103 static jint android_os_Parcel_dataPosition(JNIEnv* env, jclass clazz, jlong nativePtr) in android_os_Parcel_dataPosition()
109 static jint android_os_Parcel_dataCapacity(JNIEnv* env, jclass clazz, jlong nativePtr) in android_os_Parcel_dataCapacity()
115 static void android_os_Parcel_setDataSize(JNIEnv* env, jclass clazz, jlong nativePtr, jint size) in android_os_Parcel_setDataSize()
126 static void android_os_Parcel_setDataPosition(JNIEnv* env, jclass clazz, jlong nativePtr, jint pos) in android_os_Parcel_setDataPosition()
134 static void android_os_Parcel_setDataCapacity(JNIEnv* env, jclass clazz, jlong nativePtr, jint size) in android_os_Parcel_setDataCapacity()
145 static jboolean android_os_Parcel_pushAllowFds(JNIEnv* env, jclass clazz, jlong nativePtr, jboolean… in android_os_Parcel_pushAllowFds()
155 static void android_os_Parcel_restoreAllowFds(JNIEnv* env, jclass clazz, jlong nativePtr, jboolean … in android_os_Parcel_restoreAllowFds()
163 static void android_os_Parcel_writeNative(JNIEnv* env, jclass clazz, jlong nativePtr, jobject data, in android_os_Parcel_writeNative()
[all …]
/frameworks/base/core/jni/android/graphics/
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 …]
DMatrix.cpp34 static void finalizer(JNIEnv* env, jobject clazz, jlong objHandle) { in finalizer()
39 static jlong create(JNIEnv* env, jobject clazz, jlong srcHandle) { in create()
46 return reinterpret_cast<jlong>(obj); in create()
49 static jboolean isIdentity(JNIEnv* env, jobject clazz, jlong objHandle) { in isIdentity()
54 static jboolean isAffine(JNIEnv* env, jobject clazz, jlong objHandle) { in isAffine()
59 static jboolean rectStaysRect(JNIEnv* env, jobject clazz, jlong objHandle) { in rectStaysRect()
64 static void reset(JNIEnv* env, jobject clazz, jlong objHandle) { in reset()
68 static void set(JNIEnv* env, jobject clazz, jlong objHandle, jlong otherHandle) { in set()
73 static void setTranslate(JNIEnv* env, jobject clazz, jlong objHandle, jfloat dx, jfloat dy) { in setTranslate()
77 …static void setScale__FFFF(JNIEnv* env, jobject clazz, jlong objHandle, jfloat sx, jfloat sy, jflo… in setScale__FFFF()
[all …]
DTypeface.cpp30 static jlong Typeface_createFromTypeface(JNIEnv* env, jobject, jlong familyHandle, jint style) { in Typeface_createFromTypeface()
41 return reinterpret_cast<jlong>(face); in Typeface_createFromTypeface()
44 static jlong Typeface_createWeightAlias(JNIEnv* env, jobject, jlong familyHandle, jint weight) { in Typeface_createWeightAlias()
47 return reinterpret_cast<jlong>(face); in Typeface_createWeightAlias()
50 static void Typeface_unref(JNIEnv* env, jobject obj, jlong faceHandle) { in Typeface_unref()
55 static jint Typeface_getStyle(JNIEnv* env, jobject obj, jlong faceHandle) { in Typeface_getStyle()
60 static jlong Typeface_createFromArray(JNIEnv *env, jobject, jlongArray familyArray) { in Typeface_createFromArray()
62 … return reinterpret_cast<jlong>(TypefaceImpl_createFromFamilies(families.get(), families.size())); in Typeface_createFromArray()
65 static void Typeface_setDefault(JNIEnv *env, jobject, jlong faceHandle) { in Typeface_setDefault()
DShader.cpp53 static void Shader_destructor(JNIEnv* env, jobject o, jlong shaderHandle, jlong shaderWithLMHandle) in Shader_destructor()
59 static void Shader_setLocalMatrix(JNIEnv* env, jobject o, jlong shaderHandle, jlong matrixHandle) in Shader_setLocalMatrix()
75 static jlong BitmapShader_constructor(JNIEnv* env, jobject o, jlong bitmapHandle, in BitmapShader_constructor()
84 return reinterpret_cast<jlong>(s); in BitmapShader_constructor()
89 static jlong LinearGradient_create1(JNIEnv* env, jobject o, in LinearGradient_create1()
113 return reinterpret_cast<jlong>(shader); in LinearGradient_create1()
116 static jlong LinearGradient_create2(JNIEnv* env, jobject o, in LinearGradient_create2()
131 return reinterpret_cast<jlong>(s); in LinearGradient_create2()
136 static jlong RadialGradient_create1(JNIEnv* env, jobject, jfloat x, jfloat y, jfloat radius, in RadialGradient_create1()
158 return reinterpret_cast<jlong>(shader); in RadialGradient_create1()
[all …]
DPath.cpp39 static void finalizer(JNIEnv* env, jobject clazz, jlong objHandle) { in finalizer()
50 static jlong init1(JNIEnv* env, jobject clazz) { in init1()
51 return reinterpret_cast<jlong>(new SkPath()); in init1()
54 static jlong init2(JNIEnv* env, jobject clazz, jlong valHandle) { in init2()
56 return reinterpret_cast<jlong>(new SkPath(*val)); in init2()
59 static void reset(JNIEnv* env, jobject clazz, jlong objHandle) { in reset()
64 static void rewind(JNIEnv* env, jobject clazz, jlong objHandle) { in rewind()
69 static void assign(JNIEnv* env, jobject clazz, jlong dstHandle, jlong srcHandle) { in assign()
75 static jboolean isConvex(JNIEnv* env, jobject clazz, jlong objHandle) { in isConvex()
80 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 …]
DMaskFilter.cpp17 static void destructor(JNIEnv* env, jobject, jlong filterHandle) { in destructor()
22 static jlong createBlur(JNIEnv* env, jobject, jfloat radius, jint blurStyle) { in createBlur()
26 return reinterpret_cast<jlong>(filter); in createBlur()
29 …static jlong createEmboss(JNIEnv* env, jobject, jfloatArray dirArray, jfloat ambient, jfloat specu… in createEmboss()
42 return reinterpret_cast<jlong>(filter); in createEmboss()
45 static jlong createTable(JNIEnv* env, jobject, jbyteArray jtable) { in createTable()
48 return reinterpret_cast<jlong>(filter); in createTable()
51 static jlong createClipTable(JNIEnv* env, jobject, jint min, jint max) { in createClipTable()
53 return reinterpret_cast<jlong>(filter); in createClipTable()
56 static jlong createGammaTable(JNIEnv* env, jobject, jfloat gamma) { in createGammaTable()
[all …]
DNinePatch.cpp66 static jlong validateNinePatchChunk(JNIEnv* env, jobject, jlong, jbyteArray obj) { in validateNinePatchChunk() argument
77 return reinterpret_cast<jlong>(Res_png_9patch::deserialize(storage)); in validateNinePatchChunk()
80 static void finalize(JNIEnv* env, jobject, jlong patchHandle) { in finalize()
121 static void drawF(JNIEnv* env, jobject, jlong canvasHandle, jobject boundsRectF, in drawF()
122 jlong bitmapHandle, jlong chunkHandle, jlong paintHandle, in drawF()
140 static void drawI(JNIEnv* env, jobject, jlong canvasHandle, jobject boundsRect, in drawI()
141 jlong bitmapHandle, jlong chunkHandle, jlong paintHandle, in drawI()
158 static jlong getTransparentRegion(JNIEnv* env, jobject, jlong bitmapHandle, in getTransparentRegion()
159 jlong chunkHandle, jobject boundsRect) { in getTransparentRegion()
172 return reinterpret_cast<jlong>(region); in getTransparentRegion()
DPathMeasure.cpp55 static jlong create(JNIEnv* env, jobject clazz, jlong pathHandle, in create()
64 return reinterpret_cast<jlong>(pair); in create()
67 static void setPath(JNIEnv* env, jobject clazz, jlong pairHandle, in setPath()
68 jlong pathHandle, jboolean forceClosedHandle) { in setPath()
81 static jfloat getLength(JNIEnv* env, jobject clazz, jlong pairHandle) { in getLength()
93 …static jboolean getPosTan(JNIEnv* env, jobject clazz, jlong pairHandle, jfloat dist, jfloatArray p… in getPosTan()
112 static jboolean getMatrix(JNIEnv* env, jobject clazz, jlong pairHandle, jfloat dist, in getMatrix()
113 jlong matrixHandle, jint flags) { in getMatrix()
120 static jboolean getSegment(JNIEnv* env, jobject clazz, jlong pairHandle, jfloat startF, in getSegment()
121 jfloat stopF, jlong dstHandle, jboolean startWithMoveTo) { in getSegment()
[all …]
/frameworks/opt/net/wifi/service/jni/
Djni_helper.h9 jlong getLongField(JNIEnv *env, jobject obj, const char *name);
11 jlong getLongArrayField(JNIEnv *env, jobject obj, const char *name, int index);
14 void setLongField(JNIEnv *env, jobject obj, const char *name, jlong value);
16 void setLongArrayElement(JNIEnv *env, jobject obj, const char *name, int index, jlong value);
22 jlong getStaticLongField(JNIEnv *env, jobject obj, const char *name);
23 jlong getStaticLongField(JNIEnv *env, jclass cls, const char *name);
24 void setStaticLongField(JNIEnv *env, jobject obj, const char *name, jlong value);
25 void setStaticLongField(JNIEnv *env, jclass cls, const char *name, jlong value);
26 jlong getStaticLongArrayField(JNIEnv *env, jobject obj, const char *name, int index);
27 jlong getStaticLongArrayField(JNIEnv *env, jclass cls, const char *name, int index);

1234567