Lines Matching refs:child

558      * The select child's view (from the adapter's getView) is enabled.
1117 final View child = getChildAt(i);
1120 if (child instanceof Checkable) {
1121 ((Checkable) child).setChecked(mCheckStates.get(position));
1123 child.setActivated(mCheckStates.get(position));
1348 // child count have not changed we will avoid sending duplicate accessibility
1651 // Remember the position of the first child.
2035 View child = getChildAt(0);
2036 canScrollUp = child.getTop() < mListPadding.top;
2052 View child = getChildAt(count - 1);
2053 canScrollDown = child.getBottom() > mBottom - mListPadding.bottom;
2141 View child;
2143 child = mAdapter.getView(position, scrapView, this);
2145 if (child.getImportantForAccessibility() == IMPORTANT_FOR_ACCESSIBILITY_AUTO) {
2146 child.setImportantForAccessibility(IMPORTANT_FOR_ACCESSIBILITY_YES);
2149 if (child != scrapView) {
2152 child.setDrawingCacheBackgroundColor(mCacheColorHint);
2156 child.dispatchFinishTemporaryDetach();
2159 child = mAdapter.getView(position, null, this);
2161 if (child.getImportantForAccessibility() == IMPORTANT_FOR_ACCESSIBILITY_AUTO) {
2162 child.setImportantForAccessibility(IMPORTANT_FOR_ACCESSIBILITY_YES);
2166 child.setDrawingCacheBackgroundColor(mCacheColorHint);
2171 final ViewGroup.LayoutParams vlp = child.getLayoutParams();
2181 child.setLayoutParams(lp);
2188 if (child.getAccessibilityDelegate() == null) {
2189 child.setAccessibilityDelegate(mAccessibilityDelegate);
2193 return child;
2525 // If the child view is enabled then do the default behavior.
2531 // The selector uses this View's drawable state. The selected child view
2758 final View child = getChildAt(motionPosition - mFirstPosition);
2759 if (child != null) {
2765 handled = performLongPress(child, longPressPosition, longPressId);
2770 child.setPressed(false);
2801 boolean performLongPress(final View child,
2815 handled = mOnItemLongClickListener.onItemLongClick(AbsListView.this, child,
2819 mContextMenuInfo = createContextMenuInfo(child, longPressPosition, longPressId);
2839 View child = getChildAt(position - mFirstPosition);
2840 if (child != null) {
2841 mContextMenuInfo = createContextMenuInfo(child, position, id);
2904 // get the selector in the right state, but we don't want to press each child.
2924 final View child = getChildAt(i);
2925 if (child.getVisibility() == View.VISIBLE) {
2926 child.getHitRect(frame);
2956 final View child = getChildAt(mMotionPosition - mFirstPosition);
2957 if (child != null && !child.hasFocusable()) {
2961 child.setPressed(true);
2964 positionSelector(mMotionPosition, child);
3373 final View child = getChildAt(motionPosition - mFirstPosition);
3378 if (child != null && !child.hasFocusable() && inList) {
3380 child.setPressed(false);
3404 child.setPressed(true);
3405 positionSelector(mMotionPosition, child);
3420 child.setPressed(false);
3866 final View child = getChildAt(i);
3868 views.add(child);
3870 child.addTouchables(views);
4733 View child = getChildAt(index - getFirstVisiblePosition());
4734 if (child != null) {
4736 if (child.getGlobalVisibleRect(visibleRect)) {
4737 // the child is partially visible
4738 int childRectArea = child.getWidth() * child.getHeight();
4876 final View child = getChildAt(i);
4877 if (child.getBottom() >= top) {
4883 mRecycler.addScrapView(child, position);
4893 final View child = getChildAt(i);
4894 if (child.getTop() <= bottom) {
4901 mRecycler.addScrapView(child, position);
5831 View child = getChildAt(i);
5832 AbsListView.LayoutParams lp = (AbsListView.LayoutParams) child.getLayoutParams();
5835 views.add(child);
5836 child.setAccessibilityDelegate(null);
5839 listener.onMovedToScrapHeap(child);
6251 View child = getChildAt(i);
6252 AbsListView.LayoutParams lp = (AbsListView.LayoutParams) child.getLayoutParams();
6257 activeViews[i] = child;