Lines Matching refs:BListItem
30 typedef int (*compare_func)(const BListItem* a, const BListItem* b);
40 bool operator()(const BListItem* a, const BListItem* b) const in operator ()()
51 _GetSubItems(BList& sourceList, BList& destList, BListItem* parent, int32 start) in _GetSubItems()
54 BListItem* item = (BListItem*)sourceList.ItemAt(i); in _GetSubItems()
66 BListItem* item = (BListItem*)list.ItemAt(firstIndex); in _DoSwap()
109 BListItem* item = dynamic_cast<BListItem*>(object); in BOutlineListView()
146 BListItem* item = NULL; in Archive()
147 while ((item = static_cast<BListItem*>(fFullList.ItemAt(i++)))) { in Archive()
176 BListItem* item = ItemAt(index); in MouseDown()
198 BListItem* item = ItemAt(currentSel); in KeyDown()
212 BListItem* item = ItemAt(currentSel); in KeyDown()
255 BOutlineListView::AddUnder(BListItem* item, BListItem* superItem) in AddUnder()
280 BOutlineListView::AddItem(BListItem* item) in AddItem()
287 BOutlineListView::AddItem(BListItem* item, int32 fullListIndex) in AddItem()
301 BListItem* super = _SuperitemForIndex(fullListIndex, item->fLevel); in AddItem()
345 AddItem((BListItem*)newItems->ItemAt(i), fullListIndex + i); in AddList()
352 BOutlineListView::RemoveItem(BListItem* item) in RemoveItem()
358 BListItem*
381 BListItem*
384 return (BListItem*)fFullList.ItemAt(fullListIndex); in FullListItemAt()
401 BOutlineListView::FullListIndexOf(BListItem* item) const in FullListIndexOf()
407 BListItem*
410 return (BListItem*)fFullList.FirstItem(); in FullListFirstItem()
414 BListItem*
417 return (BListItem*)fFullList.LastItem(); in FullListLastItem()
422 BOutlineListView::FullListHasItem(BListItem* item) const in FullListHasItem()
440 BListItem* item = BListView::ItemAt(i); in FullListCurrentSelection()
464 BOutlineListView::FullListDoForEach(bool(*func)(BListItem* item)) in FullListDoForEach()
471 BOutlineListView::FullListDoForEach(bool (*func)(BListItem* item, void* arg), in FullListDoForEach()
478 BListItem*
479 BOutlineListView::Superitem(const BListItem* item) in Superitem()
481 int32 index = FullListIndexOf((BListItem*)item); in Superitem()
490 BOutlineListView::Expand(BListItem* item) in Expand()
497 BOutlineListView::Collapse(BListItem* item) in Collapse()
506 BListItem* item = FullListItemAt(fullListIndex); in IsExpanded()
648 BOutlineListView::FullListSortItems(int (*compareFunc)(const BListItem* a, in FullListSortItems()
649 const BListItem* b)) in FullListSortItems()
656 BOutlineListView::SortItemsUnder(BListItem* superItem, bool oneLevelOnly, in SortItemsUnder()
657 int (*compareFunc)(const BListItem* a, const BListItem* b)) in SortItemsUnder()
698 BOutlineListView::CountItemsUnder(BListItem* superItem, bool oneLevelOnly) const in CountItemsUnder()
707 BListItem* item = FullListItemAt(i); in CountItemsUnder()
722 BListItem*
723 BOutlineListView::EachItemUnder(BListItem* superItem, bool oneLevelOnly, in EachItemUnder()
724 BListItem* (*eachFunc)(BListItem* item, void* arg), void* arg) in EachItemUnder()
732 BListItem* item = FullListItemAt(i); in EachItemUnder()
752 BListItem*
753 BOutlineListView::ItemUnderAt(BListItem* superItem, bool oneLevelOnly, in ItemUnderAt()
762 BListItem* item = FullListItemAt(i); in ItemUnderAt()
807 BOutlineListView::ExpandOrCollapse(BListItem* item, bool expand) in ExpandOrCollapse()
822 BListItem** items = (BListItem**)fFullList.Items() + fullListIndex + 1; in ExpandOrCollapse()
865 BListItem** items = (BListItem**)fFullList.Items() + fullListIndex + 1; in ExpandOrCollapse()
954 BOutlineListView::DrawItem(BListItem* item, BRect itemRect, bool complete) in DrawItem()
969 BListItem* item = ItemAt(index); in _FullListIndex()
982 BListItem** items = (BListItem**)target.Items(); in _PopulateTree()
986 BListItem* item = (BListItem*)tree->ItemAtFast(index); in _PopulateTree()
1000 int (*compareFunc)(const BListItem* a, const BListItem* b)) in _SortTree()
1002 BListItem** items = (BListItem**)tree->Items(); in _SortTree()
1010 BListItem* item = (BListItem*)tree->ItemAt(index); in _SortTree()
1022 BListItem* item = (BListItem*)tree->ItemAt(index); in _DestructTree()
1033 BOutlineListView::_BuildTree(BListItem* superItem, int32& fullListIndex) in _BuildTree()
1042 BListItem* item = FullListItemAt(fullListIndex); in _BuildTree()
1068 if (reinterpret_cast<BListItem*>(list.ItemAt(index))->IsItemVisible()) in _CullInvisibleItems()
1093 BListItem* firstItem = ItemAt(firstIndex); in _SwapItems()
1094 BListItem* secondItem = ItemAt(secondIndex); in _SwapItems()
1130 BListItem*
1131 BOutlineListView::_RemoveItem(BListItem* item, int32 fullListIndex) in _RemoveItem()
1140 BListItem* super = _SuperitemForIndex(fullListIndex, level, &superIndex); in _RemoveItem()
1145 BListItem* subItem = FullListItemAt(fullListIndex + 1); in _RemoveItem()
1163 BListItem* child = FullListItemAt(superIndex + 1); in _RemoveItem()
1175 BListItem*
1179 BListItem* item; in _SuperitemForIndex()
1214 BOutlineListView::_ItemsUnderSetup(BListItem* superItem, int32& startIndex, uint32& baseLevel) const in _ItemsUnderSetup()