diff options
author | Alex Sakhartchouk <alexst@google.com> | 2010-12-17 11:41:08 -0800 |
---|---|---|
committer | Alex Sakhartchouk <alexst@google.com> | 2010-12-17 11:41:08 -0800 |
commit | e27cdeeecba5b445e307d653d9cb7da007adfac3 (patch) | |
tree | 2bd196f42ef3d904c610f2b327642391a6724e20 /graphics/jni | |
parent | 60e41fa4456ce6bc37a33b1e4b81a56e9411199b (diff) | |
download | frameworks_base-e27cdeeecba5b445e307d653d9cb7da007adfac3.zip frameworks_base-e27cdeeecba5b445e307d653d9cb7da007adfac3.tar.gz frameworks_base-e27cdeeecba5b445e307d653d9cb7da007adfac3.tar.bz2 |
API reaview cleanup
Change-Id: Ib1aaf81130ffa6b5e6c60096c27c969e8891db3f
Diffstat (limited to 'graphics/jni')
-rw-r--r-- | graphics/jni/android_renderscript_RenderScript.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/jni/android_renderscript_RenderScript.cpp b/graphics/jni/android_renderscript_RenderScript.cpp index a8343b3..493653a 100644 --- a/graphics/jni/android_renderscript_RenderScript.cpp +++ b/graphics/jni/android_renderscript_RenderScript.cpp @@ -623,7 +623,7 @@ nFileA3DGetEntryByIndex(JNIEnv *_env, jobject _this, RsContext con, jint fileA3D // ----------------------------------- static int -nFontCreateFromFile(JNIEnv *_env, jobject _this, RsContext con, jstring fileName, jint fontSize, jint dpi) +nFontCreateFromFile(JNIEnv *_env, jobject _this, RsContext con, jstring fileName, jfloat fontSize, jint dpi) { const char* fileNameUTF = _env->GetStringUTFChars(fileName, NULL); @@ -1239,7 +1239,7 @@ static JNINativeMethod methods[] = { {"rsnFileA3DGetIndexEntries", "(III[I[Ljava/lang/String;)V", (void*)nFileA3DGetIndexEntries }, {"rsnFileA3DGetEntryByIndex", "(III)I", (void*)nFileA3DGetEntryByIndex }, -{"rsnFontCreateFromFile", "(ILjava/lang/String;II)I", (void*)nFontCreateFromFile }, +{"rsnFontCreateFromFile", "(ILjava/lang/String;FI)I", (void*)nFontCreateFromFile }, {"rsnElementCreate", "(IIIZI)I", (void*)nElementCreate }, {"rsnElementCreate2", "(I[I[Ljava/lang/String;[I)I", (void*)nElementCreate2 }, |