/frameworks/base/core/java/android/widget/ |
BaseExpandableListAdapter.java | 75 * <li> bit 1-31: Lower 31 bits of the groupId 80 public long getCombinedChildId(long groupId, long childId) { 81 return 0x8000000000000000L | ((groupId & 0x7FFFFFFF) << 32) | (childId & 0xFFFFFFFF); 90 * <li> bit 1-31: Lower 31 bits of the groupId 95 public long getCombinedGroupId(long groupId) { 96 return (groupId & 0x7FFFFFFF) << 32;
|
ExpandableListAdapter.java | 189 * @param groupId The ID of the group that contains this child. 194 long getCombinedChildId(long groupId, long childId); 204 * @param groupId The ID of the group 208 long getCombinedGroupId(long groupId);
|
/frameworks/base/core/java/android/view/ |
Menu.java | 157 * @param groupId The group identifier that this item should be part of. 168 public MenuItem add(int groupId, int itemId, int order, CharSequence title); 174 * @param groupId The group identifier that this item should be part of. 185 public MenuItem add(int groupId, int itemId, int order, int titleRes); 216 * @param groupId The group identifier that this item should be part of. 227 SubMenu addSubMenu(final int groupId, final int itemId, int order, final CharSequence title); 233 * @param groupId The group identifier that this item should be part of. 242 SubMenu addSubMenu(int groupId, int itemId, int order, int titleRes); 270 * @param groupId The group identifier that the items should be part of. 295 public int addIntentOptions(int groupId, int itemId, int order [all...] |
/packages/apps/Contacts/src/com/android/contacts/list/ |
ContactListFilter.java | 45 private static final String KEY_GROUP_ID = "filter.groupId"; 55 public long groupId; 62 Drawable icon, long groupId, String groupSourceId, boolean groupReadOnly, 69 this.groupId = groupId; 79 public static ContactListFilter createGroupFilter(long groupId) { 81 groupId, null, false, null); 85 String dataSet, long groupId, String groupSourceId, boolean groupReadOnly, 88 dataSet, null, groupId, groupSourceId, groupReadOnly, title); 124 + " " + accountName + " " + title + "(" + groupId + ")" [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
GroupMembershipView.java | 62 public GroupSelectionItem(long groupId, String title, boolean checked) { 63 this.mGroupId = groupId; 169 long groupId = mGroupMetaData.getLong(GroupMetaDataLoader.GROUP_ID); 172 mFavoritesGroupId = groupId; 175 mDefaultGroupId = groupId; 182 if (groupId != mFavoritesGroupId && groupId != mDefaultGroupId 183 && hasMembership(groupId)) { 237 long groupId = mGroupMetaData.getLong(GroupMetaDataLoader.GROUP_ID); 238 if (groupId != mFavoritesGroupI [all...] |
/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...] |
/external/webkit/Source/WebCore/bindings/v8/ |
V8GCController.cpp | 207 class GroupId { 209 GroupId() : m_type(NullType), m_groupId(0) {} 210 GroupId(Node* node) : m_type(NodeType), m_node(node) {} 211 GroupId(void* other) : m_type(OtherType), m_other(other) {} 213 uintptr_t groupId() const { return m_groupId; } 244 GrouperItem(GroupId groupId, v8::Persistent<v8::Object> wrapper) : m_groupId(groupId), m_wrapper(wrapper) {} 245 uintptr_t groupId() const { return m_groupId.groupId(); } [all...] |
/packages/apps/Contacts/src/com/android/contacts/ |
GroupMetaData.java | 31 public GroupMetaData(String accountName, String accountType, String dataSet, long groupId, 36 this.mGroupId = groupId;
|
GroupMemberLoader.java | 34 * Group Member loader. Loads all group members from the given groupId 78 public GroupMemberLoader(Context context, long groupId) { 80 mGroupId = groupId;
|
ContactSaveService.java | 88 public static final String EXTRA_GROUP_ID = "groupId"; 499 public static Intent createGroupRenameIntent(Context context, long groupId, String newLabel, 503 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_ID, groupId); 515 long groupId = intent.getLongExtra(EXTRA_GROUP_ID, -1); 518 if (groupId == -1) { 525 final Uri groupUri = ContentUris.withAppendedId(Groups.CONTENT_URI, groupId); 536 public static Intent createGroupDeletionIntent(Context context, long groupId) { 539 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_ID, groupId); 544 long groupId = intent.getLongExtra(EXTRA_GROUP_ID, -1); 545 if (groupId == -1) [all...] |
/packages/apps/Contacts/src/com/android/contacts/group/ |
GroupListItem.java | 31 public GroupListItem(String accountName, String accountType, String dataSet, long groupId, 36 mGroupId = groupId;
|
GroupBrowseListAdapter.java | 64 long groupId = (firstItem == null) ? null : firstItem.getGroupId(); 65 mSelectedGroupUri = getGroupUriFromId(groupId); 79 long groupId = mCursor.getLong(GroupListLoader.GROUP_ID); 80 Uri uri = getGroupUriFromId(groupId); 123 long groupId = mCursor.getLong(GroupListLoader.GROUP_ID); 144 return new GroupListItem(accountName, accountType, dataSet, groupId, title, 205 private static Uri getGroupUriFromId(long groupId) { 206 return ContentUris.withAppendedId(Groups.CONTENT_URI, groupId);
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
GroupDeletionDialogFragment.java | 33 private static final String ARG_GROUP_ID = "groupId"; 37 public static void show(FragmentManager fragmentManager, long groupId, String label, 41 args.putLong(ARG_GROUP_ID, groupId); 71 long groupId = arguments.getLong(ARG_GROUP_ID); 74 getActivity(), groupId));
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
ActionMenu.java | 59 public MenuItem add(int groupId, int itemId, int order, int titleRes) { 60 return add(groupId, itemId, order, mContext.getResources().getString(titleRes)); 63 public MenuItem add(int groupId, int itemId, int order, CharSequence title) { 65 groupId, itemId, 0, order, title); 70 public int addIntentOptions(int groupId, int itemId, int order, 79 removeGroup(groupId); 89 final MenuItem item = add(groupId, itemId, order, ri.loadLabel(pm)) 110 public SubMenu addSubMenu(int groupId, int itemId, int order, 116 public SubMenu addSubMenu(int groupId, int itemId, int order, int titleRes) { 200 public void removeGroup(int groupId) { [all...] |
ActionMenuPresenter.java | 417 final int groupId = item.getGroupId(); 418 if (groupId != 0) { 419 seenGroups.put(groupId, true); 425 final int groupId = item.getGroupId(); 426 final boolean inGroup = seenGroups.get(groupId); 459 if (isAction && groupId != 0) { 460 seenGroups.put(groupId, true); 463 seenGroups.put(groupId, false); 466 if (areYouMyGroupie.getGroupId() == groupId) {
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
GroupsTest.java | 120 final long groupId = cursor.getLong(Projections.COL_ID); 124 if (groupId == groupGrey) { 128 } else if (groupId == groupRed) { 132 } else if (groupId == groupGreen) { 136 } else if (groupId == groupBlue) { 185 long groupId = createGroup(mAccount, "g1", "gt1"); 186 Uri uri = ContentUris.withAppendedId(Groups.CONTENT_URI, groupId); 200 long groupId = createGroup(mAccount, "g1", "gt1"); 201 Uri uri = ContentUris.withAppendedId(Groups.CONTENT_URI, groupId); 261 final long groupId = this.createGroup(sTestAccount, GROUP_ID, GROUP_ID, 1) [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
DataRowHandlerForGroupMembership.java | 172 final long groupId = getOrMakeGroup(db, rawContactId, sourceId, 175 values.put(GroupMembership.GROUP_ROW_ID, groupId); 229 return entry.groupId; 263 entry.groupId = c.getLong(0); 270 long groupId = db.insert(Tables.GROUPS, Groups.ACCOUNT_NAME, groupValues); 271 if (groupId < 0) { 275 entry.groupId = groupId; 281 return entry.groupId;
|
/development/samples/ActionBarCompat/src/com/example/android/actionbarcompat/ |
SimpleMenu.java | 65 public MenuItem add(int groupId, int itemId, int order, CharSequence title) { 69 public MenuItem add(int groupId, int itemId, int order, int titleRes) { 151 public SubMenu addSubMenu(int groupId, int itemId, int order, CharSequence title) { 155 public SubMenu addSubMenu(int groupId, int itemId, int order, int titleRes) {
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/ |
FakeExpandableAdapter.java | 142 public long getCombinedGroupId(long groupId) { 143 return groupId << 16 | 0x0000FFFF; 146 public long getCombinedChildId(long groupId, long childId) { 147 return groupId << 16 | childId;
|
/external/libvpx/examples/includes/HTML-Toc-0.91/ |
TocGenerator.pm | 50 use constant TEMPLATE_ANCHOR => '$groupId."-".$node'; 290 # Alias 'levelGroups' of right 'groupId' 291 $levelGroups = $aToc->{_levelGroups}{$aGroup->{'groupId'}}; 464 my ($file, $groupId, $level, $node, $anchorName); 469 $groupId = $aGroupId; 659 my ($file, $tocTokenId, $groupId, $toc, $attribute); 664 $groupId = $aTocToken->[TT_GROUP]{'groupId'}; 680 if (ref($groupId) eq "CODE") { 681 $groupId = &$groupId($self->{_currentFile}, $node) [all...] |
Toc.pm | 26 use constant TEMPLATE_ANCHOR_NAME => '$groupId."-".$node'; 77 # Hash reference to array for each groupId, each array element 192 my ($level, $groupLevel, $line, $groupId, $text, $compareStatus); 203 ($level, $groupLevel, $groupId, $node, $sequenceNr, 210 ($groupId =~ m/$self->{options}{'groupToToc'}/) 227 $level, $groupId, $node, $sequenceNr, $text 301 # 'groupId' is specified? 302 if (! defined($group->{'groupId'})) { 303 # No, 'groupId' isn't specified; 304 # Set default groupId [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
Contacts_PeopleTest.java | 167 int groupId = cursor.getInt(GROUPS_ID_INDEX); 172 assertEquals(groupId, cursor.getInt(MEMBERSHIP_GROUP_ID_INDEX)); 191 groupId = cursor.getInt(GROUPS_ID_INDEX); 196 assertEquals(groupId, cursor.getInt(MEMBERSHIP_GROUP_ID_INDEX)); 208 groupId = cursor.getInt(GROUPS_ID_INDEX); 210 mRowsAdded.add(People.addToGroup(mContentResolver, personId, groupId)); 214 assertEquals(groupId, cursor.getInt(MEMBERSHIP_GROUP_ID_INDEX)); 228 groupId = cursor.getInt(MEMBERSHIP_GROUP_ID_INDEX); 231 Groups._ID + "=" + groupId, null, null);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
ClusteredSuggestionsAdapter.java | 133 public long getCombinedChildId(long groupId, long childId) { 136 return (groupId << GROUP_SHIFT) | ((childId + 1) & CHILD_MASK); 140 public long getCombinedGroupId(long groupId) { 141 return groupId << GROUP_SHIFT;
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/ |
ContactManager.java | 64 long groupId = 0; 72 groupId = cursor.getLong(0); 79 if (groupId == 0) { 88 groupId = ContentUris.parseId(newGroupUri); 90 return groupId; 106 List<RawContact> rawContacts, long groupId, long lastSyncMarker) { 151 addContact(context, account, rawContact, groupId, true, batchOperation); 274 * @param groupId the id of the sample group 280 long groupId, boolean inSync, BatchOperation batchOperation) { 292 .addGroupMembership(groupId) [all...] |
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/syncadapter/ |
SyncAdapter.java | 93 final long groupId = ContactManager.ensureSampleGroupExists(mContext, account); 110 groupId,
|