Home | History | Annotate | Download | only in widget

Lines Matching full:childcount

221         final int childCount = getChildCount();
224 if (childCount > 0) {
243 child = getChildAt(childCount - 1);
246 if (mFirstPosition + childCount < mItemCount) {
542 final int childCount = getChildCount();
543 final int bottomOfBottomChild = getChildAt(childCount - 1).getBottom();
544 final int lastVisiblePosition = mFirstPosition + childCount - 1;
574 int childCount = getChildCount();
575 int bottomOfBottomChild = getChildAt(childCount - 1).getBottom();
1256 int childCount = getChildCount();
1257 if (childCount > 0) {
1259 for (int i = 0; i < childCount; i++) {
1266 for (int i = childCount - 1; i >= 0; i--) {
1303 int childCount = getChildCount();
1304 if (childCount > 0) {
1305 correctTooHigh(childCount);
1312 int childCount = getChildCount();
1313 if (childCount > 0) {
1314 correctTooLow(childCount);
1332 childCount Number of children
1334 private void correctTooHigh(int childCount) {
1337 int lastPosition = mFirstPosition + childCount - 1;
1338 if (lastPosition == mItemCount - 1 && childCount > 0) {
1341 final View lastChild = getChildAt(childCount - 1);
1381 * @param childCount Number of children
1383 private void correctTooLow(int childCount) {
1386 if (mFirstPosition == 0 && childCount > 0) {
1403 View lastChild = getChildAt(childCount - 1);
1405 int lastPosition = mFirstPosition + childCount - 1;
1454 int childCount = getChildCount();
1469 if (index >= 0 && index < childCount) {
1482 if (index >= 0 && index < childCount) {
1531 for (int i = 0; i < childCount; i++) {
1539 recycleBin.fillActiveViews(childCount, firstPosition);
1594 if (childCount == 0) {
3300 final int childCount = getChildCount();
3303 for (int i = 0; i < childCount; i++) {