Home
last modified time | relevance | path

Searched refs:posMetadata (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/widget/
DExpandableListConnector.java401 final PositionMetadata posMetadata = getUnflattenedPos(flatListPos); in getItem() local
404 if (posMetadata.position.type == ExpandableListPosition.GROUP) { in getItem()
406 .getGroup(posMetadata.position.groupPos); in getItem()
407 } else if (posMetadata.position.type == ExpandableListPosition.CHILD) { in getItem()
408 retValue = mExpandableListAdapter.getChild(posMetadata.position.groupPos, in getItem()
409 posMetadata.position.childPos); in getItem()
415 posMetadata.recycle(); in getItem()
421 final PositionMetadata posMetadata = getUnflattenedPos(flatListPos); in getItemId() local
422 final long groupId = mExpandableListAdapter.getGroupId(posMetadata.position.groupPos); in getItemId()
425 if (posMetadata.position.type == ExpandableListPosition.GROUP) { in getItemId()
[all …]
DExpandableListView.java665 final PositionMetadata posMetadata = mConnector.getUnflattenedPos(position); in handleItemClick() local
667 id = getChildOrGroupId(posMetadata.position); in handleItemClick()
670 if (posMetadata.position.type == ExpandableListPosition.GROUP) { in handleItemClick()
676 posMetadata.position.groupPos, id)) { in handleItemClick()
677 posMetadata.recycle(); in handleItemClick()
682 if (posMetadata.isExpanded()) { in handleItemClick()
684 mConnector.collapseGroup(posMetadata); in handleItemClick()
689 mOnGroupCollapseListener.onGroupCollapse(posMetadata.position.groupPos); in handleItemClick()
693 mConnector.expandGroup(posMetadata); in handleItemClick()
698 mOnGroupExpandListener.onGroupExpand(posMetadata.position.groupPos); in handleItemClick()
[all …]