Home
last modified time | relevance | path

Searched refs:packedPosition (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/util/
DExpandableListScenario.java175 public final String getValueAtPosition(long packedPosition) { in getValueAtPosition() argument
176 final int type = ExpandableListView.getPackedPositionType(packedPosition); in getValueAtPosition()
179 return mGroups.get(ExpandableListView.getPackedPositionGroup(packedPosition)) in getValueAtPosition()
180 .children.get(ExpandableListView.getPackedPositionChild(packedPosition)) in getValueAtPosition()
183 return mGroups.get(ExpandableListView.getPackedPositionGroup(packedPosition)) in getValueAtPosition()
196 private boolean isOutOfBounds(long packedPosition) { in isOutOfBounds() argument
197 final int type = ExpandableListView.getPackedPositionType(packedPosition); in isOutOfBounds()
203 final int group = ExpandableListView.getPackedPositionGroup(packedPosition); in isOutOfBounds()
209 final int child = ExpandableListView.getPackedPositionChild(packedPosition); in isOutOfBounds()
226 private View getView(long packedPosition, View convertView, ViewGroup parent) { in getView() argument
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DPositionTesterContextMenuListener.java71 long packedPosition = elvMenuInfo.packedPosition; in onCreateContextMenu() local
73 int packedPositionType = ExpandableListView.getPackedPositionType(packedPosition); in onCreateContextMenu()
78 int packedPositionGroup = ExpandableListView.getPackedPositionGroup(packedPosition); in onCreateContextMenu()
84 int packedPositionChild = ExpandableListView.getPackedPositionChild(packedPosition); in onCreateContextMenu()
DExpandableListView_ExpandableListContextMenuInfoTest.java36 assertEquals(100L, expandableListContextMenuInfo.packedPosition); in testConstructor()