Searched refs:childIndex (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/widget/expandablelistview/ |
D | ExpandableListTester.java | 102 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/ |
D | TableRow.java | 181 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()
|
D | ViewAnimator.java | 137 void showOnly(int childIndex) { in showOnly() argument 142 if (i == childIndex) { in showOnly()
|
D | TableLayout.java | 447 void measureChildBeforeLayout(View child, int childIndex, in measureChildBeforeLayout() argument 456 super.measureChildBeforeLayout(child, childIndex, in measureChildBeforeLayout()
|
D | GridView.java | 1652 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()
|
D | ExpandableListView.java | 386 void drawDivider(Canvas canvas, Rect bounds, int childIndex) { in drawDivider() argument 387 int flatListPosition = childIndex + mFirstPosition; in drawDivider()
|
D | LinearLayout.java | 997 int measureNullChild(int childIndex) { in measureNullChild() argument 1014 void measureChildBeforeLayout(View child, int childIndex, in measureChildBeforeLayout() argument
|
D | AbsListView.java | 3403 final int childIndex = mSelectedPosition - mFirstPosition; in trackMotionScroll() 3404 if (childIndex >= 0 && childIndex < getChildCount()) { in trackMotionScroll() 3405 positionSelector(getChildAt(childIndex)); in trackMotionScroll() argument
|
D | ListView.java | 2444 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/ |
D | InputReader.cpp | 2631 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/ |
D | ListScenario.java | 574 public void requestRectangleOnScreen(int childIndex, final Rect rect) { in requestRectangleOnScreen() argument 575 final View child = getListView().getChildAt(childIndex); in requestRectangleOnScreen()
|