/external/skia/src/views/ |
H A D | SkOSMenu.cpp | 8 #include "SkOSMenu.h" 13 SkOSMenu::SkOSMenu(const char title[]) { function in class:SkOSMenu 17 SkOSMenu::~SkOSMenu() { 21 void SkOSMenu::reset() { 26 const SkOSMenu::Item* SkOSMenu::getItemByID(int itemID) const { 34 void SkOSMenu::getItems(const SkOSMenu [all...] |
H A D | SkWindow.cpp | 10 #include "SkOSMenu.h" 206 void SkWindow::addMenu(SkOSMenu* menu) {
|
/external/skia/experimental/iOSSampleApp/Shared/ |
H A D | SkOptionsTableViewController.h | 3 #import "SkOSMenu.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;
|
H A D | SkUIView.h | 21 // Called when the view needs to handle adding an SkOSMenu 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;
|
H A D | SkUIView.mm | 107 #include "SkOSMenu.h" 108 - (void)onAddMenu:(const SkOSMenu*)menu { 111 - (void)onUpdateMenu:(SkOSMenu*)menu {
|
/external/skia/src/views/mac/ |
H A D | SkOptionsTableView.h | 11 #import "SkOSMenu.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;
|
H A D | SkNSView.h | 17 // Called when the view needs to handle adding an SkOSMenu 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;
|
H A D | SkOSWindow_Mac.mm | 12 #include "SkOSMenu.h" 60 void SkOSWindow::onAddMenu(const SkOSMenu* menu) { 64 void SkOSWindow::onUpdateMenu(const SkOSMenu* menu) {
|
H A D | SkNSView.mm | 154 #include "SkOSMenu.h" 155 - (void)onAddMenu:(const SkOSMenu*)menu { 159 - (void)onUpdateMenu:(const SkOSMenu*)menu {
|
/external/skia/include/views/ |
H A D | SkOSMenu.h | 16 class SkOSMenu { class 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&);
|
H A D | SkOSWindow_iOS.h | 38 virtual void onAddMenu(const SkOSMenu*); 39 virtual void onUpdateMenu(SkOSMenu*);
|
H A D | SkWindow.h | 21 class SkOSMenu; 64 void addMenu(SkOSMenu*); 65 const SkTDArray<SkOSMenu*>* getMenus() { return &fMenus; } 85 virtual void onAddMenu(const SkOSMenu*) {}; argument 86 virtual void onUpdateMenu(const SkOSMenu*) {}; argument 106 SkTDArray<SkOSMenu*> fMenus;
|
H A D | SkOSWindow_Mac.h | 48 virtual void onAddMenu(const SkOSMenu*); 49 virtual void onUpdateMenu(const SkOSMenu*);
|
H A D | SkOSWindow_Win.h | 86 virtual void onAddMenu(const SkOSMenu*);
|
/external/skia/samplecode/ |
H A D | SampleCode.h | 15 #include "SkOSMenu.h" 107 : fPipeState(SkOSMenu::kOffState) 118 static bool SetUsePipe(SkView*, SkOSMenu::TriState); 125 * method. See SkOSMenu.h for helper functions. 127 virtual void requestMenu(SkOSMenu* menu) {} 142 SkOSMenu::TriState fPipeState;
|
H A D | SampleApp.h | 11 #include "SkOSMenu.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
|
H A D | SampleApp.cpp | 485 FlagsFilterCanvas(SkCanvas* canvas, SkOSMenu::TriState lcd, SkOSMenu::TriState aa, 486 SkOSMenu::TriState subpixel, int hinting, int filterQuality) 502 if (kText_Type == t && SkOSMenu::kMixedState != fLCDState) { 503 paint->writable()->setLCDRenderText(SkOSMenu::kOnState == fLCDState); 505 if (SkOSMenu::kMixedState != fAAState) { 506 paint->writable()->setAntiAlias(SkOSMenu::kOnState == fAAState); 511 if (SkOSMenu::kMixedState != fSubpixelState) { 512 paint->writable()->setSubpixelText(SkOSMenu::kOnState == fSubpixelState); 521 SkOSMenu [all...] |
/external/skia/experimental/DrawingBoard/ |
H A D | SampleDrawingClient.cpp | 9 #include "SkOSMenu.h" 61 virtual void requestMenu(SkOSMenu* menu) { 106 if (SkOSMenu::FindSliderValue(evt, "Brush Size", &fBrushSize)) 110 if (SkOSMenu::FindText(evt, "Server IP", &s)) { 123 if (SkOSMenu::FindSwitchState(evt, "AA", &fAA) || 124 SkOSMenu::FindSwitchState(evt, "Sync", &fSync)) 126 if (SkOSMenu::FindSwitchState(evt, "Vector", &fVector)) { 130 if (SkOSMenu::FindAction(evt, "Clear")) { 134 if (SkOSMenu::FindSwitchState(evt, "Palette", &fPaletteVisible)) {
|
H A D | SampleDrawingServer.cpp | 8 #include "SkOSMenu.h" 44 virtual void requestMenu(SkOSMenu* menu) { 114 if (SkOSMenu::FindAction(evt, "Clear")) { 118 if (SkOSMenu::FindSwitchState(evt, "Vector", &fVector)) {
|
/external/skia/experimental/Networking/ |
H A D | SampleNetPipeReader.cpp | 7 #include "SkOSMenu.h" 37 virtual void requestMenu(SkOSMenu* menu) { 66 if (SkOSMenu::FindText(evt, "Server IP", &s)) { 75 if (SkOSMenu::FindSwitchState(evt, "Sync", &fSync))
|
/external/skia/src/views/win/ |
H A D | SkOSWindow_win.cpp | 17 #include "SkOSMenu.h" 250 void SkOSWindow::onAddMenu(const SkOSMenu* sk_menu)
|