/frameworks/base/core/java/com/android/internal/view/menu/ |
D | BaseMenuPresenter.java | 85 int childIndex = 0; in updateMenuView() local 92 if (shouldIncludeItem(childIndex, item)) { in updateMenuView() 93 final View convertView = parent.getChildAt(childIndex); in updateMenuView() 103 addItemView(itemView, childIndex); in updateMenuView() 105 childIndex++; in updateMenuView() 111 while (childIndex < parent.getChildCount()) { in updateMenuView() 112 if (!filterLeftoverView(parent, childIndex)) { in updateMenuView() 113 childIndex++; in updateMenuView() 124 protected void addItemView(View itemView, int childIndex) { in addItemView() argument 129 ((ViewGroup) mMenuView).addView(itemView, childIndex); in addItemView() [all …]
|
D | IconMenuPresenter.java | 70 public boolean shouldIncludeItem(int childIndex, MenuItemImpl item) { in shouldIncludeItem() argument 72 boolean fits = (itemsToShow.size() == mMaxItems && childIndex < mMaxItems) || in shouldIncludeItem() 73 childIndex < mMaxItems - 1; in shouldIncludeItem() 78 protected void addItemView(View itemView, int childIndex) { 85 super.addItemView(itemView, childIndex); 124 protected boolean filterLeftoverView(ViewGroup parent, int childIndex) { 125 if (parent.getChildAt(childIndex) != mMoreView) { 126 return super.filterLeftoverView(parent, childIndex);
|
D | ActionMenuView.java | 559 protected boolean hasDividerBeforeChildAt(int childIndex) { in hasDividerBeforeChildAt() argument 560 if (childIndex == 0) { in hasDividerBeforeChildAt() 563 final View childBefore = getChildAt(childIndex - 1); in hasDividerBeforeChildAt() 564 final View child = getChildAt(childIndex); in hasDividerBeforeChildAt() 566 if (childIndex < getChildCount() && childBefore instanceof ActionMenuChildView) { in hasDividerBeforeChildAt() 569 if (childIndex > 0 && child instanceof ActionMenuChildView) { in hasDividerBeforeChildAt()
|
D | ActionMenuPresenter.java | 182 public boolean shouldIncludeItem(int childIndex, MenuItemImpl item) { in shouldIncludeItem() argument 234 public boolean filterLeftoverView(ViewGroup parent, int childIndex) { in filterLeftoverView() argument 235 if (parent.getChildAt(childIndex) == mOverflowButton) return false; in filterLeftoverView() 236 return super.filterLeftoverView(parent, childIndex); in filterLeftoverView()
|
/frameworks/base/core/java/android/widget/ |
D | ViewAnimator.java | 151 void showOnly(int childIndex, boolean animate) { in showOnly() argument 155 if (i == childIndex) { in showOnly() 177 void showOnly(int childIndex) { in showOnly() argument 179 showOnly(childIndex, animate); in showOnly()
|
D | TableRow.java | 183 int measureNullChild(int childIndex) { in measureNullChild() argument 184 return mConstrainedColumnWidths[childIndex]; in measureNullChild() 191 void measureChildBeforeLayout(View child, int childIndex, in measureChildBeforeLayout() argument 203 columnWidth += constrainedColumnWidths[childIndex + i]; in measureChildBeforeLayout() 247 super.measureChildBeforeLayout(child, childIndex, widthMeasureSpec, in measureChildBeforeLayout()
|
D | LinearLayout.java | 601 protected boolean hasDividerBeforeChildAt(int childIndex) { in hasDividerBeforeChildAt() argument 602 if (childIndex == 0) { in hasDividerBeforeChildAt() 604 } else if (childIndex == getChildCount()) { in hasDividerBeforeChildAt() 608 for (int i = childIndex - 1; i >= 0; i--) { in hasDividerBeforeChildAt() 1384 int measureNullChild(int childIndex) { in measureNullChild() argument 1401 void measureChildBeforeLayout(View child, int childIndex, in measureChildBeforeLayout() argument 1589 int childIndex = start + dir * i; in layoutHorizontal() local 1590 final View child = getVirtualChildAt(childIndex); in layoutHorizontal() 1593 childLeft += measureNullChild(childIndex); in layoutHorizontal() 1647 if (hasDividerBeforeChildAt(childIndex)) { in layoutHorizontal() [all …]
|
D | TabWidget.java | 152 void measureChildBeforeLayout(View child, int childIndex, in measureChildBeforeLayout() argument 157 totalWidth + mImposedTabWidths[childIndex], MeasureSpec.EXACTLY); in measureChildBeforeLayout() 162 super.measureChildBeforeLayout(child, childIndex, in measureChildBeforeLayout()
|
D | GridView.java | 1889 private boolean isCandidateSelection(int childIndex, int direction) { in isCandidateSelection() argument 1891 final int invertedIndex = count - 1 - childIndex; in isCandidateSelection() 1897 rowStart = childIndex - (childIndex % mNumColumns); in isCandidateSelection() 1908 return childIndex == rowStart; in isCandidateSelection() 1914 return childIndex == rowEnd; in isCandidateSelection() 1920 return childIndex == rowStart && rowStart == 0; in isCandidateSelection() 1923 return childIndex == rowEnd && rowEnd == count - 1; in isCandidateSelection()
|
D | TableLayout.java | 455 void measureChildBeforeLayout(View child, int childIndex, in measureChildBeforeLayout() argument 464 super.measureChildBeforeLayout(child, childIndex, in measureChildBeforeLayout()
|
D | ExpandableListView.java | 390 void drawDivider(Canvas canvas, Rect bounds, int childIndex) { in drawDivider() argument 391 int flatListPosition = childIndex + mFirstPosition; in drawDivider()
|
D | AdapterViewAnimator.java | 455 void showOnly(int childIndex, boolean animate) { in showOnly() argument 475 int newWindowStartUnbounded = childIndex - mActiveOffset; in showOnly()
|
D | AbsListView.java | 4934 final int childIndex = mSelectedPosition - mFirstPosition; in trackMotionScroll() local 4935 if (childIndex >= 0 && childIndex < getChildCount()) { in trackMotionScroll() 4936 positionSelector(mSelectedPosition, getChildAt(childIndex)); in trackMotionScroll() 4939 final int childIndex = mSelectorPosition - mFirstPosition; in trackMotionScroll() local 4940 if (childIndex >= 0 && childIndex < getChildCount()) { in trackMotionScroll() 4941 positionSelector(INVALID_POSITION, getChildAt(childIndex)); in trackMotionScroll()
|
D | StackView.java | 418 void showOnly(int childIndex, boolean animate) { in showOnly() argument 419 super.showOnly(childIndex, animate); in showOnly()
|
D | ListView.java | 2566 private void measureAndAdjustDown(View child, int childIndex, int numChildren) { in measureAndAdjustDown() argument 2575 for (int i = childIndex + 1; i < numChildren; i++) { in measureAndAdjustDown() 3304 void drawDivider(Canvas canvas, Rect bounds, int childIndex) {
|
D | RemoteViews.java | 1735 public void setDisplayedChild(int viewId, int childIndex) { in setDisplayedChild() argument 1736 setInt(viewId, "setDisplayedChild", childIndex); in setDisplayedChild()
|
/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()
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
D | KeyguardWidgetPager.java | 857 protected boolean shouldSetTopAlignedPivotForWidget(int childIndex) { 858 return !isCameraPage(childIndex) && super.shouldSetTopAlignedPivotForWidget(childIndex);
|
D | PagedView.java | 582 protected boolean shouldSetTopAlignedPivotForWidget(int childIndex) { in shouldSetTopAlignedPivotForWidget() argument
|
/frameworks/base/services/input/ |
D | InputReader.cpp | 5637 uint32_t childIndex = parentIndex * 2 + 1; in assignPointerIds() local 5638 if (childIndex >= heapSize) { in assignPointerIds() 5642 if (childIndex + 1 < heapSize in assignPointerIds() 5643 && heap[childIndex + 1].distance < heap[childIndex].distance) { in assignPointerIds() 5644 childIndex += 1; in assignPointerIds() 5647 if (heap[parentIndex].distance <= heap[childIndex].distance) { in assignPointerIds() 5651 swap(heap[parentIndex], heap[childIndex]); in assignPointerIds() 5652 parentIndex = childIndex; in assignPointerIds() 5684 uint32_t childIndex = parentIndex * 2 + 1; in assignPointerIds() local 5685 if (childIndex >= heapSize) { in assignPointerIds() [all …]
|
/frameworks/base/core/java/android/view/ |
D | ViewGroup.java | 1728 final int childIndex = customOrder ? getChildDrawingOrder(childrenCount, i) : i; in dispatchGenericPointerEvent() local 1729 final View child = children[childIndex]; in dispatchGenericPointerEvent() 1858 final int childIndex = customOrder ? in dispatchTouchEvent() local 1860 final View child = children[childIndex]; in dispatchTouchEvent() 1878 mLastTouchDownIndex = childIndex; in dispatchTouchEvent()
|
/frameworks/support/v4/java/android/support/v4/view/ |
D | ViewPager.java | 611 …inal int result = ((LayoutParams) mDrawingOrderedChildren.get(index).getLayoutParams()).childIndex; in getChildDrawingOrder() 1027 lp.childIndex = i; 2733 int childIndex;
|
/frameworks/base/docs/html/about/versions/ |
D | android-3.1.jd | 507 childIndex)}, is available in {@link android.widget.RemoteViews} subclasses, to
|