Lines Matching refs:slotName
93 const char slotName[], SkEvent* evt) { in Item() argument
95 fSlotName.set(slotName); in Item()
136 int SkOSMenu::appendItem(const char label[], Type type, const char slotName[], in appendItem() argument
138 SkOSMenu::Item* item = new Item(label, type, slotName, evt); in appendItem()
150 int SkOSMenu::appendList(const char label[], const char slotName[], in appendList() argument
166 evt->setS32(slotName, index); in appendList()
168 return appendItem(label, SkOSMenu::kList_Type, slotName, evt); in appendList()
171 int SkOSMenu::appendSlider(const char label[], const char slotName[], in appendSlider() argument
177 evt->setScalar(slotName, defaultValue); in appendSlider()
178 return appendItem(label, SkOSMenu::kSlider_Type, slotName, evt); in appendSlider()
181 int SkOSMenu::appendSwitch(const char label[], const char slotName[], in appendSwitch() argument
184 evt->setBool(slotName, defaultState); in appendSwitch()
185 return appendItem(label, SkOSMenu::kSwitch_Type, slotName, evt); in appendSwitch()
188 int SkOSMenu::appendTriState(const char label[], const char slotName[], in appendTriState() argument
191 evt->setS32(slotName, defaultState); in appendTriState()
192 return appendItem(label, SkOSMenu::kTriState_Type, slotName, evt); in appendTriState()
195 int SkOSMenu::appendTextField(const char label[], const char slotName[], in appendTextField() argument
198 evt->setString(slotName, placeholder); in appendTextField()
199 return appendItem(label, SkOSMenu::kTextField_Type, slotName, evt); in appendTextField()
236 bool SkOSMenu::FindListIndex(const SkEvent& evt, const char slotName[], int* value) { in FindListIndex() argument
237 return evt.isType(gMenuEventType) && evt.findS32(slotName, value); in FindListIndex()
240 bool SkOSMenu::FindSliderValue(const SkEvent& evt, const char slotName[], SkScalar* value) { in FindSliderValue() argument
241 return evt.isType(gMenuEventType) && evt.findScalar(slotName, value); in FindSliderValue()
244 bool SkOSMenu::FindSwitchState(const SkEvent& evt, const char slotName[], bool* value) { in FindSwitchState() argument
245 return evt.isType(gMenuEventType) && evt.findBool(slotName, value); in FindSwitchState()
248 bool SkOSMenu::FindTriState(const SkEvent& evt, const char slotName[], SkOSMenu::TriState* value) { in FindTriState() argument
249 return evt.isType(gMenuEventType) && evt.findS32(slotName, (int*)value); in FindTriState()
252 bool SkOSMenu::FindText(const SkEvent& evt, const char slotName[], SkString* value) { in FindText() argument
254 const char* text = evt.findString(slotName); in FindText()