Searched refs:ItemsCount (Results 1 – 3 of 3) sorted by relevance
77 ASSERT_EQ(5u, menu.ItemsCount()); in TEST_F()81 for (size_t i = 0; i < menu.ItemsCount(); i++) { in TEST_F()92 ASSERT_EQ(5u, menu.ItemsCount()); in TEST_F()96 for (size_t i = 0; i < menu.ItemsCount() - 1; i++) { in TEST_F()107 ASSERT_EQ(1u, menu.ItemsCount()); in TEST_F()111 for (size_t i = 0; i < menu.ItemsCount(); i++) { in TEST_F()122 ASSERT_EQ(5u, menu.ItemsCount()); in TEST_F()128 for (size_t i = 0; i < menu.ItemsCount(); i++) { in TEST_F()197 ASSERT_EQ(5u, menu.ItemsCount()); in TEST_F()
101 return std::min(ItemsCount(), menu_start_ + max_display_items_); in MenuEnd()104 size_t TextMenu::ItemsCount() const { in ItemsCount() function in TextMenu109 if (!scrollable_ || ItemsCount() <= max_display_items_) { in ItemsOverflow()114 android::base::StringPrintf("Current item: %zu/%zu", selection_ + 1, ItemsCount()); in ItemsOverflow()120 CHECK_LE(ItemsCount(), static_cast<size_t>(std::numeric_limits<int>::max())); in Select()121 int count = ItemsCount(); in Select()
121 size_t ItemsCount() const;