Searched refs:language (Results 1 - 25 of 730) sorted by relevance

1234567891011>>

/external/chromium_org/components/translate/core/common/
H A Dtranslate_util_unittest.cc14 // 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...]
H A Dtranslate_util.h17 // 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.
H A Dtranslate_util.cc16 // Split the |language| into two parts. For example, if |language| is 'en-US',
18 void SplitIntoMainAndTail(const std::string& language, argument
25 base::SplitString(language, '-', &chunks);
30 *tail_part = language.substr(main_part->size());
67 void ToTranslateLanguageSynonym(std::string* language) { argument
69 if (*language == kLanguageCodeSimilitudes[i].chrome_language) {
70 *language = kLanguageCodeSimilitudes[i].translate_language;
76 SplitIntoMainAndTail(*language, &main_part, &tail_part);
88 *language
91 ToChromeLanguageSynonym(std::string* language) argument
[all...]
/external/chromium_org/base/android/java/src/org/chromium/base/
H A DLocaleUtils.java21 * language codes into the modern ones used by Chromium.
25 String language = locale.getLanguage();
32 if ("iw".equals(language)) {
33 language = "he";
34 } else if ("in".equals(language)) {
35 language = "id";
36 } else if ("tl".equals(language)) {
37 language = "fil";
39 return country.isEmpty() ? language : language
[all...]
/external/chromium_org/components/translate/core/language_detection/
H A Dlanguage_detection_util_unittest.cc14 // 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/chrome/common/extensions/docs/examples/api/i18n/cld/
H A Dbackground.js7 chrome.tabs.detectLanguage(null, function(language) {
8 console.log(language);
9 if (language == " invalid_language_code")
10 language = "???";
11 chrome.browserAction.setBadgeText({"text": language, tabId: selectedId});
/external/chromium_org/chrome/common/
H A Dspellcheck_common.cc15 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 local
126 GetCorrespondingSpellCheckLanguage(const std::string& language) argument
159 char language[ULOC_LANG_CAPACITY] = ULOC_ENGLISH; local
[all...]
/external/smack/src/org/jivesoftware/smack/packet/
H A DMessage.java17 * 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 o
131 getSubject(String language) argument
136 getMessageSubject(String language) argument
178 addSubject(String language, String subject) argument
191 removeSubject(String language) argument
250 getBody(String language) argument
255 getMessageBody(String language) argument
298 addBody(String language, String body) argument
311 removeBody(String language) argument
385 setLanguage(String language) argument
389 determineLanguage(String language) argument
513 private String language; field in class:Message.Subject
515 Subject(String language, String subject) argument
576 private String language; field in class:Message.Body
578 Body(String language, String message) argument
[all...]
/external/chromium_org/chrome/browser/resources/options/
H A Dlanguage_dictionary_overlay.css5 #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 {
H A Dlanguage_add_language_overlay.js13 * Encapsulated handling of ChromeOS add language overlay page.
20 'add-language-overlay-page');
34 $('add-language-overlay-cancel-button').onclick = function(e) {
38 // Create the language list with which users can add a language.
39 var addLanguageList = $('add-language-overlay-language-list');
47 var language = languageListData[i];
48 var displayText = language.displayName;
50 if (language
[all...]
H A Dlanguage_options.css9 .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 {
44 #language-options-languages,
45 #language
[all...]
/external/libcxx/test/language.support/
H A DAndroid.mk13 # 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/
H A DAndroid.mk13 # 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/libcxx/test/language.support/support.runtime/
H A DAndroid.mk13 # 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
[all...]
/external/libcxx/test/language.support/support.exception/except.nested/
H A DAndroid.mk13 # 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/
H A DAndroid.mk13 # 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/
H A DAlbumBox.java13 * 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) { argument
63 this.language = language;
81 language = IsoTypeReader.readIso639(content);
94 IsoTypeWriter.writeIso639(byteBuffer, language);
[all...]
H A DAuthorBox.java13 * 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) { argument
64 this.language = language;
78 language = IsoTypeReader.readIso639(content);
85 IsoTypeWriter.writeIso639(byteBuffer, language);
[all...]
H A DCopyrightBox.java13 * 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) { argument
54 this.language = language;
68 language = IsoTypeReader.readIso639(content);
75 IsoTypeWriter.writeIso639(byteBuffer, language);
81 return "CopyrightBox[language
[all...]
H A DDescriptionBox.java13 * 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) { argument
71 this.language = language;
[all...]
H A DGenreBox.java13 * 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) { argument
50 this.language = language;
64 language = IsoTypeReader.readIso639(content);
71 IsoTypeWriter.writeIso639(byteBuffer, language);
77 return "GenreBox[language=" + getLanguage() + ";genre=" + getGenre() + "]";
H A DPerformerBox.java13 * 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) { argument
49 this.language = language;
63 IsoTypeWriter.writeIso639(byteBuffer, language);
71 language = IsoTypeReader.readIso639(content);
76 return "PerformerBox[language=" + getLanguage() + ";performer=" + getPerformer() + "]";
H A DTitleBox.java13 * 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) { argument
60 this.language = language;
74 IsoTypeWriter.writeIso639(byteBuffer, language);
82 language
[all...]
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/vodafone/
H A DAlbumArtistBox.java13 * See the License for the specific language governing permissions and
34 private String language; field in class:AlbumArtistBox
42 return language;
49 public void setLanguage(String language) { argument
50 this.language = language;
64 language = IsoTypeReader.readIso639(content);
70 IsoTypeWriter.writeIso639(byteBuffer, language);
76 return "AlbumArtistBox[language=" + getLanguage() + ";albumArtist=" + getAlbumArtist() + "]";
/external/chromium_org/media/base/
H A Dtext_track_config.cc15 const std::string& language,
19 language_(language),
26 config.language() == language_ &&
13 TextTrackConfig(TextKind kind, const std::string& label, const std::string& language, const std::string& id) argument

Completed in 2677 milliseconds

1234567891011>>