HomeSort by relevance Sort by last modified time
    Searched defs:groupId (Results 1 - 25 of 61) sorted by null

1 2 3

  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DirectoryTest.java 102 long groupId = createGroup(account, "sid", "def",
119 new String[] { GroupMembership.CONTENT_ITEM_TYPE, String.valueOf(groupId) });
GroupsTest.java 121 final long groupId = cursor.getLong(Projections.COL_ID);
125 if (groupId == groupGrey) {
129 } else if (groupId == groupRed) {
133 } else if (groupId == groupGreen) {
137 } else if (groupId == groupBlue) {
182 long groupId = createGroup(mAccount, "g1", "gt1");
183 Uri uri = ContentUris.withAppendedId(Groups.CONTENT_URI, groupId);
196 long groupId = createGroup(mAccount, "g1", "gt1");
197 Uri uri = ContentUris.withAppendedId(Groups.CONTENT_URI, groupId);
255 final long groupId = this.createGroup(sTestAccount, GROUP_ID, GROUP_ID, 1)
    [all...]
LegacyContactsProviderTest.java     [all...]
BaseContactsProvider2Test.java 368 protected Uri insertGroupMembership(long rawContactId, Long groupId) {
372 values.put(GroupMembership.GROUP_ROW_ID, groupId);
    [all...]
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/syncadapter/
SyncAdapter.java 94 final long groupId = ContactManager.ensureSampleGroupExists(mContext, account);
111 groupId,
  /frameworks/base/core/tests/coretests/src/android/view/
MenuTest.java 55 final int groupId = 541;
60 final MenuItem item = mMenu.add(groupId, 0, item1Index, "test");
62 final MenuItem item2 = mMenu.add(groupId, 0, item2Index, "test2");
64 Assert.assertEquals(groupId, item.getGroupId());
65 Assert.assertEquals(groupId, item2.getGroupId());
66 Assert.assertEquals(item1Index, mMenu.findGroupIndex(groupId));
67 Assert.assertEquals(item2Index, mMenu.findGroupIndex(groupId, item1Index + 1));
191 final int groupId = 1;
192 final MenuItem item1 = mMenu.add(groupId, 1, 0, "item1");
193 final MenuItem item2 = mMenu.add(groupId, 2, 0, "item2")
    [all...]
  /frameworks/base/services/java/com/android/server/wm/
AppWindowToken.java 53 int groupId = -1;
255 pw.print(prefix); pw.print("groupId="); pw.print(groupId);
  /packages/apps/Contacts/src/com/android/contacts/group/
GroupBrowseListAdapter.java 63 long groupId = (firstItem == null) ? 0 : firstItem.getGroupId();
64 mSelectedGroupUri = getGroupUriFromId(groupId);
78 long groupId = mCursor.getLong(GroupListLoader.GROUP_ID);
79 Uri uri = getGroupUriFromId(groupId);
122 long groupId = mCursor.getLong(GroupListLoader.GROUP_ID);
143 return new GroupListItem(accountName, accountType, dataSet, groupId, title,
204 private static Uri getGroupUriFromId(long groupId) {
205 return ContentUris.withAppendedId(Groups.CONTENT_URI, groupId);
GroupEditorFragment.java 88 private static final String KEY_GROUP_ID = "groupId";
642 final long groupId = ContentUris.parseId(groupUri);
645 legacyContentUri, groupId);
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
Contacts_PeopleTest.java 131 int groupId = cursor.getInt(GROUPS_ID_INDEX);
136 assertEquals(groupId, cursor.getInt(MEMBERSHIP_GROUP_ID_INDEX));
155 groupId = cursor.getInt(GROUPS_ID_INDEX);
160 assertEquals(groupId, cursor.getInt(MEMBERSHIP_GROUP_ID_INDEX));
172 groupId = cursor.getInt(GROUPS_ID_INDEX);
174 mRowsAdded.add(People.addToGroup(mContentResolver, personId, groupId));
179 if (cursor.getInt(MEMBERSHIP_GROUP_ID_INDEX) == groupId) {
  /frameworks/opt/timezonepicker/src/com/android/timezonepicker/
TimeZoneInfo.java 51 public int groupId;
  /frameworks/base/core/java/android/view/
MenuInflater.java 252 private int groupId;
311 groupId = defaultGroupId;
326 groupId = a.getResourceId(com.android.internal.R.styleable.MenuGroup_id, defaultGroupId);
451 setItem(menu.add(groupId, itemId, itemCategoryOrder, itemTitle));
456 SubMenu subMenu = menu.addSubMenu(groupId, itemId, itemCategoryOrder, itemTitle);
  /frameworks/base/core/java/android/widget/
ExpandableListConnector.java 422 final long groupId = mExpandableListAdapter.getGroupId(posMetadata.position.groupPos);
426 retValue = mExpandableListAdapter.getCombinedGroupId(groupId);
430 retValue = mExpandableListAdapter.getCombinedChildId(groupId, childId);
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/view/
SupportMenuInflater.java 260 private int groupId;
319 groupId = defaultGroupId;
333 groupId = a.getResourceId(R.styleable.MenuGroup_android_id, defaultGroupId);
462 setItem(menu.add(groupId, itemId, itemCategoryOrder, itemTitle));
467 SubMenu subMenu = menu.addSubMenu(groupId, itemId, itemCategoryOrder, itemTitle);
  /packages/apps/Contacts/src/com/android/contacts/editor/
GroupMembershipView.java 65 public GroupSelectionItem(long groupId, String title, boolean checked) {
66 this.mGroupId = groupId;
229 long groupId = mGroupMetaData.getLong(GroupMetaDataLoader.GROUP_ID);
232 mFavoritesGroupId = groupId;
235 mDefaultGroupId = groupId;
242 if (groupId != mFavoritesGroupId && groupId != mDefaultGroupId
243 && hasMembership(groupId)) {
299 long groupId = mGroupMetaData.getLong(GroupMetaDataLoader.GROUP_ID);
300 if (groupId != mFavoritesGroupI
    [all...]
RawContactEditorView.java 416 long groupId = mGroupMetaData.getLong(GroupMetaDataLoader.GROUP_ID);
419 return groupId;
  /dalvik/vm/jdwp/
JdwpHandler.cpp     [all...]
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/
ContactManager.java 73 long groupId = 0;
81 groupId = cursor.getLong(0);
88 if (groupId == 0) {
97 groupId = ContentUris.parseId(newGroupUri);
99 return groupId;
115 List<RawContact> rawContacts, long groupId, long lastSyncMarker) {
160 addContact(context, account, rawContact, groupId, true, batchOperation);
320 * @param groupId the id of the sample group
326 long groupId, boolean inSync, BatchOperation batchOperation) {
338 .addGroupMembership(groupId)
    [all...]
  /frameworks/base/core/java/com/android/internal/view/menu/
ActionMenuPresenter.java 453 final int groupId = item.getGroupId();
454 if (groupId != 0) {
455 seenGroups.put(groupId, true);
461 final int groupId = item.getGroupId();
462 final boolean inGroup = seenGroups.get(groupId);
495 if (isAction && groupId != 0) {
496 seenGroups.put(groupId, true);
499 seenGroups.put(groupId, false);
502 if (areYouMyGroupie.getGroupId() == groupId) {
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
ActionMenuPresenter.java 435 final int groupId = item.getGroupId();
436 if (groupId != 0) {
437 seenGroups.put(groupId, true);
443 final int groupId = item.getGroupId();
444 final boolean inGroup = seenGroups.get(groupId);
477 if (isAction && groupId != 0) {
478 seenGroups.put(groupId, true);
481 seenGroups.put(groupId, false);
484 if (areYouMyGroupie.getGroupId() == groupId) {
  /frameworks/base/core/java/android/provider/
Contacts.java 489 long groupId = tryGetMyContactsGroupId(resolver);
490 if (groupId == 0) {
494 return addToGroup(resolver, personId, groupId);
509 long groupId = 0;
515 groupId = groupsCursor.getLong(0);
522 if (groupId == 0) {
526 return addToGroup(resolver, personId, groupId);
534 * @param groupId the group to add the person to
539 public static Uri addToGroup(ContentResolver resolver, long personId, long groupId) {
542 values.put(GroupMembership.GROUP_ID, groupId);
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/
ContactSaveService.java 100 public static final String EXTRA_GROUP_ID = "groupId";
612 public static Intent createGroupRenameIntent(Context context, long groupId, String newLabel,
616 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_ID, groupId);
628 long groupId = intent.getLongExtra(EXTRA_GROUP_ID, -1);
631 if (groupId == -1) {
638 final Uri groupUri = ContentUris.withAppendedId(Groups.CONTENT_URI, groupId);
649 public static Intent createGroupDeletionIntent(Context context, long groupId) {
652 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_ID, groupId);
657 long groupId = intent.getLongExtra(EXTRA_GROUP_ID, -1);
658 if (groupId == -1)
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/
ContactLoader.java     [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/
ContactAggregatorTest.java 661 long groupId = createAutoAddGroup(account);
677 insertGroupMembership(rawContactId3, groupId);
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
LegacyApiSupport.java     [all...]

Completed in 1733 milliseconds

1 2 3