Searched defs:childId (Results 1 - 7 of 7) sorted by relevance

/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/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/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/Contacts/src/com/android/contacts/model/
H A DEntityDelta.java130 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 DPagedViewCellLayout.java117 public boolean addViewToCellLayout(View child, int index, int childId, argument
130 child.setId(childId);
H A DCellLayout.java558 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
/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())) {

Completed in 3623 milliseconds