OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:structuredName
(Results
1 - 3
of
3
) sorted by null
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/util/
NameConverterTests.java
19
import android.provider.ContactsContract.CommonDataKinds.
StructuredName
;
36
Map<String, String>
structuredName
= new HashMap<String, String>();
37
structuredName
.put(
StructuredName
.PREFIX, "Mr.");
38
structuredName
.put(
StructuredName
.GIVEN_NAME, "John");
39
structuredName
.put(
StructuredName
.MIDDLE_NAME, "Quincy");
40
structuredName
.put(
StructuredName
.FAMILY_NAME, "Adams")
[
all
...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
NameConverter.java
25
import android.provider.ContactsContract.CommonDataKinds.
StructuredName
;
43
StructuredName
.PREFIX,
44
StructuredName
.GIVEN_NAME,
45
StructuredName
.MIDDLE_NAME,
46
StructuredName
.FAMILY_NAME,
47
StructuredName
.SUFFIX
51
* Converts the given structured name (provided as a map from {@link
StructuredName
} fields to
58
* @param
structuredName
The structured name map to convert.
62
Map<String, String>
structuredName
) {
65
if (
structuredName
.containsKey(key))
[
all
...]
/packages/apps/Settings/src/com/android/settings/
Utils.java
517
final Cursor
structuredName
= cr.query(
519
new String[] {CommonDataKinds.
StructuredName
.GIVEN_NAME,
520
CommonDataKinds.
StructuredName
.FAMILY_NAME},
523
if (
structuredName
== null) return null;
526
if (!
structuredName
.moveToFirst()) {
529
String partialName =
structuredName
.getString(0);
531
partialName =
structuredName
.getString(1);
535
structuredName
.close();
[
all
...]
Completed in 594 milliseconds