Searched defs:groupPosition (Results 1 - 9 of 9) sorted by relevance

/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/
H A DDateSortedDownloadAdapter.java43 public View getChildView(int groupPosition, int childPosition, argument
51 if (!moveCursorToChildPosition(groupPosition, childPosition)) {
56 ExpandableListView.getPackedPositionForChild(groupPosition, childPosition));
H A DDateSortedExpandableListAdapter.java203 * @param groupPosition Position in the ExpandableList's set of groups
206 private int groupPositionToBin(int groupPosition) { argument
207 if (groupPosition < 0 || groupPosition >= DateSorter.DAY_COUNT) {
215 // the array is empty, in which case the provided groupPosition
217 return groupPosition;
220 while (groupPosition > -1) {
223 groupPosition--;
239 int groupPosition = ExpandableListView.getPackedPositionGroup(
243 return moveCursorToChildPosition(groupPosition, childPositio
253 moveCursorToChildPosition(int groupPosition, int childPosition) argument
271 getGroupView(int groupPosition, boolean isExpanded, View convertView, ViewGroup parent) argument
285 getChildView(int groupPosition, int childPosition, boolean isLastChild, View convertView, ViewGroup parent) argument
294 isChildSelectable(int groupPosition, int childPosition) argument
302 getChildrenCount(int groupPosition) argument
306 getGroup(int groupPosition) argument
310 getChild(int groupPosition, int childPosition) argument
314 getGroupId(int groupPosition) argument
318 getChildId(int groupPosition, int childPosition) argument
337 onGroupExpanded(int groupPosition) argument
340 onGroupCollapsed(int groupPosition) argument
[all...]
/packages/apps/Browser/src/com/android/browser/
H A DDateSortedExpandableListAdapter.java191 * @param groupPosition Position in the ExpandableList's set of groups
194 private int groupPositionToBin(int groupPosition) { argument
196 if (groupPosition < 0 || groupPosition >= DateSorter.DAY_COUNT) {
204 // the array is empty, in which case the provided groupPosition
206 return groupPosition;
209 while (groupPosition > -1) {
212 groupPosition--;
228 int groupPosition = ExpandableListView.getPackedPositionGroup(
232 return moveCursorToChildPosition(groupPosition, childPositio
242 moveCursorToChildPosition(int groupPosition, int childPosition) argument
280 getGroupView(int groupPosition, boolean isExpanded, View convertView, ViewGroup parent) argument
296 getChildView(int groupPosition, int childPosition, boolean isLastChild, View convertView, ViewGroup parent) argument
308 isChildSelectable(int groupPosition, int childPosition) argument
319 getChildrenCount(int groupPosition) argument
325 getGroup(int groupPosition) argument
330 getChild(int groupPosition, int childPosition) argument
335 getGroupId(int groupPosition) argument
341 getChildId(int groupPosition, int childPosition) argument
355 onGroupExpanded(int groupPosition) argument
359 onGroupCollapsed(int groupPosition) argument
[all...]
H A DBrowserBookmarksPage.java77 public int groupPosition; field in class:BrowserBookmarksPage.ExtraDragState
172 if (handleContextItem(item.getItemId(), i.groupPosition, i.childPosition)) {
178 public boolean handleContextItem(int itemId, int groupPosition, argument
181 BrowserBookmarksAdapter adapter = getChildAdapter(groupPosition);
271 BrowserBookmarksAdapter adapter = getChildAdapter(info.groupPosition);
419 private BrowserBookmarksAdapter getChildAdapter(int groupPosition) { argument
420 return mGrid.getChildAdapter(groupPosition);
423 private BreadCrumbView getBreadCrumbs(int groupPosition) { argument
424 return mGrid.getBreadCrumbs(groupPosition);
429 int groupPosition, in
428 onChildClick(ExpandableListView parent, View v, int groupPosition, int childPosition, long id) argument
589 loadFolder(int groupPosition, Uri uri) argument
[all...]
H A DBrowserHistoryPage.java273 int groupPosition, int childPosition, long id) {
493 void setSelectedGroup(int groupPosition) { argument
494 mSelectedGroup = groupPosition;
553 public long getChildId(int groupPosition, int childPosition) { argument
554 if (moveCursorToChildPosition(groupPosition, childPosition)) {
555 Cursor cursor = getCursor(groupPosition);
567 public int getChildrenCount(int groupPosition) { argument
568 if (groupPosition >= super.getGroupCount()) {
574 return super.getChildrenCount(groupPosition);
591 Cursor getCursor(int groupPosition) { argument
272 onChildClick(ExpandableListView parent, View view, int groupPosition, int childPosition, long id) argument
599 getGroupView(int groupPosition, boolean isExpanded, View convertView, ViewGroup parent) argument
619 moveCursorToChildPosition( int groupPosition, int childPosition) argument
632 getChildView(int groupPosition, int childPosition, boolean isLastChild, View convertView, ViewGroup parent) argument
[all...]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
H A DClusteredSuggestionsAdapter.java153 public Suggestion getChild(int groupPosition, int childPosition) { argument
154 SuggestionCursor c = getGroup(groupPosition);
173 public long getChildId(int groupPosition, int childPosition) { argument
178 public View getChildView(int groupPosition, int childPosition, boolean isLastChild, argument
180 SuggestionCursor cursor = getGroup(groupPosition);
182 return getView(cursor, childPosition, getCombinedChildId(groupPosition, childPosition),
187 public int getChildrenCount(int groupPosition) { argument
188 SuggestionCursor group = getGroup(groupPosition);
193 public SuggestionCursor getGroup(int groupPosition) { argument
194 if (groupPosition < promotedGroupCoun
222 getGroupId(int groupPosition) argument
227 getGroupView( int groupPosition, boolean isExpanded, View convertView, ViewGroup parent) argument
251 isChildSelectable(int groupPosition, int childPosition) argument
256 getChildType(int groupPosition, int childPosition) argument
[all...]
/packages/apps/Browser/src/com/android/browser/view/
H A DBookmarkExpandableView.java186 int groupPosition = (Integer) originalView.getTag(R.id.group_position);
190 groupPosition);
214 public BrowserBookmarksAdapter getChildAdapter(int groupPosition) { argument
215 return mAdapter.mChildren.get(groupPosition);
225 int groupPosition = (Integer) v.getTag(R.id.group_position);
227 if (mAdapter.getGroupCount() <= groupPosition
228 || mAdapter.mChildren.get(groupPosition).getCount() <= childPosition) {
231 long id = mAdapter.mChildren.get(groupPosition).getItemId(childPosition);
234 v, groupPosition, childPosition, id);
243 int groupPosition
252 getBreadCrumbs(int groupPosition) argument
303 getChild(int groupPosition, int childPosition) argument
308 getChildId(int groupPosition, int childPosition) argument
313 getChildView(int groupPosition, int childPosition, boolean isLastChild, View convertView, ViewGroup parent) argument
352 getChildrenCount(int groupPosition) argument
358 getGroup(int groupPosition) argument
385 getGroupId(int groupPosition) argument
390 getGroupView(int groupPosition, boolean isExpanded, View view, ViewGroup parent) argument
413 getBreadCrumbView(int groupPosition) argument
437 isChildSelectable(int groupPosition, int childPosition) argument
444 BookmarkContextMenuInfo(int childPosition, int groupPosition) argument
450 public int groupPosition; field in class:BookmarkExpandableView.BookmarkContextMenuInfo
[all...]
/packages/apps/Contacts/src/com/android/contacts/list/
H A DCustomContactListFilterActivity.java571 public View getGroupView(int groupPosition, boolean isExpanded, View convertView, argument
581 final AccountDisplay account = (AccountDisplay)this.getGroup(groupPosition);
594 public View getChildView(int groupPosition, int childPosition, boolean isLastChild, argument
605 final AccountDisplay account = mAccounts.get(groupPosition);
606 final GroupDelta child = (GroupDelta)this.getChild(groupPosition, childPosition);
627 public Object getChild(int groupPosition, int childPosition) { argument
628 final AccountDisplay account = mAccounts.get(groupPosition);
639 public long getChildId(int groupPosition, int childPosition) { argument
640 final GroupDelta child = (GroupDelta)getChild(groupPosition, childPosition);
650 public int getChildrenCount(int groupPosition) { argument
658 getGroup(int groupPosition) argument
671 getGroupId(int groupPosition) argument
681 isChildSelectable(int groupPosition, int childPosition) argument
705 onChildClick(ExpandableListView parent, View view, int groupPosition, int childPosition, long id) argument
[all...]
/packages/apps/Music/src/com/android/music/
H A DArtistAlbumBrowserActivity.java264 public boolean onChildClick(ExpandableListView parent, View v, int groupPosition, int childPosition, long id) { argument
271 Cursor c = (Cursor) getExpandableListAdapter().getChild(groupPosition, childPosition);
275 mArtistCursor.moveToPosition(groupPosition);

Completed in 399 milliseconds