/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | IconMenuPresenter.java | 70 public boolean shouldIncludeItem(int childIndex, MenuItemImpl item) { argument 72 boolean fits = (itemsToShow.size() == mMaxItems && childIndex < mMaxItems) || 73 childIndex < mMaxItems - 1; 78 protected void addItemView(View itemView, int childIndex) { argument 85 super.addItemView(itemView, childIndex); 124 protected boolean filterLeftoverView(ViewGroup parent, int childIndex) { argument 125 if (parent.getChildAt(childIndex) != mMoreView) { 126 return super.filterLeftoverView(parent, childIndex);
|
H A D | BaseMenuPresenter.java | 85 int childIndex = 0; 92 if (shouldIncludeItem(childIndex, item)) { 93 final View convertView = parent.getChildAt(childIndex); 103 addItemView(itemView, childIndex); 105 childIndex++; 111 while (childIndex < parent.getChildCount()) { 112 if (!filterLeftoverView(parent, childIndex)) { 113 childIndex++; 122 * @param childIndex Index within the parent to insert at 124 protected void addItemView(View itemView, int childIndex) { argument 138 filterLeftoverView(ViewGroup parent, int childIndex) argument 193 shouldIncludeItem(int childIndex, MenuItemImpl item) argument [all...] |
H A D | ActionMenuView.java | 559 protected boolean hasDividerBeforeChildAt(int childIndex) { argument 560 if (childIndex == 0) { 563 final View childBefore = getChildAt(childIndex - 1); 564 final View child = getChildAt(childIndex); 566 if (childIndex < getChildCount() && childBefore instanceof ActionMenuChildView) { 569 if (childIndex > 0 && child instanceof ActionMenuChildView) {
|
H A D | ActionMenuPresenter.java | 182 public boolean shouldIncludeItem(int childIndex, MenuItemImpl item) { argument 234 public boolean filterLeftoverView(ViewGroup parent, int childIndex) { argument 235 if (parent.getChildAt(childIndex) == mOverflowButton) return false; 236 return super.filterLeftoverView(parent, childIndex);
|
/frameworks/base/core/java/android/widget/ |
H A D | ViewAnimator.java | 147 * @param childIndex The index of the child to be shown. 151 void showOnly(int childIndex, boolean animate) { argument 155 if (i == childIndex) { 175 * @param childIndex The index of the child to be shown. 177 void showOnly(int childIndex) { argument 179 showOnly(childIndex, animate);
|
H A D | TabWidget.java | 152 void measureChildBeforeLayout(View child, int childIndex, argument 157 totalWidth + mImposedTabWidths[childIndex], MeasureSpec.EXACTLY); 162 super.measureChildBeforeLayout(child, childIndex,
|
H A D | TableRow.java | 183 int measureNullChild(int childIndex) { argument 184 return mConstrainedColumnWidths[childIndex]; 191 void measureChildBeforeLayout(View child, int childIndex, argument 203 columnWidth += constrainedColumnWidths[childIndex + i]; 247 super.measureChildBeforeLayout(child, childIndex, widthMeasureSpec,
|
H A D | TableLayout.java | 455 void measureChildBeforeLayout(View child, int childIndex, argument 464 super.measureChildBeforeLayout(child, childIndex,
|
H A D | AdapterViewAnimator.java | 451 * @param childIndex The index of the child to be shown. 455 void showOnly(int childIndex, boolean animate) { argument 475 int newWindowStartUnbounded = childIndex - mActiveOffset;
|
H A D | ExpandableListView.java | 390 void drawDivider(Canvas canvas, Rect bounds, int childIndex) { argument 391 int flatListPosition = childIndex + mFirstPosition;
|
H A D | GridView.java | 1882 * Is childIndex a candidate for next focus given the direction the focus 1884 * @param childIndex The index to check. 1887 * @return Whether childIndex is a candidate. 1889 private boolean isCandidateSelection(int childIndex, int direction) { argument 1891 final int invertedIndex = count - 1 - childIndex; 1897 rowStart = childIndex - (childIndex % mNumColumns); 1908 return childIndex == rowStart; 1914 return childIndex == rowEnd; 1920 return childIndex [all...] |
H A D | LinearLayout.java | 597 * @param childIndex Index of child to check for preceding divider 598 * @return true if there should be a divider before the child at childIndex 601 protected boolean hasDividerBeforeChildAt(int childIndex) { argument 602 if (childIndex == 0) { 604 } else if (childIndex == getChildCount()) { 608 for (int i = childIndex - 1; i >= 0; i--) { 1381 * @param childIndex the index of the null child 1384 int measureNullChild(int childIndex) { argument 1395 * @param childIndex the index of the child in this view 1401 void measureChildBeforeLayout(View child, int childIndex, argument [all...] |
H A D | ListView.java | 2563 * @param childIndex The view group index of the child. 2566 private void measureAndAdjustDown(View child, int childIndex, int numChildren) { argument 2575 for (int i = childIndex + 1; i < numChildren; i++) { 3300 * @param childIndex The index of child (of the View) above the divider. 3304 void drawDivider(Canvas canvas, Rect bounds, int childIndex) { argument
|
H A D | RemoteViews.java | 1735 public void setDisplayedChild(int viewId, int childIndex) { argument 1736 setInt(viewId, "setDisplayedChild", childIndex);
|
H A D | StackView.java | 418 void showOnly(int childIndex, boolean animate) { argument 419 super.showOnly(childIndex, animate);
|
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | ListScenario.java | 570 * @param childIndex The index into the viewgroup children (i.e the children that are 574 public void requestRectangleOnScreen(int childIndex, final Rect rect) { argument 575 final View child = getListView().getChildAt(childIndex);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | KeyguardWidgetPager.java | 816 protected boolean shouldSetTopAlignedPivotForWidget(int childIndex) { argument 817 return !isCameraPage(childIndex) && super.shouldSetTopAlignedPivotForWidget(childIndex);
|
H A D | PagedView.java | 582 protected boolean shouldSetTopAlignedPivotForWidget(int childIndex) { argument
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | ViewPager.java | 612 final int result = ((LayoutParams) mDrawingOrderedChildren.get(index).getLayoutParams()).childIndex; 1028 lp.childIndex = i; 2735 int childIndex; field in class:ViewPager.LayoutParams
|
/frameworks/base/services/input/ |
H A D | InputReader.cpp | 5637 uint32_t childIndex = parentIndex * 2 + 1; local 5638 if (childIndex >= heapSize) { 5642 if (childIndex + 1 < heapSize 5643 && heap[childIndex + 1].distance < heap[childIndex].distance) { 5644 childIndex += 1; 5647 if (heap[parentIndex].distance <= heap[childIndex].distance) { 5651 swap(heap[parentIndex], heap[childIndex]); 5652 parentIndex = childIndex; 5684 uint32_t childIndex local [all...] |