Home
last modified time | relevance | path

Searched refs:getChildAt (Results 1 – 25 of 221) sorted by relevance

123456789

/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/headsup/
DCarHeadsUpNotificationContainerTest.java95 mCarHeadsUpNotificationContainer.getHunContent().getChildAt(0).getTag()).isEqualTo( in displayNotification_emptyContent_notificationOnlyChildInContentView()
108 mCarHeadsUpNotificationContainer.getHunContent().getChildAt(1).getTag()).isEqualTo( in displayNotification_lowerImportanceContent_higherImportanceOnTop()
121 mCarHeadsUpNotificationContainer.getHunContent().getChildAt(0).getTag()).isEqualTo( in displayNotification_higherImportanceContent_lowerImportanceBehind()
133 mCarHeadsUpNotificationContainer.getHunContent().getChildAt(1).getTag()).isEqualTo( in displayNotification_allImportancePresent_newOtherImportance_newIndex1()
145 mCarHeadsUpNotificationContainer.getHunContent().getChildAt(2).getTag()).isEqualTo( in displayNotification_allImportancePresent_newCallImportance_newIndex2()
157 mCarHeadsUpNotificationContainer.getHunContent().getChildAt(3).getTag()).isEqualTo( in displayNotification_allImportancePresent_newNavigationImportance_newIndex3()
169 mCarHeadsUpNotificationContainer.getHunContent().getChildAt(4).getTag()).isEqualTo( in displayNotification_allImportancePresent_newWarningImportance_newIndex4()
181 mCarHeadsUpNotificationContainer.getHunContent().getChildAt(5).getTag()).isEqualTo( in displayNotification_allImportancePresent_newEmergencyImportance_newIndex5()
202 mCarHeadsUpNotificationContainer.getHunContent().getChildAt(0).getTag()).isEqualTo( in removeNotification_allImportancePresent_otherRemoved_callIndex0()
213 mCarHeadsUpNotificationContainer.getHunContent().getChildAt(1).getTag()).isEqualTo( in removeNotification_allImportancePresent_callRemoved_navigationIndex1()
[all …]
/packages/modules/Permission/PermissionController/src/android/support/wearable/view/
DWearableListView.java139 mPressedView = getChildAt(findCenterViewIndex());
243 final int centerChildBaseline = getChildAt(centerChildIndex).getBaseline(); in getBaseline()
262 View centerView = getChildAt(centerChildIndex); in isAtTop()
305 mStartFirstTop = getChildCount() > 0 ? getChildAt(0).getTop() : 0; in onInterceptTouchEvent()
457 View view = getChildAt(index); in tapCenterView()
474 View view = getChildAt(index); in checkForTap()
508 View child = getChildAt(newCenterIndex); in animateToMiddle()
563 final View child = getChildAt(index); in fling()
631 final View child = getChildAt(i); in findCenterViewIndex()
677 && getChildAt(0).getTop() >= getTopViewMaxTop() in isOverScrolling()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollAdapterView.java256 saveViewUnchecked(getChildAt(i), getAdapterIndex(i)); in saveVisibleViewsUnchecked()
559 View child = getChildAt(i);
575 View view = getChildAt(i);
666 nextTop = getChildAt(expandableIndexFromAdapterIndex(index));
673 nextTop = getChildAt(expandableIndexFromAdapterIndex(index));
740 getChildAt(expandableIndexFromAdapterIndex(mSelectedIndex)) : null;
749 return getChildAt(findViewIndexContainingScrollCenter());
781 return getChildAt(index);
810 View child = getChildAt(i);
921 View child = getChildAt(firstIndex);
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderPagedView.java163 CellLayout page = (CellLayout) getChildAt(i); in unbindItems()
166 container.getChildAt(j).setVisibility(View.VISIBLE); in unbindItems()
167 mViewCache.recycleView(R.layout.folder_application, container.getChildAt(j)); in unbindItems()
235 return (CellLayout) getChildAt(index); in getPageAt()
263 ((CellLayout) getChildAt(i)).setFixedSize(width, height); in setFixedSize()
291 CellLayout page = (CellLayout) getChildAt(i); in arrangeChildren()
390 return container.getChildAt(rank % mGridCountX, rank / mGridCountX); in getViewInCurrentPage()
392 return container.getChildAt(rank); in getViewInCurrentPage()
405 View v = page.getChildAt(i, j); in iterateOverItems()
423 View firstChild = getCurrentCellLayout().getChildAt(0, 0); in setFocusOnFirstChild()
[all …]
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/
DCarUiSnapHelper.java115 View firstChild = layoutManager.getChildAt(0); in findSnapView()
127 View firstChild = mRecyclerView.getChildAt(0); in findSnapView()
138 layoutManager.getChildAt(childCount - 1)); in findSnapView()
154 View child = layoutManager.getChildAt(i); in findSnapView()
288 layoutManager.getChildAt(lastChildPosition)); in calculateScrollDistance()
354 View child = layoutManager.getChildAt(i); in computeDistancePerChild()
390 @NonNull View firstChild = Objects.requireNonNull(layoutManager.getChildAt(0)); in isAtStart()
415 layoutManager.getChildAt(childCount - 1)); in isAtEnd()
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsListTableViewHolderBinder.java118 TableRow row = (TableRow) table.getChildAt(i); in bindViewHolder()
120 WidgetCell widget = (WidgetCell) row.getChildAt(j); in bindViewHolder()
148 table.getChildAt(i).setVisibility(View.GONE); in recycleTableBeforeBinding()
155 tableRow = (TableRow) table.getChildAt(i); in recycleTableBeforeBinding()
163 tableRow.getChildAt(j).setVisibility(View.GONE); in recycleTableBeforeBinding()
183 TableRow tableRow = (TableRow) holder.mTableContainer.getChildAt(i); in unbindViewHolder()
186 WidgetCell widget = (WidgetCell) tableRow.getChildAt(j); in unbindViewHolder()
/packages/apps/Gallery2/src/com/android/photos/views/
DGalleryThumbnailView.java442 final View child = getChildAt(i); in recycleOffscreenViews()
459 final View child = getChildAt(0); in recycleOffscreenViews()
480 final View child = getChildAt(i); in offsetChildren()
491 return getChildAt(0).getLeft() >= getPaddingLeft() && in contentFits()
492 getChildAt(childCount - 1).getRight() <= getWidth() - getPaddingRight(); in contentFits()
497 mRecycler.addScrap(getChildAt(i)); in recycleAllViews()
510 int nextLeft = getChildCount() == 0 ? 0 : getChildAt(getChildCount() - 1).getRight(); in fillRight()
513 nextLeft = getChildAt(getChildCount() - 1).getRight(); in fillRight()
516 return getChildAt(getChildCount() - 1).getRight() - gridRight; in fillRight()
522 int nextRight = getChildAt(0).getLeft(); in fillLeft()
[all …]
/packages/apps/Contacts/src/com/android/contacts/editor/
DStructuredNameEditorView.java109 view = (EditText) fields.getChildAt(0); in updatePhonetic()
111 view = (EditText) fields.getChildAt(2); in updatePhonetic()
113 view = (EditText) fields.getChildAt(1); in updatePhonetic()
131 view = (EditText) fields.getChildAt(0); in getPhonetic()
133 view = (EditText) fields.getChildAt(2); in getPhonetic()
135 view = (EditText) fields.getChildAt(1); in getPhonetic()
DKindSectionView.java145 .getChildAt(mEditors.getChildCount() - 1); in onDeleteRequested()
179 mEditors.getChildAt(i).setEnabled(enabled); in setEnabled()
222 final View view = mEditors.getChildAt(i); in setGroupMetaData()
238 final View view = mEditors.getChildAt(i); in isEmptyName()
254 return (StructuredNameEditorView) mEditors.getChildAt(0); in getNameEditorView()
262 final View view = mEditors.getChildAt(i); in getPhoneticEditorView()
446 final View view = mEditors.getChildAt(i); in updateEmptyEditors()
481 final View view = mEditors.getChildAt(i); in updateEmptyNameEditors()
589 final View view = mEditors.getChildAt(i); in getEmptyEditors()
/packages/apps/Gallery/src/com/android/camera/
DEvenlySpacedLayout.java54 View child = getChildAt(i); in onMeasure()
75 View child = getChildAt(i); in layoutHorizontal()
86 View child = getChildAt(i); in layoutHorizontal()
102 View child = getChildAt(i); in layoutVertical()
113 View child = getChildAt(i); in layoutVertical()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DControlBar.java158 ViewGroup row = (ViewGroup) mRowsContainer.getChildAt(mNumRows - i - 1); in init()
316 mRowsContainer.getChildAt(rowIndex).setTranslationX( in updateViewsLayout()
319 mRowsContainer.getChildAt(rowIndex).setTranslationX(0); in updateViewsLayout()
347 mRowsContainer.getChildAt(i).setVisibility(mIsExpanded ? View.VISIBLE : View.GONE); in onExpandCollapse()
392 FrameLayout slot = (FrameLayout) ((LinearLayout) mRowsContainer.getChildAt(rowIdx)) in getViewAt()
393 .getChildAt(colIdx + 1); in getViewAt()
394 return slot.getChildCount() > 0 ? slot.getChildAt(0) : null; in getViewAt()
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchChipViewManager.java173 Chip child = (Chip) mChipGroup.getChildAt(i); in clearCheckedChips()
303 Chip child = (Chip) mChipGroup.getChildAt(i); in bindMirrorGroup()
316 Chip chip = (Chip) mChipGroup.getChildAt(i); in onMirrorChipClick()
342 Chip child = (Chip) mChipGroup.getChildAt(i); in setCheckedChip()
416 item = (Chip) mChipGroup.getChildAt(i); in reorderCheckedChips()
436 item = (Chip) mChipGroup.getChildAt(i); in reorderCheckedChips()
474 mChipGroup.getChildAt(0) in reorderCheckedChips()
491 if (!chipList.get(i).equals(chipGroup.getChildAt(i))) { in isChipOrderMatched()
/packages/apps/TV/src/com/android/tv/guide/
DProgramGrid.java270 return getChildAt(0); in focusFind()
277 getChildAt(nextChildIndex), in focusFind()
295 if (getChildAt(i).hasFocus()) { in getFocusedChildIndex()
348 View childView = getChildAt(i); in getFirstVisibleChildIndex()
367 View childView = getChildAt(firstVisibleChildIndex); in updateInputLogo()
372 childView = getChildAt(i); in updateInputLogo()
DProgramRow.java111 currentProgram = getChildAt(0); in focusCurrentProgram()
281 View child = getChildAt(i); in onRequestFocusInDescendants()
292 TableEntry entry = ((ProgramItemView) getChildAt(i)).getTableEntry(); in getCurrentProgramView()
294 return getChildAt(i); in getCurrentProgramView()
339 ProgramItemView child = (ProgramItemView) getChildAt(i); in updateChildVisibleArea()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DInspectorBot.java67 View view = table.getChildAt(i); in getTableRows()
69 LinearLayout row = (LinearLayout) table.getChildAt(i); in getTableRows()
70 TextView key = (TextView) row.getChildAt(0); in getTableRows()
71 TextView value = (TextView) row.getChildAt(1); in getTableRows()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
DWallpaperPickerActivity.java177 onClick(mWallpapersView.getChildAt(mSelectedIndex)); in init()
258 mWallpapersView.getChildAt(i).setSelected(false); in onLongClick()
332 View child = masterWallpaperList.getChildAt(i); in updateTileIndices()
348 WallpaperTileInfo info = (WallpaperTileInfo) subList.getChildAt(j).getTag(); in updateTileIndices()
369 View thumbnail = mWallpapersView.getChildAt(indexOfExistingTile); in addTemporaryWallpaperTile()
500 CheckableFrameLayout c = (CheckableFrameLayout) mWallpapersView.getChildAt(i); in onPrepareActionMode()
528 (CheckableFrameLayout) mWallpapersView.getChildAt(i); in onActionItemClicked()
561 CheckableFrameLayout c = (CheckableFrameLayout) mWallpapersView.getChildAt(i); in onDestroyActionMode()
/packages/apps/DeskClock/tests/src/com/android/deskclock/timer/
DTimerFragmentTest.java183 final TimerItem timerItem = (TimerItem) viewPager.getChildAt(0); in timeClick_startsTimer()
195 final TimerItem timerItem = (TimerItem) viewPager.getChildAt(1); in timeClick_startsSecondTimer()
209 final TimerItem timerItem = (TimerItem) viewPager.getChildAt(0); in timeClick_pausesTimer()
223 final TimerItem timerItem = (TimerItem) viewPager.getChildAt(1); in timeClick_pausesSecondTimer()
240 final TimerItem timerItem = (TimerItem) viewPager.getChildAt(0); in timeClick_restartsTimer()
256 final TimerItem timerItem = (TimerItem) viewPager.getChildAt(1); in timeClick_restartsSecondTimer()
391 final TimerItem timerItem = (TimerItem) viewPager.getChildAt(0); in clickAdd_addsOneMinuteToTimer()
414 final TimerItem timerItem = (TimerItem) viewPager.getChildAt(1); in clickAdd_addsOneMinuteToSecondTimer()
440 final TimerItem timerItem = (TimerItem) viewPager.getChildAt(0); in clickReset_resetsTimer()
456 final TimerItem timerItem = (TimerItem) viewPager.getChildAt(1); in clickReset_resetsSecondTimer()
[all …]
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/decorations/grid/
DGridDividerItemDecoration.java110 View firstRowChild = layoutManager.getChildAt(i); in drawHorizontalDividers()
111 View lastRowChild = layoutManager.getChildAt(lastRowChildIndex); in drawHorizontalDividers()
154 View leftmostChild = layoutManager.getChildAt(mNumColumns * (i - 1)); in drawVerticalDividers()
155 View rightmostChild = layoutManager.getChildAt(rightmostChildIndex); in drawVerticalDividers()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetCellPreview.java51 if (getChildAt(i) instanceof LauncherAppWidgetHostView) { in hasPreviewLayout()
65 if (getChildAt(i) instanceof LauncherAppWidgetHostView) { in getPreviewLayout()
66 return (LauncherAppWidgetHostView) getChildAt(i); in getPreviewLayout()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DPageIndicator.java158 ImageView v = (ImageView) getChildAt(i); in setIndex()
185 ImageView first = (ImageView) getChildAt(firstIndex); in animate()
186 ImageView second = (ImageView) getChildAt(secondIndex); in animate()
278 getChildAt(i).measure(widthChildSpec, heightChildSpec);
292 getChildAt(i).layout(left, 0, mPageIndicatorWidth + left, mPageIndicatorHeight);
/packages/apps/Settings/src/com/android/settings/widget/
DSlidingTabLayout.java112 if (v == mTitleView.getChildAt(i)) { in onClick()
143 View selectedTitle = mTitleView.getChildAt(mSelectedPosition); in getIndicatorLeft()
146 View nextTitle = mTitleView.getChildAt(mSelectedPosition + 1); in getIndicatorLeft()
183 mTitleView.getChildAt(i).setSelected(position == i); in onPageSelected()
/packages/apps/Launcher3/src/com/android/launcher3/
DShortcutAndWidgetContainer.java75 public View getChildAt(int cellX, int cellY) { in getChildAt() method in ShortcutAndWidgetContainer
78 View child = getChildAt(i); in getChildAt()
98 View child = getChildAt(i); in onMeasure()
168 final View child = getChildAt(i); in onLayout()
242 final View child = getChildAt(i); in cancelLongPress()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DSecondLevelIndicatorControlBar.java82 View firstIndicatorButton = getChildAt(mNonIndicatorButtonCount); in getTouchViewIndex()
112 View p = getChildAt(mSelectedIndex); in dispatchTouchEvent()
126 View v = getChildAt(index); in dispatchTouchEvent()
185 getChildAt(i).layout(offsetX, 0, offsetX + iconWidth, height); in onLayout()
/packages/apps/Calendar/src/com/android/calendar/month/
DSimpleDayPickerFragment.java230 SimpleWeekView child = (SimpleWeekView) mListView.getChildAt(0); in onActivityCreated()
323 label = (TextView) mDayNamesHeader.getChildAt(i); in updateHeader()
408 child = mListView.getChildAt(i++); in goTo()
471 SimpleWeekView child = (SimpleWeekView)view.getChildAt(0); in onScroll()
502 SimpleWeekView child = (SimpleWeekView) view.getChildAt(0); in updateMonthHighlight()
512 child = (SimpleWeekView) view.getChildAt(SCROLL_HYST_WEEKS + offset); in updateMonthHighlight()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
DStatePanelTrack.java146 StateView view = (StateView) getChildAt(i); in findChildWithState()
160 StateView child = (StateView) getChildAt(i); in fillContent()
177 StateView view = (StateView) getChildAt(i); in fillContent()
323 View child = getChildAt(i); in findChildAt()
334 View child = getChildAt(i); in findChild()

123456789