OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:nameStyle
(Results
1 - 16
of
16
) sorted by null
/external/icu/android_icu4j/cts-coverage/src/main/tests/android/icu/cts/coverage/util/
CurrencyTest.java
37
int
nameStyle
= Currency.LONG_NAME;
40
currency.getName(ULocale.CANADA,
nameStyle
, pluralCount, isChoiceFormat);
42
String localeName = currency.getName(Locale.CANADA,
nameStyle
, pluralCount, isChoiceFormat);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
ContactLocaleUtils.java
273
public Iterator<String> getNameLookupKeys(String name, int
nameStyle
) {
385
public Iterator<String> getNameLookupKeys(String name, int
nameStyle
) {
387
if (
nameStyle
== PhoneticNameStyle.JAPANESE) {
448
public Iterator<String> getNameLookupKeys(String name, int
nameStyle
) {
449
if (
nameStyle
!= FullNameStyle.JAPANESE &&
450
nameStyle
!= FullNameStyle.KOREAN) {
547
public String getSortKey(String name, int
nameStyle
) {
587
public Iterator<String> getNameLookupKeys(String name, int
nameStyle
) {
590
if (
nameStyle
== FullNameStyle.CHINESE ||
591
nameStyle
== FullNameStyle.CJK)
[
all
...]
NameSplitter.java
687
* @param
nameStyle
See {@link FullNameStyle}.
689
public int getAdjustedFullNameStyle(int
nameStyle
) {
690
if (
nameStyle
== FullNameStyle.UNDEFINED) {
700
} else if (
nameStyle
== FullNameStyle.CJK) {
709
return
nameStyle
;
905
public int getAdjustedNameStyleBasedOnPhoneticNameStyle(int
nameStyle
, int phoneticNameStyle) {
907
if (
nameStyle
== FullNameStyle.UNDEFINED ||
nameStyle
== FullNameStyle.CJK) {
913
if (
nameStyle
== FullNameStyle.CJK && phoneticNameStyle == PhoneticNameStyle.PINYIN) {
918
return
nameStyle
;
[
all
...]
/external/icu/android_icu4j/src/main/java/android/icu/util/
Currency.java
483
int
nameStyle
,
485
return getName(ULocale.forLocale(locale),
nameStyle
, isChoiceFormat);
493
* @param
nameStyle
selector for which kind of name to return.
494
* The
nameStyle
should be either SYMBOL_NAME or
506
* @throws IllegalArgumentException if the
nameStyle
is not SYMBOL_NAME
510
public String getName(ULocale locale, int
nameStyle
, boolean[] isChoiceFormat) {
511
if (!(
nameStyle
== SYMBOL_NAME ||
nameStyle
== LONG_NAME)) {
512
throw new IllegalArgumentException("bad name style: " +
nameStyle
);
522
return
nameStyle
== SYMBOL_NAME ? names.getSymbol(subType) : names.getName(subType)
[
all
...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
Currency.java
505
int
nameStyle
,
507
return getName(ULocale.forLocale(locale),
nameStyle
, isChoiceFormat);
515
* @param
nameStyle
selector for which kind of name to return.
516
* The
nameStyle
should be either SYMBOL_NAME or
528
* @throws IllegalArgumentException if the
nameStyle
is not SYMBOL_NAME
533
public String getName(ULocale locale, int
nameStyle
, boolean[] isChoiceFormat) {
534
if (!(
nameStyle
== SYMBOL_NAME ||
nameStyle
== LONG_NAME)) {
535
throw new IllegalArgumentException("bad name style: " +
nameStyle
);
545
return
nameStyle
== SYMBOL_NAME ? names.getSymbol(subType) : names.getName(subType)
[
all
...]
/external/icu/icu4c/source/i18n/unicode/
ucurr.h
148
* @param
nameStyle
selector for which kind of name to return
162
UCurrNameStyle
nameStyle
,
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactLocaleUtilsTest.java
124
private Iterator<String> getNameLookupKeys(String name, int
nameStyle
) {
125
return mTargetUtils.getNameLookupKeys(name,
nameStyle
);
NameSplitterTest.java
330
private void assertJoinedName(String expected, int
nameStyle
, String prefix, String givenNames,
333
name.fullNameStyle =
nameStyle
;
/libcore/luni/src/main/native/
libcore_icu_ICU.cpp
175
static jstring getCurrencyName(JNIEnv* env, jstring javaLanguageTag, jstring javaCurrencyCode, UCurrNameStyle
nameStyle
) {
189
nameStyle
, &isChoiceFormat, &charCount, &status);
191
if (
nameStyle
== UCURR_SYMBOL_NAME) {
198
if (
nameStyle
== UCURR_LONG_NAME) {
[
all
...]
/external/icu/icu4c/source/i18n/
ucurr.cpp
670
UCurrNameStyle
nameStyle
,
690
int32_t choice = (int32_t)
nameStyle
;
[
all
...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
com.ibm.icu_4.2.1.v20100412.jar
/prebuilts/misc/common/icu4j/
icu4j.jar
/prebuilts/sdk/25/
android.jar
/prebuilts/tools/common/m2/repository/com/ibm/icu/icu4j/53.1/
icu4j-53.1.jar
/prebuilts/tools/common/m2/repository/com/ibm/icu/icu4j/54.1.1/
icu4j-54.1.1.jar
/prebuilts/tools/common/m2/repository/com/ibm/icu/icu4j/2.6.1/
icu4j-2.6.1.jar
Completed in 829 milliseconds