OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:groupUri
(Results
1 - 11
of
11
) 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
599
final Uri
groupUri
= resolver.insert(Groups.CONTENT_URI, values);
603
if (
groupUri
== null) {
609
addMembersToGroup(resolver, rawContactsToAdd, ContentUris.parseId(
groupUri
));
615
values.put(GroupMembership.GROUP_ROW_ID, ContentUris.parseId(
groupUri
));
618
callbackIntent.setData(
groupUri
);
653
final Uri
groupUri
= ContentUris.withAppendedId(Groups.CONTENT_URI, groupId);
654
getContentResolver().update(
groupUri
, values, null, null);
657
callbackIntent.setData(
groupUri
);
[
all
...]
/packages/apps/Contacts/src/com/android/contacts/group/
GroupBrowseListFragment.java
65
* @param
groupUri
for the group that the user wishes to view.
67
void onViewGroupAction(Uri
groupUri
);
80
private static final String EXTRA_KEY_GROUP_URI = "groups.
groupUri
";
243
private void setSelectedGroup(Uri
groupUri
) {
244
mSelectedGroupUri =
groupUri
;
245
mAdapter.setSelectedGroup(
groupUri
);
249
private void viewGroup(Uri
groupUri
) {
250
setSelectedGroup(
groupUri
);
251
if (mListener != null) mListener.onViewGroupAction(
groupUri
);
254
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
85
private static final String KEY_GROUP_URI = "
groupUri
";
464
public void load(String action, Uri
groupUri
, Bundle intentExtras) {
466
mGroupUri =
groupUri
;
467
mGroupId = (
groupUri
!= null) ? ContentUris.parseId(mGroupUri) : 0;
625
public void onSaveCompleted(boolean hadChanges, Uri
groupUri
) {
626
boolean success =
groupUri
!= null;
627
Log.d(TAG, "onSaveCompleted(" +
groupUri
+ ")");
634
if (success &&
groupUri
!= null) {
635
final String requestAuthority =
groupUri
.getAuthority();
640
final long groupId = ContentUris.parseId(
groupUri
);
[
all
...]
GroupDetailFragment.java
83
public void onEditRequested(Uri
groupUri
);
164
public void loadGroup(Uri
groupUri
) {
165
mGroupUri=
groupUri
;
/packages/apps/Contacts/src/com/android/contacts/activities/
GroupDetailActivity.java
99
public void onEditRequested(Uri
groupUri
) {
101
intent.setData(
groupUri
);
PeopleActivity.java
615
private void setupGroupDetailFragment(Uri
groupUri
) {
618
!UriUtils.areEqual(mGroupDetailFragment.getGroupUri(),
groupUri
)) {
621
mGroupDetailFragment.loadGroup(
groupUri
);
[
all
...]
/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
494
Uri
groupUri
= resolver.insert(ContactsContract.Groups.CONTENT_URI, values);
495
return ContentUris.parseId(
groupUri
);
Completed in 800 milliseconds