Lines Matching refs:childCount

207         final int childCount = getChildCount();
210 if (childCount > 0) {
229 child = getChildAt(childCount - 1);
232 if (mFirstPosition + childCount < mItemCount) {
559 final int childCount = getChildCount();
560 final int bottomOfBottomChild = getChildAt(childCount - 1).getBottom();
561 final int lastVisiblePosition = mFirstPosition + childCount - 1;
591 int childCount = getChildCount();
592 int bottomOfBottomChild = getChildAt(childCount - 1).getBottom();
1310 int childCount = getChildCount();
1311 if (childCount > 0) {
1313 for (int i = 0; i < childCount; i++) {
1320 for (int i = childCount - 1; i >= 0; i--) {
1357 int childCount = getChildCount();
1358 if (childCount > 0) {
1359 correctTooHigh(childCount);
1366 int childCount = getChildCount();
1367 if (childCount > 0) {
1368 correctTooLow(childCount);
1386 * @param childCount Number of children
1388 private void correctTooHigh(int childCount) {
1391 int lastPosition = mFirstPosition + childCount - 1;
1392 if (lastPosition == mItemCount - 1 && childCount > 0) {
1395 final View lastChild = getChildAt(childCount - 1);
1435 * @param childCount Number of children
1437 private void correctTooLow(int childCount) {
1440 if (mFirstPosition == 0 && childCount > 0) {
1457 View lastChild = getChildAt(childCount - 1);
1459 int lastPosition = mFirstPosition + childCount - 1;
1507 final int childCount = getChildCount();
1521 if (index >= 0 && index < childCount) {
1534 if (index >= 0 && index < childCount) {
1631 for (int i = 0; i < childCount; i++) {
1635 recycleBin.fillActiveViews(childCount, firstPosition);
1669 if (childCount == 0) {
3572 final int childCount = getChildCount();
3575 for (int i = 0; i < childCount; i++) {