/external/chromium_org/components/translate/core/common/ |
translate_util_unittest.cc | 14 // Tests that synonym language code is converted to one used in supporting list. 16 std::string language; local 18 language = std::string("nb"); 19 translate::ToTranslateLanguageSynonym(&language); 20 EXPECT_EQ("no", language); 22 language = std::string("he"); 23 translate::ToTranslateLanguageSynonym(&language); 24 EXPECT_EQ("iw", language); 26 language = std::string("jv"); 27 translate::ToTranslateLanguageSynonym(&language); 52 std::string language; local [all...] |
translate_util.h | 17 // Converts language code synonym to use at Translate server. 18 void ToTranslateLanguageSynonym(std::string* language); 20 // Converts language code synonym to use at Chrome internal. 21 void ToChromeLanguageSynonym(std::string* language); 24 // language checks and to obtain the list of available languages.
|
translate_util.cc | 16 // Split the |language| into two parts. For example, if |language| is 'en-US', 18 void SplitIntoMainAndTail(const std::string& language, 25 base::SplitString(language, '-', &chunks); 30 *tail_part = language.substr(main_part->size()); 67 void ToTranslateLanguageSynonym(std::string* language) { 69 if (*language == kLanguageCodeSimilitudes[i].chrome_language) { 70 *language = kLanguageCodeSimilitudes[i].translate_language; 76 SplitIntoMainAndTail(*language, &main_part, &tail_part); 88 *language = main_part + tail_part [all...] |
/external/chromium_org/components/translate/core/language_detection/ |
language_detection_util_unittest.cc | 14 // Tests that well-known language code typos are fixed. 16 std::string language; local 19 language = std::string("ja,en"); 20 translate::CorrectLanguageCodeTypo(&language); 21 EXPECT_EQ("ja", language); 24 language = std::string("ja_JP"); 25 translate::CorrectLanguageCodeTypo(&language); 26 EXPECT_EQ("ja-JP", language); 29 language = std::string("JA-jp"); 30 translate::CorrectLanguageCodeTypo(&language); 36 std::string language; local 104 std::string language = translate::DeterminePageLanguage(std::string("ja"), local 124 std::string language = translate::DeterminePageLanguage(std::string("en-US"), local 145 std::string language = translate::DeterminePageLanguage(std::string("utf-8"), local 165 std::string language = translate::DeterminePageLanguage(std::string("ja"), local [all...] |
/external/chromium_org/ui/android/java/src/org/chromium/ui/base/ |
LocalizationUtils.java | 34 * language codes into the modern ones used by Chromium. 39 String language = locale.getLanguage(); local 46 if ("iw".equals(language)) { 47 language = "he"; 48 } else if ("in".equals(language)) { 49 language = "id"; 50 } else if ("tl".equals(language)) { 51 language = "fil"; 53 return country.isEmpty() ? language : language + "-" + country [all...] |
/external/chromium_org/chrome/common/ |
spellcheck_common.cc | 15 const char* language; // The language. member in struct:chrome::spellcheck_common::LanguageRegion 16 const char* language_region; // language & region, used by dictionaries. 20 const char* language; // The language input. member in struct:chrome::spellcheck_common::LanguageVersion 80 // This function returns the language-region version of language name. 85 if (g_supported_spellchecker_languages[i].language == input_language) { 111 // version string, depending on the language. 112 std::string language = GetSpellCheckLanguageRegion(input_language) local 159 char language[ULOC_LANG_CAPACITY] = ULOC_ENGLISH; local [all...] |
/external/smack/src/org/jivesoftware/smack/packet/ |
Message.java | 17 * See the License for the specific language governing permissions and 55 private String language; field in class:Message 113 * The default subject of a message is the subject that corresponds to the message's language. 114 * (see {@link #getLanguage()}) or if no language is set to the applications default 115 * language (see {@link Packet#getDefaultLanguage()}). 124 * Returns the subject corresponding to the language. If the language is null, the method result 125 * will be the same as {@link #getSubject()}. Null will be returned if the language does not have 128 * @param language the language of the subject to return 513 private String language; field in class:Message.Subject 576 private String language; field in class:Message.Body [all...] |
/external/chromium_org/chrome/browser/resources/options/ |
language_dictionary_overlay.css | 5 #language-dictionary-overlay-no-matches { 12 #language-dictionary-overlay-page h1 { 17 html[dir=rtl] #language-dictionary-overlay-page h1 { 22 #language-dictionary-overlay-search-field { 28 html[dir=rtl] #language-dictionary-overlay-search-field { 33 #language-dictionary-overlay-word-list { 37 #language-dictionary-overlay-word-list.no-search-matches { 41 #language-dictionary-overlay-word-list > * { 45 .language-dictionary-overlay-word-list-item {
|
language_options.css | 9 .language-options { 14 .language-options-lower-left button, 15 #language-options-details button { 19 .language-options h3 { 27 .language-options-contents { 32 .language-options-contents > 39 .language-options-header, 40 .language-options-footer { 45 #language-options-languages, 46 #language-options-details [all...] |
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
NavigatorLanguage.h | 16 AtomicString language(bool&);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
Locale.java | 13 * See the License for the specific language governing permissions and 29 /** A language,region pair */ 34 /** A special marker language qualifier representing any language */ 37 /** A locale which matches any language and region */ 40 /** The language qualifier, or {@link #ANY_LANGUAGE} if this locale matches any language */ 42 public final LanguageQualifier language; field in class:Locale 44 /** The language qualifier, or {@link #ANY_REGION} if this locale matches any region */ 49 * Constructs a new {@linkplain Locale} matching a given language in a given locale [all...] |
/external/libcxx/test/language.support/ |
Android.mk | 13 # See the License for the specific language governing permissions and 17 test_makefile := external/libcxx/test/language.support/Android.mk 19 test_name := language.support/nothing_to_do
|
/external/libcxx/test/language.support/cstdint/ |
Android.mk | 13 # See the License for the specific language governing permissions and 17 test_makefile := external/libcxx/test/language.support/cstdint/Android.mk 19 test_name := language.support/cstdint/version
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
language_options_dictionary_download_browsertest.js | 6 * TestFixture for testing messages of dictionary download progress in language 33 // Verify that dictionary download success shows 'This language is used for 39 expectFalse($('language-options-spell-check-language-message').hidden); 40 expectTrue($('language-options-dictionary-downloading-message').hidden); 41 expectTrue($('language-options-dictionary-download-failed-message').hidden); 43 $('language-options-dictionary-download-fail-help-message').hidden); 47 // language' message. 52 expectTrue($('language-options-spell-check-language-message').hidden) [all...] |
language_options_browsertest.js | 6 * TestFixture for language options WebUI testing. 19 // Test opening language options has correct location. 25 // Test reselecting the same language as the current UI locale. This should show 26 // a "Chrome is displayed in this language" message rather than a restart banner 27 // or a [ Display Chrome in this language ] button. 32 expectTrue($('language-options-ui-language-button').hidden); 33 expectFalse($('language-options-ui-language-message').hidden); 34 expectTrue($('language-options-ui-notification-bar').hidden) [all...] |
/external/libcxx/test/language.support/support.runtime/ |
Android.mk | 13 # See the License for the specific language governing permissions and 17 test_makefile := external/libcxx/test/language.support/support.runtime/Android.mk 19 test_name := language.support/support.runtime/cstdbool 23 test_name := language.support/support.runtime/cstdarg 27 test_name := language.support/support.runtime/version_csetjmp 31 test_name := language.support/support.runtime/version_ctime 35 test_name := language.support/support.runtime/version_cstdlib 39 test_name := language.support/support.runtime/ctime 43 test_name := language.support/support.runtime/version_csignal 47 test_name := language.support/support.runtime/version_cstdar [all...] |
/external/libcxx/test/language.support/support.exception/except.nested/ |
Android.mk | 13 # See the License for the specific language governing permissions and 17 test_makefile := external/libcxx/test/language.support/support.exception/except.nested/Android.mk 19 test_name := language.support/support.exception/except.nested/rethrow_nested 23 test_name := language.support/support.exception/except.nested/ctor_copy 27 test_name := language.support/support.exception/except.nested/assign 31 test_name := language.support/support.exception/except.nested/rethrow_if_nested 35 test_name := language.support/support.exception/except.nested/throw_with_nested 39 test_name := language.support/support.exception/except.nested/ctor_default
|
/external/libcxx/test/language.support/support.types/ |
Android.mk | 13 # See the License for the specific language governing permissions and 17 test_makefile := external/libcxx/test/language.support/support.types/Android.mk 19 test_name := language.support/support.types/null 23 test_name := language.support/support.types/size_t 27 test_name := language.support/support.types/version 31 test_name := language.support/support.types/ptrdiff_t 35 test_name := language.support/support.types/offsetof 39 test_name := language.support/support.types/nullptr_t
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
AlbumBox.java | 13 * See the License for the specific language governing permissions and 35 private String language; field in class:AlbumBox 44 * Declares the language code for the {@link #getAlbumTitle()} return value. See ISO 639-2/T for the set of three 48 * @return the language code 51 return language; 62 public void setLanguage(String language) { 63 this.language = language; 81 language = IsoTypeReader.readIso639(content); 94 IsoTypeWriter.writeIso639(byteBuffer, language); [all...] |
AuthorBox.java | 13 * See the License for the specific language governing permissions and 36 private String language; field in class:AuthorBox 44 * Declares the language code for the {@link #getAuthor()} return value. See ISO 639-2/T for the set of three 48 * @return the language code 51 return language; 63 public void setLanguage(String language) { 64 this.language = language; 78 language = IsoTypeReader.readIso639(content); 85 IsoTypeWriter.writeIso639(byteBuffer, language); [all...] |
CopyrightBox.java | 13 * See the License for the specific language governing permissions and 30 * different language codes. 38 private String language; field in class:CopyrightBox 46 return language; 53 public void setLanguage(String language) { 54 this.language = language; 68 language = IsoTypeReader.readIso639(content); 75 IsoTypeWriter.writeIso639(byteBuffer, language); 81 return "CopyrightBox[language=" + getLanguage() + ";copyright=" + getCopyright() + "]" [all...] |
DescriptionBox.java | 13 * See the License for the specific language governing permissions and 27 * Gives a language dependent description of the media contained in the ISO file. 32 private String language; field in class:DescriptionBox 40 return language; 54 language = IsoTypeReader.readIso639(content); 61 IsoTypeWriter.writeIso639(byteBuffer, language); 67 return "DescriptionBox[language=" + getLanguage() + ";description=" + getDescription() + "]"; 70 public void setLanguage(String language) { 71 this.language = language; [all...] |
GenreBox.java | 13 * See the License for the specific language governing permissions and 34 private String language; field in class:GenreBox 42 return language; 49 public void setLanguage(String language) { 50 this.language = language; 64 language = IsoTypeReader.readIso639(content); 71 IsoTypeWriter.writeIso639(byteBuffer, language); 77 return "GenreBox[language=" + getLanguage() + ";genre=" + getGenre() + "]";
|
PerformerBox.java | 13 * See the License for the specific language governing permissions and 33 private String language; field in class:PerformerBox 41 return language; 48 public void setLanguage(String language) { 49 this.language = language; 63 IsoTypeWriter.writeIso639(byteBuffer, language); 71 language = IsoTypeReader.readIso639(content); 76 return "PerformerBox[language=" + getLanguage() + ";performer=" + getPerformer() + "]";
|
TitleBox.java | 13 * See the License for the specific language governing permissions and 39 private String language; field in class:TitleBox 47 return language; 55 * Sets the 3-letter ISO-639 language for this title. 57 * @param language 3-letter ISO-639 code 59 public void setLanguage(String language) { 60 this.language = language; 74 IsoTypeWriter.writeIso639(byteBuffer, language); 82 language = IsoTypeReader.readIso639(content) [all...] |