Home
last modified time | relevance | path

Searched refs:slotName (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/views/
DSkOSMenu.cpp93 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()
[all …]
DSkListWidget.cpp470 const char* slotName = dom.findAttr(child, "slot"); in onInflate() local
471 if (fieldName && slotName) in onInflate()
475 fBindings[count++].fSlotName.set(slotName); in onInflate()
/external/skia/include/views/
DSkOSMenu.h56 Item(const char label[], SkOSMenu::Type type, const char slotName[],
121 int appendItem(const char label[], Type type, const char slotName[],
131 int appendList(const char label[], const char slotName[],
133 int appendSlider(const char label[], const char slotName[],
136 int appendSwitch(const char label[], const char slotName[],
138 int appendTriState(const char label[], const char slotName[],
140 int appendTextField(const char label[], const char slotName[],
167 static bool FindListIndex(const SkEvent& evt, const char slotName[], int* value);
168 static bool FindSliderValue(const SkEvent& evt, const char slotName[], SkScalar* value);
169 static bool FindSwitchState(const SkEvent& evt, const char slotName[], bool* value);
[all …]