/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | GroupMembershipView.java | 64 public GroupSelectionItem(long groupId, String title, boolean checked) { in GroupSelectionItem() argument 65 this.mGroupId = groupId; in GroupSelectionItem() 228 long groupId = mGroupMetaData.getLong(GroupMetaDataLoader.GROUP_ID); in updateView() local 231 mFavoritesGroupId = groupId; in updateView() 234 mDefaultGroupId = groupId; in updateView() 241 if (groupId != mFavoritesGroupId && groupId != mDefaultGroupId in updateView() 242 && hasMembership(groupId)) { in updateView() 298 long groupId = mGroupMetaData.getLong(GroupMetaDataLoader.GROUP_ID); in onClick() local 299 if (groupId != mFavoritesGroupId in onClick() 300 && (groupId != mDefaultGroupId || mDefaultGroupVisible)) { in onClick() [all …]
|
D | RawContactEditorView.java | 373 long groupId = mGroupMetaData.getLong(GroupMetaDataLoader.GROUP_ID); in getDefaultGroupId() local 376 return groupId; in getDefaultGroupId()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | GroupsTest.java | 119 final long groupId = cursor.getLong(Projections.COL_ID); in testGroupSummary() local 123 if (groupId == groupGrey) { in testGroupSummary() 127 } else if (groupId == groupRed) { in testGroupSummary() 131 } else if (groupId == groupGreen) { in testGroupSummary() 135 } else if (groupId == groupBlue) { in testGroupSummary() 180 long groupId = createGroup(mAccount, "g1", "gt1"); in testGroupDeletion1() local 181 Uri uri = ContentUris.withAppendedId(Groups.CONTENT_URI, groupId); in testGroupDeletion1() 194 long groupId = createGroup(mAccount, "g1", "gt1"); in testGroupDeletion2() local 195 Uri uri = ContentUris.withAppendedId(Groups.CONTENT_URI, groupId); in testGroupDeletion2() 253 final long groupId = this.createGroup(sTestAccount, GROUP_ID, GROUP_ID, 1); in testDelayVisibleTransaction() local [all …]
|
D | DirectoryTest.java | 98 long groupId = createGroup(account, "sid", "def", in testForwardingToLocalInvisibleContacts() local 115 new String[] { GroupMembership.CONTENT_ITEM_TYPE, String.valueOf(groupId) }); in testForwardingToLocalInvisibleContacts()
|
D | ContactsActor.java | 498 public long createGroupMembership(long rawContactId, long groupId) { in createGroupMembership() argument 503 values.put(CommonDataKinds.GroupMembership.GROUP_ROW_ID, groupId); in createGroupMembership()
|
D | BaseContactsProvider2Test.java | 425 protected Uri insertGroupMembership(long rawContactId, Long groupId) { in insertGroupMembership() argument 429 values.put(GroupMembership.GROUP_ROW_ID, groupId); in insertGroupMembership() 1495 final long groupId = createGroup(mAccount, "gsid1", "title1"); in build() local 1498 insertGroupMembership(rawContactId, groupId); in build()
|
D | ContactsProvider2Test.java | 2307 long groupId = createGroup(null, "testGroup", "Test Group"); in testQueryContactGroup() local 2311 "west@acme.com", StatusUpdates.OFFLINE, 0, 0, groupId, in testQueryContactGroup() 2754 long groupId = assertSingleGroup(NO_LONG, mAccount, "gsid1", null); in testGroupCreationAfterMembershipInsert() local 2756 rawContactId1, groupId, "gsid1"); in testGroupCreationAfterMembershipInsert() local 7113 long groupId, int chatMode) { in createContact() argument 7115 timesContacted, starred, groupId, chatMode, false); in createContact() 7120 long groupId, int chatMode, boolean isUserProfile) { in createContact() argument 7122 presenceStatus, timesContacted, starred, groupId, chatMode, isUserProfile)); in createContact() 7127 long groupId, int chatMode) { in createRawContact() argument 7129 timesContacted, starred, groupId, chatMode); in createRawContact() [all …]
|
D | LegacyContactsProviderTest.java | 896 long groupId = ContentUris.parseId(groupUri); in insertLegacyGroupMembership() local 900 values.put(GroupMembership.GROUP_ID, groupId); in insertLegacyGroupMembership()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | GroupMemberLoader.java | 77 Context context, long groupId) { in constructLoaderForGroupEditorQuery() argument 78 return new GroupMemberLoader(context, groupId, GroupEditorQuery.PROJECTION); in constructLoaderForGroupEditorQuery() 85 Context context, long groupId) { in constructLoaderForGroupDetailQuery() argument 86 return new GroupMemberLoader(context, groupId, GroupDetailQuery.PROJECTION); in constructLoaderForGroupDetailQuery() 89 private GroupMemberLoader(Context context, long groupId, String[] projection) { in GroupMemberLoader() argument 91 mGroupId = groupId; in GroupMemberLoader()
|
D | ContactSaveService.java | 626 public static Intent createGroupRenameIntent(Context context, long groupId, String newLabel, in createGroupRenameIntent() argument 630 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_ID, groupId); in createGroupRenameIntent() 642 long groupId = intent.getLongExtra(EXTRA_GROUP_ID, -1); in renameGroup() local 645 if (groupId == -1) { in renameGroup() 652 final Uri groupUri = ContentUris.withAppendedId(Groups.CONTENT_URI, groupId); in renameGroup() 663 public static Intent createGroupDeletionIntent(Context context, long groupId) { in createGroupDeletionIntent() argument 666 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_ID, groupId); in createGroupDeletionIntent() 671 long groupId = intent.getLongExtra(EXTRA_GROUP_ID, -1); in deleteGroup() local 672 if (groupId == -1) { in deleteGroup() 678 ContentUris.withAppendedId(Groups.CONTENT_URI, groupId), null, null); in deleteGroup() [all …]
|
D | GroupMetaData.java | 31 public GroupMetaData(String accountName, String accountType, String dataSet, long groupId, in GroupMetaData() argument 36 this.mGroupId = groupId; in GroupMetaData()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | DataRowHandlerForGroupMembership.java | 169 final long groupId = getOrMakeGroup(db, rawContactId, sourceId, 172 values.put(GroupMembership.GROUP_ROW_ID, groupId); 220 return entry.groupId; 237 entry.groupId = c.getLong(0); 242 long groupId = db.insert(Tables.GROUPS, null, groupValues); 243 if (groupId < 0) { 247 entry.groupId = groupId; 253 return entry.groupId;
|
D | ContactsProvider2.java | 1236 long groupId; field in ContactsProvider2.GroupIdCacheEntry 2556 final Long groupId = findGroupByRawContactId(SELECTION_AUTO_ADD_GROUPS_BY_RAW_CONTACT_ID, in addAutoAddMembership() local 2558 if (groupId != null) { in addAutoAddMembership() 2559 insertDataGroupMembership(rawContactId, groupId); in addAutoAddMembership() 2580 final Long groupId = findGroupByRawContactId(SELECTION_FAVORITES_GROUPS_BY_RAW_CONTACT_ID, in updateFavoritesMembership() local 2582 if (groupId != null) { in updateFavoritesMembership() 2584 insertDataGroupMembership(rawContactId, groupId); in updateFavoritesMembership() 2586 deleteDataGroupMembership(rawContactId, groupId); in updateFavoritesMembership() 2591 private void insertDataGroupMembership(long rawContactId, long groupId) { in insertDataGroupMembership() argument 2593 groupMembershipValues.put(GroupMembership.GROUP_ROW_ID, groupId); in insertDataGroupMembership() [all …]
|
D | LegacyApiSupport.java | 831 long groupId = getRequiredValue(values, in insert() local 833 id = insertGroupMembership(rawContactId, groupId); in insert() 932 private long insertGroupMembership(long rawContactId, long groupId) { in insertGroupMembership() argument 937 mValues.put(GroupMembership.GROUP_ROW_ID, groupId); in insertGroupMembership() 1138 private int updateGroups(long groupId, ContentValues values) { in updateGroups() argument 1142 Groups._ID + "=" + groupId, null); in updateGroups()
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
D | GroupDeletionDialogFragment.java | 37 public static void show(FragmentManager fragmentManager, long groupId, String label, in show() argument 41 args.putLong(ARG_GROUP_ID, groupId); in show() 70 long groupId = arguments.getLong(ARG_GROUP_ID); 73 getActivity(), groupId));
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
D | GroupBrowseListAdapter.java | 63 long groupId = (firstItem == null) ? null : firstItem.getGroupId(); in setCursor() local 64 mSelectedGroupUri = getGroupUriFromId(groupId); in setCursor() 78 long groupId = mCursor.getLong(GroupListLoader.GROUP_ID); in getSelectedGroupPosition() local 79 Uri uri = getGroupUriFromId(groupId); in getSelectedGroupPosition() 122 long groupId = mCursor.getLong(GroupListLoader.GROUP_ID); in getItem() local 143 return new GroupListItem(accountName, accountType, dataSet, groupId, title, in getItem() 204 private static Uri getGroupUriFromId(long groupId) { in getGroupUriFromId() argument 205 return ContentUris.withAppendedId(Groups.CONTENT_URI, groupId); in getGroupUriFromId()
|
D | GroupListItem.java | 31 public GroupListItem(String accountName, String accountType, String dataSet, long groupId, in GroupListItem() argument 36 mGroupId = groupId; in GroupListItem()
|
D | GroupEditorFragment.java | 636 final long groupId = ContentUris.parseId(groupUri); in onSaveCompleted() local 639 legacyContentUri, groupId); in onSaveCompleted()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
D | ClusteredSuggestionsAdapter.java | 133 public long getCombinedChildId(long groupId, long childId) { in getCombinedChildId() argument 136 return (groupId << GROUP_SHIFT) | ((childId + 1) & CHILD_MASK); in getCombinedChildId() 140 public long getCombinedGroupId(long groupId) { in getCombinedGroupId() argument 141 return groupId << GROUP_SHIFT; in getCombinedGroupId()
|
/packages/apps/Browser/src/com/android/browser/ |
D | DateSortedExpandableListAdapter.java | 363 public long getCombinedChildId(long groupId, long childId) { in getCombinedChildId() argument 369 public long getCombinedGroupId(long groupId) { in getCombinedGroupId() argument 371 return groupId; in getCombinedGroupId()
|
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/ |
D | DateSortedExpandableListAdapter.java | 343 public long getCombinedChildId(long groupId, long childId) { in getCombinedChildId() argument 347 public long getCombinedGroupId(long groupId) { in getCombinedGroupId() argument 348 return groupId; in getCombinedGroupId()
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
D | ContactDetailFragment.java | 554 Long groupId = groupMembership.getGroupRowId(); in buildEntries() local 555 if (groupId != null) { in buildEntries() 556 handleGroupMembership(groups, mContactData.getGroupMetaData(), groupId); in buildEntries() 925 ArrayList<String> groups, List<GroupMetaData> groupMetaData, long groupId) { in handleGroupMembership() argument 931 if (group.getGroupId() == groupId) { in handleGroupMembership() 2015 final Long groupId = groupMembership.getGroupRowId(); in isApplicable() local 2016 if (groupId == defaultGroupId) { in isApplicable()
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | RawContactDelta.java | 990 public void setGroupRowId(long groupId) { in setGroupRowId() argument 991 put(GroupMembership.GROUP_ROW_ID, groupId); in setGroupRowId()
|
D | ContactLoader.java | 693 final long groupId = cursor.getLong(GroupQuery.ID); in loadGroupMetaData() local 703 accountName, accountType, dataSet, groupId, title, defaultGroup, in loadGroupMetaData()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/ |
D | ContactAggregatorTest.java | 651 long groupId = createAutoAddGroup(account); in testReaggregationWhenBecomesVisible() local 667 insertGroupMembership(rawContactId3, groupId); in testReaggregationWhenBecomesVisible()
|