Home
last modified time | relevance | path

Searched refs:GroupUtil (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/group/
DGroupMembersFragment.java133 if (indexer != null && GroupUtil.needTrimming(mCount, counts, indexer.getPositions())) { in FilterCursorWrapper()
134 GroupUtil.updateBundle(bundle, indexer, indicesToFilter, sections, counts); in FilterCursorWrapper()
371 final String sIds = GroupUtil.convertArrayToString(ids); in sendToGroup()
440 GroupUtil.startSendToSelectionActivity(this, itemsString, sendScheme, title); in sendToGroup()
445 startActivity(GroupUtil.createSendToSelectionPickerIntent(getContext(), ids, in startSendToSelectionPickerActivity()
450 startActivityForResult(GroupUtil.createPickMemberIntent(getContext(), mGroupMetaData, in startGroupAddMemberActivity()
464 : GroupUtil.convertStringSetToLongArray(mGroupMemberContactIds); in onOptionsItemSelected()
470 : GroupUtil.convertStringSetToLongArray(mGroupMemberContactIds); in onOptionsItemSelected()
477 GroupUtil.ACTION_UPDATE_GROUP, mGroupMetaData.groupId, in onOptionsItemSelected()
778 startActivityForResult(GroupUtil.createPickMemberIntent(getContext(), in inflateView()
[all …]
DUpdateGroupMembersAsyncTask.java71 action = GroupUtil.ACTION_ADD_TO_GROUP; in doInBackground()
75 action = GroupUtil.ACTION_REMOVE_FROM_GROUP; in doInBackground()
DGroupUtil.java47 public final class GroupUtil { class
69 private GroupUtil() { in GroupUtil() method in GroupUtil
109 final String sIds = GroupUtil.convertArrayToString(ids); in getSendToDataForIds()
DGroupNameEditDialogFragment.java290 final GroupUtil.GroupsProjection projection = new GroupUtil.GroupsProjection(data); in onLoadFinished()
/packages/apps/Contacts/src/com/android/contacts/
DGroupMetaDataLoader.java23 import com.android.contacts.group.GroupUtil;
54 super(context, ensureIsGroupUri(groupUri), COLUMNS, GroupUtil.DEFAULT_SELECTION, null, in GroupMetaDataLoader()
55 GroupUtil.getGroupsSortOrder()); in GroupMetaDataLoader()
60 GroupUtil.getGroupsSortOrder()); in GroupMetaDataLoader()
72 if (!GroupUtil.isGroupUri(groupUri)) { in ensureIsGroupUri()
DGroupListLoader.java23 import com.android.contacts.group.GroupUtil;
58 GroupUtil.DEFAULT_SELECTION, in GroupListLoader()
60 GroupUtil.getGroupsSortOrder()); in GroupListLoader()
/packages/apps/Contacts/tests/src/com/android/contacts/group/
DGroupUtilTest.java37 assertFalse(GroupUtil.needTrimming(zeroCount, emptyPositions, emptyCounts)); in testNeedTrimming()
42 assertFalse(GroupUtil.needTrimming(count, positions, counts)); in testNeedTrimming()
46 assertTrue(GroupUtil.needTrimming(count, positions, counts)); in testNeedTrimming()
57 GroupUtil.updateBundle(bundle, indexer, subscriptsList, sections, counts); in testUpdateBundle_smallSet()
105 GroupUtil.updateBundle(bundle, indexer, subscriptsList, sections, counts); in testUpdateBundle_mediumSet()
/packages/apps/Contacts/src/com/android/contacts/activities/
DPeopleActivity.java71 import com.android.contacts.group.GroupUtil;
421 if (GroupUtil.ACTION_CREATE_GROUP.equals(action)) { in onNewIntent()
444 if (GroupUtil.ACTION_REMOVE_FROM_GROUP.equals(action)) { in onNewIntent()
475 return GroupUtil.ACTION_UPDATE_GROUP.equals(action) in isGroupSaveAction()
476 || GroupUtil.ACTION_ADD_TO_GROUP.equals(action) in isGroupSaveAction()
477 || GroupUtil.ACTION_REMOVE_FROM_GROUP.equals(action); in isGroupSaveAction()
555 switchToOrUpdateGroupView(GroupUtil.ACTION_SWITCH_GROUP); in createViewsAndFragments()
952 switchToOrUpdateGroupView(GroupUtil.ACTION_SWITCH_GROUP); in onGroupMenuItemClicked()
1152 mNewGroupAccount, GroupUtil.ACTION_CREATE_GROUP) in onAccountChosen()
/packages/apps/Contacts/src/com/android/contacts/list/
DMultiSelectPhoneNumbersListFragment.java29 import com.android.contacts.group.GroupUtil;
85 final List<String> items = GroupUtil.getSendToDataForIds( in onOptionsItemSelected()
88 GroupUtil.startSendToSelectionActivity(this, list, scheme, title); in onOptionsItemSelected()
DMultiSelectEmailAddressesListFragment.java29 import com.android.contacts.group.GroupUtil;
85 final List<String> items = GroupUtil.getSendToDataForIds( in onOptionsItemSelected()
88 GroupUtil.startSendToSelectionActivity(this, list, scheme, title); in onOptionsItemSelected()
DContactsIntentResolver.java37 import com.android.contacts.group.GroupUtil;
161 } else if (!GroupUtil.isGroupUri(intent.getData())){ in resolveIntent()
171 if (GroupUtil.isGroupUri(intent.getData())){ in resolveIntent()
DGroupMemberPickerFragment.java34 import com.android.contacts.group.GroupUtil;
105 if (indexer != null && GroupUtil.needTrimming(mCount, counts, indexer.getPositions())) { in FilterCursorWrapper()
106 GroupUtil.updateBundle(bundle, indexer, indicesToFilter, sections, counts); in FilterCursorWrapper()
DMultiSelectEntryContactListAdapter.java26 import com.android.contacts.group.GroupUtil;
96 return GroupUtil.convertLongSetToLongArray(mSelectedContactIds); in getSelectedContactIdsArray()
DMultiSelectEmailAddressesListAdapter.java31 import com.android.contacts.group.GroupUtil;
105 + " IN (" + GroupUtil.convertArrayToString(mContactIdsFilter) + ")"); in configureLoader()
DMultiSelectPhoneNumbersListAdapter.java31 import com.android.contacts.group.GroupUtil;
105 + " IN (" + GroupUtil.convertArrayToString(mContactIdsFilter) + ")"); in configureLoader()
/packages/apps/Contacts/src/com/android/contacts/drawer/
DDrawerFragment.java43 import com.android.contacts.group.GroupUtil;
134 mGroupListItems.add(GroupUtil.getGroupListItem(data, i));
292 if (GroupUtil.isEmptyFFCGroup(groupListItem)) { in notifyIfReady()
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
DAllIntentsActivity.java47 import com.android.contacts.group.GroupUtil;
588 GroupUtil.DEFAULT_SELECTION, in findArbitraryGroup()
/packages/apps/Contacts/
Dproguard.flags34 -keep class com.android.contacts.group.GroupUtil { *; }
/packages/apps/Contacts/src/com/android/contacts/editor/
DContactEditorFragment.java71 import com.android.contacts.group.GroupUtil;
443 GroupUtil.ALL_GROUPS_SELECTION);