/packages/apps/PermissionController/src/android/support/wearable/view/ |
D | WearableListView.java | 137 if (getChildCount() > 0) { 168 if (WearableListView.this.getChildCount() > 0) { 193 if (newState == RecyclerView.SCROLL_STATE_IDLE && getChildCount() > 0) { in WearableListView() 236 if (getChildCount() == 0) { in getBaseline() 256 if (getChildCount() == 0) { in isAtTop() 299 if (mGreedyTouchMode && getChildCount() > 0) { in onInterceptTouchEvent() 304 mStartFirstTop = getChildCount() > 0 ? getChildAt(0).getTop() : 0; in onInterceptTouchEvent() 343 if (getChildCount() > 0) { in onTouchEvent() 486 if (index < getChildCount() - 1 && rawY >= mTapRegions[1]) { in checkForTap() 556 if (getChildCount() == 0) { in fling() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | KindSectionView.java | 122 if (mShowOneEmptyEditor && mEditors.getChildCount() == 1) { in onDeleteRequested() 143 if (delView.isBirthdayType() && mEditors.getChildCount() > 1) { in onDeleteRequested() 145 .getChildAt(mEditors.getChildCount() - 1); in onDeleteRequested() 177 int childCount = mEditors.getChildCount(); in setEnabled() 221 for (int i = 0; i < mEditors.getChildCount(); i++) { in setGroupMetaData() 237 for (int i = 0; i < mEditors.getChildCount(); i++) { in isEmptyName() 251 || mEditors.getChildCount() == 0) { in getNameEditorView() 261 for (int i = 0; i < mEditors.getChildCount(); i++) { in getPhoneticEditorView() 445 for (int i = 0; i < mEditors.getChildCount(); i++) { in updateEmptyEditors() 465 final int editorCount = mEditors.getChildCount(); in updateEmptyEditors() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | FocusHelper.java | 226 int pageCount = workspace.getChildCount(); in handleHotseatButtonKeyEvent() 246 iconIndex += iconParent.getChildCount(); in handleHotseatButtonKeyEvent() 251 iconIndex += iconParent.getChildCount(); in handleHotseatButtonKeyEvent() 285 newIcon = parent.getChildAt(parent.getChildCount() - 1); in handleHotseatButtonKeyEvent() 301 if (parent == iconParent && newIconIndex >= iconParent.getChildCount()) { in handleHotseatButtonKeyEvent() 302 newIconIndex -= iconParent.getChildCount(); in handleHotseatButtonKeyEvent() 344 final int pageCount = workspace.getChildCount(); in handleIconKeyEvent() 454 if (0 <= newIconIndex && newIconIndex < parent.getChildCount()) { in handleIconKeyEvent() 456 } else if (parent.getChildCount() <= newIconIndex && in handleIconKeyEvent() 457 newIconIndex < parent.getChildCount() + hotseatParent.getChildCount()) { in handleIconKeyEvent() [all …]
|
D | PagedView.java | 197 mPageIndicator.setMarkersCount(getChildCount()); in initParentViews() 223 return getChildCount(); in getPageCount() 317 if (getChildCount() == 0) { in setCurrentPage() 520 if (getChildCount() == 0) { in onMeasure() 562 final int childCount = getChildCount(); in onLayout() 620 final int childCount = getChildCount(); in getPageScrolls() 675 int childCount = getChildCount(); in computeMaxScrollX() 695 mPageIndicator.setMarkersCount(getChildCount()); in dispatchPageCountChanged() 716 if (index < 0 || index > getChildCount() - 1) return 0; in getChildOffset() 850 if (getChildCount() <= 0 || shouldDisableGestures(ev)) return false; in onInterceptTouchEvent() [all …]
|
D | ShortcutAndWidgetContainer.java | 64 final int count = getChildCount(); in getChildAt() 79 int count = getChildCount(); in onMeasure() 143 int count = getChildCount(); in onLayout() 209 final int count = getChildCount(); in cancelLongPress()
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
D | GalleryThumbnailView.java | 187 fillRight(mFirstPosition + getChildCount(), 0); in populate() 402 overhang = fillRight(mFirstPosition + getChildCount(), allowOverhang); in trackMotionScroll() 441 for (int i = getChildCount() - 1; i >= 0; i--) { in recycleOffscreenViews() 458 while (getChildCount() > 0) { in recycleOffscreenViews() 478 final int childCount = getChildCount(); in offsetChildren() 487 final int childCount = getChildCount(); in contentFits() 496 for (int i = 0; i < getChildCount(); 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() [all …]
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | SlidingTabLayout.java | 74 final int titleCount = mTitleView.getChildCount(); in onMeasure() 86 if (mTitleView.getChildCount() > 0) { in onLayout() 110 final int titleCount = mTitleView.getChildCount(); in onClick() 145 if (mSelectionOffset > 0f && mSelectedPosition < (getChildCount() - 1)) { in getIndicatorLeft() 163 final int titleCount = mTitleView.getChildCount(); in onPageScrolled() 181 final int titleCount = mTitleView.getChildCount(); in onPageSelected()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | SlidingTabLayout.java | 74 final int titleCount = mTitleView.getChildCount(); in onMeasure() 86 if (mTitleView.getChildCount() > 0) { in onLayout() 110 final int titleCount = mTitleView.getChildCount(); in onClick() 145 if (mSelectionOffset > 0f && mSelectedPosition < (getChildCount() - 1)) { in getIndicatorLeft() 163 final int titleCount = mTitleView.getChildCount(); in onPageScrolled() 181 final int titleCount = mTitleView.getChildCount(); in onPageSelected()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/ |
D | SearchChipViewManager.java | 123 mChipGroup.setVisibility(show && mChipGroup.getChildCount() > 1 ? View.VISIBLE : View.GONE); in setChipsRowVisible() 139 final int count = mChipGroup.getChildCount(); in clearCheckedChips() 220 if (mChipGroup.getChildCount() < 2) { in updateChips() 237 final int size = mChipGroup.getChildCount(); in bindMirrorGroup() 259 for (int i = 0, size = mChipGroup.getChildCount(); i < size; i++) { in onMirrorChipClick() 284 final int count = mChipGroup.getChildCount(); in setCheckedChip() 340 final int count = mChipGroup.getChildCount(); in reorderCheckedChips() 416 if (chipGroup.getChildCount() != chipCount) { in isChipOrderMatched()
|
/packages/apps/ThemePicker/src/com/android/customization/widget/ |
D | PageIndicator.java | 97 while (numPages < getChildCount()) { in setNumPages() 98 removeViewAt(getChildCount() - 1); in setNumPages() 104 while (numPages > getChildCount()) { in setNumPages() 117 (index + 1), getChildCount())); in setLocation() 156 final int N = getChildCount(); in setIndex() 268 final int N = getChildCount(); 286 final int N = getChildCount();
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/widget/ |
D | PagedSnapHelper.java | 109 int childCount = layoutManager.getChildCount(); in findTopView() 208 if (layoutManager == null || layoutManager.getChildCount() == 0) { in calculateScrollDistance() 212 int lastChildPosition = isAtEnd(layoutManager) ? 0 : layoutManager.getChildCount() - 1; in calculateScrollDistance() 237 if (layoutManager == null || layoutManager.getChildCount() == 0) { in isAtStart() 254 if (layoutManager == null || layoutManager.getChildCount() == 0) { in isAtEnd() 258 int childCount = layoutManager.getChildCount(); in isAtEnd()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | FolderPagedView.java | 275 for (int i = getChildCount() - 1; i >= 0; i --) { in setFixedSize() 281 for (int i = getChildCount() - 1; i >= 0; i --) { in removeItem() 309 for (int i = 0; i < getChildCount(); i++) { in arrangeChildren() 395 int lastPageIndex = getChildCount() - 1; in getItemCount() 400 return getPageAt(lastPageIndex).getShortcutsAndWidgets().getChildCount() in getItemCount() 419 if (getChildCount() < 1) { in getFirstItem() 431 if (getChildCount() < 1) { in getLastItem() 435 int lastRank = currContainer.getChildCount() - 1; in getLastItem() 448 for (int k = 0 ; k < getChildCount(); k++) { in iterateOverItems() 539 for (int i = parent.getChildCount() - 1; i >= 0; i--) { in verifyVisibleHighResIcons()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | AttachmentPreview.java | 91 final int childCount = getChildCount(); in onFinishInflate() 125 if (mAttachmentView.getChildCount() > 0) { in hideAttachmentPreview() 127 final View viewToHide = mAttachmentView.getChildCount() > 1 ? in hideAttachmentPreview() 216 if (mAttachmentView.getChildCount() > 0) { in onAttachmentsChanged() 219 Assert.equals(1, mAttachmentView.getChildCount()); in onAttachmentsChanged() 239 if (mAttachmentView.getChildCount() > 0) { in onAttachmentsChanged()
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/ |
D | WallpaperPickerActivity.java | 176 if (mSelectedIndex >= 0 && mSelectedIndex < mWallpapersView.getChildCount()) { in init() 256 int childCount = mWallpapersView.getChildCount(); in onLongClick() 324 final int childCount = masterWallpaperList.getChildCount(); in updateTileIndices() 344 subListEnd = subList.getChildCount(); in updateTileIndices() 368 for (; indexOfExistingTile < mWallpapersView.getChildCount(); indexOfExistingTile++) { in addTemporaryWallpaperTile() 497 int childCount = mWallpapersView.getChildCount(); in onPrepareActionMode() 523 int childCount = mWallpapersView.getChildCount(); in onActionItemClicked() 559 int childCount = mWallpapersView.getChildCount(); in onDestroyActionMode()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | WidgetsListAdapter.java | 83 for (int i = rv.getChildCount() - 1; i >= 0; i--) { in setApplyBitmapDeferred() 86 for (int j = holder.cellContainer.getChildCount() - 1; j >= 0; j--) { in setApplyBitmapDeferred() 122 pos, infoList.size(), row.getChildCount())); in onBindViewHolder() 128 int childCount = row.getChildCount(); in onBindViewHolder() 187 int total = holder.cellContainer.getChildCount(); in onViewRecycled()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | MiniDrawerView.java | 117 final int recycleCount = getChildCount() - removePos; in refresh() 180 final int childCount = getChildCount(); in onMeasure() 190 if (getChildCount() == 0) { in onLayout() 196 final int childCount = getChildCount(); in onLayout() 221 if (getChildAt(getChildCount() - 1).equals(mSpacer)) { in onLayout()
|
/packages/apps/Launcher3/src/com/android/launcher3/notification/ |
D | NotificationFooterLayout.java | 154 final View firstNotification = mIconRow.getChildAt(mIconRow.getChildCount() - 1); in animateFirstNotificationTo() 183 int numIcons = mIconRow.getChildCount() - 1; // All children besides the one leaving. in animateFirstNotificationTo() 201 if (mIconRow.getChildCount() == 0) { in removeViewFromIconRow() 210 if (!isAttachedToWindow() || mIconRow.getChildCount() == 0) { in trimNotifications() 219 for (int i = mIconRow.getChildCount() - 1; i >= 0; i--) { in trimNotifications()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/ |
D | MediaPickerTest.java | 106 assertEquals(tabStrip.getChildCount(), 3); in testDefaultTabs() 107 for (int i = 0; i < tabStrip.getChildCount(); i++) { in testDefaultTabs() 123 assertEquals(tabStrip.getChildCount(), 3); in testFilterTabsBeforeAttach() 124 for (int i = 0; i < tabStrip.getChildCount(); i++) { in testFilterTabsBeforeAttach()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/queries/ |
D | SearchChipViewManagerTest.java | 73 assertThat(mChipGroup.getChildCount()).isEqualTo(TEST_MIME_TYPES.length); in testInitChipSets_HasCorrectValue() 80 assertThat(mChipGroup.getChildCount()).isEqualTo(TEST_MIME_TYPES.length); in testUpdateChips_HasCorrectValue() 125 assertThat(mChipGroup.getChildCount()).isEqualTo(mirror.getChildCount()); in testBindMirrorGroup_sameValue()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | FocusLogic.java | 173 for (int i = 0; i < parent.getChildCount(); i++ ) { in createSparseMatrix() 215 for (int i = 0; i < iconParent.getChildCount(); i++) { in createSparseMatrixWithHotseat() 226 for (int i = hotseatParent.getChildCount() - 1; i >= 0; i--) { in createSparseMatrixWithHotseat() 230 matrix[cx][iconLayout.getCountY()] = iconParent.getChildCount() + i; in createSparseMatrixWithHotseat() 234 matrix[iconLayout.getCountX()][cy] = iconParent.getChildCount() + i; in createSparseMatrixWithHotseat() 262 for (int i = 0; i < iconParent.getChildCount(); i++) { in createSparseMatrixWithPivotColumn()
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | IndicatorControlWheel.java | 138 return (getChildCount() - mSecondLevelStartIndex); in getChildCountByLevel() 176 mSecondLevelStartIndex = getChildCount(); in initialize() 183 mChildRadians = new double[getChildCount()]; in initialize() 216 endIndex = getChildCount() - 1; in getTouchIndicatorIndex() 321 for (int i = 0 ; i < getChildCount(); ++i) mChildRadians[i] += increment; in rotateWheel() 343 for (int i = 0; i < getChildCount(); ++i) { in onLayout()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/ |
D | PredictionRowView.java | 232 if (getChildCount() != mNumPredictedAppsPerRow) { in applyPredictionApps() 233 while (getChildCount() > mNumPredictedAppsPerRow) { in applyPredictionApps() 236 while (getChildCount() < mNumPredictedAppsPerRow) { in applyPredictionApps() 256 for (int i = 0; i < getChildCount(); i++) { in applyPredictionApps() 321 for (int i = 0; i < getChildCount(); i++) { in setTextAlpha()
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | NotificationGroup.java | 83 public int getChildCount() { in getChildCount() method in NotificationGroup 91 return mGroupSummaryNotification != null && getChildCount() > 1; in isGroup() 209 if (isGroup() || getChildCount() == 0) { in getSingleNotification()
|
/packages/apps/TV/src/com/android/tv/guide/ |
D | ProgramGrid.java | 253 if (nextChildIndex < 0 || nextChildIndex >= getChildCount()) { in focusFind() 283 for (int i = 0; i < getChildCount(); ++i) { in getFocusedChildIndex() 335 int childCount = getChildCount(); in getFirstVisibleChildIndex() 348 int childCount = getChildCount(); in updateInputLogo()
|
D | ProgramRow.java | 101 Log.d(TAG, "channelId=" + mChannel.getId() + ", childCount=" + getChildCount()); in onScrolled() 280 for (int i = 0; i < getChildCount(); ++i) { in onRequestFocusInDescendants() 291 for (int i = 0; i < getChildCount(); ++i) { in getCurrentProgramView() 338 for (int i = 0; i < getChildCount(); ++i) { in updateChildVisibleArea()
|