Lines Matching refs:SkOSMenu
34 - (void) view:(SkUIView*)view didAddMenu:(const SkOSMenu*)menu {} argument
35 - (void) view:(SkUIView*)view didUpdateMenu:(SkOSMenu*)menu { argument
47 - (void)registerMenus:(const SkTDArray<SkOSMenu*>*)menus { argument
54 - (void)updateMenu:(SkOSMenu*)menu { argument
69 - (void)loadMenu:(SkOSMenu*)menu { argument
70 const SkOSMenu::Item* menuitems[menu->getCount()];
73 const SkOSMenu::Item* item = menuitems[i];
76 if (SkOSMenu::kList_Type == item->getType()) {
84 SkOSMenu::FindListItemCount(*item->getEvent(), &count);
87 SkOSMenu::FindListItems(*item->getEvent(), &options.front());
90 SkOSMenu::FindListIndex(*item->getEvent(), item->getSlotName(), &value);
105 SkOSMenu::TriState tristate;
107 case SkOSMenu::kAction_Type:
110 case SkOSMenu::kSwitch_Type:
111 SkOSMenu::FindSwitchState(*item->getEvent(), item->getSlotName(), &state);
114 case SkOSMenu::kSlider_Type:
116 SkOSMenu::FindSliderValue(*item->getEvent(), item->getSlotName(), &value);
117 SkOSMenu::FindSliderMin(*item->getEvent(), &min);
118 SkOSMenu::FindSliderMax(*item->getEvent(), &max);
124 case SkOSMenu::kTriState_Type:
125 SkOSMenu::FindTriState(*item->getEvent(), item->getSlotName(), &tristate);
128 case SkOSMenu::kTextField_Type:
129 SkOSMenu::FindText(*item->getEvent(), item->getSlotName(), &str);
162 SkOSMenu::TriState state;
164 state = SkOSMenu::kMixedState;
166 state = (SkOSMenu::TriState)segmented.selectedSegmentIndex;