<commit_before><?xml version="1.0" encoding="utf-8"?>
<androidx.preference.PreferenceScreen
    xmlns:app="http://schemas.android.com/apk/res-auto" >

    <PreferenceCategory
        app:summary="@string/event_preferences_category_eventIdentification"
        app:title="@string/event_preferences_category_eventIdentification"
        app:layout="@layout/mp_preference_category" >
        <SwitchPreferenceCompat
            app:key="eventEnabled"
            app:title="@string/event_preferences_eventEnabled"
            app:defaultValue="false"
            app:widgetLayout="@layout/mp_preference_switch"
            app:layout="@layout/mp_preference_material_widget" />
        <EditTextPreference
            app:key="eventName"
            app:summary="@string/event_preferences_eventName"
            app:title="@string/event_preferences_eventName"
            app:selectAllOnFocus="true"
            app:layout="@layout/mp_preference_material_widget" />
        <Preference
            app:key="eventUsePriorityAppSettings"
            app:title="@string/phone_profiles_pref_eventUsePriorityAppSettings"
            app:summary="@string/phone_profiles_pref_eventUsePriorityAppSettings_summary"
            app:widgetLayout="@layout/start_activity_preference"
            app:layout="@layout/mp_preference_material_widget" />
        <ListPreference
            app:title="@string/event_preferences_priority"
            app:summary="@string/array_event_pref_priorityMedium"
            app:key="eventPriority"
            app:defaultValue="0"
            app:entries="@array/eventPriorityArray"
            app:entryValues="@array/eventPriorityValues"
            app:layout="@layout/mp_preference_material_widget" />
    </PreferenceCategory>
    <PreferenceCategory
        app:title="@string/event_preferences_category_startOfEvent"
        app:key="eventStartCategory"
        app:layout="@layout/mp_preference_category" >
        <sk.henrichg.phoneprofilesplus.ProfilePreferenceX
            app:defaultValue="0"
            app:key="eventProfileStart"
            app:title="@string/event_preferences_eventProfileStart"
            app:addNoActivateItem="0"
            app:layout="@layout/mp_preference_material_widget" />
        <SwitchPreferenceCompat
            app:key="eventForceRun"
            app:title="@string/event_preferences_ForceRun"
            app:defaultValue="false"
            app:summary="@string/event_preferences_ForceRun_summary"
            app:widgetLayout="@layout/mp_preference_switch"
            app:layout="@layout/mp_preference_material_widget" />
        <SwitchPreferenceCompat
            app:key="eventNoPauseByManualActivation"
            app:title="@string/event_preferences_noPauseByManualActivation"
            app:defaultValue="false"
            app:summary="@string/event_preferences_noPauseByManualActivation_summary"
            app:dependency="eventForceRun"
            app:widgetLayout="@layout/mp_preference_switch"
            app:layout="@layout/mp_preference_material_widget" />

        <Preference
            app:title="@string/event_preferences_category_startOfEventOthers"
            app:key="eventStartOthersCategoryRoot"
            app:widgetLayout="@layout/start_activity_preference"
            app:layout="@layout/mp_preference_material_widget"
            app:fragment="sk.henrichg.phoneprofilesplus.EventsPrefsActivity$EventsPrefsStartOfEventsOthers" />
        
    </PreferenceCategory>

    <PreferenceCategory
        app:title="@string/event_preferences_category_endOfEvent"
        app:key="eventEndCategory"
        app:dependency="manualProfileActivation"
        app:layout="@layout/mp_preference_category">
        <ProfilePreferenceX
            app:defaultValue="-999"
            app:key="eventProfileEnd"
            app:title="@string/event_preferences_eventProfileEnd"
            app:addNoActivateItem="1"
            app:layout="@layout/mp_preference_material_widget" />
        <ListPreference
            app:title="@string/event_preferences_atEndDo"
            app:summary="@string/array_pref_atEndDo_restartEvents"
            app:key="eventAtEndDo"
            app:defaultValue="2"
            app:entries="@array/eventAtEndDoArray"
            app:entryValues="@array/eventAtEndDoValues"
            app:layout="@layout/mp_preference_material_widget" />

        <Preference
            app:title="@string/event_preferences_category_startOfEventOthers"
            app:key="eventEndOthersCategoryRoot"
            app:widgetLayout="@layout/start_activity_preference"
            app:layout="@layout/mp_preference_material_widget"
            app:fragment="sk.henrichg.phoneprofilesplus.EventsPrefsActivity$EventsPrefsEndOfEventsOthers" />
        
    </PreferenceCategory>

    <PreferenceCategory
        app:title="@string/event_preferences_category_sensors"
        app:key="eventEventsCategory"
        app:layout="@layout/mp_preference_category" >
        <sk.henrichg.phoneprofilesplus.InfoDialogPreferenceC
            app:key="eventSensorsInfo"
            app:title="@string/event_preferences_sensorsInfo_title"
            app:summary="@string/info_preference_click_here"
            app:infoText="@string/event_preferences_sensorsInfo_summary"
            app:widgetLayout="@layout/info_preference_clickable"
            app:layout="@layout/mp_preference_material_widget" />

        <Preference
            app:title="@string/event_preferences_category_eventTimeParameters"
            app:summary="@string/event_preference_sensor_time_summary"
            app:key="eventTimeCategoryRoot"
            app:widgetLayout="@layout/start_activity_preference"
            app:layout="@layout/mp_preference_material_widget"
            app:fragment="sk.henrichg.phoneprofilesplus.EventsPrefsActivity$EventsPrefsTimeParameters" />

        <Preference
            app:title="@string/event_preferences_category_eventCalendarParameters"<commit_msg>Change preferences to AndroidX. (64)<commit_after><?xml version="1.0" encoding="utf-8"?>
