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.java674 final PositionMetadata posMetadata = mConnector.getUnflattenedPos(position); in handleItemClick() local
676 id = getChildOrGroupId(posMetadata.position); in handleItemClick()
679 if (posMetadata.position.type == ExpandableListPosition.GROUP) { in handleItemClick()
685 posMetadata.position.groupPos, id)) { in handleItemClick()
686 posMetadata.recycle(); in handleItemClick()
691 if (posMetadata.isExpanded()) { in handleItemClick()
693 mConnector.collapseGroup(posMetadata); in handleItemClick()
698 mOnGroupCollapseListener.onGroupCollapse(posMetadata.position.groupPos); in handleItemClick()
702 mConnector.expandGroup(posMetadata); in handleItemClick()
707 mOnGroupExpandListener.onGroupExpand(posMetadata.position.groupPos); in handleItemClick()
[all …]