Lines Matching defs:child

572      * The select child's view (from the adapter's getView) is enabled.
1130 final View child = getChildAt(i);
1133 if (child instanceof Checkable) {
1134 ((Checkable) child).setChecked(mCheckStates.get(position));
1136 child.setActivated(mCheckStates.get(position));
1425 // child count have not changed we will avoid sending duplicate accessibility
1748 // Remember the position of the first child.
2132 View child = getChildAt(0);
2133 canScrollUp = child.getTop() < mListPadding.top;
2149 View child = getChildAt(count - 1);
2150 canScrollDown = child.getBottom() > mBottom - mListPadding.bottom;
2238 View child;
2240 child = mAdapter.getView(position, scrapView, this);
2242 if (child.getImportantForAccessibility() == IMPORTANT_FOR_ACCESSIBILITY_AUTO) {
2243 child.setImportantForAccessibility(IMPORTANT_FOR_ACCESSIBILITY_YES);
2246 if (child != scrapView) {
2249 child.setDrawingCacheBackgroundColor(mCacheColorHint);
2256 if (child.isAccessibilityFocused()) {
2257 child.clearAccessibilityFocus();
2260 child.dispatchFinishTemporaryDetach();
2263 child = mAdapter.getView(position, null, this);
2265 if (child.getImportantForAccessibility() == IMPORTANT_FOR_ACCESSIBILITY_AUTO) {
2266 child.setImportantForAccessibility(IMPORTANT_FOR_ACCESSIBILITY_YES);
2270 child.setDrawingCacheBackgroundColor(mCacheColorHint);
2275 final ViewGroup.LayoutParams vlp = child.getLayoutParams();
2285 child.setLayoutParams(lp);
2292 if (child.getAccessibilityDelegate() == null) {
2293 child.setAccessibilityDelegate(mAccessibilityDelegate);
2299 return child;
2656 // If the child view is enabled then do the default behavior.
2662 // The selector uses this View's drawable state. The selected child view
2914 final View child = getChildAt(motionPosition - mFirstPosition);
2915 if (child != null) {
2921 handled = performLongPress(child, longPressPosition, longPressId);
2926 child.setPressed(false);
2958 boolean performLongPress(final View child,
2972 handled = mOnItemLongClickListener.onItemLongClick(AbsListView.this, child,
2976 mContextMenuInfo = createContextMenuInfo(child, longPressPosition, longPressId);
2996 View child = getChildAt(position - mFirstPosition);
2997 if (child != null) {
2998 mContextMenuInfo = createContextMenuInfo(child, position, id);
3058 // get the selector in the right state, but we don't want to press each child.
3078 final View child = getChildAt(i);
3079 if (child.getVisibility() == View.VISIBLE) {
3080 child.getHitRect(frame);
3111 final View child = getChildAt(mMotionPosition - mFirstPosition);
3112 if (child != null && !child.hasFocusable()) {
3116 child.setPressed(true);
3119 positionSelector(mMotionPosition, child);
3445 final View child = getChildAt(motionPosition - mFirstPosition);
3446 mMotionViewOriginalTop = child.getTop();
3466 final View child = getChildAt(motionPosition - mFirstPosition);
3467 mMotionViewOriginalTop = child.getTop();
3591 final View child = getChildAt(motionPosition - mFirstPosition);
3592 if (child != null) {
3594 child.setPressed(false);
3599 if (inList && !child.hasFocusable()) {
3618 child.setPressed(true);
3619 positionSelector(mMotionPosition, child);
3635 child.setPressed(false);
4024 final View child = getChildAt(i);
4026 views.add(child);
4028 child.addTouchables(views);
4891 View child = getChildAt(index - getFirstVisiblePosition());
4892 if (child != null) {
4894 if (child.getGlobalVisibleRect(visibleRect)) {
4895 // the child is partially visible
4896 int childRectArea = child.getWidth() * child.getHeight();
5072 final View child = getChildAt(i);
5073 if (child.getBottom() >= top) {
5081 if (child.isAccessibilityFocused()) {
5082 child.clearAccessibilityFocus();
5084 mRecycler.addScrapView(child, position);
5094 final View child = getChildAt(i);
5095 if (child.getTop() <= bottom) {
5104 if (child.isAccessibilityFocused()) {
5105 child.clearAccessibilityFocus();
5107 mRecycler.addScrapView(child, position);
6150 View child = getChildAt(i);
6151 AbsListView.LayoutParams lp = (AbsListView.LayoutParams) child.getLayoutParams();
6154 views.add(child);
6155 child.setAccessibilityDelegate(null);
6158 listener.onMovedToScrapHeap(child);
6589 View child = getChildAt(i);
6590 AbsListView.LayoutParams lp = (AbsListView.LayoutParams) child.getLayoutParams();
6595 activeViews[i] = child;