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()
75 ScopedStringChars jchars(env, nameStr); in android_os_Trace_nativeAsyncTraceBegin() local
76 String8 utf8Chars(reinterpret_cast<const char16_t*>(jchars.get()), jchars.size()); in android_os_Trace_nativeAsyncTraceBegin()
85 ScopedStringChars jchars(env, nameStr); in android_os_Trace_nativeAsyncTraceEnd() local
86 String8 utf8Chars(reinterpret_cast<const char16_t*>(jchars.get()), jchars.size()); in android_os_Trace_nativeAsyncTraceEnd()
Dandroid_graphics_Canvas.cpp486 jchar* jchars = env->GetCharArrayElements(text, NULL); in drawTextChars() local
487 get_canvas(canvasHandle)->drawText(jchars + index, 0, count, count, x, y, in drawTextChars()
489 env->ReleaseCharArrayElements(text, jchars, JNI_ABORT); in drawTextChars()
498 const jchar* jchars = env->GetStringChars(text, NULL); in drawTextString() local
499 get_canvas(canvasHandle)->drawText(jchars + start, 0, count, count, x, y, in drawTextString()
501 env->ReleaseStringChars(text, jchars); in drawTextString()
511 jchar* jchars = env->GetCharArrayElements(text, NULL); in drawTextRunChars() local
512 get_canvas(canvasHandle)->drawText(jchars + contextIndex, index - contextIndex, count, in drawTextRunChars()
514 env->ReleaseCharArrayElements(text, jchars, JNI_ABORT); in drawTextRunChars()
527 const jchar* jchars = env->GetStringChars(text, NULL); in drawTextRunString() local
[all …]