Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/jni/text/
DGraphemeBreak.cpp35 ScopedFloatArrayRO advancesArray(env, advances); in nIsGraphemeBreak() local
41 bool isBreak = minikin::GraphemeBreak::isGraphemeBreak(advancesArray.get(), textArray.get(), in nIsGraphemeBreak()
/frameworks/base/libs/hwui/jni/
DPaint.cpp115 std::unique_ptr<float[]> advancesArray(new float[count]); in breakText() local
117 count, count, advancesArray.get(), nullptr, nullptr); in breakText()
122 float width = advancesArray[index]; in breakText()
203 std::unique_ptr<jfloat[]> advancesArray; in doTextAdvances() local
205 advancesArray.reset(new jfloat[count]); in doTextAdvances()
209 contextCount, advancesArray.get(), nullptr, nullptr); in doTextAdvances()
211 env->SetFloatArrayRegion(advances, advancesIndex, count, advancesArray.get()); in doTextAdvances()
245 std::unique_ptr<float[]> advancesArray(new float[count]); in doTextRunCursor() local
247 advancesArray.get(), nullptr, nullptr); in doTextRunCursor()
248 size_t result = minikin::GraphemeBreak::getTextRunCursor(advancesArray.get(), text, in doTextRunCursor()
[all …]