Home
last modified time | relevance | path

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

123456789

/packages/apps/Launcher3/src/com/android/launcher3/
DFocusHelper.java136 child = newParent.getChildAt( in onKey()
146 child = newParent.getChildAt(0, 0); in onKey()
153 child = newParent.getChildAt(matrix.length - 1, matrix[0].length - 1); in onKey()
160 child = newParent.getChildAt(0, 0); in onKey()
173 child = cellLayout.getChildAt(0, 0); in onKey()
179 child = itemContainer.getChildAt(newIconIndex); in onKey()
230 .getChildAt(iconIndex).getLayoutParams()).cellX; in handleHotseatButtonKeyEvent()
232 final CellLayout iconLayout = (CellLayout) workspace.getChildAt(pageIndex); in handleHotseatButtonKeyEvent()
272 newIcon = parent.getChildAt(0); in handleHotseatButtonKeyEvent()
279 newIcon = parent.getChildAt(0); in handleHotseatButtonKeyEvent()
[all …]
DShortcutAndWidgetContainer.java63 public View getChildAt(int x, int y) { in getChildAt() method in ShortcutAndWidgetContainer
66 View child = getChildAt(i); in getChildAt()
86 View child = getChildAt(i); in onMeasure()
145 final View child = getChildAt(i); in onLayout()
219 final View child = getChildAt(i); in cancelLongPress()
/packages/apps/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.java153 CellLayout page = (CellLayout) getChildAt(i); in unbindItems()
156 container.getChildAt(j).setVisibility(View.VISIBLE); in unbindItems()
157 mViewCache.recycleView(R.layout.folder_application, container.getChildAt(j)); in unbindItems()
225 return (CellLayout) getChildAt(index); in getPageAt()
253 ((CellLayout) getChildAt(i)).setFixedSize(width, height); in setFixedSize()
281 CellLayout page = (CellLayout) getChildAt(i); in arrangeChildren()
380 return container.getChildAt(rank % mGridCountX, rank / mGridCountX); in getViewInCurrentPage()
382 return container.getChildAt(rank); in getViewInCurrentPage()
395 View v = page.getChildAt(i, j); in iterateOverItems()
413 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.java114 View firstChild = layoutManager.getChildAt(0); in findSnapView()
126 View firstChild = mRecyclerView.getChildAt(0); in findSnapView()
137 layoutManager.getChildAt(childCount - 1)); in findSnapView()
153 View child = layoutManager.getChildAt(i); in findSnapView()
210 View child = layoutManager.getChildAt(i); in findTopView()
322 layoutManager.getChildAt(lastChildPosition)); in calculateScrollDistance()
388 View child = layoutManager.getChildAt(i); in computeDistancePerChild()
424 @NonNull View firstChild = Objects.requireNonNull(layoutManager.getChildAt(0)); in isAtStart()
449 layoutManager.getChildAt(childCount - 1)); in isAtEnd()
/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/Launcher3/src/com/android/launcher3/widget/
DWidgetsListAdapter.java85 rv.getChildViewHolder(rv.getChildAt(i)); in setApplyBitmapDeferred()
87 View v = holder.cellContainer.getChildAt(j); in setApplyBitmapDeferred()
148 row.getChildAt(i).setVisibility(View.GONE); in onBindViewHolder()
157 WidgetCell widget = (WidgetCell) row.getChildAt(2*i); in onBindViewHolder()
164 row.getChildAt(2*i - 1).setVisibility(View.VISIBLE); in onBindViewHolder()
189 WidgetCell widget = (WidgetCell) holder.cellContainer.getChildAt(i); in onViewRecycled()
/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/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/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/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/DocumentsUI/src/com/android/documentsui/queries/
DSearchChipViewManager.java169 Chip child = (Chip) mChipGroup.getChildAt(i); in clearCheckedChips()
299 Chip child = (Chip) mChipGroup.getChildAt(i); in bindMirrorGroup()
312 Chip chip = (Chip) mChipGroup.getChildAt(i); in onMirrorChipClick()
338 Chip child = (Chip) mChipGroup.getChildAt(i); in setCheckedChip()
412 item = (Chip) mChipGroup.getChildAt(i); in reorderCheckedChips()
431 item = (Chip) mChipGroup.getChildAt(i); in reorderCheckedChips()
482 if (!chipList.get(i).equals(chipGroup.getChildAt(i))) { in isChipOrderMatched()
/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/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/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/
DStaggeredWorkspaceAnim.java84 CellLayout cellLayout = (CellLayout) workspace.getChildAt(workspace.getCurrentPage()); in StaggeredWorkspaceAnim()
107 View child = currentPage.getChildAt(i); in StaggeredWorkspaceAnim()
113 ViewGroup hotseatChild = (ViewGroup) hotseat.getChildAt(0); in StaggeredWorkspaceAnim()
116 View child = hotseatChild.getChildAt(i); in StaggeredWorkspaceAnim()
122 View child = hotseatChild.getChildAt(i); in StaggeredWorkspaceAnim()
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/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/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/Gallery2/src/com/android/gallery3d/filtershow/state/
DStatePanelTrack.java145 StateView view = (StateView) getChildAt(i); in findChildWithState()
159 StateView child = (StateView) getChildAt(i); in fillContent()
176 StateView view = (StateView) getChildAt(i); in fillContent()
320 View child = getChildAt(i); in findChildAt()
331 View child = getChildAt(i); in findChild()

123456789