Lines Matching refs:SkOSMenu

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