Searched refs:SkOSMenu (Results 1 - 21 of 21) sorted by relevance

/external/skia/src/views/
H A DSkOSMenu.cpp8 #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 DSkWindow.cpp10 #include "SkOSMenu.h"
206 void SkWindow::addMenu(SkOSMenu* menu) {
/external/skia/experimental/iOSSampleApp/Shared/
H A DSkOptionsTableViewController.h3 #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 DSkUIView.h21 // 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 DSkUIView.mm107 #include "SkOSMenu.h"
108 - (void)onAddMenu:(const SkOSMenu*)menu {
111 - (void)onUpdateMenu:(SkOSMenu*)menu {
/external/skia/src/views/mac/
H A DSkOptionsTableView.h11 #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 DSkNSView.h17 // 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 DSkOSWindow_Mac.mm12 #include "SkOSMenu.h"
60 void SkOSWindow::onAddMenu(const SkOSMenu* menu) {
64 void SkOSWindow::onUpdateMenu(const SkOSMenu* menu) {
H A DSkNSView.mm154 #include "SkOSMenu.h"
155 - (void)onAddMenu:(const SkOSMenu*)menu {
159 - (void)onUpdateMenu:(const SkOSMenu*)menu {
/external/skia/include/views/
H A DSkOSMenu.h16 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 DSkOSWindow_iOS.h38 virtual void onAddMenu(const SkOSMenu*);
39 virtual void onUpdateMenu(SkOSMenu*);
H A DSkWindow.h21 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 DSkOSWindow_Mac.h48 virtual void onAddMenu(const SkOSMenu*);
49 virtual void onUpdateMenu(const SkOSMenu*);
H A DSkOSWindow_Win.h86 virtual void onAddMenu(const SkOSMenu*);
/external/skia/samplecode/
H A DSampleCode.h15 #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 DSampleApp.h11 #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 DSampleApp.cpp485 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 DSampleDrawingClient.cpp9 #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 DSampleDrawingServer.cpp8 #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 DSampleNetPipeReader.cpp7 #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 DSkOSWindow_win.cpp17 #include "SkOSMenu.h"
250 void SkOSWindow::onAddMenu(const SkOSMenu* sk_menu)

Completed in 109 milliseconds