Searched refs:jchars (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/jni/ |
D | android_os_Trace.cpp | 59 ScopedStringChars jchars(env, nameStr); in android_os_Trace_nativeTraceBegin() local 60 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() 86 ScopedStringChars jchars(env, nameStr); in android_os_Trace_nativeAsyncTraceEnd() local 87 String8 utf8Chars(reinterpret_cast<const char16_t*>(jchars.get()), jchars.size()); in android_os_Trace_nativeAsyncTraceEnd()
|
D | android_graphics_Canvas.cpp | 482 jchar* jchars = env->GetCharArrayElements(text, NULL); in drawTextChars() local 483 get_canvas(canvasHandle)->drawText(jchars + index, 0, count, count, x, y, in drawTextChars() 485 env->ReleaseCharArrayElements(text, jchars, JNI_ABORT); in drawTextChars() 494 const jchar* jchars = env->GetStringChars(text, NULL); in drawTextString() local 495 get_canvas(canvasHandle)->drawText(jchars + start, 0, count, count, x, y, in drawTextString() 497 env->ReleaseStringChars(text, jchars); in drawTextString() 507 jchar* jchars = env->GetCharArrayElements(text, NULL); in drawTextRunChars() local 508 get_canvas(canvasHandle)->drawText(jchars + contextIndex, index - contextIndex, count, in drawTextRunChars() 510 env->ReleaseCharArrayElements(text, jchars, JNI_ABORT); in drawTextRunChars() 523 const jchar* jchars = env->GetStringChars(text, NULL); in drawTextRunString() local [all …]
|