Lines Matching refs:SkOSMenu
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;
523 SkOSMenu::TriState fSubpixelState;
873 fLCDState = SkOSMenu::kMixedState; in SampleWindow()
874 fAAState = SkOSMenu::kMixedState; in SampleWindow()
875 fSubpixelState = SkOSMenu::kMixedState; in SampleWindow()
895 fAppMenu = new SkOSMenu; in SampleWindow()
964 fSlideMenu = new SkOSMenu; in SampleWindow()
1350 if (fLCDState != SkOSMenu::kMixedState || in beforeChildren()
1351 fAAState != SkOSMenu::kMixedState || in beforeChildren()
1352 fSubpixelState != SkOSMenu::kMixedState || in beforeChildren()
1580 if (SkOSMenu::FindListIndex(evt, "Device Type", &selected)) { in onEvent()
1584 if (SkOSMenu::FindListIndex(evt, "ColorType", &selected)) { in onEvent()
1588 if (SkOSMenu::FindSwitchState(evt, "Slide Show", nullptr)) { in onEvent()
1592 if (SkOSMenu::FindTriState(evt, "AA", &fAAState) || in onEvent()
1593 SkOSMenu::FindTriState(evt, "LCD", &fLCDState) || in onEvent()
1594 SkOSMenu::FindListIndex(evt, "FilterQuality", &fFilterQualityIndex) || in onEvent()
1595 SkOSMenu::FindTriState(evt, "Subpixel", &fSubpixelState) || in onEvent()
1596 SkOSMenu::FindListIndex(evt, "Hinting", &fHintingState) || in onEvent()
1597 SkOSMenu::FindSwitchState(evt, "Clip", &fUseClip) || in onEvent()
1598 SkOSMenu::FindSwitchState(evt, "Zoomer", &fShowZoomer) || in onEvent()
1599 SkOSMenu::FindSwitchState(evt, "Magnify", &fMagnify)) in onEvent()
1605 if (SkOSMenu::FindListIndex(evt, "Tiling", &fTilingMode)) { in onEvent()
1613 if (SkOSMenu::FindSwitchState(evt, "Flip X", nullptr)) { in onEvent()
1618 if (SkOSMenu::FindSwitchState(evt, "Flip Y", nullptr)) { in onEvent()
1623 if (SkOSMenu::FindAction(evt,"Save to PDF")) { in onEvent()
2002 static const char* trystate_str(SkOSMenu::TriState state, in trystate_str()
2004 if (SkOSMenu::kOnState == state) { in trystate_str()
2006 } else if (SkOSMenu::kOffState == state) { in trystate_str()