Lines Matching defs:env
47 JNIEnv* env, jobject clazz, struct AConfiguration* out) {
48 out->mcc = env->GetIntField(clazz, gConfigurationClassInfo.mcc);
49 out->mnc = env->GetIntField(clazz, gConfigurationClassInfo.mnc);
50 out->screenLayout = env->GetIntField(clazz, gConfigurationClassInfo.screenLayout);
51 out->touchscreen = env->GetIntField(clazz, gConfigurationClassInfo.touchscreen);
52 out->keyboard = env->GetIntField(clazz, gConfigurationClassInfo.keyboard);
53 out->navigation = env->GetIntField(clazz, gConfigurationClassInfo.navigation);
55 out->inputFlags = env->GetIntField(clazz, gConfigurationClassInfo.keyboardHidden);
56 int hardKeyboardHidden = env->GetIntField(clazz, gConfigurationClassInfo.hardKeyboardHidden);
61 out->inputFlags |= env->GetIntField(clazz, gConfigurationClassInfo.navigationHidden)
64 out->orientation = env->GetIntField(clazz, gConfigurationClassInfo.orientation);
65 out->uiMode = env->GetIntField(clazz, gConfigurationClassInfo.uiMode);
67 out->screenWidthDp = env->GetIntField(clazz, gConfigurationClassInfo.screenWidthDp);
68 out->screenHeightDp = env->GetIntField(clazz, gConfigurationClassInfo.screenHeightDp);
69 out->smallestScreenWidthDp = env->GetIntField(clazz,
83 var = env->FindClass(className); \
87 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \
90 int register_android_content_res_Configuration(JNIEnv* env)
126 return AndroidRuntime::registerNativeMethods(env, "android/content/res/Configuration", gMethods,