Home
last modified time | relevance | path

Searched refs:childPos (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/widget/
DExpandableListPosition.java53 public int childPos; field in ExpandableListPosition
68 childPos = 0; in resetState()
77 if (type == CHILD) return ExpandableListView.getPackedPositionForChild(groupPos, childPos); in getPackedPosition()
99 elp.childPos = ExpandableListView.getPackedPositionChild(packedPosition); in obtainPosition()
106 static ExpandableListPosition obtain(int type, int groupPos, int childPos, int flatListPos) { in obtain() argument
110 elp.childPos = childPos; in obtain()
DExpandableListConnector.java175 final int childPos = flPos - (midExpGm.flPos + 1); in getUnflattenedPos() local
177 midExpGm.gPos, childPos, midExpGm, midExpGroupIndex); in getUnflattenedPos()
275 pos.groupPos, pos.childPos, null, 0); in getFlattenedPos()
305 pos.groupPos, pos.childPos, midExpGm, midExpGroupIndex); in getFlattenedPos()
308 return PositionMetadata.obtain(midExpGm.flPos + pos.childPos in getFlattenedPos()
309 + 1, pos.type, pos.groupPos, pos.childPos, in getFlattenedPos()
348 pos.childPos, null, leftExpGroupIndex); in getFlattenedPos()
362 pos.childPos, null, rightExpGroupIndex); in getFlattenedPos()
380 retValue = mExpandableListAdapter.isChildSelectable(pos.groupPos, pos.childPos); in isEnabled()
409 posMetadata.position.childPos); in getItem()
[all …]
DExpandableListView.java715 posMetadata.position.childPos, id); in handleItemClick()
1144 return mAdapter.getChildId(position.groupPos, position.childPos); in getChildOrGroupId()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DItemGroup.java208 int childPos = -1; in getChildPosition() local
210 for (int i = childIndex; childPos < 0 && i < childCount; i++) { in getChildPosition()
213 childPos = mHierarchyStart.get(i, -1); in getChildPosition()
215 if (childPos < 0) { in getChildPosition()
219 childPos = getCount(); in getChildPosition()
221 return childPos; in getChildPosition()
/frameworks/support/wear/src/android/support/wear/widget/drawer/
DWearableActionDrawerView.java378 int childPos =
380 if (childPos == RecyclerView.NO_POSITION) {
384 onMenuItemClicked(childPos);