/external/chromium_org/third_party/libaddressinput/src/cpp/src/ |
D | region_data.cc | 24 RegionData::RegionData(const std::string& region_code) in RegionData() function in i18n::addressinput::RegionData 30 RegionData::~RegionData() { in ~RegionData() 31 for (std::vector<const RegionData*>::const_iterator it = sub_regions_.begin(); in ~RegionData() 37 RegionData* RegionData::AddSubRegion(const std::string& key, in AddSubRegion() 39 RegionData* sub_region = new RegionData(key, name, this); in AddSubRegion() 44 RegionData::RegionData(const std::string& key, in RegionData() function in i18n::addressinput::RegionData 46 RegionData* parent) in RegionData()
|
D | region_data_builder.cc | 46 RegionData* parent_region, in BuildRegionTreeRecursively() 75 RegionData* region = parent_region->AddSubRegion(*key_it, name); in BuildRegionTreeRecursively() 91 RegionData* BuildRegion(const std::map<std::string, const Rule*>& rules, in BuildRegion() 107 RegionData* region = new RegionData(region_code); in BuildRegion() 147 const RegionData& RegionDataBuilder::Build( in Build()
|
/external/chromium_org/third_party/libaddressinput/src/cpp/include/libaddressinput/ |
D | region_data.h | 30 class RegionData { 34 explicit RegionData(const std::string& region_code); 36 ~RegionData(); 40 RegionData* AddSubRegion(const std::string& key, const std::string& name); 49 const RegionData& parent() const { in parent() 56 const std::vector<const RegionData*>& sub_regions() const { in sub_regions() 62 RegionData(const std::string& key, 64 RegionData* parent); 68 const RegionData* const parent_; // Not owned. 69 std::vector<const RegionData*> sub_regions_; // Owned. [all …]
|
D | region_data_builder.h | 27 class RegionData; variable 63 const RegionData& Build(const std::string& region_code, 68 typedef std::map<std::string, const RegionData*> LanguageRegionMap;
|
/external/chromium_org/third_party/libaddressinput/src/java/src/com/android/i18n/addressinput/ |
D | RegionData.java | 22 class RegionData { class 30 private RegionData() { in RegionData() method in RegionData 38 private RegionData(RegionData data) { in RegionData() method in RegionData 86 RegionData mData = new RegionData(); 88 RegionData build() { in build() 89 return new RegionData(mData); in build()
|
D | AddressUiComponent.java | 38 private List<RegionData> mCandidatesList = new ArrayList<RegionData>(); 68 void initializeCandidatesList(List<RegionData> candidatesList) { in initializeCandidatesList() 125 List<RegionData> getCandidatesList() { in getCandidatesList() 129 void setCandidatesList(List<RegionData> candidatesList) { in setCandidatesList()
|
D | FormController.java | 143 List<RegionData> subregions = getRegionData(key); in requestDataRecursively() 152 for (RegionData subregion : subregions) { in requestDataRecursively() 217 List<RegionData> getRegionData(LookupKey key) { in getRegionData() 223 List<RegionData> results = new ArrayList<RegionData>(); in getRegionData() 231 RegionData rd = new RegionData.Builder() in getRegionData() 249 RegionData rd = in getRegionData() 250 new RegionData.Builder() in getRegionData() 275 for (RegionData subRegion : getRegionData(parentKey)) { in getSubKey()
|
D | AddressWidget.java | 175 private List<RegionData> mCurrentRegions; 185 public void setSpinnerList(List<RegionData> list, String defaultKey) { in setSpinnerList() 188 for (RegionData item : list) { in setSpinnerList() 211 for (RegionData data : mCurrentRegions) { in getRegionDataKeyForValue() 322 List<RegionData> adminAreaList = getRegionData(AddressField.COUNTRY); in initializeDropDowns() 326 List<RegionData> localityList = getRegionData(AddressField.ADMIN_AREA); in initializeDropDowns() 371 ArrayList<RegionData> countries = new ArrayList<RegionData>(); in buildCountryListBox() 372 for (RegionData regionData : mFormController.getRegionData(new LookupKey.Builder( in buildCountryListBox() 378 RegionData country = new RegionData.Builder().setKey(regionKey).setName( in buildCountryListBox() 477 List<RegionData> candidates = getRegionData(child.mParentId); in updateInputWidget() [all …]
|
/external/chromium_org/third_party/libaddressinput/src/java/test/com/android/i18n/addressinput/ |
D | RegionDataTest.java | 26 RegionData data = new RegionData.Builder().setKey("CA").setName("California").build(); in testBuilder() 38 RegionData data = new RegionData.Builder().setKey("CA").build(); in testBuilderNoName() 44 RegionData data = new RegionData.Builder().setKey("CA").setName(" ").build(); in testBuilderWhitespaceName()
|
D | FormControllerTest.java | 105 List<RegionData> rdata = controller.getRegionData(usKey); in testRequestDataForBadAddress() 139 List<RegionData> rdata = controller.getRegionData(usKey); in testRequestDataForCountry()
|
/external/chromium_org/third_party/libaddressinput/chromium/ |
D | input_suggester.cc | 25 using ::i18n::addressinput::RegionData; 47 Suggestion(const RegionData* region_to_suggest, in Suggestion() 60 const RegionData* region_to_suggest; 95 const std::set<const RegionData*>& regions_match_key, in AddRegions() 96 const std::set<const RegionData*>& regions_match_name) { in AddRegions() 128 for (std::set<const RegionData*>::const_iterator in AddRegions() 133 const RegionData* key_region = in AddRegions() 135 const RegionData* name_region = in AddRegions() 205 std::set<const RegionData*> keys; 206 std::set<const RegionData*> names; [all …]
|
D | input_suggester.h | 23 class RegionData; variable 122 std::map<const ::i18n::addressinput::RegionData*, SubRegionData> sub_regions_;
|
D | trie.cc | 16 class RegionData; 78 template class Trie<const ::i18n::addressinput::RegionData*>;
|
/external/chromium_org/third_party/libaddressinput/src/cpp/test/ |
D | region_data_builder_test.cc | 35 using i18n::addressinput::RegionData; 67 const RegionData& tree = builder_.Build("US", "en-US", &best_language_); in TEST_F() 73 const RegionData& tree = builder_.Build("CN", "zh-Hans", &best_language_); in TEST_F() 80 const RegionData& tree = builder_.Build("CH", "de-CH", &best_language_); in TEST_F() 89 const RegionData& tree = builder_.Build("ZW", "en-ZW", &best_language_); in TEST_F() 95 const RegionData& tree = builder_.Build("US", "en-US", &best_language_); in TEST_F() 105 const RegionData& tree = builder_.Build("KR", "ko-Latn", &best_language_); in TEST_F() 116 const RegionData& tree = builder_.Build("KR", "ko-KR", &best_language_); in TEST_F()
|
D | region_data_test.cc | 24 using i18n::addressinput::RegionData; 28 RegionData region(kEmpty); in TEST() 34 RegionData region(kEmpty); in TEST() 40 RegionData region(kEmpty); in TEST()
|