Lines Matching refs:enabled
405 const bool enabled = performance_tracing_enabled_.GetValue();
406 if (enabled)
413 const bool enabled = tap_to_click_enabled_.GetValue();
414 system::touchpad_settings::SetTapToClick(enabled);
416 UMA_HISTOGRAM_BOOLEAN("Touchpad.TapToClick.Changed", enabled);
418 UMA_HISTOGRAM_BOOLEAN("Touchpad.TapToClick.Started", enabled);
423 if (prefs->GetBoolean(prefs::kOwnerTapToClickEnabled) != enabled)
424 prefs->SetBoolean(prefs::kOwnerTapToClickEnabled, enabled);
429 const bool enabled = tap_dragging_enabled_.GetValue();
430 system::touchpad_settings::SetTapDragging(enabled);
432 UMA_HISTOGRAM_BOOLEAN("Touchpad.TapDragging.Changed", enabled);
434 UMA_HISTOGRAM_BOOLEAN("Touchpad.TapDragging.Started", enabled);
438 const bool enabled = three_finger_click_enabled_.GetValue();
439 system::touchpad_settings::SetThreeFingerClick(enabled);
441 UMA_HISTOGRAM_BOOLEAN("Touchpad.ThreeFingerClick.Changed", enabled);
443 UMA_HISTOGRAM_BOOLEAN("Touchpad.ThreeFingerClick.Started", enabled);
451 const bool enabled = natural_scroll_.GetValue();
452 DVLOG(1) << "Natural scroll set to " << enabled;
453 ui::SetNaturalScroll(enabled);
455 UMA_HISTOGRAM_BOOLEAN("Touchpad.NaturalScroll.Changed", enabled);
457 UMA_HISTOGRAM_BOOLEAN("Touchpad.NaturalScroll.Started", enabled);
517 const bool enabled = touch_hud_projection_enabled_.GetValue();
518 ash::Shell::GetInstance()->SetTouchHudProjectionEnabled(enabled);
527 const bool enabled = xkb_auto_repeat_enabled_.GetValue();
528 input_method::XKeyboard::SetAutoRepeatEnabled(enabled);
625 void Preferences::OnTouchHudProjectionToggled(bool enabled) {
626 if (touch_hud_projection_enabled_.GetValue() == enabled)
629 touch_hud_projection_enabled_.SetValue(enabled);