Searched refs:utf16 (Results 1 - 9 of 9) sorted by relevance
/frameworks/base/libs/hwui/tests/common/ |
H A D | TestUtils.cpp | 98 auto utf16 = asciiToUtf16(text); local 99 canvas->drawText(utf16.get(), 0, strlen(text), strlen(text), x, y, 0, paint, nullptr); 104 auto utf16 = asciiToUtf16(text); local 105 canvas->drawTextOnPath(utf16.get(), strlen(text), 0, path, 0, 0, paint, nullptr); 120 std::unique_ptr<uint16_t[]> utf16(new uint16_t[length]); 122 utf16.get()[i] = str[i]; 124 return utf16;
|
/frameworks/base/tools/aapt2/util/ |
H A D | Util.cpp | 431 std::u16string utf16; local 432 utf16.resize(utf16Length); 433 utf8_to_utf16(reinterpret_cast<const uint8_t*>(utf8.data()), utf8.length(), &*utf16.begin()); 434 return utf16; 437 std::string utf16ToUtf8(const StringPiece16& utf16) { argument 438 ssize_t utf8Length = utf16_to_utf8_length(utf16.data(), utf16.length()); 445 utf16_to_utf8(utf16.data(), utf16.length(), &*utf8.begin());
|
/frameworks/minikin/sample/ |
H A D | example.cpp | 25 #include <unicode/utf16.h>
|
H A D | example_skia.cpp | 25 #include <unicode/utf16.h>
|
/frameworks/minikin/libs/minikin/ |
H A D | GraphemeBreak.cpp | 20 #include <unicode/utf16.h>
|
H A D | WordBreaker.cpp | 24 #include <unicode/utf16.h>
|
/frameworks/minikin/tests/ |
H A D | GraphemeBreakTests.cpp | 32 TEST(GraphemeBreak, utf16) {
|
/frameworks/base/core/jni/ |
H A D | android_database_CursorWindow.cpp | 226 String16 utf16(value, sizeIncludingNull - 1); 227 return env->NewString(reinterpret_cast<const jchar*>(utf16.string()), utf16.size());
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Paint.cpp | 46 #include <unicode/utf16.h>
|
Completed in 123 milliseconds