Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/jni/
DPaint.cpp141 static jint breakTextC(JNIEnv* env, jobject clazz, jlong paintHandle, jcharArray jtext, in breakTextC() argument
143 NPE_CHECK_RETURN_ZERO(env, jtext); in breakTextC()
157 if ((index < 0) || (index + count > env->GetArrayLength(jtext))) { in breakTextC()
162 const jchar* text = env->GetCharArrayElements(jtext, nullptr); in breakTextC()
165 env->ReleaseCharArrayElements(jtext, const_cast<jchar*>(text), in breakTextC()
170 static jint breakTextS(JNIEnv* env, jobject clazz, jlong paintHandle, jstring jtext, in breakTextS() argument
172 NPE_CHECK_RETURN_ZERO(env, jtext); in breakTextS()
177 int count = env->GetStringLength(jtext); in breakTextS()
178 const jchar* text = env->GetStringChars(jtext, nullptr); in breakTextS()
180 env->ReleaseStringChars(jtext, text); in breakTextS()