Home
last modified time | relevance | path

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

/external/libtextclassifier/
Dtextclassifier_jni.cc177 const std::string context_utf8 = ToStlString(env, context); in Java_android_view_textclassifier_SmartSelection_nativeSuggest() local
179 ConvertIndicesBMPToUTF8(context_utf8, {selection_begin, selection_end}); in Java_android_view_textclassifier_SmartSelection_nativeSuggest()
181 model->SuggestSelection(context_utf8, input_indices); in Java_android_view_textclassifier_SmartSelection_nativeSuggest()
182 selection = ConvertIndicesUTF8ToBMP(context_utf8, selection); in Java_android_view_textclassifier_SmartSelection_nativeSuggest()