<androidx.preference.PreferenceScreen
    xmlns:app="http://schemas.android.com/apk/res-auto" >

    <PreferenceCategory
        app:summary="@string/event_preferences_category_eventIdentification"
        app:title="@string/event_preferences_category_eventIdentification"
        app:layout="@layout/mp_preference_category" >
        <SwitchPreferenceCompat
            app:key="eventEnabled"
            app:title="@string/event_preferences_eventEnabled"
            app:defaultValue="false"
            app:widgetLayout="@layout/mp_preference_switch"
            app:layout="@layout/mp_preference_material_widget" />
        <EditTextPreference
            app:key="eventName"
            app:summary="@string/event_preferences_eventName"
            app:title="@string/event_preferences_eventName"
            app:selectAllOnFocus="true"
            app:layout="@layout/mp_preference_material_widget" />
        <Preference
            app:key="eventUsePriorityAppSettings"
            app:title="@string/phone_profiles_pref_eventUsePriorityAppSettings"
            app:summary="@string/phone_profiles_pref_eventUsePriorityAppSettings_summary"
            app:widgetLayout="@layout/start_activity_preference"
            app:layout="@layout/mp_preference_material_widget" />
        <ListPreference
            app:title="@string/event_preferences_priority"
            app:summary="@string/array_event_pref_priorityMedium"
            app:key="eventPriority"
            app:defaultValue="0"
            app:entries="@array/eventPriorityArray"
            app:entryValues="@array/eventPriorityValues"
            app:layout="@layout/mp_preference_material_widget" />
    </PreferenceCategory>
    <PreferenceCategory
        app:title="@string/event_preferences_category_startOfEvent"
        app:key="eventStartCategory"
        app:layout="@layout/mp_preference_category" >
        <sk.henrichg.phoneprofilesplus.ProfilePreferenceX
            app:defaultValue="0"
            app:key="eventProfileStart"
            app:title="@string/event_preferences_eventProfileStart"
            app:addNoActivateItem="0"
            app:layout="@layout/mp_preference_material_widget" />
        <SwitchPreferenceCompat
            app:key="eventForceRun"
            app:title="@string/event_preferences_ForceRun"
            app:defaultValue="false"
            app:summary="@string/event_preferences_ForceRun_summary"
            app:widgetLayout="@layout/mp_preference_switch"
            app:layout="@layout/mp_preference_material_widget" />
        <SwitchPreferenceCompat
            app:key="eventNoPauseByManualActivation"
            app:title="@string/event_preferences_noPauseByManualActivation"
            app:defaultValue="false"
            app:summary="@string/event_preferences_noPauseByManualActivation_summary"
            app:dependency="eventForceRun"
            app:widgetLayout="@layout/mp_preference_switch"
            app:layout="@layout/mp_preference_material_widget" />

        <Preference
            app:title="@string/event_preferences_category_startOfEventOthers"
            app:key="eventStartOthersCategoryRoot"
            app:widgetLayout="@layout/start_activity_preference"
            app:layout="@layout/mp_preference_material_widget"
            app:fragment="sk.henrichg.phoneprofilesplus.EventsPrefsActivity$EventsPrefsStartOfEventsOthers" />
        
    </PreferenceCategory>

    <PreferenceCategory
        app:title="@string/event_preferences_category_endOfEvent"
        app:key="eventEndCategory"
        app:dependency="manualProfileActivation"
        app:layout="@layout/mp_preference_category">
        <ProfilePreferenceX
            app:defaultValue="-999"
            app:key="eventProfileEnd"
            app:title="@string/event_preferences_eventProfileEnd"
            app:addNoActivateItem="1"
            app:layout="@layout/mp_preference_material_widget" />
        <ListPreference
            app:title="@string/event_preferences_atEndDo"
            app:summary="@string/array_pref_atEndDo_restartEvents"
            app:key="eventAtEndDo"
            app:defaultValue="2"
            app:entries="@array/eventAtEndDoArray"
            app:entryValues="@array/eventAtEndDoValues"
            app:layout="@layout/mp_preference_material_widget" />

        <Preference
            app:title="@string/event_preferences_category_startOfEventOthers"
            app:key="eventEndOthersCategoryRoot"
            app:widgetLayout="@layout/start_activity_preference"
            app:layout="@layout/mp_preference_material_widget"
            app:fragment="sk.henrichg.phoneprofilesplus.EventsPrefsActivity$EventsPrefsEndOfEventsOthers" />
        
    </PreferenceCategory>

    <PreferenceCategory
        app:title="@string/event_preferences_category_sensors"
        app:key="eventEventsCategory"
        app:layout="@layout/mp_preference_category" >
        <sk.henrichg.phoneprofilesplus.InfoDialogPreferenceX
            app:key="eventSensorsInfo"
            app:title="@string/event_preferences_sensorsInfo_title"
            app:summary="@string/info_preference_click_here"
            app:infoText="@string/event_preferences_sensorsInfo_summary"
            app:widgetLayout="@layout/info_preference_clickable"
            app:layout="@layout/mp_preference_material_widget" />

        <Preference
            app:title="@string/event_preferences_category_eventTimeParameters"
            app:summary="@string/event_preference_sensor_time_summary"
            app:key="eventTimeCategoryRoot"
            app:widgetLayout="@layout/start_activity_preference"
            app:layout="@layout/mp_preference_material_widget"
            app:fragment="sk.henrichg.phoneprofilesplus.EventsPrefsActivity$EventsPrefsTimeParameters" />

        <Preference
            app:title="@string/event_preferences_category_eventCalendarParameters"
{'fraction_non_alphanumeric': 0.09619087484303056, 'fraction_numerical': 0.00200920887400586, 'mean_word_length': 3.248221906116643, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 2, '>': 47, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2271708', 'n_tokens_mistral': 3354, 'n_tokens_neox': 3189, 'n_words': 231}