Skip to content

Commit

Permalink
Edit spacing of license note and remove unneeded files
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtavis committed Dec 31, 2024
1 parent c2a7c22 commit f163ef8
Show file tree
Hide file tree
Showing 75 changed files with 289 additions and 259 deletions.
24 changes: 0 additions & 24 deletions add_license.sh

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* This file contains the implementation for MainFragmentTest.
* Testing for MainFragment.
*
* Copyright (C) 2024 Scribe
*
Expand All @@ -10,12 +10,13 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

import android.content.Context
import android.content.SharedPreferences
import androidx.appcompat.app.AppCompatDelegate
Expand Down
5 changes: 3 additions & 2 deletions app/src/main/java/be/scri/App.kt
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package be.scri

import android.app.Application
Expand Down
7 changes: 4 additions & 3 deletions app/src/main/java/be/scri/activities/MainActivity.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Implements the main activity with a custom action bar, ViewPager navigation, and dynamic UI adjustments based on user interactions.
* Implements the main activity with a custom action bar, ViewPager navigation, and dynamic UI adjustments.
*
* Copyright (C) 2024 Scribe
*
Expand All @@ -10,12 +10,13 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package be.scri.activities

import android.content.Context
Expand Down
7 changes: 4 additions & 3 deletions app/src/main/java/be/scri/adapters/ViewPagerAdapter.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Provides a ViewPager2 adapter for managing fragments in the main activity, including Main, Settings, and About fragments.
* An adapter for managing fragments in the main activity including Main (Installation), Settings, and About fragments.
*
* Copyright (C) 2024 Scribe
*
Expand All @@ -10,12 +10,13 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package be.scri.adapters

import androidx.fragment.app.Fragment
Expand Down
7 changes: 4 additions & 3 deletions app/src/main/java/be/scri/extensions/CommonsContext.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Defines extension functions and properties for accessing shared preferences and BaseConfig in a Context.
* Functions and properties for accessing shared preferences and BaseConfig.
*
* Copyright (C) 2024 Scribe
*
Expand All @@ -10,12 +10,13 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package be.scri.extensions

import android.content.Context
Expand Down
7 changes: 4 additions & 3 deletions app/src/main/java/be/scri/extensions/Context.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Provides extension properties and functions for retrieving configuration settings and calculating stroke color based on theme and background preferences.
* Functions for retrieving configuration settings and calculating color based on theme and background preferences.
*
* Copyright (C) 2024 Scribe
*
Expand All @@ -10,12 +10,13 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package be.scri.extensions

import android.content.Context
Expand Down
7 changes: 4 additions & 3 deletions app/src/main/java/be/scri/extensions/ContextStyling.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Provides extension functions for determining and retrieving proper text, key, background, and primary colors based on user configuration and system theme settings.
* Functions for determining and retrieving proper text and colors based on user settings.
*
* Copyright (C) 2024 Scribe
*
Expand All @@ -10,12 +10,13 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package be.scri.extensions

import android.content.Context
Expand Down
5 changes: 3 additions & 2 deletions app/src/main/java/be/scri/extensions/Drawable.kt
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package be.scri.extensions

import android.graphics.PorterDuff
Expand Down
7 changes: 4 additions & 3 deletions app/src/main/java/be/scri/extensions/Int.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Provides extension functions for manipulating colors, including contrast adjustment, alpha adjustment, random value generation within a range, and darkening/lightening of colors.
* Functions for manipulating colors used within the application.
*
* Copyright (C) 2024 Scribe
*
Expand All @@ -10,12 +10,13 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package be.scri.extensions

import android.graphics.Color
Expand Down
5 changes: 3 additions & 2 deletions app/src/main/java/be/scri/extensions/RecyclerView.kt
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package be.scri.extensions

import CustomDividerItemDecoration
Expand Down
7 changes: 4 additions & 3 deletions app/src/main/java/be/scri/extensions/View.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* This file contains utility functions for managing visibility and haptic feedback in Android views.
* Utility functions for managing visibility and haptic feedback in Android views.
*
* Copyright (C) 2024 Scribe
*
Expand All @@ -10,12 +10,13 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package be.scri.extensions

import android.view.HapticFeedbackConstants
Expand Down
7 changes: 4 additions & 3 deletions app/src/main/java/be/scri/fragments/AboutFragment.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* This file implements the AboutFragment, providing functionality for the About screen in the app, including theme settings, user interactions, and fragment navigation.
* Handles displaying the about page and related app content.
*
* Copyright (C) 2024 Scribe
*
Expand All @@ -10,12 +10,13 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package be.scri.fragments

import android.os.Bundle
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* This file implements the LanguageSettingsFragment, allowing users to change language preferences and navigate within the app's settings.
* Handles displaying the language settings for app language preferences.
*
* Copyright (C) 2024 Scribe
*
Expand All @@ -10,12 +10,13 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package be.scri.fragments

import android.os.Bundle
Expand Down
7 changes: 4 additions & 3 deletions app/src/main/java/be/scri/fragments/MainFragment.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* This file implements the MainFragment, displaying the installation screen and handling dark mode preferences.
* Handles displaying the installation screen and related app content.
*
* Copyright (C) 2024 Scribe
*
Expand All @@ -10,12 +10,13 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package be.scri.fragments

import android.content.Context
Expand Down
7 changes: 4 additions & 3 deletions app/src/main/java/be/scri/fragments/PrivacyPolicyFragment.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* This file implements the PrivacyPolicyFragment, displaying the privacy policy screen and managing navigation within the app's legal sections.
* Handles displaying information about the privacy policy.
*
* Copyright (C) 2024 Scribe
*
Expand All @@ -10,12 +10,13 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package be.scri.fragments

import android.os.Bundle
Expand Down
7 changes: 4 additions & 3 deletions app/src/main/java/be/scri/fragments/ScribeFragment.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* This file implements the ScribeFragment, a base fragment class that includes functionality for hiding hints and loading other fragments with back-stack support.
* Handles displaying information like app hints and other fragments.
*
* Copyright (C) 2024 Scribe
*
Expand All @@ -10,12 +10,13 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package be.scri.fragments

import android.util.Log
Expand Down
7 changes: 4 additions & 3 deletions app/src/main/java/be/scri/fragments/SettingsFragment.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Manages user preferences like dark mode, language selection, and keyboard settings.
* Handles displaying user settings for the application and language keyboards.
*
* Copyright (C) 2024 Scribe
*
Expand All @@ -10,12 +10,13 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package be.scri.fragments

import SettingsScreen
Expand Down
Loading

0 comments on commit f163ef8

Please sign in to comment.