Searched refs:childId (Results 1 - 10 of 10) sorted by relevance
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
H A D | ClusteredSuggestionsAdapter.java | 133 public long getCombinedChildId(long groupId, long childId) { argument 136 return (groupId << GROUP_SHIFT) | ((childId + 1) & CHILD_MASK); 144 public int getChildPosition(long childId) { argument 145 return (int) (childId & CHILD_MASK) - 1; 148 public int getGroupPosition(long childId) { argument 149 return (int) ((childId >> GROUP_SHIFT) & CHILD_MASK); 162 public SuggestionPosition getChildById(long childId) { argument 163 SuggestionCursor groupCursor = getGroup(getGroupPosition(childId)); 165 return new SuggestionPosition(groupCursor, getChildPosition(childId)); 167 Log.w(TAG, "Invalid childId " [all...] |
/packages/apps/Browser/src/com/android/browser/ |
H A D | DateSortedExpandableListAdapter.java | 160 * @param childId ID of the child view in question. 162 /* package */ int groupFromChildId(long childId) { argument 167 if (getLong(mIdIndex) == childId) { 363 public long getCombinedChildId(long groupId, long childId) { argument 365 return childId;
|
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/ |
H A D | DateSortedExpandableListAdapter.java | 177 * @param childId ID of the child view in question. 179 /* package */ int groupFromChildId(long childId) { argument 183 if (getLong(mIdIndex) == childId) { 343 public long getCombinedChildId(long groupId, long childId) { argument 344 return childId;
|
/packages/apps/Exchange/src/com/android/exchange/provider/ |
H A D | MailboxUtilities.java | 77 long childId = childCursor.getLong(Mailbox.ID_PROJECTION_COLUMN); 78 resolver.update(ContentUris.withAppendedId(Mailbox.CONTENT_URI, childId),
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
H A D | EntityDelta.java | 122 final Long childId = remoteEntry.getId(); 125 final ValuesDelta localEntry = local.getEntry(childId); 245 public ValuesDelta getEntry(Long childId) { argument 246 if (childId == null) { 254 if (childId.equals(entry.getId())) {
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
H A D | EntityDelta.java | 130 final Long childId = remoteEntry.getId(); 133 final ValuesDelta localEntry = local.getEntry(childId); 265 public ValuesDelta getEntry(Long childId) { argument 266 if (childId == null) { 274 if (childId.equals(entry.getId())) {
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | PagedViewCellLayout.java | 117 public boolean addViewToCellLayout(View child, int index, int childId, argument 130 child.setId(childId);
|
H A D | CellLayout.java | 558 View child, int index, int childId, LayoutParams params, boolean markCells) { 569 child.setId(childId); 557 addViewToCellLayout( View child, int index, int childId, LayoutParams params, boolean markCells) argument
|
H A D | Workspace.java | 539 int childId = LauncherModel.getCellLayoutChildId(container, screen, x, y, spanX, spanY); 541 if (!layout.addViewToCellLayout(child, insert ? 0 : -1, childId, lp, markCellsAsOccupied)) {
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
H A D | CustomContactListFilterActivity.java | 642 final Long childId = child.getId(); 643 return childId != null ? childId : Long.MIN_VALUE;
|
Completed in 299 milliseconds