Home
last modified time | relevance | path

Searched refs:isUserProfile (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/editor/
DPickRawContactLoader.java81 result.isUserProfile = contactCursor.getInt(/* Contacts.IS_USER_PROFILE */ 1) == 1; in loadInBackground()
88 if (result.isUserProfile) { in loadInBackground()
133 final Uri dataUri = result.isUserProfile in loadInBackground()
204 public boolean isUserProfile; field in PickRawContactLoader.RawContactsMetadata
212 isUserProfile = in.readInt() == 1; in RawContactsMetadata()
255 dest.writeInt(isUserProfile ? 1 : 0); in writeToParcel()
DContactEditorFragment.java1107 if (!contact.isUserProfile() && !contact.isWritableContact(mContext)) { in setState()
1117 setStateForExistingContact(contact.isUserProfile(), mRawContacts); in setState()
1128 boolean isUserProfile) { in setStateForNewContact() argument
1130 /* oldAccountType =*/ null, isUserProfile); in setStateForNewContact()
1138 RawContactDelta oldState, AccountType oldAccountType, boolean isUserProfile) { in setStateForNewContact() argument
1142 mIsUserProfile = isUserProfile; in setStateForNewContact()
1194 private void setStateForExistingContact(boolean isUserProfile, in setStateForExistingContact() argument
1203 mIsUserProfile = isUserProfile; in setStateForExistingContact()
DPickRawContactDialogFragment.java115 if (mRawContactsMetadata.isUserProfile && account.areContactsWritable()) { in getView()
184 if (!metadata.isUserProfile) { in onCreateDialog()
DKindSectionView.java197 public void setIsUserProfile(boolean isUserProfile) { in setIsUserProfile() argument
198 mIsUserProfile = isUserProfile; in setIsUserProfile()
DRawContactEditorView.java442 boolean hasNewContact, boolean isUserProfile, AccountWithDataSet primaryAccount, in setState() argument
456 mIsUserProfile = isUserProfile; in setState()
/packages/apps/Dialer/java/com/android/contacts/common/model/
DContact.java128 boolean isUserProfile) { in Contact() argument
150 mIsUserProfile = isUserProfile; in Contact()
359 public boolean isUserProfile() { in isUserProfile() method in Contact
DContactLoader.java392 if (!contactData.isUserProfile()) { in loadInvitableAccountTypes()
436 final boolean isUserProfile = cursor.getInt(ContactQuery.IS_USER_PROFILE) == 1; in loadContactHeaderData()
465 isUserProfile); in loadContactHeaderData()
/packages/apps/Contacts/src/com/android/contacts/model/
DContact.java145 boolean isUserProfile) { in Contact() argument
167 mIsUserProfile = isUserProfile; in Contact()
458 public boolean isUserProfile() { in isUserProfile() method in Contact
DContactLoader.java600 final boolean isUserProfile = cursor.getInt(ContactQuery.IS_USER_PROFILE) == 1; in loadContactHeaderData()
613 customRingtone, isUserProfile); in loadContactHeaderData()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseContactsProvider2Test.java429 int presence, String status, int chatMode, boolean isUserProfile) { in insertStatusUpdate() argument
431 isUserProfile); in insertStatusUpdate()
435 int presence, String status, long timestamp, int chatMode, boolean isUserProfile) { in insertStatusUpdate() argument
440 return insertStatusUpdate(values, presence, status, timestamp, chatMode, isUserProfile); in insertStatusUpdate()
450 boolean isUserProfile) { in insertStatusUpdate() argument
453 return insertStatusUpdate(values, presence, status, timestamp, chatMode, isUserProfile); in insertStatusUpdate()
458 boolean isUserProfile) { in insertStatusUpdate() argument
470 Uri insertUri = isUserProfile in insertStatusUpdate()
DContactsProvider2Test.java9644 long groupId, int chatMode, boolean isUserProfile) { in createContact() argument
9646 presenceStatus, timesContacted, starred, groupId, chatMode, isUserProfile)); in createContact()
9660 long groupId, int chatMode, boolean isUserProfile) { in createRawContact() argument
9662 timesContacted, starred, groupId, chatMode, isUserProfile); in createRawContact()
9675 boolean isUserProfile) { in createRawContact() argument
9682 if (isUserProfile) { in createRawContact()
9700 chatMode, isUserProfile); in createRawContact()
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDisplayUtils.java158 boolean isUserProfile, boolean isStarred) { in configureStarredMenuItem() argument
160 if (!isDirectoryEntry && !isUserProfile) { in configureStarredMenuItem()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java2201 mContactData.isDirectoryEntry(), mContactData.isUserProfile(), !isStarred); in toggleStar()
2281 if (mContactData == null || mContactData.isUserProfile() || in isShortcutCreatable()
2320 mContactData.isDirectoryEntry(), mContactData.isUserProfile(), in onPrepareOptionsMenu()
2340 && isContactEditable() && !mContactData.isUserProfile() in onPrepareOptionsMenu()
2350 deleteMenuItem.setVisible(isContactEditable() && !mContactData.isUserProfile()); in onPrepareOptionsMenu()
2361 ringToneMenuItem.setVisible(!mContactData.isUserProfile() && mArePhoneOptionsChangable); in onPrepareOptionsMenu()
2366 && !mContactData.isUserProfile() in onPrepareOptionsMenu()
DInvisibleContactUtil.java37 if (contactData.isUserProfile()) return false; in isInvisibleAndAddable()
/packages/apps/Contacts/src/com/android/contacts/activities/
DAttachPhotoActivity.java347 contact.isUserProfile(), in saveToContact()