Home
last modified time | relevance | path

Searched refs:getChildAt (Results 1 – 25 of 190) 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/Launcher3/src/com/android/launcher3/folder/
DFolderPagedView.java149 CellLayout page = (CellLayout) getChildAt(i); in unbindItems()
152 mViewCache.recycleView(R.layout.folder_application, container.getChildAt(j)); in unbindItems()
220 return (CellLayout) getChildAt(index); in getPageAt()
248 ((CellLayout) getChildAt(i)).setFixedSize(width, height); in setFixedSize()
276 CellLayout page = (CellLayout) getChildAt(i); in arrangeChildren()
375 return container.getChildAt(rank % mGridCountX, rank / mGridCountX); in getViewInCurrentPage()
377 return container.getChildAt(rank); in getViewInCurrentPage()
390 View v = page.getChildAt(i, j); in iterateOverItems()
408 View firstChild = getCurrentCellLayout().getChildAt(0, 0); in setFocusOnFirstChild()
478 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/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/
DCarUiSnapHelper.java207 View firstChild = layoutManager.getChildAt(0); in findSnapView()
219 View firstChild = mRecyclerView.getChildAt(0); in findSnapView()
229 View lastVisibleChild = layoutManager.getChildAt(childCount - 1); in findSnapView()
245 View child = layoutManager.getChildAt(i); in findSnapView()
311 View child = layoutManager.getChildAt(i); in findTopView()
422 View lastChild = layoutManager.getChildAt(lastChildPosition); in calculateScrollDistance()
450 View firstChild = layoutManager.getChildAt(0); in isAtStart()
474 View lastVisibleChild = layoutManager.getChildAt(childCount - 1); in isAtEnd()
551 View child = layoutManager.getChildAt(i); in computeDistancePerChild()
/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/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/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/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/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/decorations/grid/
DGridDividerItemDecoration.java102 View firstRowChild = parent.getChildAt(i); in drawHorizontalDividers()
103 View lastRowChild = parent.getChildAt(lastRowChildIndex); in drawHorizontalDividers()
144 View leftmostChild = parent.getChildAt(mNumColumns * (i - 1)); in drawVerticalDividers()
145 View rightmostChild = parent.getChildAt(rightmostChildIndex); in drawVerticalDividers()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/
DStaggeredWorkspaceAnim.java82 CellLayout cellLayout = (CellLayout) workspace.getChildAt(workspace.getCurrentPage()); in StaggeredWorkspaceAnim()
105 View child = currentPage.getChildAt(i); in StaggeredWorkspaceAnim()
111 ViewGroup hotseatChild = (ViewGroup) hotseat.getChildAt(0); in StaggeredWorkspaceAnim()
114 View child = hotseatChild.getChildAt(i); in StaggeredWorkspaceAnim()
120 View child = hotseatChild.getChildAt(i); in StaggeredWorkspaceAnim()
/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/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()

12345678