Searched refs:childId (Results 1 - 10 of 10) sorted by relevance

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
H A DClusteredSuggestionsAdapter.java133 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 DDateSortedExpandableListAdapter.java160 * @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 DDateSortedExpandableListAdapter.java177 * @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/exchange2/src/com/android/exchange/provider/
H A DMailboxUtilities.java77 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 DEntityDelta.java122 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 DEntityDelta.java132 final Long childId = remoteEntry.getId();
135 final ValuesDelta localEntry = local.getEntry(childId);
282 public ValuesDelta getEntry(Long childId) { argument
283 if (childId == null) {
291 if (childId.equals(entry.getId())) {
/packages/apps/Launcher2/src/com/android/launcher2/
H A DPagedViewCellLayout.java112 public boolean addViewToCellLayout(View child, int index, int childId, argument
125 child.setId(childId);
H A DCellLayout.java563 public boolean addViewToCellLayout(View child, int index, int childId, LayoutParams params, argument
587 child.setId(childId);
H A DWorkspace.java568 int childId = LauncherModel.getCellLayoutChildId(container, screen, x, y, spanX, spanY);
570 if (!layout.addViewToCellLayout(child, insert ? 0 : -1, childId, lp, markCellsAsOccupied)) {
/packages/apps/Contacts/src/com/android/contacts/list/
H A DCustomContactListFilterActivity.java642 final Long childId = child.getId();
643 return childId != null ? childId : Long.MIN_VALUE;

Completed in 232 milliseconds