Files
clinx02-androidpebble/app/src/main/res/xml/seizure_detector_prefs.xml

233 lines
10 KiB
XML

<?xml version="1.0" encoding="utf-8"?><!-- The ListPreference data is defined in pebble_datasource_values.xml -->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory android:title="@string/AlgorithmSelectionTitle">
<CheckBoxPreference
android:defaultValue="true"
android:key="OsdAlarmActive"
android:summary="@string/OsdAlarmEnabledSummary"
android:title="@string/OsdAlarmEnabledTitle" />
<CheckBoxPreference
android:defaultValue="false"
android:key="CnnAlarmActive"
android:summary="@string/CnnAlarmEnabledSummary"
android:title="@string/CnnAlarmEnabledTitle" />
<CheckBoxPreference
android:defaultValue="false"
android:key="HRAlarmActive"
android:summary="@string/HRAlarmEnabledSummary"
android:title="@string/HRAlarmEnabledTitle" />
<CheckBoxPreference
android:defaultValue="false"
android:key="HRAdaptiveAlarmActive"
android:summary="@string/HRAlarmEnabledSummary"
android:title="@string/HRAdaptiveAlarmEnabledTitle" />
<CheckBoxPreference
android:defaultValue="false"
android:key="HRAverageAlarmActive"
android:summary="@string/HRAverageAlarmEnabledSummary"
android:title="@string/HRAverageAlarmEnabledTitle" />
<CheckBoxPreference
android:defaultValue="false"
android:key="O2SatAlarmActive"
android:summary="@string/O2Sat_enabled_summary"
android:title="@string/O2Sat_enabled_title" />
<CheckBoxPreference
android:defaultValue="false"
android:key="FallActive"
android:summary=""
android:title="@string/fall_detect_active_title" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/SeizureDetectorSettingsTitle">
<CheckBoxPreference
android:defaultValue="true"
android:key="OsdAlarmActive"
android:summary="@string/OsdAlarmEnabledSummary"
android:title="@string/OsdAlarmEnabledTitle" />
<EditTextPreference
android:defaultValue="5"
android:key="WarnTime"
android:summary="@string/WarnTimeSummary"
android:title="@string/WarnTimeTitle" />
<EditTextPreference
android:defaultValue="10"
android:key="AlarmTime"
android:summary="@string/AlarmTimeSummary"
android:title="@string/AlarmTimeTitle" />
<EditTextPreference
android:defaultValue="100"
android:key="AlarmThresh"
android:summary="@string/AlarmThreshSummary"
android:title="@string/AlarmThreshTitle" />
<EditTextPreference
android:defaultValue="57"
android:key="AlarmRatioThresh"
android:summary="@string/AlarmRatioThreshSummary"
android:title="@string/AlarmRatioThreshTitle" />
<EditTextPreference
android:defaultValue="3"
android:key="AlarmFreqMin"
android:summary="@string/AlarmFreqMinSummary"
android:title="@string/AlarmFreqMinTitle" />
<EditTextPreference
android:defaultValue="8"
android:key="AlarmFreqMax"
android:summary="@string/AlarmFreqMaxSummary"
android:title="@string/AlarmFreqMaxTitle" />
<EditTextPreference
android:defaultValue="5"
android:enabled="false"
android:key="SamplePeriod"
android:summary="@string/sample_period_summary"
android:title="@string/sample_period_title" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/ml_sd_settings_title">
<CheckBoxPreference
android:defaultValue="false"
android:key="CnnAlarmActive"
android:summary="@string/CnnAlarmEnabledSummary"
android:title="@string/CnnAlarmEnabledTitle" />
<EditTextPreference
android:defaultValue="5"
android:key="CnnAlarmThreshold"
android:summary="@string/ml_sd_threshold_summary"
android:title="@string/ml_sd_threshold_title" />
<EditTextPreference
android:defaultValue="1"
android:key="CnnModelId"
android:enabled="false"
android:summary="@string/ml_sd_modelid_summary"
android:title="@string/ml_sd_modelid_title" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/HeartRateAlarmSettingsTitle">
<CheckBoxPreference
android:defaultValue="false"
android:key="HRAlarmActive"
android:summary="@string/HRAlarmEnabledSummary"
android:title="@string/HRAlarmEnabledTitle" />
<CheckBoxPreference
android:defaultValue="true"
android:key="HrFrozenAlarm"
android:summary="@string/HrFrozenSummary"
android:title="@string/HrFrozenTitle" />
<CheckBoxPreference
android:defaultValue="false"
android:key="HRNullAsAlarm"
android:summary="@string/HRNullAlarmSummary"
android:title="@string/HRNullAlarmTitle" />
<EditTextPreference
android:defaultValue="40"
android:key="HRThreshMin"
android:summary="@string/HRThreshMinSummary"
android:title="@string/HRThreshMinTitle" />
<EditTextPreference
android:defaultValue="150"
android:key="HRThreshMax"
android:summary="@string/HRThreshMaxSummary"
android:title="@string/HRThreshMaxTitle" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/HeartRateAdaptiveAlarmSettingsTitle">
<CheckBoxPreference
android:defaultValue="false"
android:key="HRAdaptiveAlarmActive"
android:summary="@string/HRAlarmEnabledSummary"
android:title="@string/HRAdaptiveAlarmEnabledTitle" />
<EditTextPreference
android:defaultValue="30"
android:key="HRAdaptiveAlarmWindowSecs"
android:summary="@string/HRAdaptiveAlarmWindowSummary"
android:title="@string/HRAdaptiveAlarmWindowTitle" />
<EditTextPreference
android:defaultValue="20"
android:key="HRAdaptiveAlarmThresh"
android:summary="@string/HRAdaptiveThreshSummary"
android:title="@string/HRAdaptiveThreshTitle" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/HeartRateAverageAlarmSettingsTitle">
<CheckBoxPreference
android:defaultValue="false"
android:key="HRAverageAlarmActive"
android:summary="@string/HRAverageAlarmEnabledSummary"
android:title="@string/HRAverageAlarmEnabledTitle" />
<EditTextPreference
android:defaultValue="40"
android:key="HRAverageAlarmThreshMin"
android:summary="@string/HRAverageThreshMinSummary"
android:title="@string/HRAverageThreshMinTitle" />
<EditTextPreference
android:defaultValue="120"
android:key="HRAverageAlarmThreshMax"
android:summary="@string/HRAverageThreshMaxSummary"
android:title="@string/HRAverageThreshMaxTitle" />
<EditTextPreference
android:defaultValue="120"
android:key="HRAverageAlarmWindowSecs"
android:summary="@string/HRAverageAlarmWindowSummary"
android:title="@string/HRAverageAlarmWindowTitle" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/O2SatSettingsTitle">
<CheckBoxPreference
android:defaultValue="false"
android:key="O2SatAlarmActive"
android:summary="@string/O2Sat_enabled_summary"
android:title="@string/O2Sat_enabled_title" />
<CheckBoxPreference
android:defaultValue="false"
android:key="O2SatNullAsAlarm"
android:summary="@string/O2SatNullAlarmSummary"
android:title="@string/O2SatNullAlarmTitle" />
<EditTextPreference
android:defaultValue="80"
android:key="O2SatThreshMin"
android:summary="@string/O2SatThreshMinSummary"
android:title="@string/O2SatThreshMinTitle" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/fall_detect_title">
<CheckBoxPreference
android:defaultValue="false"
android:key="FallActive"
android:summary=""
android:title="@string/fall_detect_active_title" />
<EditTextPreference
android:defaultValue="1500"
android:key="FallThreshMin"
android:summary=""
android:title="@string/fall_thresh_min_title" />
<EditTextPreference
android:defaultValue="3500"
android:key="FallThreshMax"
android:summary=""
android:title="@string/fall_thresh_max_title" />
<EditTextPreference
android:defaultValue="1500"
android:key="FallWindow"
android:summary=""
android:title="@string/fall_window_title" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/FidgetSettingsTitle">
<CheckBoxPreference
android:defaultValue="false"
android:key="FidgetDetectorEnabled"
android:summary="@string/FidgetDetectorEnabledSummary"
android:title="@string/FidgetDetectorEnabledTitle" />
<EditTextPreference
android:defaultValue="0.6"
android:key="FidgetDetectorThreshold"
android:summary="@string/FidgetDetectorThresholdSummary"
android:title="@string/FidgetDetectorThresholdTitle" />
<EditTextPreference
android:defaultValue="20"
android:key="FidgetDetectorPeriod"
android:summary="@string/FidgetDetectorPeriodSummary"
android:title="@string/FidgetDetectorPeriodTitle" />
</PreferenceCategory>
</PreferenceScreen>