Searched refs:firstChild (Results 1 – 11 of 11) sorted by relevance
115 View firstChild = layoutManager.getChildAt(0); in findSnapView() local116 return isValidSnapView(firstChild, orientationHelper) ? firstChild : null; in findSnapView()127 View firstChild = mRecyclerView.getChildAt(0); in findSnapView() local128 if (firstChild.getHeight() > mRecyclerView.getHeight() in findSnapView()130 && orientationHelper.getDecoratedStart(firstChild) < 0 in findSnapView()132 && orientationHelper.getDecoratedEnd(firstChild) > ( in findSnapView()390 @NonNull View firstChild = Objects.requireNonNull(layoutManager.getChildAt(0)); in isAtStart() local396 return orientationHelper.getDecoratedStart(firstChild) in isAtStart()397 >= orientationHelper.getStartAfterPadding() && layoutManager.getPosition(firstChild) in isAtStart()
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()
83 View firstChild = Objects.requireNonNull(layoutManager.getChildAt(0)); in setMaxItem_noScrolling_noContentLimiting() local84 boolean isAtStart = orientationHelper.getDecoratedStart(firstChild) in setMaxItem_noScrolling_noContentLimiting()86 && layoutManager.getPosition(firstChild) == 0; in setMaxItem_noScrolling_noContentLimiting()110 View firstChild = Objects.requireNonNull(layoutManager.getChildAt(0)); in setMaxItem_noScrolling() local111 boolean isAtStart = orientationHelper.getDecoratedStart(firstChild) in setMaxItem_noScrolling()113 && layoutManager.getPosition(firstChild) == 0; in setMaxItem_noScrolling()
241 View firstChild = layoutManager.getChildAt(0); in isAtStart() local247 return orientationHelper.getDecoratedStart(firstChild) in isAtStart()249 && layoutManager.getPosition(firstChild) == 0; in isAtStart()
75 self.datetime = datetime.datetime.strptime(timeElements[0].firstChild.nodeValue,79 self.speedInMps = float(speedElements[0].firstChild.nodeValue)
1210 final View firstChild = mContent.getFirstItem(); in updateTextViewFocus() local1212 if (firstChild != null && lastChild != null) { in updateTextViewFocus()1219 mFolderName.setNextFocusForwardId(firstChild.getId()); in updateTextViewFocus()1222 this.setNextFocusDownId(firstChild.getId()); in updateTextViewFocus()1223 this.setNextFocusRightId(firstChild.getId()); in updateTextViewFocus()1224 this.setNextFocusLeftId(firstChild.getId()); in updateTextViewFocus()1225 this.setNextFocusUpId(firstChild.getId()); in updateTextViewFocus()
423 View firstChild = getCurrentCellLayout().getChildAt(0, 0); in setFocusOnFirstChild() local424 if (firstChild != null) { in setFocusOnFirstChild()425 firstChild.requestFocus(); in setFocusOnFirstChild()
526 View firstChild = getChildAt(0); in dispatchDraw() local530 int firstHeaderTop = firstChild != null ? firstChild.getTop() : 0; in dispatchDraw()
301 View firstChild = mList.getChildAt(0); in onActivityCreated()303 firstChild != null ? firstChild.getTop() - mList.getPaddingTop() : 0; in onActivityCreated()
563 final LinearLayout firstChild = (LinearLayout) advancedFieldsLayout.getChildAt(0); in getHiddenSettingsPosition_whenAdvancedToggled_shouldBeFirst() local565 assertThat(firstChild).isEqualTo(hiddenSettingLayout); in getHiddenSettingsPosition_whenAdvancedToggled_shouldBeFirst()
603 final LinearLayout firstChild = (LinearLayout) advancedFieldsLayout.getChildAt(0); in getHiddenSettingsPosition_whenAdvancedToggled_shouldBeFirst() local605 assertThat(firstChild).isEqualTo(hiddenSettingLayout); in getHiddenSettingsPosition_whenAdvancedToggled_shouldBeFirst()