Home
last modified time | relevance | path

Searched refs:alphabet (Results 1 - 6 of 6) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components/indexer/
H A Dindexer_component.cpp57 std::vector<std::u16string> alphabet = Localization::GetInstance()->GetIndexAlphabet(); // get alphabet in BuildIndexerAlphabet() local
58 if (alphabet.empty()) { in BuildIndexerAlphabet()
59 LOGE("fail to build indexer alphabet due to alphabet is empty"); in BuildIndexerAlphabet()
63 // alphabet must begin with "#", and items "." can not be neighbors in BuildIndexerAlphabet()
64 if (alphabet[0] != INDEXER_STR_SHARP || indexerLabel_[0] != INDEXER_STR_SHARP) { in BuildIndexerAlphabet()
65 LOGE("fail to build indexer alphabet due to alphabet is wrong"); in BuildIndexerAlphabet()
81 while (countAlphabet < alphabet in BuildIndexerAlphabet()
[all...]
H A Dindexer_component.h232 std::vector<std::u16string> alphabet; in GetU16StrVector() local
234 alphabet.emplace_back(StringUtils::Str8ToStr16(item)); in GetU16StrVector()
236 return alphabet; in GetU16StrVector()
288 bool userDefineList_ = false; // user define alphabet list
/foundation/arkui/ace_engine/frameworks/core/components_v2/indexer/
H A Dindexer_component.h178 std::vector<std::u16string> alphabet; in GetU16StrVector() local
180 alphabet.push_back(StringUtils::Str8ToStr16(item)); in GetU16StrVector()
182 return alphabet; in GetU16StrVector()
H A Dindexer_component.cpp44 std::vector<std::u16string> alphabet = Localization::GetInstance()->GetIndexAlphabet(); // get alphabet in BuildIndexerAlphabet() local
45 if (alphabet.empty()) { in BuildIndexerAlphabet()
46 LOGE("fail to build indexer alphabet due to alphabet is empty"); in BuildIndexerAlphabet()
/foundation/arkui/ace_engine/frameworks/base/i18n/
H A Dlocalization.h252 * Gets alphabet strings. For example: "A", "B", etc.
253 * @return the alphabet string vector.
274 std::vector<std::u16string> GetLetters(bool alphabet);
H A Dlocalization.cpp741 std::vector<std::u16string> Localization::GetLetters(bool alphabet) in GetLetters() argument
767 LOGI("[alphabet] Localization::GetLetters. language: %{private}s", language.c_str()); in GetLetters()
775 std::string letterType = alphabet ? "alphabet" : "index"; in GetLetters()

Completed in 6 milliseconds