Searched refs:firstChild (Results 1 – 9 of 9) sorted by relevance
220 final View firstChild = mAttachmentView.getChildAt(0); in onAttachmentsChanged() local221 if (firstChild instanceof MultiAttachmentLayout) { in onAttachmentsChanged()223 multiAttachmentLayout = (MultiAttachmentLayout) firstChild; in onAttachmentsChanged()227 transitionRect = new Rect(firstChild.getLeft(), firstChild.getTop(), in onAttachmentsChanged()228 firstChild.getRight(), firstChild.getBottom()); in onAttachmentsChanged()246 final View firstChild = mAttachmentView.getChildAt(0); in onAttachmentsChanged() local247 if (firstChild instanceof MultiAttachmentLayout && in onAttachmentsChanged()249 final View leftoverView = ((MultiAttachmentLayout) firstChild) in onAttachmentsChanged()
207 View firstChild = layoutManager.getChildAt(0); in findSnapView() local208 return isValidSnapView(firstChild, orientationHelper) ? firstChild : null; in findSnapView()219 View firstChild = mRecyclerView.getChildAt(0); in findSnapView() local220 if (firstChild.getHeight() > mRecyclerView.getHeight() in findSnapView()222 && orientationHelper.getDecoratedStart(firstChild) < 0 in findSnapView()224 && orientationHelper.getDecoratedEnd(firstChild) > ( in findSnapView()450 View firstChild = layoutManager.getChildAt(0); in isAtStart() local456 return orientationHelper.getDecoratedStart(firstChild) in isAtStart()457 >= orientationHelper.getStartAfterPadding() && layoutManager.getPosition(firstChild) in isAtStart()
126 View firstChild = mListView.findViewHolderForLayoutPosition(0).itemView; in verifyHeader() local127 assertThat(((TextView) firstChild.findViewById(R.id.title)).getText().toString()).isEqualTo( in verifyHeader()129 assertThat(firstChild.hasOnClickListeners()).isFalse(); in verifyHeader()
241 View firstChild = layoutManager.getChildAt(0); in isAtStart() local247 return orientationHelper.getDecoratedStart(firstChild) in isAtStart()249 && layoutManager.getPosition(firstChild) == 0; in isAtStart()
461 View firstChild = layoutManager.getChildAt(0); in updateRowsPerPage() local462 if (firstChild == null || firstChild.getHeight() == 0) { in updateRowsPerPage()465 mRowsPerPage = Math.max(1, getRecyclerView().getHeight() / firstChild.getHeight()); in updateRowsPerPage()
1117 final View firstChild = mContent.getFirstItem(); in updateTextViewFocus() local1119 if (firstChild != null && lastChild != null) { in updateTextViewFocus()1126 mFolderName.setNextFocusForwardId(firstChild.getId()); in updateTextViewFocus()1129 this.setNextFocusDownId(firstChild.getId()); in updateTextViewFocus()1130 this.setNextFocusRightId(firstChild.getId()); in updateTextViewFocus()1131 this.setNextFocusLeftId(firstChild.getId()); in updateTextViewFocus()1132 this.setNextFocusUpId(firstChild.getId()); in updateTextViewFocus()
408 View firstChild = getCurrentCellLayout().getChildAt(0, 0); in setFocusOnFirstChild() local409 if (firstChild != null) { in setFocusOnFirstChild()410 firstChild.requestFocus(); in setFocusOnFirstChild()
75 self.datetime = datetime.datetime.strptime(timeElements[0].firstChild.nodeValue,79 self.speedInMps = float(speedElements[0].firstChild.nodeValue)
526 View firstChild = getChildAt(0); in dispatchDraw() local530 int firstHeaderTop = firstChild != null ? firstChild.getTop() : 0; in dispatchDraw()