Lines Matching refs:SkOSMenu
468 FlagsDrawFilter(SkOSMenu::TriState lcd, SkOSMenu::TriState aa, in FlagsDrawFilter()
469 SkOSMenu::TriState subpixel, int hinting, int filterQuality) in FlagsDrawFilter()
480 if (kText_Type == t && SkOSMenu::kMixedState != fLCDState) { in filter()
481 paint->setLCDRenderText(SkOSMenu::kOnState == fLCDState); in filter()
483 if (SkOSMenu::kMixedState != fAAState) { in filter()
484 paint->setAntiAlias(SkOSMenu::kOnState == fAAState); in filter()
489 if (SkOSMenu::kMixedState != fSubpixelState) { in filter()
490 paint->setSubpixelText(SkOSMenu::kOnState == fSubpixelState); in filter()
499 SkOSMenu::TriState fLCDState;
500 SkOSMenu::TriState fAAState;
501 SkOSMenu::TriState fSubpixelState;
800 fPipeState = SkOSMenu::kOffState; in SampleWindow()
803 fLCDState = SkOSMenu::kMixedState; in SampleWindow()
804 fAAState = SkOSMenu::kMixedState; in SampleWindow()
805 fSubpixelState = SkOSMenu::kMixedState; in SampleWindow()
827 fAppMenu = new SkOSMenu; in SampleWindow()
901 fSlideMenu = new SkOSMenu; in SampleWindow()
1469 if (SkOSMenu::FindListIndex(evt, "Device Type", &selected)) { in onEvent()
1473 if (SkOSMenu::FindTriState(evt, "Pipe", &fPipeState)) { in onEvent()
1475 if (!fPipeState != SkOSMenu::kOnState) in onEvent()
1483 if (SkOSMenu::FindSwitchState(evt, "Slide Show", NULL)) { in onEvent()
1487 if (SkOSMenu::FindTriState(evt, "AA", &fAAState) || in onEvent()
1488 SkOSMenu::FindTriState(evt, "LCD", &fLCDState) || in onEvent()
1489 SkOSMenu::FindListIndex(evt, "FilterQuality", &fFilterQualityIndex) || in onEvent()
1490 SkOSMenu::FindTriState(evt, "Subpixel", &fSubpixelState) || in onEvent()
1491 SkOSMenu::FindListIndex(evt, "Hinting", &fHintingState) || in onEvent()
1492 SkOSMenu::FindSwitchState(evt, "Clip", &fUseClip) || in onEvent()
1493 SkOSMenu::FindSwitchState(evt, "Zoomer", &fShowZoomer) || in onEvent()
1494 SkOSMenu::FindSwitchState(evt, "Magnify", &fMagnify) || in onEvent()
1495 SkOSMenu::FindListIndex(evt, "Transition-Next", &fTransitionNext) || in onEvent()
1496 SkOSMenu::FindListIndex(evt, "Transition-Prev", &fTransitionPrev)) { in onEvent()
1501 if (SkOSMenu::FindListIndex(evt, "Tiling", &fTilingMode)) { in onEvent()
1509 if (SkOSMenu::FindSwitchState(evt, "Flip X", NULL)) { in onEvent()
1514 if (SkOSMenu::FindSwitchState(evt, "Flip Y", NULL)) { in onEvent()
1519 if (SkOSMenu::FindAction(evt,"Save to PDF")) { in onEvent()
1879 static const char* trystate_str(SkOSMenu::TriState state, in trystate_str()
1881 if (SkOSMenu::kOnState == state) { in trystate_str()
1883 } else if (SkOSMenu::kOffState == state) { in trystate_str()
1939 case SkOSMenu::kOnState: in updateTitle()
1942 case SkOSMenu::kMixedState: in updateTitle()
2027 bool SampleView::SetUsePipe(SkView* view, SkOSMenu::TriState state) { in SetUsePipe()
2041 fPipeState = static_cast<SkOSMenu::TriState>(pipeHolder); in onEvent()
2127 if (SkOSMenu::kOffState == fPipeState) { in draw()
2135 if (SkOSMenu::kMixedState == fPipeState) { in draw()