Home
last modified time | relevance | path

Searched refs:SkOSMenu (Results 1 – 25 of 27) sorted by relevance

12

/external/skia/src/views/
DSkOSMenu.cpp13 SkOSMenu::SkOSMenu(const char title[]) { in SkOSMenu() function in SkOSMenu
17 SkOSMenu::~SkOSMenu() { in ~SkOSMenu()
21 void SkOSMenu::reset() { in reset()
26 const SkOSMenu::Item* SkOSMenu::getItemByID(int itemID) const { in getItemByID()
34 void SkOSMenu::getItems(const SkOSMenu::Item* items[]) const { in getItems()
42 void SkOSMenu::assignKeyEquivalentToItem(int itemID, SkUnichar key) { in assignKeyEquivalentToItem()
49 bool SkOSMenu::handleKeyEquivalent(SkUnichar key) { in handleKeyEquivalent()
52 SkOSMenu::TriState tristate; in handleKeyEquivalent()
59 SkOSMenu::FindListItemCount(*item->getEvent(), &size); in handleKeyEquivalent()
60 SkOSMenu::FindListIndex(*item->getEvent(), item->getSlotName(), &value); in handleKeyEquivalent()
[all …]
DSkWindow.cpp206 void SkWindow::addMenu(SkOSMenu* menu) { in addMenu()
/external/skia/src/views/mac/
DSkOptionsTableView.mm39 - (void) view:(SkNSView*)view didAddMenu:(const SkOSMenu*)menu {} argument
40 - (void) view:(SkNSView*)view didUpdateMenu:(const SkOSMenu*)menu { argument
51 - (void)registerMenus:(const SkTDArray<SkOSMenu*>*)menus { argument
58 - (void)updateMenu:(const SkOSMenu*)menu { argument
66 int menuIndex = fMenus->find(const_cast<SkOSMenu *>(menu));
78 - (NSCellStateValue)triStateToNSState:(SkOSMenu::TriState)state {
79 if (SkOSMenu::kOnState == state)
81 else if (SkOSMenu::kOffState == state)
87 - (void)loadMenu:(const SkOSMenu*)menu { argument
88 const SkOSMenu::Item* menuitems[menu->getCount()];
[all …]
DSkOptionsTableView.h15 const SkOSMenu::Item* fItem;
17 @property (nonatomic, assign) const SkOSMenu::Item* fItem;
23 const SkTDArray<SkOSMenu*>* fMenus;
28 - (void)registerMenus:(const SkTDArray<SkOSMenu*>*)menus;
29 - (void)updateMenu:(const SkOSMenu*)menu;
30 - (void)loadMenu:(const SkOSMenu*)menu;
DSkNSView.h18 - (void) view:(SkNSView*)view didAddMenu:(const SkOSMenu*)menu;
19 - (void) view:(SkNSView*)view didUpdateMenu:(const SkOSMenu*)menu;
44 - (void)onAddMenu:(const SkOSMenu*)menu;
45 - (void)onUpdateMenu:(const SkOSMenu*)menu;
DSkOSWindow_Mac.mm12 #include "SkOSMenu.h"
60 void SkOSWindow::onAddMenu(const SkOSMenu* menu) {
64 void SkOSWindow::onUpdateMenu(const SkOSMenu* menu) {
DSkNSView.mm154 #include "SkOSMenu.h"
155 - (void)onAddMenu:(const SkOSMenu*)menu { argument
159 - (void)onUpdateMenu:(const SkOSMenu*)menu { argument
/external/skia/experimental/iOSSampleApp/Shared/
DSkOptionsTableViewController.mm34 - (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());
[all …]
DSkOptionsTableViewController.h8 const SkOSMenu::Item* fItem;
10 @property (nonatomic, assign) const SkOSMenu::Item* fItem;
24 const SkTDArray<SkOSMenu*>* fMenus;
31 - (void)registerMenus:(const SkTDArray<SkOSMenu*>*)menus;
32 - (void)updateMenu:(SkOSMenu*)menu;
33 - (void)loadMenu:(SkOSMenu*)menu;
DSkUIView.h22 - (void) view:(SkUIView*)view didAddMenu:(const SkOSMenu*)menu;
23 - (void) view:(SkUIView*)view didUpdateMenu:(SkOSMenu*)menu;
42 - (void)onAddMenu:(const SkOSMenu*)menu;
43 - (void)onUpdateMenu:(SkOSMenu*)menu;
DSkUIView.mm107 #include "SkOSMenu.h"
108 - (void)onAddMenu:(const SkOSMenu*)menu { argument
111 - (void)onUpdateMenu:(SkOSMenu*)menu { argument
DSkUIDetailViewController.mm5 #include "SkOSMenu.h"
/external/skia/include/views/
DSkOSMenu.h16 class SkOSMenu {
18 explicit SkOSMenu(const char title[] = "");
19 ~SkOSMenu();
56 Item(const char label[], SkOSMenu::Type type, const char slotName[],
178 SkOSMenu(const SkOSMenu&);
179 SkOSMenu& operator=(const SkOSMenu&);
DSkWindow.h21 class SkOSMenu; variable
64 void addMenu(SkOSMenu*);
65 const SkTDArray<SkOSMenu*>* getMenus() { return &fMenus; } in getMenus()
85 virtual void onAddMenu(const SkOSMenu*) {}; in onAddMenu() argument
86 virtual void onUpdateMenu(const SkOSMenu*) {}; in onUpdateMenu() argument
106 SkTDArray<SkOSMenu*> fMenus;
DSkOSWindow_iOS.h38 virtual void onAddMenu(const SkOSMenu*);
39 virtual void onUpdateMenu(SkOSMenu*);
DSkOSWindow_Mac.h48 virtual void onAddMenu(const SkOSMenu*);
49 virtual void onUpdateMenu(const SkOSMenu*);
DSkOSWindow_Win.h86 virtual void onAddMenu(const SkOSMenu*);
/external/skia/experimental/DrawingBoard/
DSampleDrawingClient.cpp61 virtual void requestMenu(SkOSMenu* menu) { in requestMenu()
106 if (SkOSMenu::FindSliderValue(evt, "Brush Size", &fBrushSize)) in onEvent()
110 if (SkOSMenu::FindText(evt, "Server IP", &s)) { in onEvent()
123 if (SkOSMenu::FindSwitchState(evt, "AA", &fAA) || in onEvent()
124 SkOSMenu::FindSwitchState(evt, "Sync", &fSync)) in onEvent()
126 if (SkOSMenu::FindSwitchState(evt, "Vector", &fVector)) { in onEvent()
130 if (SkOSMenu::FindAction(evt, "Clear")) { in onEvent()
134 if (SkOSMenu::FindSwitchState(evt, "Palette", &fPaletteVisible)) { in onEvent()
DSampleDrawingServer.cpp44 virtual void requestMenu(SkOSMenu* menu) { in requestMenu()
114 if (SkOSMenu::FindAction(evt, "Clear")) { in onEvent()
118 if (SkOSMenu::FindSwitchState(evt, "Vector", &fVector)) { in onEvent()
/external/skia/samplecode/
DSampleApp.cpp485 FlagsFilterCanvas(SkCanvas* canvas, SkOSMenu::TriState lcd, SkOSMenu::TriState aa, in FlagsFilterCanvas()
486 SkOSMenu::TriState subpixel, int hinting, int filterQuality) in FlagsFilterCanvas()
502 if (kText_Type == t && SkOSMenu::kMixedState != fLCDState) { in onFilter()
503 paint->writable()->setLCDRenderText(SkOSMenu::kOnState == fLCDState); in onFilter()
505 if (SkOSMenu::kMixedState != fAAState) { in onFilter()
506 paint->writable()->setAntiAlias(SkOSMenu::kOnState == fAAState); in onFilter()
511 if (SkOSMenu::kMixedState != fSubpixelState) { in onFilter()
512 paint->writable()->setSubpixelText(SkOSMenu::kOnState == fSubpixelState); in onFilter()
521 SkOSMenu::TriState fLCDState;
522 SkOSMenu::TriState fAAState;
[all …]
DSampleApp.h203 SkOSMenu::TriState fLCDState;
204 SkOSMenu::TriState fAAState;
205 SkOSMenu::TriState fSubpixelState;
216 SkOSMenu* fAppMenu; // We pass ownership to SkWindow, when we call addMenu
218 SkOSMenu* fSlideMenu; // We pass ownership to SkWindow, when we call addMenu
DSampleCode.h107 : fPipeState(SkOSMenu::kOffState) in SampleView()
118 static bool SetUsePipe(SkView*, SkOSMenu::TriState);
127 virtual void requestMenu(SkOSMenu* menu) {} in requestMenu()
142 SkOSMenu::TriState fPipeState;
/external/skia/src/views/ios/
DSkOSWindow_iOS.mm5 #include "SkOSMenu.h"
45 void SkOSWindow::onAddMenu(const SkOSMenu* menu) {
49 void SkOSWindow::onUpdateMenu(SkOSMenu* menu) {
/external/skia/experimental/Networking/
DSampleNetPipeReader.cpp37 virtual void requestMenu(SkOSMenu* menu) { in requestMenu()
66 if (SkOSMenu::FindText(evt, "Server IP", &s)) { in onEvent()
75 if (SkOSMenu::FindSwitchState(evt, "Sync", &fSync)) in onEvent()
/external/skia/gyp/
Dviews.gyp35 '../include/views/SkOSMenu.h',
51 '../src/views/SkOSMenu.cpp',

12