Home
last modified time | relevance | path

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

1234567891011

/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/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/activities/
DDevicePolicyGroupViewHolderTest.java87 TextView childOne = (TextView) mDevicePolicyItems.getChildAt(0); in bind_bindsIdsToItemView()
104 TextView childOne = (TextView) mDevicePolicyItems.getChildAt(0); in bind_makesItemGroupFocusableButChildrenNotFocusable()
105 TextView childTwo = (TextView) mDevicePolicyItems.getChildAt(1); in bind_makesItemGroupFocusableButChildrenNotFocusable()
119 TextView childOne = (TextView) mDevicePolicyItems.getChildAt(0); in bind_bindsIdWithProviderNameToView()
133 TextView childOne = (TextView) mDevicePolicyItems.getChildAt(0); in bind_bindsIdWithProviderNameAndUrlToView()
153 assertThat(mDevicePolicyItems.getChildAt(i).getVisibility()).isEqualTo(View.VISIBLE); in bind_policyAtMaxItems_allItemViewsVisible()
167 assertThat(mDevicePolicyItems.getChildAt(0).getVisibility()).isEqualTo(View.VISIBLE); in bind_policyUnderMaxItems_onlyBoundItemViewsVisible()
168 assertThat(mDevicePolicyItems.getChildAt(1).getVisibility()).isEqualTo(View.VISIBLE); in bind_policyUnderMaxItems_onlyBoundItemViewsVisible()
169 assertThat(mDevicePolicyItems.getChildAt(2).getVisibility()).isEqualTo(View.GONE); in bind_policyUnderMaxItems_onlyBoundItemViewsVisible()
170 assertThat(mDevicePolicyItems.getChildAt(3).getVisibility()).isEqualTo(View.GONE); in bind_policyUnderMaxItems_onlyBoundItemViewsVisible()
/packages/apps/Car/systemlibs/car-qc-lib/tests/unit/src/com/android/car/qc/view/
DQCViewTest.java69 assertThat(mView.getChildAt(0) instanceof QCListView).isTrue(); in onChanged_list_createsListView()
78 assertThat(mView.getChildAt(0) instanceof QCTileView).isTrue(); in onChanged_tile_createsTileView()
87 assertThat(mView.getChildAt(0) instanceof QCTileView).isTrue(); in onChanged_alreadyHasView_callsOnChanged()
88 QCTileView tileView = (QCTileView) mView.getChildAt(0); in onChanged_alreadyHasView_callsOnChanged()
100 assertThat(mView.getChildAt(0) instanceof QCTileView).isTrue(); in setActionListener_setsOnChildView()
101 QCTileView tileView = (QCTileView) mView.getChildAt(0); in setActionListener_setsOnChildView()
DQCListViewTest.java69 assertThat(mView.getChildAt(0) instanceof QCRowView).isTrue(); in onChanged_createsRows()
70 assertThat(mView.getChildAt(1) instanceof QCRowView).isTrue(); in onChanged_createsRows()
96 QCRowView row1 = (QCRowView) mView.getChildAt(0); in setActionListener_setsOnChildView()
97 QCRowView row2 = (QCRowView) mView.getChildAt(1); in setActionListener_setsOnChildView()
DQCRowViewTest.java121 assertThat((View) startContainer.getChildAt(0).findViewById( in setRow_createsStartItems()
123 assertThat((View) startContainer.getChildAt(1).findViewById( in setRow_createsStartItems()
137 assertThat((View) endContainer.getChildAt(0).findViewById( in setRow_createsEndItems()
139 assertThat((View) endContainer.getChildAt(1).findViewById( in setRow_createsEndItems()
181 endContainer.getChildAt(0).performClick(); in onSwitchClick_firesAction()
196 endContainer.getChildAt(0).performClick(); in onToggleClick_firesAction()
227 Switch switchView = (Switch) endContainer.getChildAt(0); in setRow_switchViewThumbTintList()
/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/widget/picker/
DWidgetsListTableViewHolderBinder.java119 WidgetTableRow row = (WidgetTableRow) table.getChildAt(i); in bindViewHolder()
121 WidgetCell widget = (WidgetCell) row.getChildAt(j); in bindViewHolder()
144 table.getChildAt(i).setVisibility(View.GONE); in recycleTableBeforeBinding()
151 tableRow = (WidgetTableRow) table.getChildAt(i); in recycleTableBeforeBinding()
164 tableRow.getChildAt(j).setVisibility(View.GONE); in recycleTableBeforeBinding()
188 WidgetTableRow tableRow = (WidgetTableRow) holder.tableContainer.getChildAt(i); in unbindViewHolder()
191 WidgetCell widget = (WidgetCell) tableRow.getChildAt(j); in unbindViewHolder()
/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/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.java157 .getChildAt(mEditors.getChildCount() - 1); in onDeleteRequested()
193 mEditors.getChildAt(i).setEnabled(enabled); in setEnabled()
236 final View view = mEditors.getChildAt(i); in setGroupMetaData()
259 final View view = mEditors.getChildAt(i); in isEmptyName()
275 return (StructuredNameEditorView) mEditors.getChildAt(0); in getNameEditorView()
283 final View view = mEditors.getChildAt(i); in getPhoneticEditorView()
475 final View view = mEditors.getChildAt(i); in updateEmptyEditors()
510 final View view = mEditors.getChildAt(i); in updateEmptyNameEditors()
618 final View view = mEditors.getChildAt(i); in getEmptyEditors()
/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/folder/
DFolderPagedView.java166 CellLayout page = (CellLayout) getChildAt(i); in unbindItems()
169 View iconView = container.getChildAt(j); in unbindItems()
252 return (CellLayout) getChildAt(index); in getPageAt()
281 ((CellLayout) getChildAt(i)).setFixedSize(width, height); in setFixedSize()
309 CellLayout page = (CellLayout) getChildAt(i); in arrangeChildren()
408 return container.getChildAt(rank % mGridCountX, rank / mGridCountX); in getViewInCurrentPage()
410 return container.getChildAt(rank); in getViewInCurrentPage()
423 View v = page.getChildAt(i, j); in iterateOverItems()
445 View firstChild = currentCellLayout.getChildAt(0, 0); in setFocusOnFirstChild()
515 View iconView = parent.getChildAt(i); in verifyVisibleHighResIcons()
[all …]
/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/DocumentsUI/tests/common/com/android/documentsui/bots/
DInspectorBot.java68 View view = table.getChildAt(i); in getTableRows()
70 LinearLayout row = (LinearLayout) table.getChildAt(i); in getTableRows()
71 TextView key = (TextView) row.getChildAt(0); in getTableRows()
72 TextView value = (TextView) row.getChildAt(1); in getTableRows()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/view/
DDualDisplayAspectRatioLayout.kt75 val foldedView = getChildAt(0) in onMeasure()
87 val unfoldedView = getChildAt(1) in onMeasure()
120 val foldedView = getChildAt(0) in onLayout()
126 val unfoldedView = getChildAt(1) in onLayout()
/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/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/Car/systemlibs/car-qc-lib/src/com/android/car/qc/view/
DQCListView.java67 QCRowView view = (QCRowView) getChildAt(i); in setActionListener()
85 if (getChildAt(i) != null) { in onChanged()
86 QCRowView view = (QCRowView) getChildAt(i); in onChanged()
/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/tests/multivalentTests/src/com/android/launcher3/
DAbstractFloatingViewHelperTest.kt44 whenever(dragLayer.getChildAt(0)).thenReturn(view) in setup()
45 whenever(dragLayer.getChildAt(1)).thenReturn(folderView) in setup()
46 whenever(dragLayer.getChildAt(2)).thenReturn(taskMenuView) in setup()
/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/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/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/Launcher3/tests/multivalentTests/src/com/android/launcher3/widget/picker/
DWidgetsListTableViewHolderBinderTest.java123 TableRow row = (TableRow) viewHolder.tableContainer.getChildAt(0); in bindViewHolder_appWith3Widgets_shouldHave3Widgets()
126 assertWidgetCellWithLabel(row.getChildAt(0), ".SampleWidget0"); in bindViewHolder_appWith3Widgets_shouldHave3Widgets()
128 assertWidgetCellWithLabel(row.getChildAt(1), ".SampleWidget1"); in bindViewHolder_appWith3Widgets_shouldHave3Widgets()
130 assertWidgetCellWithLabel(row.getChildAt(2), ".SampleWidget2"); in bindViewHolder_appWith3Widgets_shouldHave3Widgets()

1234567891011