Searched defs:groupPosition (Results 1 - 8 of 8) 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/Browser/src/com/android/browser/view/
H A DBookmarkExpandableView.java186 Integer groupPosition = (Integer) originalView.getTag(R.id.group_position);
189 if (groupPosition == null || childPosition == null) {
193 mContextMenuInfo = new BookmarkContextMenuInfo(childPosition, groupPosition);
217 public BrowserBookmarksAdapter getChildAdapter(int groupPosition) { argument
218 return mAdapter.mChildren.get(groupPosition);
228 int groupPosition = (Integer) v.getTag(R.id.group_position);
230 if (mAdapter.getGroupCount() <= groupPosition
231 || mAdapter.mChildren.get(groupPosition).getCount() <= childPosition) {
234 long id = mAdapter.mChildren.get(groupPosition).getItemId(childPosition);
237 v, groupPosition, childPositio
255 getBreadCrumbs(int groupPosition) argument
306 getChild(int groupPosition, int childPosition) argument
311 getChildId(int groupPosition, int childPosition) argument
316 getChildView(int groupPosition, int childPosition, boolean isLastChild, View convertView, ViewGroup parent) argument
355 getChildrenCount(int groupPosition) argument
361 getGroup(int groupPosition) argument
388 getGroupId(int groupPosition) argument
393 getGroupView(int groupPosition, boolean isExpanded, View view, ViewGroup parent) argument
416 getBreadCrumbView(int groupPosition) argument
440 isChildSelectable(int groupPosition, int childPosition) argument
447 BookmarkContextMenuInfo(int childPosition, int groupPosition) argument
453 public int groupPosition; field in class:BookmarkExpandableView.BookmarkContextMenuInfo
[all...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DCustomContactListFilterActivity.java570 public View getGroupView(int groupPosition, boolean isExpanded, View convertView, argument
580 final AccountDisplay account = (AccountDisplay)this.getGroup(groupPosition);
593 public View getChildView(int groupPosition, int childPosition, boolean isLastChild, argument
604 final AccountDisplay account = mAccounts.get(groupPosition);
605 final GroupDelta child = (GroupDelta)this.getChild(groupPosition, childPosition);
626 public Object getChild(int groupPosition, int childPosition) { argument
627 final AccountDisplay account = mAccounts.get(groupPosition);
638 public long getChildId(int groupPosition, int childPosition) { argument
639 final GroupDelta child = (GroupDelta)getChild(groupPosition, childPosition);
649 public int getChildrenCount(int groupPosition) { argument
657 getGroup(int groupPosition) argument
670 getGroupId(int groupPosition) argument
680 isChildSelectable(int groupPosition, int childPosition) argument
704 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 180 milliseconds