Home
last modified time | relevance | path

Searched refs:childIndex (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/expandablelistview/
DExpandableListTester.java102 for (int childIndex = 0; childIndex < childrenCount; childIndex++) { in testContextMenus()
105 menuListener.expectChildContextMenu(groupIndex, childIndex); in testContextMenus()
179 for (int childIndex = 0; childIndex < childrenCount; childIndex++) { in testConvertionBetweenFlatAndPackedOnChildren()
180 int expectedFlatPosition = headerCount + groupIndex + 1 + childIndex; in testConvertionBetweenFlatAndPackedOnChildren()
181 long childPos = ExpandableListView.getPackedPositionForChild(groupIndex, childIndex); in testConvertionBetweenFlatAndPackedOnChildren()
233 for (int childIndex = 0; childIndex < childrenCount; childIndex++) { in testSelectedPositionOnChildren()
234 int childFlatPosition = headerCount + groupIndex + 1 + childIndex; in testSelectedPositionOnChildren()
237 ExpandableListView.getPackedPositionForChild(groupIndex, childIndex), in testSelectedPositionOnChildren()
/frameworks/base/core/java/android/widget/
DTableRow.java181 int measureNullChild(int childIndex) { in measureNullChild() argument
182 return mConstrainedColumnWidths[childIndex]; in measureNullChild()
189 void measureChildBeforeLayout(View child, int childIndex, in measureChildBeforeLayout() argument
201 columnWidth += constrainedColumnWidths[childIndex + i]; in measureChildBeforeLayout()
243 super.measureChildBeforeLayout(child, childIndex, widthMeasureSpec, in measureChildBeforeLayout()
DViewAnimator.java137 void showOnly(int childIndex) { in showOnly() argument
142 if (i == childIndex) { in showOnly()
DTableLayout.java447 void measureChildBeforeLayout(View child, int childIndex, in measureChildBeforeLayout() argument
456 super.measureChildBeforeLayout(child, childIndex, in measureChildBeforeLayout()
DGridView.java1652 private boolean isCandidateSelection(int childIndex, int direction) { in isCandidateSelection() argument
1654 final int invertedIndex = count - 1 - childIndex; in isCandidateSelection()
1660 rowStart = childIndex - (childIndex % mNumColumns); in isCandidateSelection()
1671 return childIndex == rowStart; in isCandidateSelection()
1677 return childIndex == rowEnd; in isCandidateSelection()
DExpandableListView.java386 void drawDivider(Canvas canvas, Rect bounds, int childIndex) { in drawDivider() argument
387 int flatListPosition = childIndex + mFirstPosition; in drawDivider()
DLinearLayout.java997 int measureNullChild(int childIndex) { in measureNullChild() argument
1014 void measureChildBeforeLayout(View child, int childIndex, in measureChildBeforeLayout() argument
DAbsListView.java3403 final int childIndex = mSelectedPosition - mFirstPosition; in trackMotionScroll()
3404 if (childIndex >= 0 && childIndex < getChildCount()) { in trackMotionScroll()
3405 positionSelector(getChildAt(childIndex)); in trackMotionScroll() argument
DListView.java2444 private void measureAndAdjustDown(View child, int childIndex, int numChildren) { in measureAndAdjustDown() argument
2453 for (int i = childIndex + 1; i < numChildren; i++) { in measureAndAdjustDown()
3150 void drawDivider(Canvas canvas, Rect bounds, int childIndex) {
/frameworks/base/libs/ui/
DInputReader.cpp2631 uint32_t childIndex = parentIndex * 2 + 1; in calculatePointerIds() local
2632 if (childIndex >= heapSize) { in calculatePointerIds()
2636 if (childIndex + 1 < heapSize in calculatePointerIds()
2637 && heap[childIndex + 1].distance < heap[childIndex].distance) { in calculatePointerIds()
2638 childIndex += 1; in calculatePointerIds()
2641 if (heap[parentIndex].distance <= heap[childIndex].distance) { in calculatePointerIds()
2645 swap(heap[parentIndex], heap[childIndex]); in calculatePointerIds()
2646 parentIndex = childIndex; in calculatePointerIds()
2682 uint32_t childIndex = parentIndex * 2 + 1; in calculatePointerIds() local
2683 if (childIndex >= heapSize) { in calculatePointerIds()
[all …]
/frameworks/base/core/tests/coretests/src/android/util/
DListScenario.java574 public void requestRectangleOnScreen(int childIndex, final Rect rect) { in requestRectangleOnScreen() argument
575 final View child = getListView().getChildAt(childIndex); in requestRectangleOnScreen()