Home
last modified time | relevance | path

Searched refs:firstChild (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/ui/
DAttachmentPreview.java220 final View firstChild = mAttachmentView.getChildAt(0); in onAttachmentsChanged() local
221 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() local
247 if (firstChild instanceof MultiAttachmentLayout && in onAttachmentsChanged()
249 final View leftoverView = ((MultiAttachmentLayout) firstChild) in onAttachmentsChanged()
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/
DCarUiSnapHelper.java207 View firstChild = layoutManager.getChildAt(0); in findSnapView() local
208 return isValidSnapView(firstChild, orientationHelper) ? firstChild : null; in findSnapView()
219 View firstChild = mRecyclerView.getChildAt(0); in findSnapView() local
220 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() local
456 return orientationHelper.getDecoratedStart(firstChild) in isAtStart()
457 >= orientationHelper.getStartAfterPadding() && layoutManager.getPosition(firstChild) in isAtStart()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/contact/
DContactDetailsFragmentTest.java126 View firstChild = mListView.findViewHolderForLayoutPosition(0).itemView; in verifyHeader() local
127 assertThat(((TextView) firstChild.findViewById(R.id.title)).getText().toString()).isEqualTo( in verifyHeader()
129 assertThat(firstChild.hasOnClickListeners()).isFalse(); in verifyHeader()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/widget/
DPagedSnapHelper.java241 View firstChild = layoutManager.getChildAt(0); in isAtStart() local
247 return orientationHelper.getDecoratedStart(firstChild) in isAtStart()
249 && layoutManager.getPosition(firstChild) == 0; in isAtStart()
DCarScrollBar.java461 View firstChild = layoutManager.getChildAt(0); in updateRowsPerPage() local
462 if (firstChild == null || firstChild.getHeight() == 0) { in updateRowsPerPage()
465 mRowsPerPage = Math.max(1, getRecyclerView().getHeight() / firstChild.getHeight()); in updateRowsPerPage()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolder.java1117 final View firstChild = mContent.getFirstItem(); in updateTextViewFocus() local
1119 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()
DFolderPagedView.java408 View firstChild = getCurrentCellLayout().getChildAt(0, 0); in setFocusOnFirstChild() local
409 if (firstChild != null) { in setFocusOnFirstChild()
410 firstChild.requestFocus(); in setFocusOnFirstChild()
/packages/services/Car/tools/emulator/
Ddriving_info_generator.py75 self.datetime = datetime.datetime.strptime(timeElements[0].firstChild.nodeValue,
79 self.speedInMps = float(speedElements[0].firstChild.nodeValue)
/packages/apps/Contacts/src/com/android/contacts/list/
DPinnedHeaderListView.java526 View firstChild = getChildAt(0); in dispatchDraw() local
530 int firstHeaderTop = firstChild != null ? firstChild.getTop() : 0; in dispatchDraw()