Lines Matching refs:atoHosValue

493 void AccessibilitySettings::UpdateSettingsInAtoHosStatePart(ConfigValueAtoHosUpdate &atoHosValue)
498 if (atoHosValue.daltonizationState) {
499 accountData->GetConfig()->SetDaltonizationState(atoHosValue.daltonizationState);
501 if (atoHosValue.invertColor) {
502 accountData->GetConfig()->SetInvertColorState(atoHosValue.invertColor);
504 if (atoHosValue.audioMono) {
505 accountData->GetConfig()->SetAudioMonoState(atoHosValue.audioMono);
507 if (atoHosValue.highContrastText) {
508 accountData->GetConfig()->SetHighContrastTextState(atoHosValue.highContrastText);
510 if (atoHosValue.ignoreRepeatClickState) {
511 accountData->GetConfig()->SetIgnoreRepeatClickState(atoHosValue.ignoreRepeatClickState);
513 if (atoHosValue.shortcutEnabled) {
514 accountData->GetConfig()->SetShortKeyState(atoHosValue.shortcutEnabled);
517 if (atoHosValue.shortcutTimeout == 1) {
519 if (atoHosValue.shortcutOnLockScreen == INVALID_SHORTCUT_ON_LOCK_SCREEN_STATE) {
523 } else if (atoHosValue.shortcutTimeout == 0) {
526 if (atoHosValue.shortcutOnLockScreen != INVALID_SHORTCUT_ON_LOCK_SCREEN_STATE) {
527 accountData->GetConfig()->SetShortKeyOnLockScreenState(atoHosValue.shortcutOnLockScreen == 1);
529 accountData->GetConfig()->SetShortKeyOnLockScreenState(atoHosValue.shortcutEnabledOnLockScreen == 1);
531 if (atoHosValue.screenMagnificationState) {
532 accountData->GetConfig()->SetScreenMagnificationState(atoHosValue.screenMagnificationState);
541 ConfigValueAtoHosUpdate atoHosValue;
542 accountData->GetConfigValueAtoHos(atoHosValue);
550 atoHosValue.daltonizationState, atoHosValue.invertColor, atoHosValue.audioMono, atoHosValue.audioBalance,
551 atoHosValue.highContrastText, atoHosValue.isScreenReaderEnabled, atoHosValue.ignoreRepeatClickState,
552 atoHosValue.clickResponseTime, atoHosValue.ignoreRepeatClickTime, atoHosValue.displayDaltonizer,
553 atoHosValue.shortcutEnabled, atoHosValue.shortcutEnabledOnLockScreen, atoHosValue.shortcutTimeout,
554 atoHosValue.screenMagnificationState);
556 UpdateSettingsInAtoHosStatePart(atoHosValue);
558 if (atoHosValue.audioBalance != 0.0) {
559 accountData->GetConfig()->SetAudioBalance(atoHosValue.audioBalance);
562 if (atoHosValue.clickResponseTime != 0) {
563 accountData->GetConfig()->SetClickResponseTime(static_cast<uint32_t>(atoHosValue.clickResponseTime));
566 if (atoHosValue.ignoreRepeatClickTime != 0) {
567 accountData->GetConfig()->SetIgnoreRepeatClickTime(static_cast<uint32_t>(atoHosValue.ignoreRepeatClickTime));
570 if (atoHosValue.displayDaltonizer != 0) {
571 accountData->GetConfig()->SetDaltonizationColorFilter(static_cast<uint32_t>(atoHosValue.displayDaltonizer));
575 if (atoHosValue.isScreenReaderEnabled) {
580 accountData->GetConfig()->CloneShortkeyService(atoHosValue.isScreenReaderEnabled);