Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/emoji/
DEmojiFactory.java190 int new_len = 0; in getAndroidPuaFromVendorSpecificPua() local
191 for (int i = 0; i < len; i = vspString.offsetByCodePoints(i, 1), new_len++) { in getAndroidPuaFromVendorSpecificPua()
196 codePoints[new_len] = newCodePoint; in getAndroidPuaFromVendorSpecificPua()
200 codePoints[new_len] = codePoint; in getAndroidPuaFromVendorSpecificPua()
202 return new String(codePoints, 0, new_len); in getAndroidPuaFromVendorSpecificPua()
224 int new_len = 0; in getVendorSpecificPuaFromAndroidPua() local
225 for (int i = 0; i < len; i = puaString.offsetByCodePoints(i, 1), new_len++) { in getVendorSpecificPuaFromAndroidPua()
230 codePoints[new_len] = newCodePoint; in getVendorSpecificPuaFromAndroidPua()
234 codePoints[new_len] = codePoint; in getVendorSpecificPuaFromAndroidPua()
236 return new String(codePoints, 0, new_len); in getVendorSpecificPuaFromAndroidPua()