/frameworks/base/core/jni/android/graphics/ |
Camera.cpp | 8 static void Camera_constructor(JNIEnv* env, jobject obj) { 10 env->SetIntField(obj, gNativeInstanceFieldID, (int)view); 13 static void Camera_destructor(JNIEnv* env, jobject obj) { 14 delete (Sk3DView*)env->GetIntField(obj, gNativeInstanceFieldID); 17 static void Camera_save(JNIEnv* env, jobject obj) { 18 Sk3DView* v = (Sk3DView*)env->GetIntField(obj, gNativeInstanceFieldID); 22 static void Camera_restore(JNIEnv* env, jobject obj) { 23 Sk3DView* v = (Sk3DView*)env->GetIntField(obj, gNativeInstanceFieldID); 27 static void Camera_translate(JNIEnv* env, jobject obj, 29 Sk3DView* v = (Sk3DView*)env->GetIntField(obj, gNativeInstanceFieldID) [all...] |
ColorFilter.cpp | 35 static void finalizer(JNIEnv* env, jobject clazz, SkColorFilter* obj, SkiaColorFilter* f) { 47 static SkiaColorFilter* glCreatePorterDuffFilter(JNIEnv* env, jobject, SkColorFilter *skFilter, 56 static SkiaColorFilter* glCreateLightingFilter(JNIEnv* env, jobject, SkColorFilter *skFilter, 65 static SkiaColorFilter* glCreateColorMatrixFilter(JNIEnv* env, jobject, SkColorFilter *skFilter, 68 AutoJavaFloatArray autoArray(env, jarray, 20); 89 static SkColorFilter* CreatePorterDuffFilter(JNIEnv* env, jobject, jint srcColor, 94 static SkColorFilter* CreateLightingFilter(JNIEnv* env, jobject, jint mul, jint add) { 98 static SkColorFilter* CreateColorMatrixFilter(JNIEnv* env, jobject, jfloatArray jarray) { 99 AutoJavaFloatArray autoArray(env, jarray, 20); 133 #define REG(env, name, array) [all...] |
LayerRasterizer.cpp | 6 static SkRasterizer* create(JNIEnv* env, jobject) { 10 static void addLayer(JNIEnv* env, jobject, SkLayerRasterizer* layer, const SkPaint* paint, float dx, float dy) { 26 int register_android_graphics_LayerRasterizer(JNIEnv* env) 28 return android::AndroidRuntime::registerNativeMethods(env,
|
/frameworks/base/core/jni/ |
android_media_JetPlayer.cpp | 58 JNIEnv *env = AndroidRuntime::getJNIEnv(); local 59 if (env) { 60 env->CallStaticVoidMethod( 64 if (env->ExceptionCheck()) { 65 env->ExceptionDescribe(); 66 env->ExceptionClear(); 69 ALOGE("JET jetPlayerEventCallback(): No JNI env for JET event callback, can't post event."); 79 android_media_JetPlayer_setup(JNIEnv *env, jobject thiz, jobject weak_this, 83 JetPlayer* lpJet = new JetPlayer(env->NewGlobalRef(weak_this), maxTracks, trackBufferSize); 90 env->SetIntField(thiz, javaJetPlayerFields.nativePlayerInJavaObj, (int)lpJet) [all...] |
android_os_SystemClock.cpp | 38 static jboolean android_os_SystemClock_setCurrentTimeMillis(JNIEnv* env, 47 static jlong android_os_SystemClock_uptimeMillis(JNIEnv* env, 56 static jlong android_os_SystemClock_elapsedRealtime(JNIEnv* env, 65 static jlong android_os_SystemClock_currentThreadTimeMillis(JNIEnv* env, 85 static jlong android_os_SystemClock_currentThreadTimeMicro(JNIEnv* env, 105 static jlong android_os_SystemClock_currentTimeMicro(JNIEnv* env, 117 static jlong android_os_SystemClock_elapsedRealtimeNano(JNIEnv* env, 143 int register_android_os_SystemClock(JNIEnv* env) 145 return AndroidRuntime::registerNativeMethods(env,
|
android_os_SystemProperties.cpp | 30 static jstring SystemProperties_getSS(JNIEnv *env, jobject clazz, 39 jniThrowNullPointerException(env, "key must not be null."); 43 key = env->GetStringUTFChars(keyJ, NULL); 49 rvJ = env->NewStringUTF(buf); 51 rvJ = env->NewStringUTF(""); 54 env->ReleaseStringUTFChars(keyJ, key); 60 static jstring SystemProperties_getS(JNIEnv *env, jobject clazz, 63 return SystemProperties_getSS(env, clazz, keyJ, NULL); 66 static jint SystemProperties_get_int(JNIEnv *env, jobject clazz, 76 jniThrowNullPointerException(env, "key must not be null.") 202 JNIEnv* env; local [all...] |
android_util_FileObserver.cpp | 40 static jint android_os_fileobserver_init(JNIEnv* env, jobject object) 53 static void android_os_fileobserver_observe(JNIEnv* env, jobject object, jint fd) 83 path = env->NewStringUTF(event->name); 86 env->CallVoidMethod(object, method_onEvent, event->wd, event->mask, path); 87 if (env->ExceptionCheck()) { 88 env->ExceptionDescribe(); 89 env->ExceptionClear(); 93 env->DeleteLocalRef(path); 105 static jint android_os_fileobserver_startWatching(JNIEnv* env, jobject object, jint fd, jstring pathString, jint mask) 113 const char* path = env->GetStringUTFChars(pathString, NULL) [all...] |
android_view_InputDevice.cpp | 37 jobject android_view_InputDevice_create(JNIEnv* env, const InputDeviceInfo& deviceInfo) { 38 ScopedLocalRef<jstring> nameObj(env, env->NewStringUTF(deviceInfo.getDisplayName().string())); 43 ScopedLocalRef<jstring> descriptorObj(env, 44 env->NewStringUTF(deviceInfo.getIdentifier().descriptor.string())); 49 ScopedLocalRef<jobject> kcmObj(env, 50 android_view_KeyCharacterMap_create(env, deviceInfo.getId(), 56 ScopedLocalRef<jobject> inputDeviceObj(env, env->NewObject(gInputDeviceClassInfo.clazz, 65 env->CallVoidMethod(inputDeviceObj.get(), gInputDeviceClassInfo.addMotionRange, range.axis [all...] |
android_view_InputDevice.h | 27 extern jobject android_view_InputDevice_create(JNIEnv* env, const InputDeviceInfo& deviceInfo);
|
android_view_SurfaceSession.cpp | 36 JNIEnv* env, jobject surfaceSessionObj) { 38 env->GetIntField(surfaceSessionObj, gSurfaceSessionClassInfo.mNativeClient)); 42 static jint nativeCreate(JNIEnv* env, jclass clazz) { 48 static void nativeDestroy(JNIEnv* env, jclass clazz, jint ptr) { 53 static void nativeKill(JNIEnv* env, jclass clazz, jint ptr) { 69 int register_android_view_SurfaceSession(JNIEnv* env) { 70 int res = jniRegisterNativeMethods(env, "android/view/SurfaceSession", 74 jclass clazz = env->FindClass("android/view/SurfaceSession"); 75 gSurfaceSessionClassInfo.mNativeClient = env->GetFieldID(clazz, "mNativeClient", "I");
|
com_android_internal_os_ZygoteInit.cpp | 40 JNIEnv* env, jobject clazz, jint ruid, jint euid) 53 JNIEnv* env, jobject clazz, jint rgid, jint egid) 66 JNIEnv* env, jobject clazz, jint pid, jint pgid) 79 JNIEnv* env, jobject clazz, jint pid) 85 jniThrowIOException(env, errno); 91 static void com_android_internal_os_ZygoteInit_reopenStdio(JNIEnv* env, 97 fd = jniGetFDFromFileDescriptor(env, in); 99 if (env->ExceptionOccurred() != NULL) { 107 fd = jniGetFDFromFileDescriptor(env, out); 109 if (env->ExceptionOccurred() != NULL) [all...] |
/frameworks/base/include/android_runtime/ |
android_util_AssetManager.h | 26 extern AssetManager* assetManagerForJavaObject(JNIEnv* env, jobject assetMgr);
|
android_view_SurfaceSession.h | 28 JNIEnv* env, jobject surfaceSessionObj);
|
/frameworks/base/media/mca/filterfw/jni/ |
jni_native_frame.h | 27 Java_android_filterfw_core_NativeFrame_nativeAllocate(JNIEnv* env, jobject thiz, jint size); 30 Java_android_filterfw_core_NativeFrame_nativeDeallocate(JNIEnv* env, jobject thiz); 33 Java_android_filterfw_core_NativeFrame_nativeIntSize(JNIEnv* env, jclass clazz); 36 Java_android_filterfw_core_NativeFrame_nativeFloatSize(JNIEnv* env, jclass clazz); 39 Java_android_filterfw_core_NativeFrame_setNativeInts(JNIEnv* env, jobject thiz, jintArray ints); 42 Java_android_filterfw_core_NativeFrame_getNativeInts(JNIEnv* env, jobject thiz, jint size); 45 Java_android_filterfw_core_NativeFrame_setNativeFloats(JNIEnv* env, jobject thiz, jfloatArray ints); 48 Java_android_filterfw_core_NativeFrame_getNativeFloats(JNIEnv* env, jobject thiz, jint size); 51 Java_android_filterfw_core_NativeFrame_setNativeData(JNIEnv* env, 58 Java_android_filterfw_core_NativeFrame_getNativeData(JNIEnv* env, jobject thiz, jint size) [all...] |
/frameworks/base/native/graphics/jni/ |
bitmap.cpp | 20 int AndroidBitmap_getInfo(JNIEnv* env, jobject jbitmap, 22 if (NULL == env || NULL == jbitmap) { 26 SkBitmap* bm = GraphicsJNI::getNativeBitmap(env, jbitmap); 58 int AndroidBitmap_lockPixels(JNIEnv* env, jobject jbitmap, void** addrPtr) { 59 if (NULL == env || NULL == jbitmap) { 63 SkBitmap* bm = GraphicsJNI::getNativeBitmap(env, jbitmap); 81 int AndroidBitmap_unlockPixels(JNIEnv* env, jobject jbitmap) { 82 if (NULL == env || NULL == jbitmap) { 86 SkBitmap* bm = GraphicsJNI::getNativeBitmap(env, jbitmap);
|
/libcore/include/ |
ScopedStringChars.h | 25 ScopedStringChars(JNIEnv* env, jstring s) : mEnv(env), mString(s), mSize(0) { 26 mChars = env->GetStringChars(mString, NULL); 28 mSize = env->GetStringLength(mString);
|
ScopedUtfChars.h | 28 // ScopedUtfChars name(env, javaName); 34 ScopedUtfChars(JNIEnv* env, jstring s) 35 : mEnv(env), mString(s) 39 jniThrowNullPointerException(env, NULL); 41 mUtfChars = env->GetStringUTFChars(s, NULL);
|
/libcore/luni/src/main/native/ |
libcore_icu_NativeBreakIterator.cpp | 42 BreakIteratorAccessor(JNIEnv* env, jint address, jstring javaInput, bool reset) { 43 init(env, address); 50 mChars = env->GetStringChars(mJavaInput, NULL); 55 mUText = utext_openUChars(NULL, mChars, env->GetStringLength(mJavaInput), &mStatus); 67 BreakIteratorAccessor(JNIEnv* env, jint address) { 68 init(env, address); 88 void init(JNIEnv* env, jint address) { 89 mEnv = env; 111 const ScopedUtfChars localeChars(env, javaLocale); \ 117 if (maybeThrowIcuException(env, "ubrk_open", status)) { [all...] |
libcore_icu_NativeNormalizer.cpp | 26 static jstring NativeNormalizer_normalizeImpl(JNIEnv* env, jclass, jstring s, jint intMode) { 27 ScopedJavaUnicodeString src(env, s); 35 maybeThrowIcuException(env, "Normalizer::normalize", status); 36 return dst.isBogus() ? NULL : env->NewString(dst.getBuffer(), dst.length()); 39 static jboolean NativeNormalizer_isNormalizedImpl(JNIEnv* env, jclass, jstring s, jint intMode) { 40 ScopedJavaUnicodeString src(env, s); 47 maybeThrowIcuException(env, "Normalizer::isNormalized", status); 55 void register_libcore_icu_NativeNormalizer(JNIEnv* env) { 56 jniRegisterNativeMethods(env, "libcore/icu/NativeNormalizer", gMethods, NELEM(gMethods));
|
/ndk/sources/cxx-stl/gabi++/include/ |
csetjmp | 42 #define setjmp(env) setjmp (env)
|
/ndk/sources/cxx-stl/system/include/ |
csetjmp | 42 #define setjmp(env) setjmp (env)
|
/packages/apps/Gallery2/jni/filters/ |
highlight.c | 23 AndroidBitmap_lockPixels(env, bitmap, (void**) &destination); 27 jfloat* lum = (*env)->GetFloatArrayElements(env, luminanceMap,0); 39 AndroidBitmap_unlockPixels(env, bitmap);
|
/packages/apps/Gallery2/jni/ |
jni_egl_fence.h | 27 Java_com_android_gallery3d_photoeditor_FilterStack_nativeEglSetFenceAndWait(JNIEnv* env,
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/ |
csetjmp | 40 #define setjmp(env) setjmp (env)
|
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/ |
csetjmp | 40 #define setjmp(env) setjmp (env)
|