HomeSort by relevance Sort by last modified time
    Searched refs:groupUri (Results 1 - 10 of 10) sorted by null

  /packages/apps/Contacts/src/com/android/contacts/
GroupMetaDataLoader.java 51 public GroupMetaDataLoader(Context context, Uri groupUri) {
52 super(context, ensureIsGroupUri(groupUri), COLUMNS, Groups.ACCOUNT_TYPE + " NOT NULL AND "
60 private static Uri ensureIsGroupUri(final Uri groupUri) {
62 if (groupUri == null) {
65 if (!groupUri.toString().startsWith(Groups.CONTENT_URI.toString())) {
66 throw new IllegalArgumentException("Invalid group Uri: " + groupUri);
68 return groupUri;
ContactSaveService.java 705 final Uri groupUri = resolver.insert(Groups.CONTENT_URI, values);
709 if (groupUri == null) {
715 addMembersToGroup(resolver, rawContactsToAdd, ContentUris.parseId(groupUri));
721 values.put(GroupMembership.GROUP_ROW_ID, ContentUris.parseId(groupUri));
724 callbackIntent.setData(groupUri);
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/group/
GroupBrowseListFragment.java 66 * @param groupUri for the group that the user wishes to view.
68 void onViewGroupAction(Uri groupUri);
81 private static final String EXTRA_KEY_GROUP_URI = "groups.groupUri";
246 private void setSelectedGroup(Uri groupUri) {
247 mSelectedGroupUri = groupUri;
248 mAdapter.setSelectedGroup(groupUri);
252 private void viewGroup(Uri groupUri) {
253 setSelectedGroup(groupUri);
254 if (mListener != null) mListener.onViewGroupAction(groupUri);
257 public void setSelectedUri(Uri groupUri) {
    [all...]
GroupBrowseListAdapter.java 92 public void setSelectedGroup(Uri groupUri) {
93 mSelectedGroupUri = groupUri;
96 private boolean isSelectedGroup(Uri groupUri) {
97 return mSelectedGroupUri != null && mSelectedGroupUri.equals(groupUri);
183 Uri groupUri = getGroupUriFromId(entry.getGroupId());
187 viewCache.setUri(groupUri);
192 result.setActivated(isSelectedGroup(groupUri));
GroupEditorFragment.java 87 private static final String KEY_GROUP_URI = "groupUri";
466 public void load(String action, Uri groupUri, Bundle intentExtras) {
468 mGroupUri = groupUri;
469 mGroupId = (groupUri != null) ? ContentUris.parseId(mGroupUri) : 0;
609 public void onSaveCompleted(boolean hadChanges, Uri groupUri) {
610 boolean success = groupUri != null;
611 Log.d(TAG, "onSaveCompleted(" + groupUri + ")");
618 if (success && groupUri != null) {
619 final String requestAuthority = groupUri.getAuthority();
624 final long groupId = ContentUris.parseId(groupUri);
    [all...]
GroupDetailFragment.java 86 public void onEditRequested(Uri groupUri);
167 public void loadGroup(Uri groupUri) {
168 mGroupUri= groupUri;
  /packages/apps/Contacts/src/com/android/contacts/activities/
GroupDetailActivity.java 100 public void onEditRequested(Uri groupUri) {
102 intent.setData(groupUri);
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
LegacyContactsProviderTest.java 636 Uri groupUri = mResolver.insert(Groups.CONTENT_URI, values);
637 assertStoredValues(groupUri, values);
646 Uri groupUri = mResolver.insert(Groups.CONTENT_URI, values);
652 mResolver.update(groupUri, values, null, null);
653 assertStoredValues(groupUri, values);
659 Uri groupUri = insertLegacyGroup("Galois", values);
661 Uri membershipUri = insertLegacyGroupMembership(groupUri, personUri, values);
680 Uri groupUri = mResolver.insert(Groups.CONTENT_URI, values);
685 values.put(GroupMembership.GROUP_ID, ContentUris.parseId(groupUri));
    [all...]
GroupsTest.java 256 final Uri groupUri = ContentUris.withAppendedId(Groups.CONTENT_URI, groupId);
270 oper.add(ContentProviderOperation.newUpdate(groupUri).withValue(Groups.GROUP_VISIBLE, 0)
ContactsActor.java 686 Uri groupUri = resolver.insert(ContactsContract.Groups.CONTENT_URI, values);
687 return ContentUris.parseId(groupUri);

Completed in 68 milliseconds