Home
last modified time | relevance | path

Searched refs:jchars (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/jni/
Dandroid_os_Trace.cpp58 ScopedStringChars jchars(env, nameStr); in android_os_Trace_nativeTraceBegin() local
59 String8 utf8Chars(reinterpret_cast<const char16_t*>(jchars.get()), jchars.size()); in android_os_Trace_nativeTraceBegin()
76 ScopedStringChars jchars(env, nameStr); in android_os_Trace_nativeAsyncTraceBegin() local
77 String8 utf8Chars(reinterpret_cast<const char16_t*>(jchars.get()), jchars.size()); in android_os_Trace_nativeAsyncTraceBegin()
87 ScopedStringChars jchars(env, nameStr); in android_os_Trace_nativeAsyncTraceEnd() local
88 String8 utf8Chars(reinterpret_cast<const char16_t*>(jchars.get()), jchars.size()); in android_os_Trace_nativeAsyncTraceEnd()
Dandroid_graphics_Canvas.cpp512 jchar* jchars = env->GetCharArrayElements(text, NULL); in drawTextChars() local
513 drawText(get_canvas(canvasHandle), jchars + index, 0, count, count, x, y, in drawTextChars()
515 env->ReleaseCharArrayElements(text, jchars, JNI_ABORT); in drawTextChars()
524 const jchar* jchars = env->GetStringChars(text, NULL); in drawTextString() local
525 drawText(get_canvas(canvasHandle), jchars + start, 0, count, count, x, y, in drawTextString()
527 env->ReleaseStringChars(text, jchars); in drawTextString()
537 jchar* jchars = env->GetCharArrayElements(text, NULL); in drawTextRunChars() local
538 drawText(get_canvas(canvasHandle), jchars + contextIndex, index - contextIndex, count, in drawTextRunChars()
540 env->ReleaseCharArrayElements(text, jchars, JNI_ABORT); in drawTextRunChars()
553 const jchar* jchars = env->GetStringChars(text, NULL); in drawTextRunString() local
[all …]