Home | History | Annotate | Download | only in widget

Lines Matching refs:childCount

670         final int childCount = getChildCount();
671 if (childCount != mItemCount) {
675 return getChildAt(0).getTop() >= 0 && getChildAt(childCount - 1).getBottom() <= mBottom;
1143 final int childCount = getChildCount();
1144 if (firstPosition >= 0 && childCount > 0) {
1158 } else if (firstPosition + childCount == count) {
1161 index = firstPosition + childCount / 2;
1163 return (int) (firstPosition + childCount * (index / (float) count));
1241 int childCount = getChildCount();
1242 for (int i = 0; i < childCount; i++) {
2405 final int childCount = getChildCount();
2406 if (childCount > 0) {
2408 final int lastChildBottom = getChildAt(childCount - 1).getBottom();
2412 mFirstPosition + childCount < mItemCount &&
2428 (mFirstPosition + childCount == mItemCount &&
3086 final int childCount = getChildCount();
3088 if (firstPos == mBoundPos || childCount <= nextViewIndex
3089 || firstPos + childCount >= mItemCount) {
3259 final int childCount = getChildCount();
3260 if (childCount == 0) {
3265 final int lastBottom = getChildAt(childCount - 1).getBottom();
3295 if (firstPosition + childCount == mItemCount) {
3307 if (firstPosition + childCount == mItemCount && lastBottom <= end &&
3329 for (int i = 0; i < childCount; i++) {
3349 for (int i = childCount - 1; i >= 0; i--) {
3480 final int childCount = getChildCount();
3481 if (childCount == 0) {
3486 return motionRow != INVALID_POSITION ? motionRow : mFirstPosition + childCount - 1;
3512 final int childCount = getChildCount();
3514 if (childCount <= 0) {
3526 if (toPosition >= firstPosition && toPosition < firstPosition + childCount) {
3544 for (int i = 0; i < childCount; i++) {
3568 selectedPos = firstPosition + childCount - 1;
3570 for (int i = childCount - 1; i >= 0; i--) {
3575 if (i == childCount - 1) {
3577 if (firstPosition + childCount < itemCount || bottom > childrenBottom) {
4168 int childCount = getChildCount();
4172 for (int i = 0; i < childCount; i++) {
4435 * @param childCount The minimum number of views mActiveViews should hold
4439 void fillActiveViews(int childCount, int firstActivePosition) {
4440 if (mActiveViews.length < childCount) {
4441 mActiveViews = new View[childCount];
4446 for (int i = 0; i < childCount; i++) {