Home
last modified time | relevance | path

Searched refs:indexOfChild (Results 1 – 25 of 48) sorted by relevance

12

/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/view/
DViewInfoActivityTest.java95 int noInfoIndex = viewFlipper.indexOfChild(activity.findViewById(R.id.no_info)); in testInitialState()
113 int noInfoIndex = viewFlipper.indexOfChild(activity.findViewById(R.id.no_info)); in testNameSet()
131 int tabsIndex = viewFlipper.indexOfChild(activity.findViewById(R.id.tabs)); in testMedicalInfoSet()
152 int tabsIndex = viewFlipper.indexOfChild(activity.findViewById(R.id.tabs)); in testEmergencyContactsSet()
180 int tabsIndex = viewFlipper.indexOfChild(activity.findViewById(R.id.tabs)); in testMedicalInfoAndEmergencyContactsSet()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DRecentsView.java1346 return Math.abs(indexOfChild(tv) - getNextPage()) <= 1; in isTaskViewVisible()
1357 return indexOfChild(tv) == getNextPage(); in isTaskViewFullyVisible()
1379 int clearAllScroll = getScrollForPage(indexOfChild(mClearAllButton)); in getSnapToLastTaskScrollDiff()
1420 return focusedTask != null && isTaskInExpectedScrollPosition(indexOfChild(focusedTask)); in isFocusedTaskInExpectedScrollPosition()
1646 boolean shouldSnapToClearAll = mNextPage == indexOfChild(mClearAllButton); in onNotSnappingToPageInFreeScroll()
1703 if (indexOfChild(runningTaskView) != mCurrentPage) { in moveRunningTaskToFront()
1788 int previousFocusedPage = indexOfChild(getFocusedChild()); in applyLoadPlan()
1889 targetPage = indexOfChild(currentTaskView); in applyLoadPlan()
1897 targetPage = indexOfChild(newRunningTaskView); in applyLoadPlan()
1899 targetPage = indexOfChild(requireTaskViewAt(0)); in applyLoadPlan()
[all …]
DTaskView.kt622 it.taskViewCount - it.indexOfChild(this@TaskView) - 1, in <lambda>()
685 val indexOfSnapshotView = indexOfChild(thumbnailViewDeprecated) in <lambda>()
1229 recentsView.snapToPage(recentsView.indexOfChild(this)) in <lambda>()
1641 recentsView?.let { screenId = it.indexOfChild(this@TaskView) } in <lambda>()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/bubbles/
DBubbleBarView.java461 indexOfChild(mDraggedBubbleView), getChildCount(), newLocationOnLeft); in getDraggedBubbleReleaseTranslation()
955 int indexOfChild = indexOfChild(child); in doReorder() local
956 if (child != null && indexOfChild >= 0) { in doReorder()
1039 final int index = indexOfChild(mSelectedBubbleView); in arrowPositionForSelectedWhenExpanded()
1046 final int index = indexOfChild(mSelectedBubbleView); in arrowPositionForSelectedWhenCollapsed()
/packages/apps/Contacts/src/com/android/contacts/editor/
DEditorAnimator.java224 final int index = victimParent.indexOfChild(view); in getViewsBelowOf()
245 int containerIndex = parentLayout.indexOfChild(container); in getViewsBelowOfRecursive()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DFolderAccessibilityHelper.java39 int index = mParent.indexOfChild(layout); in FolderAccessibilityHelper()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DSpringLoadedDragController.java69 w.snapToPage(w.indexOfChild(mScreen)); in onAlarm()
DDragView.java155 mContentViewInParentViewIndex = mContentViewParent.indexOfChild(mContent); in DragView()
509 addViewInLayout(view, indexOfChild(mContent), mContent.getLayoutParams(), true); in detachContentView()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogModalAlertManager.java72 return container.indexOfChild(view) != -1; in contains()
DCallLogAlertManager.java61 return container.indexOfChild(view) != -1; in contains()
/packages/apps/EmergencyInfo/src/com/android/emergency/view/
DViewInfoActivity.java140 mViewFlipper.indexOfChild(findViewById(R.id.no_info))); in maybeHideTabs()
142 mViewFlipper.setDisplayedChild(mViewFlipper.indexOfChild(findViewById(R.id.tabs))); in maybeHideTabs()
/packages/apps/TV/tuner/src/com/android/tv/tuner/cc/
DCaptionLayout.java58 int index = mSafeTitleAreaLayout.indexOfChild(captionWindowLayout); in addOrUpdateViewToSafeTitleArea()
/packages/apps/Launcher3/src/com/android/launcher3/
DHotseat.java101 int index = getShortcutsAndWidgets().indexOfChild(child); in resetLayout()
151 int index = icons.indexOfChild(child); in adjustForBubbleBar()
DAppWidgetResizeFrame.java401 if (workspace.indexOfChild(pairedCellLayout) < workspace.indexOfChild(mCellLayout)
407 } else if (workspace.indexOfChild(pairedCellLayout)
408 > workspace.indexOfChild(mCellLayout)
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DCameraMediaChooserView.java91 final int index = parent.indexOfChild(cameraPreview); in onDraw()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/cameraui/
DCameraMediaChooserView.java96 final int index = parent.indexOfChild(cameraPreview); in onDraw()
/packages/apps/Launcher3/src/com/android/launcher3/keyboard/
DViewGroupFocusHelper.java96 outRect.left -= page.getScrollForPage(page.indexOfChild(child)); in computeLocationRelativeToContainer()
/packages/apps/Car/Notification/src/com/android/car/notification/headsup/
DCarHeadsUpNotificationContainer.java114 int index = getHunContent().indexOfChild(notificationView); in removeNotification()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/hvac/
DHvacPanelOverlayViewControllerTest.java117 when(mockHvacPanelParentView.indexOfChild(mockHvacPanelView)).thenReturn(mockIndex); in onConfigChanged_oldHVACViewRemoved_newHVACViewAdded()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/userswitcher/
DFullScreenUserSwitcherViewController.java102 int viewIndex = viewGroupParent.indexOfChild(container); in onConfigChanged()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DTaskShortcutFactory.java314 recentsView.isTaskInExpectedScrollPosition(recentsView.indexOfChild(taskView));
339 recentsView.isTaskInExpectedScrollPosition(recentsView.indexOfChild(taskView));
/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/
DHvacPanelOverlayViewController.java223 int indexOfView = hvacViewGroupParent.indexOfChild(mHvacPanelView); in onConfigChanged()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DSecondLevelIndicatorControlBar.java76 if (x > mCloseIcon.getLeft()) return indexOfChild(mCloseIcon); in getTouchViewIndex()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/states/
DOverviewState.java214 recentsView.snapToPage(recentsView.indexOfChild(taskView));
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitCarUiProxy/plugin/src/main/java/com/chassis/car/ui/plugin/preference/
DPreferenceAdapterProxy.java155 int index = parent.indexOfChild(view); in swapPluginViewIdWithAppsViewId()

12