Home
last modified time | relevance | path

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

12345678

/packages/apps/Launcher3/src/com/android/launcher3/
DFocusHelper.java135 child = newParent.getChildAt( in onKey()
145 child = newParent.getChildAt(0, 0); in onKey()
152 child = newParent.getChildAt(matrix.length - 1, matrix[0].length - 1); in onKey()
159 child = newParent.getChildAt(0, 0); in onKey()
172 child = cellLayout.getChildAt(0, 0); in onKey()
178 child = itemContainer.getChildAt(newIconIndex); in onKey()
229 .getChildAt(iconIndex).getLayoutParams()).cellX; in handleHotseatButtonKeyEvent()
231 final CellLayout iconLayout = (CellLayout) workspace.getChildAt(pageIndex); in handleHotseatButtonKeyEvent()
271 newIcon = parent.getChildAt(0); in handleHotseatButtonKeyEvent()
278 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()
211 final View child = getChildAt(i); in cancelLongPress()
/packages/apps/PermissionController/src/android/support/wearable/view/
DWearableListView.java138 mPressedView = getChildAt(findCenterViewIndex());
242 final int centerChildBaseline = getChildAt(centerChildIndex).getBaseline(); in getBaseline()
261 View centerView = getChildAt(centerChildIndex); in isAtTop()
304 mStartFirstTop = getChildCount() > 0 ? getChildAt(0).getTop() : 0; in onInterceptTouchEvent()
456 View view = getChildAt(index); in tapCenterView()
473 View view = getChildAt(index); in checkForTap()
507 View child = getChildAt(newCenterIndex); in animateToMiddle()
562 final View child = getChildAt(index); in fling()
630 final View child = getChildAt(i); in findCenterViewIndex()
676 && 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/UnifiedEmail/src/com/android/mail/ui/
DMiniDrawerView.java106 final View oldCurrentAccountView = getChildAt(0); in refresh()
120 final View recycleView = getChildAt(removePos); in refresh()
134 while ((child=getChildAt(1)) != mSpacer) { in refresh()
182 final View child = getChildAt(i); in onMeasure()
198 final View child = getChildAt(i); in onLayout()
221 if (getChildAt(getChildCount() - 1).equals(mSpacer)) { in onLayout()
227 final View childToHide = getChildAt(indexOfChild(mSpacer) + 1); in onLayout()
DAttachmentTileGrid.java96 attachmentTile = (MessageAttachmentTile) getChildAt(index); in addMessageTileFromAttachment()
162 final View child = getChildAt(i); in onMeasureForTiles()
175 numRows * (imageSize + getChildAt(0).getPaddingBottom()) + in onMeasureForTiles()
193 int childLeft = (isRtl) ? width - getChildAt(0).getMeasuredWidth() : 0; in onLayoutForTiles()
198 final View child = getChildAt(i); in onLayoutForTiles()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderPagedView.java248 return (CellLayout) getChildAt(index); in getPageAt()
276 ((CellLayout) getChildAt(i)).setFixedSize(width, height); in setFixedSize()
310 CellLayout page = (CellLayout) getChildAt(i); in arrangeChildren()
424 return currContainer.getChildAt(0, 0); in getFirstItem()
426 return currContainer.getChildAt(0); in getFirstItem()
437 return currContainer.getChildAt(lastRank % mGridCountX, lastRank / mGridCountX); in getLastItem()
439 return currContainer.getChildAt(lastRank); in getLastItem()
452 View v = page.getChildAt(i, j); in iterateOverItems()
470 View firstChild = getCurrentCellLayout().getChildAt(0, 0); in setFocusOnFirstChild()
540 BubbleTextView icon = ((BubbleTextView) parent.getChildAt(i)); in verifyVisibleHighResIcons()
[all …]
/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/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/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/Car/libs/car-apps-common/src/com/android/car/apps/common/
DControlBar.java138 ViewGroup row = (ViewGroup) mRowsContainer.getChildAt(mNumRows - i - 1); in init()
284 mRowsContainer.getChildAt(rowIndex).setTranslationX( in updateViewsLayout()
287 mRowsContainer.getChildAt(rowIndex).setTranslationX(0); in updateViewsLayout()
331 mRowsContainer.getChildAt(i).setVisibility(mIsExpanded ? View.VISIBLE : View.GONE); in onExpandCollapse()
355 FrameLayout slot = (FrameLayout) ((LinearLayout) mRowsContainer.getChildAt(rowIdx)) in getViewAt()
356 .getChildAt(colIdx + 1); in getViewAt()
357 return slot.getChildCount() > 0 ? slot.getChildAt(0) : null; in getViewAt()
/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/DocumentsUI/src/com/android/documentsui/queries/
DSearchChipViewManager.java141 Chip child = (Chip) mChipGroup.getChildAt(i); in clearCheckedChips()
247 Chip child = (Chip) mChipGroup.getChildAt(i); in bindMirrorGroup()
260 Chip chip = (Chip) mChipGroup.getChildAt(i); in onMirrorChipClick()
286 Chip child = (Chip) mChipGroup.getChildAt(i); in setCheckedChip()
350 item = (Chip) mChipGroup.getChildAt(i); in reorderCheckedChips()
369 item = (Chip) mChipGroup.getChildAt(i); in reorderCheckedChips()
420 if (!chipList.get(i).equals(chipGroup.getChildAt(i))) { in isChipOrderMatched()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/
DStaggeredWorkspaceAnim.java83 .getChildAt(launcher.getWorkspace().getCurrentPage())) in StaggeredWorkspaceAnim()
91 View child = currentPage.getChildAt(i); in StaggeredWorkspaceAnim()
98 ViewGroup hotseat = (ViewGroup) launcher.getHotseat().getChildAt(0); in StaggeredWorkspaceAnim()
100 View child = hotseat.getChildAt(i); in StaggeredWorkspaceAnim()
105 View hotseat = launcher.getHotseat().getChildAt(0); in StaggeredWorkspaceAnim()
/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/ThemePicker/src/com/android/customization/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/src/com/android/launcher3/allapps/
DPersonalWorkSlidingTabStrip.java88 Button tab = (Button) getChildAt(i); in updateTabTextColor()
111 return mIsRtl ? getChildAt(1) : getChildAt(0); in getLeftTab()
144 View v = getChildAt(POSITION_WORK); in highlightWorkTab()
/packages/apps/TV/src/com/android/tv/guide/
DProgramGrid.java266 getChildAt(nextChildIndex), in focusFind()
284 if (getChildAt(i).hasFocus()) { in getFocusedChildIndex()
337 View childView = getChildAt(i); in getFirstVisibleChildIndex()
356 View childView = getChildAt(firstVisibleChildIndex); in updateInputLogo()
361 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/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/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/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()

12345678