Home
last modified time | relevance | path

Searched defs:env (Results 1 – 25 of 25) sorted by relevance

/packages/inputmethods/PinyinIME/jni/android/
Dcom_android_inputmethod_pinyin_PinyinDecoderService.cpp48 JNIEXPORT jboolean JNICALL nativeImOpenDecoder(JNIEnv* env, jclass jclazz, in nativeImOpenDecoder()
65 JNIEXPORT jboolean JNICALL nativeImOpenDecoderFd(JNIEnv* env, jclass jclazz, in nativeImOpenDecoderFd()
86 JNIEXPORT void JNICALL nativeImSetMaxLens(JNIEnv* env, jclass jclazz, in nativeImSetMaxLens()
94 JNIEXPORT jboolean JNICALL nativeImCloseDecoder(JNIEnv* env, jclass jclazz) { in nativeImCloseDecoder()
99 JNIEXPORT jint JNICALL nativeImSearch(JNIEnv* env, jclass jclazz, in nativeImSearch()
113 JNIEXPORT jint JNICALL nativeImDelSearch(JNIEnv* env, jclass jclazz, jint pos, in nativeImDelSearch()
119 JNIEXPORT void JNICALL nativeImResetSearch(JNIEnv* env, jclass jclazz) { in nativeImResetSearch()
124 JNIEXPORT jint JNICALL nativeImAddLetter(JNIEnv *env, jclass clazz, jbyte ch) { in nativeImAddLetter()
128 JNIEXPORT jstring JNICALL nativeImGetPyStr(JNIEnv* env, jclass jclazz, in nativeImGetPyStr()
149 JNIEXPORT jint JNICALL nativeImGetPyStrLen(JNIEnv* env, jclass jclazz, in nativeImGetPyStrLen()
[all …]
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/
DOpenWnnDictionaryImplJni.c58 static int convertStringToNjChar( JNIEnv *env, NJ_CHAR* dst, jstring srcJ, int maxChars ) in convertStringToNjChar()
136 static int convertNjCharToString( JNIEnv* env, jstring* dstJ, NJ_CHAR* src, int maxChars ) in convertNjCharToString()
206 (JNIEnv *env, jobject obj, jstring dicLibPathJ) in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_createWnnWork()
285 (JNIEnv *env, jobject obj, jlong wnnWork) in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_freeWnnWork()
311 (JNIEnv *env, jobject obj, jlong wnnWork) in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_clearDictionaryParameters()
341 (JNIEnv *env, jobject obj, jlong wnnWork, jint index, jint base, jint high) in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setDictionaryParameter()
385 (JNIEnv *env, jobject obj, jlong wnnWork, jint operation, jint order, jstring keyString) in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_searchWord()
453 (JNIEnv *env, jclass obj, jlong wnnWork, jint length) in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_getNextWord()
497 (JNIEnv *env, jobject obj, jlong wnnWork) in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_getStroke()
530 (JNIEnv *env, jobject obj, jlong wnnWork) in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_getCandidate()
[all …]
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_hdp.cpp46 JNIEnv* env = AndroidRuntime::getJNIEnv(); in checkCallbackThread() local
100 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative()
133 static void initializeNative(JNIEnv *env, jobject object) { in initializeNative()
169 static void cleanupNative(JNIEnv *env, jobject object) { in cleanupNative()
191 static jint registerHealthAppNative(JNIEnv *env, jobject object, jint data_type, in registerHealthAppNative()
223 static jboolean unregisterHealthAppNative(JNIEnv *env, jobject object, int app_id) { in unregisterHealthAppNative()
233 static jint connectChannelNative(JNIEnv *env, jobject object, in connectChannelNative()
257 static jboolean disconnectChannelNative(JNIEnv *env, jobject object, jint channel_id) { in disconnectChannelNative()
279 int register_com_android_bluetooth_hdp(JNIEnv* env) in register_com_android_bluetooth_hdp()
Dcom_android_bluetooth_hfp.cpp65 JNIEnv* env = AndroidRuntime::getJNIEnv(); in checkCallbackThread() local
219 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative()
268 static void initializeNative(JNIEnv *env, jobject object) { in initializeNative()
304 static void cleanupNative(JNIEnv *env, jobject object) { in cleanupNative()
326 static jboolean connectHfpNative(JNIEnv *env, jobject object, jbyteArray address) { in connectHfpNative()
346 static jboolean disconnectHfpNative(JNIEnv *env, jobject object, jbyteArray address) { in disconnectHfpNative()
365 static jboolean connectAudioNative(JNIEnv *env, jobject object, jbyteArray address) { in connectAudioNative()
385 static jboolean disconnectAudioNative(JNIEnv *env, jobject object, jbyteArray address) { in disconnectAudioNative()
405 static jboolean startVoiceRecognitionNative(JNIEnv *env, jobject object) { in startVoiceRecognitionNative()
415 static jboolean stopVoiceRecognitionNative(JNIEnv *env, jobject object) { in stopVoiceRecognitionNative()
[all …]
Dcom_android_bluetooth_a2dp.cpp45 JNIEnv* env = AndroidRuntime::getJNIEnv(); in checkCallbackThread() local
102 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative()
137 static void initNative(JNIEnv *env, jobject object) { in initNative()
173 static void cleanupNative(JNIEnv *env, jobject object) { in cleanupNative()
193 static jboolean connectA2dpNative(JNIEnv *env, jobject object, jbyteArray address) { in connectA2dpNative()
215 static jboolean disconnectA2dpNative(JNIEnv *env, jobject object, jbyteArray address) { in disconnectA2dpNative()
242 int register_com_android_bluetooth_a2dp(JNIEnv* env) in register_com_android_bluetooth_a2dp()
Dcom_android_bluetooth_hid.cpp54 JNIEnv* env = AndroidRuntime::getJNIEnv(); in checkCallbackThread() local
145 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative()
178 static void initializeNative(JNIEnv *env, jobject object) { in initializeNative()
217 static void cleanupNative(JNIEnv *env, jobject object) { in cleanupNative()
241 static jboolean connectHidNative(JNIEnv *env, jobject object, jbyteArray address) { in connectHidNative()
263 static jboolean disconnectHidNative(JNIEnv *env, jobject object, jbyteArray address) { in disconnectHidNative()
285 static jboolean getProtocolModeNative(JNIEnv *env, jobject object, jbyteArray address) { in getProtocolModeNative()
308 static jboolean virtualUnPlugNative(JNIEnv *env, jobject object, jbyteArray address) { in virtualUnPlugNative()
330 static jboolean setProtocolModeNative(JNIEnv *env, jobject object, jbyteArray address, jint protoco… in setProtocolModeNative()
366 static jboolean getReportNative(JNIEnv *env, jobject object, jbyteArray address, jbyte reportType, … in getReportNative()
[all …]
Dcom_android_bluetooth_pan.cpp54 JNIEnv* env = AndroidRuntime::getJNIEnv(); in checkCallbackThread() local
96 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative()
109 static void initializeNative(JNIEnv *env, jobject object) { in initializeNative()
147 static void cleanupNative(JNIEnv *env, jobject object) { in cleanupNative()
165 static jboolean enablePanNative(JNIEnv *env, jobject object, jint local_role) { in enablePanNative()
174 static jint getPanLocalRoleNative(JNIEnv *env, jobject object) { in getPanLocalRoleNative()
186 static jboolean connectPanNative(JNIEnv *env, jobject object, jbyteArray address, in connectPanNative()
210 static jboolean disconnectPanNative(JNIEnv *env, jobject object, jbyteArray address) { in disconnectPanNative()
243 int register_com_android_bluetooth_pan(JNIEnv* env) in register_com_android_bluetooth_pan()
Dcom_android_bluetooth_btservice_AdapterService.cpp60 void checkAndClearExceptionFromCallback(JNIEnv* env, in checkAndClearExceptionFromCallback()
70 JNIEnv* env = AndroidRuntime::getJNIEnv(); in checkCallbackThread() local
460 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative()
512 static bool initNative(JNIEnv* env, jobject obj) { in initNative()
533 static bool cleanupNative(JNIEnv *env, jobject obj) { in cleanupNative()
546 static jboolean enableNative(JNIEnv* env, jobject obj) { in enableNative()
557 static jboolean disableNative(JNIEnv* env, jobject obj) { in disableNative()
568 static jboolean startDiscoveryNative(JNIEnv* env, jobject obj) { in startDiscoveryNative()
579 static jboolean cancelDiscoveryNative(JNIEnv* env, jobject obj) { in cancelDiscoveryNative()
590 static jboolean createBondNative(JNIEnv* env, jobject obj, jbyteArray address) { in createBondNative()
[all …]
/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_latin_DicTraverseSession.cpp26 static jlong latinime_setDicTraverseSession(JNIEnv *env, jobject object, jstring localeJStr) { in latinime_setDicTraverseSession()
31 static void latinime_initDicTraverseSession(JNIEnv *env, jobject object, jlong traverseSession, in latinime_initDicTraverseSession()
44 static void latinime_releaseDicTraverseSession(JNIEnv *env, jobject object, jlong traverseSession) { in latinime_releaseDicTraverseSession()
58 int register_DicTraverseSession(JNIEnv *env) { in register_DicTraverseSession()
Djni_common.cpp34 JNIEnv *env = 0; in JNI_OnLoad() local
67 int registerNativeMethods(JNIEnv *env, const char *className, JNINativeMethod *methods, in registerNativeMethods()
Dcom_android_inputmethod_latin_BinaryDictionary.cpp46 static jlong latinime_BinaryDictionary_open(JNIEnv *env, jobject object, in latinime_BinaryDictionary_open()
131 static int latinime_BinaryDictionary_getSuggestions(JNIEnv *env, jobject object, jlong dict, in latinime_BinaryDictionary_getSuggestions()
201 static jint latinime_BinaryDictionary_getFrequency(JNIEnv *env, jobject object, jlong dict, in latinime_BinaryDictionary_getFrequency()
211 static jboolean latinime_BinaryDictionary_isValidBigram(JNIEnv *env, jobject object, jlong dict, in latinime_BinaryDictionary_isValidBigram()
224 static jfloat latinime_BinaryDictionary_calcNormalizedScore(JNIEnv *env, jobject object, in latinime_BinaryDictionary_calcNormalizedScore()
237 static jint latinime_BinaryDictionary_editDistance(JNIEnv *env, jobject object, in latinime_BinaryDictionary_editDistance()
250 static void latinime_BinaryDictionary_close(JNIEnv *env, jobject object, jlong dict) { in latinime_BinaryDictionary_close()
295 int register_BinaryDictionary(JNIEnv *env) { in register_BinaryDictionary()
Dcom_android_inputmethod_keyboard_ProximityInfo.cpp26 static jlong latinime_Keyboard_setProximityInfo(JNIEnv *env, jobject object, in latinime_Keyboard_setProximityInfo()
39 static void latinime_Keyboard_release(JNIEnv *env, jobject object, jlong proximityInfo) { in latinime_Keyboard_release()
50 int register_ProximityInfo(JNIEnv *env) { in register_ProximityInfo()
/packages/apps/LegacyCamera/jni/
Dmosaic_renderer_jni.cpp480 JNIEnv * env, jobject obj) in Java_com_android_camera_panorama_MosaicRenderer_init()
544 JNIEnv * env, jobject obj, jint width, jint height, jboolean isLandscapeOrientation) in Java_com_android_camera_panorama_MosaicRenderer_reset()
626 JNIEnv * env, jobject obj, jfloatArray stMatrix) in Java_com_android_camera_panorama_MosaicRenderer_preprocess()
655 JNIEnv * env, jobject obj) in Java_com_android_camera_panorama_MosaicRenderer_transferGPUtoCPU()
693 JNIEnv * env, jobject obj) in Java_com_android_camera_panorama_MosaicRenderer_step()
727 JNIEnv * env, jobject obj, jboolean flag) in Java_com_android_camera_panorama_MosaicRenderer_setWarping()
754 JNIEnv * env, jobject obj) in Java_com_android_camera_panorama_MosaicRenderer_ready()
Dfeature_mos_jni.cpp278 JNIEnv* env, jobject thiz, jint width, jint height) in Java_com_android_camera_panorama_Mosaic_allocateMosaicMemory()
297 JNIEnv* env, jobject thiz) in Java_com_android_camera_panorama_Mosaic_freeMosaicMemory()
365 JNIEnv* env, jobject thiz) in Java_com_android_camera_panorama_Mosaic_setSourceImageFromGPU()
417 JNIEnv* env, jobject thiz, jbyteArray photo_data) in Java_com_android_camera_panorama_Mosaic_setSourceImage()
474 JNIEnv* env, jobject thiz, jint type) in Java_com_android_camera_panorama_Mosaic_setBlendingType()
480 JNIEnv* env, jobject thiz, jint type) in Java_com_android_camera_panorama_Mosaic_setStripType()
486 JNIEnv* env, jobject thiz) in Java_com_android_camera_panorama_Mosaic_reset()
501 JNIEnv* env, jobject thiz, jboolean hires, jboolean cancel_computation) in Java_com_android_camera_panorama_Mosaic_reportProgress()
515 JNIEnv* env, jobject thiz, jboolean value) in Java_com_android_camera_panorama_Mosaic_createMosaic()
572 JNIEnv* env, jobject thiz) in Java_com_android_camera_panorama_Mosaic_getFinalMosaic()
[all …]
/packages/apps/Camera/jni/
Dfeature_mos_jni.cpp278 JNIEnv* env, jobject thiz, jint width, jint height) in Java_com_android_camera_Mosaic_allocateMosaicMemory()
297 JNIEnv* env, jobject thiz) in Java_com_android_camera_Mosaic_freeMosaicMemory()
365 JNIEnv* env, jobject thiz) in Java_com_android_camera_Mosaic_setSourceImageFromGPU()
417 JNIEnv* env, jobject thiz, jbyteArray photo_data) in Java_com_android_camera_Mosaic_setSourceImage()
474 JNIEnv* env, jobject thiz, jint type) in Java_com_android_camera_Mosaic_setBlendingType()
480 JNIEnv* env, jobject thiz, jint type) in Java_com_android_camera_Mosaic_setStripType()
486 JNIEnv* env, jobject thiz) in Java_com_android_camera_Mosaic_reset()
501 JNIEnv* env, jobject thiz, jboolean hires, jboolean cancel_computation) in Java_com_android_camera_Mosaic_reportProgress()
515 JNIEnv* env, jobject thiz, jboolean value) in Java_com_android_camera_Mosaic_createMosaic()
572 JNIEnv* env, jobject thiz) in Java_com_android_camera_Mosaic_getFinalMosaic()
[all …]
Dmosaic_renderer_jni.cpp512 JNIEnv * env, jobject obj) in Java_com_android_camera_MosaicRenderer_init()
582 JNIEnv * env, jobject obj, jint width, jint height, jboolean isLandscapeOrientation) in Java_com_android_camera_MosaicRenderer_reset()
663 JNIEnv * env, jobject obj, jfloatArray stMatrix) in Java_com_android_camera_MosaicRenderer_preprocess()
692 JNIEnv * env, jobject obj) in Java_com_android_camera_MosaicRenderer_transferGPUtoCPU()
730 JNIEnv * env, jobject obj) in Java_com_android_camera_MosaicRenderer_step()
764 JNIEnv * env, jobject obj, jboolean flag) in Java_com_android_camera_MosaicRenderer_setWarping()
796 JNIEnv * env, jobject obj) in Java_com_android_camera_MosaicRenderer_updateMatrix()
/packages/apps/Gallery2/jni/
Djni_egl_fence.cpp57 Java_com_android_gallery3d_photoeditor_FilterStack_nativeEglSetFenceAndWait(JNIEnv* env, in Java_com_android_gallery3d_photoeditor_FilterStack_nativeEglSetFenceAndWait()
/packages/inputmethods/LatinIME/native/jni/src/
Ddic_traverse_wrapper.h30 static void *getDicTraverseSession(JNIEnv *env, jstring locale) { in getDicTraverseSession()
Dproximity_info.cpp34 static inline void safeGetOrFillZeroIntArrayRegion(JNIEnv *env, jintArray jArray, jsize len, in safeGetOrFillZeroIntArrayRegion()
43 static inline void safeGetOrFillZeroFloatArrayRegion(JNIEnv *env, jfloatArray jArray, jsize len, in safeGetOrFillZeroFloatArrayRegion()
52 ProximityInfo::ProximityInfo(JNIEnv *env, const jstring localeJStr, const int maxProximityCharsSize, in ProximityInfo()
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
DSoftKeyboardView.java244 Environment env = Environment.getInstance(); in onKeyPress() local
405 Environment env = Environment.getInstance(); in onDraw() local
DSoftKeyboard.java248 Environment env = Environment.getInstance(); in getKeyXMargin() local
253 Environment env = Environment.getInstance(); in getKeyYMargin() local
DCandidatesContainer.java231 Environment env = Environment.getInstance(); in onMeasure() local
DSkbContainer.java415 Environment env = Environment.getInstance(); in onMeasure() local
DPinyinIME.java213 Environment env = Environment.getInstance(); in onConfigurationChanged() local
/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/
DGLStub.java958 int env, in glGetTexEnviv()
965 int env, in glGetTexEnviv()
971 int env, in glGetTexEnvxv()
978 int env, in glGetTexEnvxv()