Home
last modified time | relevance | path

Searched refs:groupPosition (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Browser/src/com/android/browser/view/
DBookmarkExpandableView.java186 Integer groupPosition = (Integer) originalView.getTag(R.id.group_position); in showContextMenuForChild() local
189 if (groupPosition == null || childPosition == null) { in showContextMenuForChild()
193 mContextMenuInfo = new BookmarkContextMenuInfo(childPosition, groupPosition); in showContextMenuForChild()
217 public BrowserBookmarksAdapter getChildAdapter(int groupPosition) { in getChildAdapter() argument
218 return mAdapter.mChildren.get(groupPosition); in getChildAdapter()
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, childPosition, id);
[all …]
/packages/apps/Browser/src/com/android/browser/
DDateSortedExpandableListAdapter.java194 private int groupPositionToBin(int groupPosition) { in groupPositionToBin() argument
196 if (groupPosition < 0 || groupPosition >= DateSorter.DAY_COUNT) { in groupPositionToBin()
206 return groupPosition; in groupPositionToBin()
209 while (groupPosition > -1) { in groupPositionToBin()
212 groupPosition--; in groupPositionToBin()
228 int groupPosition = ExpandableListView.getPackedPositionGroup( in moveCursorToPackedChildPosition() local
232 return moveCursorToChildPosition(groupPosition, childPosition); in moveCursorToPackedChildPosition()
242 /* package */ boolean moveCursorToChildPosition(int groupPosition, in moveCursorToChildPosition() argument
247 groupPosition = groupPositionToBin(groupPosition); in moveCursorToChildPosition()
249 for (int i = 0; i < groupPosition; i++) { in moveCursorToChildPosition()
[all …]
DBrowserHistoryPage.java273 int groupPosition, int childPosition, long id) { in onChildClick() argument
493 void setSelectedGroup(int groupPosition) { in setSelectedGroup() argument
494 mSelectedGroup = groupPosition; in setSelectedGroup()
553 public long getChildId(int groupPosition, int childPosition) { in getChildId() argument
554 if (moveCursorToChildPosition(groupPosition, childPosition)) { in getChildId()
555 Cursor cursor = getCursor(groupPosition); in getChildId()
567 public int getChildrenCount(int groupPosition) { in getChildrenCount() argument
568 if (groupPosition >= super.getGroupCount()) { in getChildrenCount()
574 return super.getChildrenCount(groupPosition); in getChildrenCount()
591 Cursor getCursor(int groupPosition) { in getCursor() argument
[all …]
DBrowserBookmarksPage.java77 public int groupPosition; field in BrowserBookmarksPage.ExtraDragState
172 if (handleContextItem(item.getItemId(), i.groupPosition, i.childPosition)) { in onContextItemSelected()
178 public boolean handleContextItem(int itemId, int groupPosition, in handleContextItem() argument
181 BrowserBookmarksAdapter adapter = getChildAdapter(groupPosition); in handleContextItem()
271 BrowserBookmarksAdapter adapter = getChildAdapter(info.groupPosition); in onCreateContextMenu()
419 private BrowserBookmarksAdapter getChildAdapter(int groupPosition) { in getChildAdapter() argument
420 return mGrid.getChildAdapter(groupPosition); in getChildAdapter()
423 private BreadCrumbView getBreadCrumbs(int groupPosition) { in getBreadCrumbs() argument
424 return mGrid.getBreadCrumbs(groupPosition); in getBreadCrumbs()
429 int groupPosition, int childPosition, long id) { in onChildClick() argument
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapEmailSettingsAdapter.java80 public void onGroupExpand(int groupPosition) { in BluetoothMapEmailSettingsAdapter()
81 BluetoothMapEmailSettingsItem group = mMainGroup.get(groupPosition); in BluetoothMapEmailSettingsAdapter()
83 mGroupStatus[groupPosition] = 1; in BluetoothMapEmailSettingsAdapter()
94 public BluetoothMapEmailSettingsItem getChild(int groupPosition, int childPosition) { in getChild() argument
95 BluetoothMapEmailSettingsItem item = mMainGroup.get(groupPosition); in getChild()
103 public long getChildId(int groupPosition, int childPosition) { in getChildId() argument
108 public View getChildView(final int groupPosition, final int childPosition, in getChildView() argument
122 final BluetoothMapEmailSettingsItem child = getChild(groupPosition, childPosition); in getChildView()
127 …BluetoothMapEmailSettingsItem parentGroup = (BluetoothMapEmailSettingsItem)getGroup(groupPosition); in getChildView()
193 public int getChildrenCount(int groupPosition) { in getChildrenCount() argument
[all …]
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DCustomContactListFilterActivity.java573 public View getGroupView(int groupPosition, boolean isExpanded, View convertView, in getGroupView() argument
583 final AccountDisplay account = (AccountDisplay)this.getGroup(groupPosition); in getGroupView()
596 public View getChildView(int groupPosition, int childPosition, boolean isLastChild, in getChildView() argument
607 final AccountDisplay account = mAccounts.get(groupPosition); in getChildView()
608 final GroupDelta child = (GroupDelta)this.getChild(groupPosition, childPosition); in getChildView()
629 public Object getChild(int groupPosition, int childPosition) { in getChild() argument
630 final AccountDisplay account = mAccounts.get(groupPosition); in getChild()
641 public long getChildId(int groupPosition, int childPosition) {
642 final GroupDelta child = (GroupDelta)getChild(groupPosition, childPosition);
652 public int getChildrenCount(int groupPosition) {
[all …]
/packages/apps/Settings/src/com/android/settings/
DTrustedCredentialsSettings.java227 int groupPosition, int childPosition, long id) { in addTab()
228 showCertDialog(adapter.getChild(groupPosition, childPosition)); in addTab()
291 public int getChildrenCount(int groupPosition) { in getChildrenCount() argument
292 List<CertHolder> certHolders = mData.mCertHoldersByUserId.valueAt(groupPosition); in getChildrenCount()
299 public UserHandle getGroup(int groupPosition) { in getGroup() argument
300 return new UserHandle(mData.mCertHoldersByUserId.keyAt(groupPosition)); in getGroup()
303 public CertHolder getChild(int groupPosition, int childPosition) { in getChild() argument
304 return mData.mCertHoldersByUserId.valueAt(groupPosition).get(childPosition); in getChild()
307 public long getGroupId(int groupPosition) { in getGroupId() argument
308 return mData.mCertHoldersByUserId.keyAt(groupPosition); in getGroupId()
[all …]
/packages/apps/Music/src/com/android/music/
DArtistAlbumBrowserActivity.java264 …public boolean onChildClick(ExpandableListView parent, View v, int groupPosition, int childPositio… in onChildClick() argument
271 Cursor c = (Cursor) getExpandableListAdapter().getChild(groupPosition, childPosition); in onChildClick()
275 mArtistCursor.moveToPosition(groupPosition); in onChildClick()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DClusteredSuggestionsView.java55 ExpandableListView parent, View v, int groupPosition, long id) { in onFinishInflate()