Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/compile/
DPseudolocaleGenerator.cpp247 const StringPiece original_string = *string->value; in Visit() local
256 result += localizer_.Text(original_string.substr(start, len)); in Visit()
260 result += original_string.substr(section.start, section.end - section.start); in Visit()
265 if (start != original_string.size()) { in Visit()
266 const size_t len = original_string.size() - start; in Visit()
267 result += localizer_.Text(original_string.substr(start, len)); in Visit()
DPseudolocaleGenerator_test.cpp161 std::unique_ptr<StyledString> original_string = in TEST() local
163 original_string->untranslatable_sections = {UntranslatableSection{11u, 15u}}; in TEST()
166 PseudolocalizeStyledString(original_string.get(), Pseudolocalizer::Method::kAccent, &pool); in TEST()