Searched refs:contact (Results 1 – 8 of 8) sorted by relevance
/development/samples/SampleSyncAdapter/samplesyncadapter_server/ |
D | web_services.py | 190 for contact in contacts: 191 if (contact.updated > high_water_date): 192 high_water_date = contact.updated 198 for contact in contacts: 202 if (self.list_contains_contact(updated_contacts, contact)): 205 handle = contact.handle 207 if timestamp is None or contact.updated > timestamp: 208 if contact.deleted == True: 238 contact = datastore.Contact.get(db.Key.from_path('Contact', id)) 242 contact = datastore.Contact(handle='temp') [all …]
|
D | dashboard.py | 103 contact = datastore.Contact.get(db.Key.from_path('Contact', id)) 104 self.send_form('Edit Contact', '/edit_contact', id, contact.handle, 105 ContactForm(instance=contact)) 109 contact = datastore.Contact.get(db.Key.from_path('Contact', id)) 110 data = ContactForm(data=self.request.POST, instance=contact) 119 self.send_form('Edit Contact', '/edit_contact', id, contact.handle, data) 126 contact = datastore.Contact.get(db.Key.from_path('Contact', id)) 127 contact.deleted = True 128 contact.updated = datetime.datetime.utcnow() 129 contact.put() [all …]
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/ |
D | RawContact.java | 205 public static RawContact valueOf(JSONObject contact) { in valueOf() argument 208 final String userName = !contact.isNull("u") ? contact.getString("u") : null; in valueOf() 209 final int serverContactId = !contact.isNull("i") ? contact.getInt("i") : -1; in valueOf() 216 final int rawContactId = !contact.isNull("c") ? contact.getInt("c") : -1; in valueOf() 217 final String firstName = !contact.isNull("f") ? contact.getString("f") : null; in valueOf() 218 final String lastName = !contact.isNull("l") ? contact.getString("l") : null; in valueOf() 219 final String cellPhone = !contact.isNull("m") ? contact.getString("m") : null; in valueOf() 220 final String officePhone = !contact.isNull("o") ? contact.getString("o") : null; in valueOf() 221 final String homePhone = !contact.isNull("h") ? contact.getString("h") : null; in valueOf() 222 final String email = !contact.isNull("e") ? contact.getString("e") : null; in valueOf() [all …]
|
/development/samples/browseable/DirectShare/src/com.example.android.directshare/ |
D | ContactViewBinder.java | 32 public static void bind(Contact contact, TextView textView) { in bind() argument 33 textView.setText(contact.getName()); in bind() 34 textView.setCompoundDrawablesRelativeWithIntrinsicBounds(contact.getIcon(), 0, 0, 0); in bind()
|
D | SampleChooserTargetService.java | 43 Contact contact = Contact.byId(i); in onGetChooserTargets() local 48 contact.getName(), in onGetChooserTargets() 50 Icon.createWithResource(this, contact.getIcon()), in onGetChooserTargets()
|
D | SelectContactActivity.java | 77 view = LayoutInflater.from(parent.getContext()).inflate(R.layout.contact, parent, 81 Contact contact = (Contact) getItem(i); 82 ContactViewBinder.bind(contact, textView);
|
D | SendMessageActivity.java | 117 Contact contact = Contact.byId(mContactId); in prepareUi() local 118 ContactViewBinder.bind(contact, mTextContactName); in prepareUi()
|
/development/samples/browseable/BasicContactables/ |
D | _index.jd | 9 … \n\nQuery strings sent to the Contactables table will match both contact names and phone numbers,
|