/external/skia/src/views/ |
D | SkOSMenu.cpp | 13 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 …]
|
D | SkWindow.cpp | 206 void SkWindow::addMenu(SkOSMenu* menu) { in addMenu()
|
/external/skia/src/views/mac/ |
D | SkOptionsTableView.mm | 39 - (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 …]
|
D | SkOptionsTableView.h | 15 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;
|
D | SkNSView.h | 18 - (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;
|
D | SkOSWindow_Mac.mm | 12 #include "SkOSMenu.h" 60 void SkOSWindow::onAddMenu(const SkOSMenu* menu) { 64 void SkOSWindow::onUpdateMenu(const SkOSMenu* menu) {
|
D | SkNSView.mm | 154 #include "SkOSMenu.h" 155 - (void)onAddMenu:(const SkOSMenu*)menu { argument 159 - (void)onUpdateMenu:(const SkOSMenu*)menu { argument
|
/external/skia/experimental/iOSSampleApp/Shared/ |
D | SkOptionsTableViewController.mm | 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()); [all …]
|
D | SkOptionsTableViewController.h | 8 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;
|
D | SkUIView.h | 22 - (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;
|
D | SkUIView.mm | 107 #include "SkOSMenu.h" 108 - (void)onAddMenu:(const SkOSMenu*)menu { argument 111 - (void)onUpdateMenu:(SkOSMenu*)menu { argument
|
D | SkUIDetailViewController.mm | 5 #include "SkOSMenu.h"
|
/external/skia/include/views/ |
D | SkOSMenu.h | 16 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&);
|
D | SkWindow.h | 21 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;
|
D | SkOSWindow_iOS.h | 38 virtual void onAddMenu(const SkOSMenu*); 39 virtual void onUpdateMenu(SkOSMenu*);
|
D | SkOSWindow_Mac.h | 48 virtual void onAddMenu(const SkOSMenu*); 49 virtual void onUpdateMenu(const SkOSMenu*);
|
D | SkOSWindow_Win.h | 86 virtual void onAddMenu(const SkOSMenu*);
|
/external/skia/experimental/DrawingBoard/ |
D | SampleDrawingClient.cpp | 61 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()
|
D | SampleDrawingServer.cpp | 44 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/ |
D | SampleApp.cpp | 485 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 …]
|
D | SampleApp.h | 203 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
|
D | SampleCode.h | 107 : 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/ |
D | SkOSWindow_iOS.mm | 5 #include "SkOSMenu.h" 45 void SkOSWindow::onAddMenu(const SkOSMenu* menu) { 49 void SkOSWindow::onUpdateMenu(SkOSMenu* menu) {
|
/external/skia/experimental/Networking/ |
D | SampleNetPipeReader.cpp | 37 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/ |
D | views.gyp | 35 '../include/views/SkOSMenu.h', 51 '../src/views/SkOSMenu.cpp',
|