From 56906775e97b095de6ea9e94e1047f259b558103 Mon Sep 17 00:00:00 2001 From: Helium314 Date: Tue, 17 Oct 2023 13:44:01 +0200 Subject: [PATCH] update license headers in java / kotlin code switch to SPDX keep original copyright notice add "modified" to AOSP files to clarify file was modified as required by Apache-2.0 license clarify license is GPL-3.0-only for files added after initial OpenBoard commit (except for java -> kotlin conversions) license for modified AOSP files is Apache-2.0 AND GPL-3.0-only (for modifications) --- LICENSE-Apache-2.0 | 202 ++++++++++++++++++ LICENSE => LICENSE-GPL-3 | 0 .../inputmethod/keyboard/ProximityInfo.java | 14 +- .../inputmethod/latin/BinaryDictionary.java | 14 +- .../inputmethod/latin/DicTraverseSession.java | 16 +- .../latin/utils/BinaryDictionaryUtils.java | 14 +- .../WordInputEventForPersonalization.java | 14 +- .../AccessibilityLongPressTimer.kt | 6 + .../accessibility/AccessibilityUtils.kt | 6 + .../accessibility/KeyCodeDescriptionMapper.kt | 6 + .../KeyboardAccessibilityDelegate.kt | 6 + .../KeyboardAccessibilityNodeProvider.kt | 6 + .../MainKeyboardAccessibilityDelegate.kt | 6 + .../MoreKeysKeyboardAccessibilityDelegate.kt | 6 + .../annotations/ExternallyReferenced.kt | 6 + .../inputmethod/annotations/UsedForTesting.kt | 6 + .../inputmethod/compat/AppWorkaroundsUtils.kt | 6 + .../compat/ClipboardManagerCompat.java | 2 + .../inputmethod/compat/CompatUtils.kt | 6 + .../compat/CursorAnchorInfoCompatWrapper.kt | 6 + .../compat/EditorInfoCompatUtils.kt | 6 + .../compat/InputMethodSubtypeCompatUtils.kt | 6 + .../compat/LocaleListCompatUtils.kt | 6 + .../inputmethod/compat/SuggestionSpanUtils.kt | 6 + .../inputmethod/compat/TabHostCompat.java | 6 + .../inputmethod/compat/TextInfoCompatUtils.kt | 6 + .../compat/ViewOutlineProviderCompatUtils.kt | 6 + .../ViewOutlineProviderCompatUtilsLXX.kt | 6 + .../dictionarypack/DictionaryPackConstants.kt | 6 + .../dictionarypack/MD5Calculator.kt | 6 + .../openboard/inputmethod/event/Combiner.kt | 6 + .../inputmethod/event/CombinerChain.kt | 6 + .../inputmethod/event/DeadKeyCombiner.kt | 6 + .../openboard/inputmethod/event/Event.kt | 6 + .../inputmethod/event/EventDecoder.kt | 15 +- .../inputmethod/event/HangulCombiner.kt | 2 + .../inputmethod/event/HangulEventDecoder.kt | 2 + .../inputmethod/event/HardwareEventDecoder.kt | 15 +- .../event/HardwareKeyboardEventDecoder.kt | 15 +- .../inputmethod/event/InputTransaction.kt | 14 +- .../openboard/inputmethod/keyboard/Key.java | 14 +- .../inputmethod/keyboard/KeyDetector.java | 14 +- .../inputmethod/keyboard/Keyboard.java | 14 +- .../keyboard/KeyboardActionListener.java | 14 +- .../inputmethod/keyboard/KeyboardId.java | 14 +- .../inputmethod/keyboard/KeyboardLayout.java | 14 +- .../keyboard/KeyboardLayoutSet.java | 14 +- .../keyboard/KeyboardSwitcher.java | 14 +- .../inputmethod/keyboard/KeyboardTheme.java | 14 +- .../inputmethod/keyboard/KeyboardView.java | 14 +- .../keyboard/MainKeyboardView.java | 14 +- .../keyboard/MoreKeysDetector.java | 14 +- .../keyboard/MoreKeysKeyboard.java | 14 +- .../keyboard/MoreKeysKeyboardView.java | 14 +- .../inputmethod/keyboard/MoreKeysPanel.java | 14 +- .../inputmethod/keyboard/PointerTracker.java | 14 +- .../keyboard/clipboard/ClipboardAdapter.kt | 2 + .../clipboard/ClipboardHistoryRecyclerView.kt | 2 + .../clipboard/ClipboardHistoryView.kt | 2 + .../clipboard/ClipboardLayoutParams.kt | 2 + .../keyboard/clipboard/OnKeyEventListener.kt | 2 + .../keyboard/emoji/DynamicGridKeyboard.java | 14 +- .../keyboard/emoji/EmojiCategory.java | 14 +- .../emoji/EmojiCategoryPageIndicatorView.java | 14 +- .../keyboard/emoji/EmojiLayoutParams.java | 14 +- .../keyboard/emoji/EmojiPageKeyboardView.java | 14 +- .../keyboard/emoji/EmojiPalettesAdapter.java | 14 +- .../keyboard/emoji/EmojiPalettesView.java | 14 +- .../keyboard/emoji/OnKeyEventListener.java | 2 + .../internal/AbstractDrawingPreview.java | 14 +- .../keyboard/internal/AlphabetShiftState.java | 14 +- .../keyboard/internal/BatchInputArbiter.java | 14 +- .../internal/BogusMoveEventDetector.java | 14 +- .../keyboard/internal/CodesArrayParser.java | 14 +- .../internal/DrawingPreviewPlacerView.java | 14 +- .../keyboard/internal/DrawingProxy.java | 14 +- .../keyboard/internal/GestureEnabler.java | 14 +- .../GestureFloatingTextDrawingPreview.java | 14 +- .../internal/GestureStrokeDrawingParams.java | 14 +- .../internal/GestureStrokeDrawingPoints.java | 14 +- .../GestureStrokeRecognitionParams.java | 14 +- .../GestureStrokeRecognitionPoints.java | 14 +- .../internal/GestureTrailDrawingParams.java | 14 +- .../internal/GestureTrailDrawingPoints.java | 14 +- .../internal/GestureTrailsDrawingPreview.java | 14 +- .../internal/HermiteInterpolator.java | 14 +- .../keyboard/internal/KeyDrawParams.java | 14 +- .../internal/KeyPreviewChoreographer.java | 14 +- .../internal/KeyPreviewDrawParams.java | 14 +- .../keyboard/internal/KeyPreviewView.java | 14 +- .../keyboard/internal/KeySpecParser.java | 14 +- .../keyboard/internal/KeyStyle.java | 14 +- .../keyboard/internal/KeyStylesSet.java | 14 +- .../internal/KeyVisualAttributes.java | 14 +- .../keyboard/internal/KeyboardBuilder.java | 14 +- .../keyboard/internal/KeyboardCodesSet.java | 14 +- .../keyboard/internal/KeyboardIconsSet.java | 14 +- .../keyboard/internal/KeyboardParams.java | 14 +- .../keyboard/internal/KeyboardRow.java | 14 +- .../keyboard/internal/KeyboardState.java | 14 +- .../keyboard/internal/KeyboardTextsSet.java | 14 +- .../keyboard/internal/KeyboardTextsTable.java | 14 +- .../keyboard/internal/MatrixUtils.java | 14 +- .../keyboard/internal/ModifierKeyState.java | 14 +- .../internal/MoreCodesArrayParser.java | 14 +- .../keyboard/internal/MoreKeySpec.java | 14 +- .../internal/NonDistinctMultitouchHelper.java | 14 +- .../internal/PointerTrackerQueue.java | 14 +- .../keyboard/internal/RoundedLine.java | 14 +- .../keyboard/internal/ShiftKeyState.java | 14 +- .../SlidingKeyInputDrawingPreview.java | 14 +- .../keyboard/internal/SmoothingUtils.java | 14 +- .../keyboard/internal/TimerHandler.java | 14 +- .../keyboard/internal/TimerProxy.java | 14 +- .../internal/TouchPositionCorrection.java | 14 +- .../keyboard/internal/TypingTimeRecorder.java | 14 +- .../keyboard/internal/UniqueKeysCache.java | 14 +- .../dslul/openboard/inputmethod/latin/App.kt | 2 + .../inputmethod/latin/AssetFileAddress.java | 14 +- .../latin/AudioAndHapticFeedbackManager.java | 14 +- .../inputmethod/latin/BackupAgent.java | 14 +- .../latin/BinaryDictionaryGetter.java | 14 +- .../latin/ClipboardHistoryEntry.kt | 2 + .../latin/ClipboardHistoryManager.kt | 2 + .../latin/ContactsBinaryDictionary.java | 14 +- .../latin/ContactsContentObserver.java | 14 +- .../latin/ContactsDictionaryConstants.java | 14 +- .../latin/ContactsDictionaryUtils.java | 14 +- .../inputmethod/latin/ContactsManager.java | 14 +- .../inputmethod/latin/Dictionary.java | 14 +- .../latin/DictionaryCollection.java | 14 +- .../DictionaryDumpBroadcastReceiver.java | 14 +- .../latin/DictionaryFacilitator.java | 14 +- .../latin/DictionaryFacilitatorImpl.java | 16 +- .../latin/DictionaryFacilitatorLruCache.java | 14 +- .../latin/DictionaryFacilitatorProvider.java | 14 +- .../inputmethod/latin/DictionaryFactory.java | 14 +- ...ictionaryPackInstallBroadcastReceiver.java | 14 +- .../inputmethod/latin/DictionaryStats.java | 14 +- .../latin/EmojiAltPhysicalKeyDetector.java | 16 +- .../latin/ExpandableBinaryDictionary.java | 14 +- .../inputmethod/latin/InputAttributes.java | 14 +- .../inputmethod/latin/InputView.java | 14 +- .../inputmethod/latin/KeyboardWrapperView.kt | 2 + .../inputmethod/latin/KoreanDictionary.java | 2 + .../inputmethod/latin/LastComposedWord.java | 14 +- .../openboard/inputmethod/latin/LatinIME.java | 14 +- .../inputmethod/latin/NgramContext.java | 14 +- .../latin/PunctuationSuggestions.java | 14 +- .../latin/ReadOnlyBinaryDictionary.java | 14 +- .../latin/RichInputConnection.java | 14 +- .../latin/RichInputMethodManager.java | 14 +- .../latin/RichInputMethodSubtype.java | 14 +- .../openboard/inputmethod/latin/Suggest.java | 14 +- .../inputmethod/latin/SuggestedWords.java | 14 +- .../latin/SystemBroadcastReceiver.java | 14 +- .../latin/UserBinaryDictionary.java | 14 +- .../inputmethod/latin/WordComposer.java | 14 +- .../inputmethod/latin/WordListInfo.java | 14 +- .../latin/common/CodePointUtils.java | 14 +- .../latin/common/CollectionUtils.java | 14 +- .../inputmethod/latin/common/Colors.kt | 2 + .../latin/common/ComposedData.java | 14 +- .../inputmethod/latin/common/Constants.java | 14 +- .../latin/common/CoordinateUtils.java | 14 +- .../inputmethod/latin/common/FileUtils.java | 14 +- .../latin/common/InputPointers.java | 14 +- .../inputmethod/latin/common/LocaleUtils.java | 14 +- .../latin/common/NativeSuggestOptions.java | 14 +- .../latin/common/ResizableIntArray.java | 14 +- .../inputmethod/latin/common/StringUtils.java | 14 +- .../inputmethod/latin/common/StringUtils.kt | 2 + .../latin/common/UnicodeSurrogate.java | 14 +- .../inputmethod/latin/define/DebugFlags.kt | 6 + .../latin/define/DecoderSpecificConstants.kt | 6 + .../inputmethod/latin/define/JniLibName.kt | 6 + .../latin/define/ProductionFlags.kt | 6 + .../latin/inputlogic/InputLogic.java | 14 +- .../latin/inputlogic/InputLogicHandler.java | 14 +- .../inputlogic/PrivateCommandPerformer.java | 14 +- .../latin/inputlogic/SpaceState.java | 14 +- .../latin/makedict/DictionaryHeader.kt | 15 +- .../latin/makedict/FormatSpec.java | 14 +- .../latin/makedict/NgramProperty.java | 14 +- .../latin/makedict/ProbabilityInfo.java | 14 +- .../makedict/UnsupportedFormatException.java | 14 +- .../latin/makedict/WeightedString.java | 14 +- .../latin/makedict/WordProperty.java | 14 +- .../permissions/PermissionsActivity.java | 16 +- .../latin/permissions/PermissionsManager.java | 16 +- .../latin/permissions/PermissionsUtil.java | 14 +- .../PersonalizationHelper.java | 14 +- .../UserHistoryDictionary.java | 14 +- .../latin/settings/AboutFragment.java | 14 +- .../AdditionalFeaturesSettingUtils.java | 14 +- .../settings/AdvancedSettingsFragment.java | 14 +- .../settings/AppearanceSettingsFragment.kt | 2 + .../latin/settings/ColorsSettingsFragment.kt | 2 + .../settings/CorrectionSettingsFragment.java | 14 +- .../latin/settings/DebugSettings.java | 14 +- .../latin/settings/DebugSettingsFragment.java | 14 +- .../latin/settings/FragmentBindingUtils.kt | 2 + .../settings/GestureSettingsFragment.java | 14 +- .../latin/settings/LanguageFilterList.kt | 2 + .../latin/settings/LanguageSettingsDialog.kt | 2 + .../settings/LanguageSettingsFragment.kt | 2 + .../settings/LocalSettingsConstants.java | 14 +- .../settings/PreferencesSettingsFragment.java | 14 +- .../settings/SeekBarDialogPreference.java | 14 +- .../inputmethod/latin/settings/Settings.java | 14 +- .../latin/settings/SettingsActivity.java | 14 +- .../latin/settings/SettingsFragment.java | 14 +- .../latin/settings/SettingsValues.java | 14 +- .../settings/SettingsValuesForSuggestion.java | 14 +- .../settings/SpacingAndPunctuations.java | 14 +- .../latin/settings/SubScreenFragment.java | 14 +- .../latin/settings/SubtypeSettings.kt | 2 + .../latin/settings/TestFragmentActivity.java | 14 +- .../latin/setup/SetupActivity.java | 14 +- .../latin/setup/SetupStartIndicatorView.java | 14 +- .../latin/setup/SetupStepIndicatorView.java | 14 +- .../latin/setup/SetupWizardActivity.java | 14 +- .../AndroidSpellCheckerService.java | 14 +- .../AndroidSpellCheckerSession.java | 14 +- .../AndroidSpellCheckerSessionFactory.java | 14 +- .../AndroidWordLevelSpellCheckerSession.java | 14 +- .../spellcheck/SentenceLevelAdapter.java | 14 +- .../SpellCheckerSettingsActivity.java | 14 +- .../SpellCheckerSettingsFragment.java | 14 +- .../latin/suggestions/MoreSuggestions.java | 14 +- .../suggestions/MoreSuggestionsView.java | 14 +- .../SuggestionStripLayoutHelper.java | 14 +- .../suggestions/SuggestionStripView.java | 14 +- .../SuggestionStripViewAccessor.java | 14 +- .../touchinputconsumer/GestureConsumer.java | 14 +- .../UserDictionaryAddWordContents.java | 14 +- .../UserDictionaryAddWordFragment.java | 14 +- .../userdictionary/UserDictionaryList.java | 14 +- .../UserDictionaryLocalePicker.java | 14 +- .../UserDictionarySettings.java | 14 +- .../UserDictionarySettingsUtils.java | 14 +- .../latin/utils/AdditionalSubtypeUtils.java | 14 +- .../latin/utils/ApplicationUtils.java | 14 +- .../latin/utils/AsyncResultHolder.java | 14 +- .../latin/utils/AutoCorrectionUtils.java | 14 +- .../latin/utils/CapsModeUtils.java | 14 +- .../inputmethod/latin/utils/ColorUtil.kt | 2 + .../latin/utils/CombinedFormatUtils.java | 14 +- .../latin/utils/CompletionInfoUtils.java | 14 +- .../latin/utils/CursorAnchorInfoUtils.java | 14 +- .../latin/utils/DebugLogUtils.java | 14 +- .../latin/utils/DeviceProtectedUtils.java | 14 +- .../inputmethod/latin/utils/DialogUtils.java | 14 +- .../latin/utils/DictionaryHeaderUtils.java | 14 +- .../latin/utils/DictionaryInfoUtils.java | 14 +- .../latin/utils/DictionaryUtils.kt | 2 + .../latin/utils/ExecutorUtils.java | 14 +- .../latin/utils/FeedbackUtils.java | 14 +- .../latin/utils/FileTransforms.java | 14 +- .../latin/utils/FragmentUtils.java | 14 +- .../latin/utils/InputMethodPicker.kt | 2 + .../latin/utils/InputTypeUtils.java | 14 +- .../inputmethod/latin/utils/IntentUtils.java | 14 +- .../inputmethod/latin/utils/JniUtils.java | 14 +- .../inputmethod/latin/utils/JsonUtils.java | 14 +- .../latin/utils/LanguageOnSpacebarUtils.java | 14 +- .../latin/utils/LeakGuardHandlerWrapper.java | 14 +- .../latin/utils/ManagedProfileUtils.java | 14 +- .../latin/utils/NewDictionaryAdder.kt | 2 + .../latin/utils/NgramContextUtils.java | 14 +- .../latin/utils/RecapitalizeStatus.java | 14 +- .../latin/utils/ResourceUtils.java | 14 +- .../inputmethod/latin/utils/RunInLocale.java | 14 +- .../inputmethod/latin/utils/ScriptUtils.java | 14 +- .../latin/utils/SpannableStringUtils.java | 14 +- .../inputmethod/latin/utils/StatsUtils.java | 14 +- .../latin/utils/StatsUtilsManager.java | 14 +- .../latin/utils/SubtypeLocaleUtils.java | 14 +- .../latin/utils/SuggestionResults.java | 14 +- .../utils/TargetPackageInfoGetterTask.java | 14 +- .../inputmethod/latin/utils/TextRange.java | 14 +- .../latin/utils/TypefaceUtils.java | 14 +- .../UncachedInputMethodManagerUtils.java | 14 +- .../latin/utils/ViewLayoutUtils.java | 14 +- .../latin/utils/XmlParseUtils.java | 14 +- .../inputmethod/latin/InputLogicTest.kt | 2 + .../openboard/inputmethod/latin/Shadows.kt | 2 + .../inputmethod/latin/SuggestTest.kt | 2 + .../tools/ArrayInitializerFormatter.java | 14 +- .../inputmethod/keyboard/tools/JarUtils.java | 14 +- .../keyboard/tools/LocaleUtils.java | 14 +- .../keyboard/tools/MoreKeysResources.java | 14 +- .../keyboard/tools/StringResource.java | 14 +- .../keyboard/tools/StringResourceMap.java | 14 +- 294 files changed, 915 insertions(+), 2789 deletions(-) create mode 100644 LICENSE-Apache-2.0 rename LICENSE => LICENSE-GPL-3 (100%) diff --git a/LICENSE-Apache-2.0 b/LICENSE-Apache-2.0 new file mode 100644 index 00000000..d6456956 --- /dev/null +++ b/LICENSE-Apache-2.0 @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/LICENSE b/LICENSE-GPL-3 similarity index 100% rename from LICENSE rename to LICENSE-GPL-3 diff --git a/app/src/main/java/com/android/inputmethod/keyboard/ProximityInfo.java b/app/src/main/java/com/android/inputmethod/keyboard/ProximityInfo.java index ecd7ba36..70fb49c5 100644 --- a/app/src/main/java/com/android/inputmethod/keyboard/ProximityInfo.java +++ b/app/src/main/java/com/android/inputmethod/keyboard/ProximityInfo.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2011 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package com.android.inputmethod.keyboard; diff --git a/app/src/main/java/com/android/inputmethod/latin/BinaryDictionary.java b/app/src/main/java/com/android/inputmethod/latin/BinaryDictionary.java index 65bc3c7e..83503f95 100644 --- a/app/src/main/java/com/android/inputmethod/latin/BinaryDictionary.java +++ b/app/src/main/java/com/android/inputmethod/latin/BinaryDictionary.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2008 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package com.android.inputmethod.latin; diff --git a/app/src/main/java/com/android/inputmethod/latin/DicTraverseSession.java b/app/src/main/java/com/android/inputmethod/latin/DicTraverseSession.java index b3daaa79..404501f7 100644 --- a/app/src/main/java/com/android/inputmethod/latin/DicTraverseSession.java +++ b/app/src/main/java/com/android/inputmethod/latin/DicTraverseSession.java @@ -1,17 +1,7 @@ /* - * Copyright (C) 2012, The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Copyright (C) 2012 The Android Open Source Project + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package com.android.inputmethod.latin; diff --git a/app/src/main/java/com/android/inputmethod/latin/utils/BinaryDictionaryUtils.java b/app/src/main/java/com/android/inputmethod/latin/utils/BinaryDictionaryUtils.java index c0219360..e20a33c0 100644 --- a/app/src/main/java/com/android/inputmethod/latin/utils/BinaryDictionaryUtils.java +++ b/app/src/main/java/com/android/inputmethod/latin/utils/BinaryDictionaryUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package com.android.inputmethod.latin.utils; diff --git a/app/src/main/java/com/android/inputmethod/latin/utils/WordInputEventForPersonalization.java b/app/src/main/java/com/android/inputmethod/latin/utils/WordInputEventForPersonalization.java index 610bfd8c..c70b75a4 100644 --- a/app/src/main/java/com/android/inputmethod/latin/utils/WordInputEventForPersonalization.java +++ b/app/src/main/java/com/android/inputmethod/latin/utils/WordInputEventForPersonalization.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package com.android.inputmethod.latin.utils; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/accessibility/AccessibilityLongPressTimer.kt b/app/src/main/java/org/dslul/openboard/inputmethod/accessibility/AccessibilityLongPressTimer.kt index 77c546d6..6673fc80 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/accessibility/AccessibilityLongPressTimer.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/accessibility/AccessibilityLongPressTimer.kt @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2014 The Android Open Source Project + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only + */ + package org.dslul.openboard.inputmethod.accessibility import android.content.Context diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/accessibility/AccessibilityUtils.kt b/app/src/main/java/org/dslul/openboard/inputmethod/accessibility/AccessibilityUtils.kt index d9b77d9d..97b68b78 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/accessibility/AccessibilityUtils.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/accessibility/AccessibilityUtils.kt @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2011 The Android Open Source Project + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only + */ + package org.dslul.openboard.inputmethod.accessibility import android.content.Context diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/accessibility/KeyCodeDescriptionMapper.kt b/app/src/main/java/org/dslul/openboard/inputmethod/accessibility/KeyCodeDescriptionMapper.kt index 153051d4..715a36f8 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/accessibility/KeyCodeDescriptionMapper.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/accessibility/KeyCodeDescriptionMapper.kt @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2011 The Android Open Source Project + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only + */ + package org.dslul.openboard.inputmethod.accessibility import android.content.Context diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/accessibility/KeyboardAccessibilityDelegate.kt b/app/src/main/java/org/dslul/openboard/inputmethod/accessibility/KeyboardAccessibilityDelegate.kt index 8d564fb0..681d97ca 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/accessibility/KeyboardAccessibilityDelegate.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/accessibility/KeyboardAccessibilityDelegate.kt @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2011 The Android Open Source Project + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only + */ + package org.dslul.openboard.inputmethod.accessibility import android.os.SystemClock diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/accessibility/KeyboardAccessibilityNodeProvider.kt b/app/src/main/java/org/dslul/openboard/inputmethod/accessibility/KeyboardAccessibilityNodeProvider.kt index 1f155feb..a4d48215 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/accessibility/KeyboardAccessibilityNodeProvider.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/accessibility/KeyboardAccessibilityNodeProvider.kt @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2012 The Android Open Source Project + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only + */ + package org.dslul.openboard.inputmethod.accessibility import android.graphics.Rect diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/accessibility/MainKeyboardAccessibilityDelegate.kt b/app/src/main/java/org/dslul/openboard/inputmethod/accessibility/MainKeyboardAccessibilityDelegate.kt index 30da799b..90b2dd16 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/accessibility/MainKeyboardAccessibilityDelegate.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/accessibility/MainKeyboardAccessibilityDelegate.kt @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2014 The Android Open Source Project + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only + */ + package org.dslul.openboard.inputmethod.accessibility import android.graphics.Rect diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/accessibility/MoreKeysKeyboardAccessibilityDelegate.kt b/app/src/main/java/org/dslul/openboard/inputmethod/accessibility/MoreKeysKeyboardAccessibilityDelegate.kt index b452b346..be3d2346 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/accessibility/MoreKeysKeyboardAccessibilityDelegate.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/accessibility/MoreKeysKeyboardAccessibilityDelegate.kt @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2014 The Android Open Source Project + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only + */ + package org.dslul.openboard.inputmethod.accessibility import android.graphics.Rect diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/annotations/ExternallyReferenced.kt b/app/src/main/java/org/dslul/openboard/inputmethod/annotations/ExternallyReferenced.kt index 9c266167..449bc13a 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/annotations/ExternallyReferenced.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/annotations/ExternallyReferenced.kt @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2012 The Android Open Source Project + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only + */ + package org.dslul.openboard.inputmethod.annotations /** diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/annotations/UsedForTesting.kt b/app/src/main/java/org/dslul/openboard/inputmethod/annotations/UsedForTesting.kt index eef45242..edcc2c9d 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/annotations/UsedForTesting.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/annotations/UsedForTesting.kt @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2012 The Android Open Source Project + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only + */ + package org.dslul.openboard.inputmethod.annotations /** diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/compat/AppWorkaroundsUtils.kt b/app/src/main/java/org/dslul/openboard/inputmethod/compat/AppWorkaroundsUtils.kt index 6cb83fb0..e50cf0ed 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/compat/AppWorkaroundsUtils.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/compat/AppWorkaroundsUtils.kt @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2013 The Android Open Source Project + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only + */ + package org.dslul.openboard.inputmethod.compat import android.content.pm.PackageInfo diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/compat/ClipboardManagerCompat.java b/app/src/main/java/org/dslul/openboard/inputmethod/compat/ClipboardManagerCompat.java index 26235ef8..9cd9b101 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/compat/ClipboardManagerCompat.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/compat/ClipboardManagerCompat.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-only + package org.dslul.openboard.inputmethod.compat; import android.annotation.TargetApi; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/compat/CompatUtils.kt b/app/src/main/java/org/dslul/openboard/inputmethod/compat/CompatUtils.kt index 95c46e64..885f8509 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/compat/CompatUtils.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/compat/CompatUtils.kt @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2011 The Android Open Source Project + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only + */ + package org.dslul.openboard.inputmethod.compat import android.text.TextUtils diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/compat/CursorAnchorInfoCompatWrapper.kt b/app/src/main/java/org/dslul/openboard/inputmethod/compat/CursorAnchorInfoCompatWrapper.kt index e0a86acc..9b7482e6 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/compat/CursorAnchorInfoCompatWrapper.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/compat/CursorAnchorInfoCompatWrapper.kt @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2014 The Android Open Source Project + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only + */ + package org.dslul.openboard.inputmethod.compat import android.annotation.TargetApi diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/compat/EditorInfoCompatUtils.kt b/app/src/main/java/org/dslul/openboard/inputmethod/compat/EditorInfoCompatUtils.kt index 6ee85ad6..af5761bd 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/compat/EditorInfoCompatUtils.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/compat/EditorInfoCompatUtils.kt @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2011 The Android Open Source Project + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only + */ + package org.dslul.openboard.inputmethod.compat import android.view.inputmethod.EditorInfo diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/compat/InputMethodSubtypeCompatUtils.kt b/app/src/main/java/org/dslul/openboard/inputmethod/compat/InputMethodSubtypeCompatUtils.kt index 96accb6b..d7b3bc71 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/compat/InputMethodSubtypeCompatUtils.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/compat/InputMethodSubtypeCompatUtils.kt @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2014 The Android Open Source Project + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only + */ + package org.dslul.openboard.inputmethod.compat import android.os.Build diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/compat/LocaleListCompatUtils.kt b/app/src/main/java/org/dslul/openboard/inputmethod/compat/LocaleListCompatUtils.kt index 87fb4662..37ec6db2 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/compat/LocaleListCompatUtils.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/compat/LocaleListCompatUtils.kt @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2016 The Android Open Source Project + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only + */ + package org.dslul.openboard.inputmethod.compat import java.util.* diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/compat/SuggestionSpanUtils.kt b/app/src/main/java/org/dslul/openboard/inputmethod/compat/SuggestionSpanUtils.kt index 41747472..d3b682d9 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/compat/SuggestionSpanUtils.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/compat/SuggestionSpanUtils.kt @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2011 The Android Open Source Project + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only + */ + package org.dslul.openboard.inputmethod.compat import android.content.Context diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/compat/TabHostCompat.java b/app/src/main/java/org/dslul/openboard/inputmethod/compat/TabHostCompat.java index 9a07d032..6f03b98e 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/compat/TabHostCompat.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/compat/TabHostCompat.java @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2006 The Android Open Source Project + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only + */ + package org.dslul.openboard.inputmethod.compat; import android.content.Context; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/compat/TextInfoCompatUtils.kt b/app/src/main/java/org/dslul/openboard/inputmethod/compat/TextInfoCompatUtils.kt index 7d0bfb20..38349911 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/compat/TextInfoCompatUtils.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/compat/TextInfoCompatUtils.kt @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2014 The Android Open Source Project + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only + */ + package org.dslul.openboard.inputmethod.compat import android.os.Build diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/compat/ViewOutlineProviderCompatUtils.kt b/app/src/main/java/org/dslul/openboard/inputmethod/compat/ViewOutlineProviderCompatUtils.kt index d225c721..6185a0f2 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/compat/ViewOutlineProviderCompatUtils.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/compat/ViewOutlineProviderCompatUtils.kt @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2014 The Android Open Source Project + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only + */ + package org.dslul.openboard.inputmethod.compat import android.inputmethodservice.InputMethodService diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/compat/ViewOutlineProviderCompatUtilsLXX.kt b/app/src/main/java/org/dslul/openboard/inputmethod/compat/ViewOutlineProviderCompatUtilsLXX.kt index b7d1d17d..b7f98c60 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/compat/ViewOutlineProviderCompatUtilsLXX.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/compat/ViewOutlineProviderCompatUtilsLXX.kt @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2014 The Android Open Source Project + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only + */ + package org.dslul.openboard.inputmethod.compat import android.graphics.Outline diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/dictionarypack/DictionaryPackConstants.kt b/app/src/main/java/org/dslul/openboard/inputmethod/dictionarypack/DictionaryPackConstants.kt index fab561cc..054883a3 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/dictionarypack/DictionaryPackConstants.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/dictionarypack/DictionaryPackConstants.kt @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2013 The Android Open Source Project + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only + */ + package org.dslul.openboard.inputmethod.dictionarypack /** diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/dictionarypack/MD5Calculator.kt b/app/src/main/java/org/dslul/openboard/inputmethod/dictionarypack/MD5Calculator.kt index bd5dd5f7..de4c01f6 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/dictionarypack/MD5Calculator.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/dictionarypack/MD5Calculator.kt @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2012 The Android Open Source Project + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only + */ + package org.dslul.openboard.inputmethod.dictionarypack import java.io.IOException diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/event/Combiner.kt b/app/src/main/java/org/dslul/openboard/inputmethod/event/Combiner.kt index 8b2d91fd..3c47f551 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/event/Combiner.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/event/Combiner.kt @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2013 The Android Open Source Project + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only + */ + package org.dslul.openboard.inputmethod.event import java.util.* diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/event/CombinerChain.kt b/app/src/main/java/org/dslul/openboard/inputmethod/event/CombinerChain.kt index 687e57ec..71d9747e 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/event/CombinerChain.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/event/CombinerChain.kt @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2014 The Android Open Source Project + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only + */ + package org.dslul.openboard.inputmethod.event import android.text.SpannableStringBuilder diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/event/DeadKeyCombiner.kt b/app/src/main/java/org/dslul/openboard/inputmethod/event/DeadKeyCombiner.kt index 678c91c6..ec315f5f 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/event/DeadKeyCombiner.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/event/DeadKeyCombiner.kt @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2013 The Android Open Source Project + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only + */ + package org.dslul.openboard.inputmethod.event import android.text.TextUtils diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/event/Event.kt b/app/src/main/java/org/dslul/openboard/inputmethod/event/Event.kt index 46961509..5edbda9c 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/event/Event.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/event/Event.kt @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2012 The Android Open Source Project + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only + */ + package org.dslul.openboard.inputmethod.event import org.dslul.openboard.inputmethod.annotations.ExternallyReferenced diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/event/EventDecoder.kt b/app/src/main/java/org/dslul/openboard/inputmethod/event/EventDecoder.kt index 45f38352..14fe8fc8 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/event/EventDecoder.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/event/EventDecoder.kt @@ -1,18 +1,9 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ + package org.dslul.openboard.inputmethod.event /** diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/event/HangulCombiner.kt b/app/src/main/java/org/dslul/openboard/inputmethod/event/HangulCombiner.kt index 29f58e33..3702eda4 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/event/HangulCombiner.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/event/HangulCombiner.kt @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-only + package org.dslul.openboard.inputmethod.event import org.dslul.openboard.inputmethod.latin.common.Constants diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/event/HangulEventDecoder.kt b/app/src/main/java/org/dslul/openboard/inputmethod/event/HangulEventDecoder.kt index 42f88e6b..7c7df86a 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/event/HangulEventDecoder.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/event/HangulEventDecoder.kt @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-only + package org.dslul.openboard.inputmethod.event import android.view.KeyEvent diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/event/HardwareEventDecoder.kt b/app/src/main/java/org/dslul/openboard/inputmethod/event/HardwareEventDecoder.kt index 9e5ff958..e56abc65 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/event/HardwareEventDecoder.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/event/HardwareEventDecoder.kt @@ -1,18 +1,9 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Modifications copyright (C) 2019 OpenBoard + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ + package org.dslul.openboard.inputmethod.event import android.view.KeyEvent diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/event/HardwareKeyboardEventDecoder.kt b/app/src/main/java/org/dslul/openboard/inputmethod/event/HardwareKeyboardEventDecoder.kt index cd0d15c6..966904b9 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/event/HardwareKeyboardEventDecoder.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/event/HardwareKeyboardEventDecoder.kt @@ -1,18 +1,9 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ + package org.dslul.openboard.inputmethod.event import android.view.KeyCharacterMap diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/event/InputTransaction.kt b/app/src/main/java/org/dslul/openboard/inputmethod/event/InputTransaction.kt index 1b9450b2..66e7cba9 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/event/InputTransaction.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/event/InputTransaction.kt @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.event diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/Key.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/Key.java index 754ddc36..4882c8a6 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/Key.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/Key.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2010 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/KeyDetector.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/KeyDetector.java index 58bd3992..8e7b8421 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/KeyDetector.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/KeyDetector.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2010 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/Keyboard.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/Keyboard.java index 5a595fe1..41865e94 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/Keyboard.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/Keyboard.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2010 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/KeyboardActionListener.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/KeyboardActionListener.java index 26fbed5b..5932165b 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/KeyboardActionListener.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/KeyboardActionListener.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2010 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/KeyboardId.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/KeyboardId.java index 26d32e58..cc7be59f 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/KeyboardId.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/KeyboardId.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2015 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/KeyboardLayout.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/KeyboardLayout.java index d4f21549..b8b1c089 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/KeyboardLayout.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/KeyboardLayout.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2015 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/KeyboardLayoutSet.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/KeyboardLayoutSet.java index 118a5129..445e8bf9 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/KeyboardLayoutSet.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/KeyboardLayoutSet.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2011 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/KeyboardSwitcher.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/KeyboardSwitcher.java index d6c424c0..0e29645f 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/KeyboardSwitcher.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/KeyboardSwitcher.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2008 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/KeyboardTheme.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/KeyboardTheme.java index 484adb74..7bcd61fd 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/KeyboardTheme.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/KeyboardTheme.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/KeyboardView.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/KeyboardView.java index b536eb00..8f976f03 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/KeyboardView.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/KeyboardView.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2010 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/MainKeyboardView.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/MainKeyboardView.java index 2060fde7..aa005a38 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/MainKeyboardView.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/MainKeyboardView.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2011 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/MoreKeysDetector.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/MoreKeysDetector.java index a91bd4b1..addf904e 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/MoreKeysDetector.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/MoreKeysDetector.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2011 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/MoreKeysKeyboard.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/MoreKeysKeyboard.java index f899f359..13ee86bd 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/MoreKeysKeyboard.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/MoreKeysKeyboard.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2011 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/MoreKeysKeyboardView.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/MoreKeysKeyboardView.java index 09d658cb..39936eae 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/MoreKeysKeyboardView.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/MoreKeysKeyboardView.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2011 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/MoreKeysPanel.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/MoreKeysPanel.java index 0291241d..2fc54530 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/MoreKeysPanel.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/MoreKeysPanel.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2011 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/PointerTracker.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/PointerTracker.java index c7b3e27f..98720456 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/PointerTracker.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/PointerTracker.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2010 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/clipboard/ClipboardAdapter.kt b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/clipboard/ClipboardAdapter.kt index 31454244..a42efce5 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/clipboard/ClipboardAdapter.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/clipboard/ClipboardAdapter.kt @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-only + package org.dslul.openboard.inputmethod.keyboard.clipboard import android.graphics.Typeface diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/clipboard/ClipboardHistoryRecyclerView.kt b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/clipboard/ClipboardHistoryRecyclerView.kt index 3a0e94b1..fbc0ab67 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/clipboard/ClipboardHistoryRecyclerView.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/clipboard/ClipboardHistoryRecyclerView.kt @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-only + package org.dslul.openboard.inputmethod.keyboard.clipboard import android.content.Context diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/clipboard/ClipboardHistoryView.kt b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/clipboard/ClipboardHistoryView.kt index 4a3173dc..9d27c1b0 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/clipboard/ClipboardHistoryView.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/clipboard/ClipboardHistoryView.kt @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-only + package org.dslul.openboard.inputmethod.keyboard.clipboard import android.content.Context diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/clipboard/ClipboardLayoutParams.kt b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/clipboard/ClipboardLayoutParams.kt index c84ebcb6..5a98e487 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/clipboard/ClipboardLayoutParams.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/clipboard/ClipboardLayoutParams.kt @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-only + package org.dslul.openboard.inputmethod.keyboard.clipboard import android.content.res.Resources diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/clipboard/OnKeyEventListener.kt b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/clipboard/OnKeyEventListener.kt index 5b1b2a9a..74073aef 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/clipboard/OnKeyEventListener.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/clipboard/OnKeyEventListener.kt @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-only + package org.dslul.openboard.inputmethod.keyboard.clipboard interface OnKeyEventListener { diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/emoji/DynamicGridKeyboard.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/emoji/DynamicGridKeyboard.java index 6615c87e..0a11a760 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/emoji/DynamicGridKeyboard.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/emoji/DynamicGridKeyboard.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.emoji; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/emoji/EmojiCategory.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/emoji/EmojiCategory.java index 1a61ed98..c1d1dab9 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/emoji/EmojiCategory.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/emoji/EmojiCategory.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2015 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.emoji; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/emoji/EmojiCategoryPageIndicatorView.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/emoji/EmojiCategoryPageIndicatorView.java index 27c06cf6..344521dd 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/emoji/EmojiCategoryPageIndicatorView.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/emoji/EmojiCategoryPageIndicatorView.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.emoji; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/emoji/EmojiLayoutParams.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/emoji/EmojiLayoutParams.java index aa4db505..f56373d9 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/emoji/EmojiLayoutParams.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/emoji/EmojiLayoutParams.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.emoji; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/emoji/EmojiPageKeyboardView.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/emoji/EmojiPageKeyboardView.java index 3d1138cf..7c8ffff3 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/emoji/EmojiPageKeyboardView.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/emoji/EmojiPageKeyboardView.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.emoji; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/emoji/EmojiPalettesAdapter.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/emoji/EmojiPalettesAdapter.java index 6b0b546e..2c019e05 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/emoji/EmojiPalettesAdapter.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/emoji/EmojiPalettesAdapter.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.emoji; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/emoji/EmojiPalettesView.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/emoji/EmojiPalettesView.java index c85f6303..07971a36 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/emoji/EmojiPalettesView.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/emoji/EmojiPalettesView.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.emoji; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/emoji/OnKeyEventListener.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/emoji/OnKeyEventListener.java index 3a7b8f52..3070aa70 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/emoji/OnKeyEventListener.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/emoji/OnKeyEventListener.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-only + package org.dslul.openboard.inputmethod.keyboard.emoji; import org.dslul.openboard.inputmethod.keyboard.Key; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/AbstractDrawingPreview.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/AbstractDrawingPreview.java index b9f20b90..9a0fb7f1 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/AbstractDrawingPreview.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/AbstractDrawingPreview.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/AlphabetShiftState.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/AlphabetShiftState.java index ea756a51..9bf496cb 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/AlphabetShiftState.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/AlphabetShiftState.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2010 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/BatchInputArbiter.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/BatchInputArbiter.java index 8edb46de..e37a2082 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/BatchInputArbiter.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/BatchInputArbiter.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/BogusMoveEventDetector.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/BogusMoveEventDetector.java index f3db5c3b..4e4f4233 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/BogusMoveEventDetector.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/BogusMoveEventDetector.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/CodesArrayParser.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/CodesArrayParser.java index f8a44799..f626ffa1 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/CodesArrayParser.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/CodesArrayParser.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/DrawingPreviewPlacerView.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/DrawingPreviewPlacerView.java index 7eaaf558..58f43b35 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/DrawingPreviewPlacerView.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/DrawingPreviewPlacerView.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/DrawingProxy.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/DrawingProxy.java index e1d7496d..380135d5 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/DrawingProxy.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/DrawingProxy.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/GestureEnabler.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/GestureEnabler.java index c4c5040d..bc68cd8b 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/GestureEnabler.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/GestureEnabler.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/GestureFloatingTextDrawingPreview.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/GestureFloatingTextDrawingPreview.java index 96556bb9..3070b819 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/GestureFloatingTextDrawingPreview.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/GestureFloatingTextDrawingPreview.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/GestureStrokeDrawingParams.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/GestureStrokeDrawingParams.java index 24887a33..fe109177 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/GestureStrokeDrawingParams.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/GestureStrokeDrawingParams.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/GestureStrokeDrawingPoints.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/GestureStrokeDrawingPoints.java index 1200eba2..1f4f23f1 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/GestureStrokeDrawingPoints.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/GestureStrokeDrawingPoints.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/GestureStrokeRecognitionParams.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/GestureStrokeRecognitionParams.java index 894b569c..afb46c33 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/GestureStrokeRecognitionParams.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/GestureStrokeRecognitionParams.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/GestureStrokeRecognitionPoints.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/GestureStrokeRecognitionPoints.java index 60e4a785..f5c1099e 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/GestureStrokeRecognitionPoints.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/GestureStrokeRecognitionPoints.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/GestureTrailDrawingParams.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/GestureTrailDrawingParams.java index 045a3393..6f018c96 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/GestureTrailDrawingParams.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/GestureTrailDrawingParams.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/GestureTrailDrawingPoints.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/GestureTrailDrawingPoints.java index bee52342..62ad3683 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/GestureTrailDrawingPoints.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/GestureTrailDrawingPoints.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/GestureTrailsDrawingPreview.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/GestureTrailsDrawingPreview.java index 5075ccb6..7d562f8b 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/GestureTrailsDrawingPreview.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/GestureTrailsDrawingPreview.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/HermiteInterpolator.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/HermiteInterpolator.java index 0cde4e14..b965b8c1 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/HermiteInterpolator.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/HermiteInterpolator.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyDrawParams.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyDrawParams.java index e15f94fb..70ffb38f 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyDrawParams.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyDrawParams.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyPreviewChoreographer.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyPreviewChoreographer.java index 6db014ee..6462c35b 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyPreviewChoreographer.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyPreviewChoreographer.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyPreviewDrawParams.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyPreviewDrawParams.java index 4d1aa84a..397ee205 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyPreviewDrawParams.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyPreviewDrawParams.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyPreviewView.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyPreviewView.java index c3c9c1d0..e8e70c44 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyPreviewView.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyPreviewView.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeySpecParser.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeySpecParser.java index 9d1c3fe7..7b0e95d4 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeySpecParser.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeySpecParser.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2010 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyStyle.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyStyle.java index dd184f06..1a5ba9fa 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyStyle.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyStyle.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyStylesSet.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyStylesSet.java index 309f4517..3b715e77 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyStylesSet.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyStylesSet.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2010 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyVisualAttributes.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyVisualAttributes.java index 55873958..2558ba61 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyVisualAttributes.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyVisualAttributes.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyboardBuilder.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyboardBuilder.java index 23a7612b..7b00597e 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyboardBuilder.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyboardBuilder.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyboardCodesSet.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyboardCodesSet.java index 8583ab16..c82df761 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyboardCodesSet.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyboardCodesSet.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyboardIconsSet.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyboardIconsSet.java index a9baa1a2..a9356c6d 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyboardIconsSet.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyboardIconsSet.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2011 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyboardParams.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyboardParams.java index a7caded7..2c450b1f 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyboardParams.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyboardParams.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyboardRow.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyboardRow.java index a72bf720..de7e5a84 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyboardRow.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyboardRow.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyboardState.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyboardState.java index 0a3b11f6..0679cdb0 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyboardState.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyboardState.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2011 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyboardTextsSet.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyboardTextsSet.java index 3ae5f1c7..7193e68e 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyboardTextsSet.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyboardTextsSet.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyboardTextsTable.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyboardTextsTable.java index 6935188b..a954d29e 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyboardTextsTable.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/KeyboardTextsTable.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/MatrixUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/MatrixUtils.java index 6b78484e..dc1b0a19 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/MatrixUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/MatrixUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/ModifierKeyState.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/ModifierKeyState.java index 6e234142..b6216fd6 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/ModifierKeyState.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/ModifierKeyState.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2010 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/MoreCodesArrayParser.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/MoreCodesArrayParser.java index 50facc1a..f1e00185 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/MoreCodesArrayParser.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/MoreCodesArrayParser.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/MoreKeySpec.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/MoreKeySpec.java index c6911827..13a4d3b4 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/MoreKeySpec.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/MoreKeySpec.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/NonDistinctMultitouchHelper.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/NonDistinctMultitouchHelper.java index 813f2042..6eeb346b 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/NonDistinctMultitouchHelper.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/NonDistinctMultitouchHelper.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/PointerTrackerQueue.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/PointerTrackerQueue.java index 95029a54..701381a2 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/PointerTrackerQueue.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/PointerTrackerQueue.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2010 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/RoundedLine.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/RoundedLine.java index 78f60068..58e24888 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/RoundedLine.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/RoundedLine.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/ShiftKeyState.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/ShiftKeyState.java index b8f77b6f..b010855c 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/ShiftKeyState.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/ShiftKeyState.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2010 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/SlidingKeyInputDrawingPreview.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/SlidingKeyInputDrawingPreview.java index bf9598fb..1dd5698f 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/SlidingKeyInputDrawingPreview.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/SlidingKeyInputDrawingPreview.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/SmoothingUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/SmoothingUtils.java index d850913e..6b258eec 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/SmoothingUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/SmoothingUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/TimerHandler.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/TimerHandler.java index 124dff93..70c18f4b 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/TimerHandler.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/TimerHandler.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/TimerProxy.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/TimerProxy.java index 1f6a3160..8d052d49 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/TimerProxy.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/TimerProxy.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/TouchPositionCorrection.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/TouchPositionCorrection.java index ccddb8df..30ba9150 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/TouchPositionCorrection.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/TouchPositionCorrection.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/TypingTimeRecorder.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/TypingTimeRecorder.java index ea372a05..a2ad6f01 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/TypingTimeRecorder.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/TypingTimeRecorder.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/UniqueKeysCache.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/UniqueKeysCache.java index ec2ca3ac..67417248 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/UniqueKeysCache.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/internal/UniqueKeysCache.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.keyboard.internal; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/App.kt b/app/src/main/java/org/dslul/openboard/inputmethod/latin/App.kt index 6bdcf882..2fd022fb 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/App.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/App.kt @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-only + package org.dslul.openboard.inputmethod.latin import android.app.Application diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/AssetFileAddress.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/AssetFileAddress.java index 7490e269..a7d31dab 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/AssetFileAddress.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/AssetFileAddress.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2011 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/AudioAndHapticFeedbackManager.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/AudioAndHapticFeedbackManager.java index 3b1f9a97..0c2883cf 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/AudioAndHapticFeedbackManager.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/AudioAndHapticFeedbackManager.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/BackupAgent.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/BackupAgent.java index eb597e45..207cd38e 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/BackupAgent.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/BackupAgent.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2008 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/BinaryDictionaryGetter.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/BinaryDictionaryGetter.java index 2b50ecd1..f660474c 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/BinaryDictionaryGetter.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/BinaryDictionaryGetter.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2011 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/ClipboardHistoryEntry.kt b/app/src/main/java/org/dslul/openboard/inputmethod/latin/ClipboardHistoryEntry.kt index 03a1839a..ef83eff4 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/ClipboardHistoryEntry.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/ClipboardHistoryEntry.kt @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-only + package org.dslul.openboard.inputmethod.latin data class ClipboardHistoryEntry ( diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/ClipboardHistoryManager.kt b/app/src/main/java/org/dslul/openboard/inputmethod/latin/ClipboardHistoryManager.kt index fbf3b7a9..d982787b 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/ClipboardHistoryManager.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/ClipboardHistoryManager.kt @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-only + package org.dslul.openboard.inputmethod.latin import android.content.ClipboardManager diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/ContactsBinaryDictionary.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/ContactsBinaryDictionary.java index b3940ab2..ea463c33 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/ContactsBinaryDictionary.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/ContactsBinaryDictionary.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/ContactsContentObserver.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/ContactsContentObserver.java index 4973a7ec..6ed09be0 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/ContactsContentObserver.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/ContactsContentObserver.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/ContactsDictionaryConstants.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/ContactsDictionaryConstants.java index 1b0a849c..b5711cd1 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/ContactsDictionaryConstants.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/ContactsDictionaryConstants.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2015 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/ContactsDictionaryUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/ContactsDictionaryUtils.java index 78510ef4..6f60ecee 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/ContactsDictionaryUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/ContactsDictionaryUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/ContactsManager.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/ContactsManager.java index dd8746ae..c5732c5a 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/ContactsManager.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/ContactsManager.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/Dictionary.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/Dictionary.java index 5196f9c7..8cf214d2 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/Dictionary.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/Dictionary.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2008 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/DictionaryCollection.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/DictionaryCollection.java index 4949c391..56a66cba 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/DictionaryCollection.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/DictionaryCollection.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2011 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/DictionaryDumpBroadcastReceiver.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/DictionaryDumpBroadcastReceiver.java index 990cef61..d3e0746e 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/DictionaryDumpBroadcastReceiver.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/DictionaryDumpBroadcastReceiver.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/DictionaryFacilitator.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/DictionaryFacilitator.java index 72690c70..ee9b69c4 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/DictionaryFacilitator.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/DictionaryFacilitator.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/DictionaryFacilitatorImpl.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/DictionaryFacilitatorImpl.java index 1dac7446..ec455a29 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/DictionaryFacilitatorImpl.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/DictionaryFacilitatorImpl.java @@ -1,17 +1,7 @@ /* -7 * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Copyright (C) 2013 The Android Open Source Project + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/DictionaryFacilitatorLruCache.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/DictionaryFacilitatorLruCache.java index d7d63e74..cb55e3d2 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/DictionaryFacilitatorLruCache.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/DictionaryFacilitatorLruCache.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/DictionaryFacilitatorProvider.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/DictionaryFacilitatorProvider.java index 5235b878..718bacae 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/DictionaryFacilitatorProvider.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/DictionaryFacilitatorProvider.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/DictionaryFactory.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/DictionaryFactory.java index eaf4d11c..8edae987 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/DictionaryFactory.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/DictionaryFactory.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2011 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/DictionaryPackInstallBroadcastReceiver.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/DictionaryPackInstallBroadcastReceiver.java index 2041ceb2..036d2d0f 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/DictionaryPackInstallBroadcastReceiver.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/DictionaryPackInstallBroadcastReceiver.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2011 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/DictionaryStats.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/DictionaryStats.java index 7dfcf69d..d1ed44f4 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/DictionaryStats.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/DictionaryStats.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/EmojiAltPhysicalKeyDetector.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/EmojiAltPhysicalKeyDetector.java index 18e1a8db..51de6956 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/EmojiAltPhysicalKeyDetector.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/EmojiAltPhysicalKeyDetector.java @@ -1,17 +1,7 @@ /* - * Copyright (C) 2014, The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Copyright (C) 2014 The Android Open Source Project + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/ExpandableBinaryDictionary.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/ExpandableBinaryDictionary.java index 7c2a409b..1e8c0d71 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/ExpandableBinaryDictionary.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/ExpandableBinaryDictionary.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/InputAttributes.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/InputAttributes.java index 9fc641dd..3541abaa 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/InputAttributes.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/InputAttributes.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2011 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/InputView.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/InputView.java index bff98d70..7fdda3e9 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/InputView.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/InputView.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2011 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/KeyboardWrapperView.kt b/app/src/main/java/org/dslul/openboard/inputmethod/latin/KeyboardWrapperView.kt index a8d3bc99..674875e6 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/KeyboardWrapperView.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/KeyboardWrapperView.kt @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-only + package org.dslul.openboard.inputmethod.latin import android.annotation.SuppressLint diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/KoreanDictionary.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/KoreanDictionary.java index 90118b54..bc7dee37 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/KoreanDictionary.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/KoreanDictionary.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-only + package org.dslul.openboard.inputmethod.latin; import org.dslul.openboard.inputmethod.event.HangulCombiner; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/LastComposedWord.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/LastComposedWord.java index eecc8a7e..c263dc77 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/LastComposedWord.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/LastComposedWord.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/LatinIME.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/LatinIME.java index 795a3919..4fd12c3c 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/LatinIME.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/LatinIME.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2008 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/NgramContext.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/NgramContext.java index d907a791..abc4ba8c 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/NgramContext.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/NgramContext.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/PunctuationSuggestions.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/PunctuationSuggestions.java index e5b2760e..a8f05cbd 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/PunctuationSuggestions.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/PunctuationSuggestions.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/ReadOnlyBinaryDictionary.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/ReadOnlyBinaryDictionary.java index 2d76b833..c6c41cf1 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/ReadOnlyBinaryDictionary.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/ReadOnlyBinaryDictionary.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/RichInputConnection.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/RichInputConnection.java index 448ebc68..3c6b6f43 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/RichInputConnection.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/RichInputConnection.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/RichInputMethodManager.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/RichInputMethodManager.java index cafe7b2c..18e4fe0d 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/RichInputMethodManager.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/RichInputMethodManager.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/RichInputMethodSubtype.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/RichInputMethodSubtype.java index 33c07899..2a097096 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/RichInputMethodSubtype.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/RichInputMethodSubtype.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/Suggest.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/Suggest.java index 85023de0..640a0c57 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/Suggest.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/Suggest.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2008 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/SuggestedWords.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/SuggestedWords.java index 3f54c2d2..60e12fca 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/SuggestedWords.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/SuggestedWords.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2010 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/SystemBroadcastReceiver.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/SystemBroadcastReceiver.java index c6ea51a0..af2399c8 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/SystemBroadcastReceiver.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/SystemBroadcastReceiver.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/UserBinaryDictionary.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/UserBinaryDictionary.java index 8f41a566..9b505e2c 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/UserBinaryDictionary.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/UserBinaryDictionary.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/WordComposer.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/WordComposer.java index fcf8f599..1de4de04 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/WordComposer.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/WordComposer.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2008 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/WordListInfo.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/WordListInfo.java index 4c1760db..fa875242 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/WordListInfo.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/WordListInfo.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2011 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/CodePointUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/CodePointUtils.java index b66239d0..e2122040 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/CodePointUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/CodePointUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.common; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/CollectionUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/CollectionUtils.java index cc3bd684..74213936 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/CollectionUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/CollectionUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.common; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/Colors.kt b/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/Colors.kt index a25a0657..c853dc52 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/Colors.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/Colors.kt @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-only + package org.dslul.openboard.inputmethod.latin.common import android.content.res.ColorStateList diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/ComposedData.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/ComposedData.java index ff71ee10..85fe73ce 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/ComposedData.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/ComposedData.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.common; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/Constants.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/Constants.java index 6d3b1be2..e6977e24 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/Constants.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/Constants.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.common; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/CoordinateUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/CoordinateUtils.java index bd5c8cf6..c24b67c2 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/CoordinateUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/CoordinateUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.common; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/FileUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/FileUtils.java index f2f34490..3053b914 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/FileUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/FileUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not - * use this file except in compliance with the License. You may obtain a copy of - * the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations under - * the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.common; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/InputPointers.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/InputPointers.java index c6a46899..78b33711 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/InputPointers.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/InputPointers.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.common; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/LocaleUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/LocaleUtils.java index b4ca48be..6a4fb8ec 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/LocaleUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/LocaleUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2011 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not - * use this file except in compliance with the License. You may obtain a copy of - * the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations under - * the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.common; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/NativeSuggestOptions.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/NativeSuggestOptions.java index f3368882..80e1c4fe 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/NativeSuggestOptions.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/NativeSuggestOptions.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.common; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/ResizableIntArray.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/ResizableIntArray.java index 51260f73..f4b96547 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/ResizableIntArray.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/ResizableIntArray.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.common; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/StringUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/StringUtils.java index bfb07cc7..18ac4e3b 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/StringUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/StringUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.common; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/StringUtils.kt b/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/StringUtils.kt index 52ad51b7..89ff7641 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/StringUtils.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/StringUtils.kt @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-only + package org.dslul.openboard.inputmethod.latin.common import org.dslul.openboard.inputmethod.latin.settings.SpacingAndPunctuations diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/UnicodeSurrogate.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/UnicodeSurrogate.java index 000b7eae..97fe7760 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/UnicodeSurrogate.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/common/UnicodeSurrogate.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2015 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.common; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/define/DebugFlags.kt b/app/src/main/java/org/dslul/openboard/inputmethod/latin/define/DebugFlags.kt index c1455a4b..b5d04a87 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/define/DebugFlags.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/define/DebugFlags.kt @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2014 The Android Open Source Project + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only + */ + package org.dslul.openboard.inputmethod.latin.define import android.content.SharedPreferences diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/define/DecoderSpecificConstants.kt b/app/src/main/java/org/dslul/openboard/inputmethod/latin/define/DecoderSpecificConstants.kt index cd1620c2..f0cea1d6 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/define/DecoderSpecificConstants.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/define/DecoderSpecificConstants.kt @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2015 The Android Open Source Project + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only + */ + package org.dslul.openboard.inputmethod.latin.define /** diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/define/JniLibName.kt b/app/src/main/java/org/dslul/openboard/inputmethod/latin/define/JniLibName.kt index a99df3d4..214f530c 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/define/JniLibName.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/define/JniLibName.kt @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2011 The Android Open Source Project + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only + */ + package org.dslul.openboard.inputmethod.latin.define object JniLibName { diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/define/ProductionFlags.kt b/app/src/main/java/org/dslul/openboard/inputmethod/latin/define/ProductionFlags.kt index 8350fe2e..44e365e3 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/define/ProductionFlags.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/define/ProductionFlags.kt @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2012 The Android Open Source Project + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only + */ + package org.dslul.openboard.inputmethod.latin.define object ProductionFlags { diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/inputlogic/InputLogic.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/inputlogic/InputLogic.java index a32b10a5..a3570801 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/inputlogic/InputLogic.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/inputlogic/InputLogic.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.inputlogic; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/inputlogic/InputLogicHandler.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/inputlogic/InputLogicHandler.java index c3189d6d..b6737c0d 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/inputlogic/InputLogicHandler.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/inputlogic/InputLogicHandler.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.inputlogic; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/inputlogic/PrivateCommandPerformer.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/inputlogic/PrivateCommandPerformer.java index f78846e6..eedaf7bf 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/inputlogic/PrivateCommandPerformer.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/inputlogic/PrivateCommandPerformer.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.inputlogic; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/inputlogic/SpaceState.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/inputlogic/SpaceState.java index 4a1597e0..b48ab2c5 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/inputlogic/SpaceState.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/inputlogic/SpaceState.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.inputlogic; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/makedict/DictionaryHeader.kt b/app/src/main/java/org/dslul/openboard/inputmethod/latin/makedict/DictionaryHeader.kt index 9824cc49..60017cab 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/makedict/DictionaryHeader.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/makedict/DictionaryHeader.kt @@ -1,18 +1,9 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ + package org.dslul.openboard.inputmethod.latin.makedict import org.dslul.openboard.inputmethod.latin.common.LocaleUtils diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/makedict/FormatSpec.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/makedict/FormatSpec.java index 5ca0ab58..d5481eeb 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/makedict/FormatSpec.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/makedict/FormatSpec.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.makedict; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/makedict/NgramProperty.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/makedict/NgramProperty.java index 6cbcc4ac..b673ecfa 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/makedict/NgramProperty.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/makedict/NgramProperty.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.makedict; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/makedict/ProbabilityInfo.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/makedict/ProbabilityInfo.java index 3ecb663a..e916b23f 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/makedict/ProbabilityInfo.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/makedict/ProbabilityInfo.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.makedict; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/makedict/UnsupportedFormatException.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/makedict/UnsupportedFormatException.java index 83e2c35a..0065f1e1 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/makedict/UnsupportedFormatException.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/makedict/UnsupportedFormatException.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2011 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.makedict; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/makedict/WeightedString.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/makedict/WeightedString.java index 2b174fc4..a2d1a7ab 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/makedict/WeightedString.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/makedict/WeightedString.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.makedict; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/makedict/WordProperty.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/makedict/WordProperty.java index 6f1b0dd0..ffd331e1 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/makedict/WordProperty.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/makedict/WordProperty.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2011 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.makedict; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/permissions/PermissionsActivity.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/permissions/PermissionsActivity.java index d05c28d0..00c2c3e6 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/permissions/PermissionsActivity.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/permissions/PermissionsActivity.java @@ -1,17 +1,7 @@ /* - * Copyright (C) 2015 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License + * Copyright (C) 2013 The Android Open Source Project + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.permissions; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/permissions/PermissionsManager.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/permissions/PermissionsManager.java index b06943e8..234342cc 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/permissions/PermissionsManager.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/permissions/PermissionsManager.java @@ -1,17 +1,7 @@ /* - * Copyright (C) 2015 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License + * Copyright (C) 2013 The Android Open Source Project + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.permissions; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/permissions/PermissionsUtil.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/permissions/PermissionsUtil.java index 0767d0e8..92290246 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/permissions/PermissionsUtil.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/permissions/PermissionsUtil.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2015 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.permissions; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/personalization/PersonalizationHelper.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/personalization/PersonalizationHelper.java index 53af2ccc..2632efc5 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/personalization/PersonalizationHelper.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/personalization/PersonalizationHelper.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.personalization; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/personalization/UserHistoryDictionary.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/personalization/UserHistoryDictionary.java index e1612045..fad65aae 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/personalization/UserHistoryDictionary.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/personalization/UserHistoryDictionary.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.personalization; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/AboutFragment.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/AboutFragment.java index 3af7d5b3..72468573 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/AboutFragment.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/AboutFragment.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.settings; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/AdditionalFeaturesSettingUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/AdditionalFeaturesSettingUtils.java index d3001c56..c2a97146 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/AdditionalFeaturesSettingUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/AdditionalFeaturesSettingUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.settings; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/AdvancedSettingsFragment.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/AdvancedSettingsFragment.java index a8f82cb7..96fcff35 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/AdvancedSettingsFragment.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/AdvancedSettingsFragment.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.settings; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/AppearanceSettingsFragment.kt b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/AppearanceSettingsFragment.kt index 98f70d0c..5bc69ec4 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/AppearanceSettingsFragment.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/AppearanceSettingsFragment.kt @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-only + package org.dslul.openboard.inputmethod.latin.settings import android.content.SharedPreferences diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/ColorsSettingsFragment.kt b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/ColorsSettingsFragment.kt index 443d1d83..e4f74279 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/ColorsSettingsFragment.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/ColorsSettingsFragment.kt @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-only + package org.dslul.openboard.inputmethod.latin.settings import android.app.Activity diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/CorrectionSettingsFragment.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/CorrectionSettingsFragment.java index dff635a3..dab600cd 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/CorrectionSettingsFragment.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/CorrectionSettingsFragment.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.settings; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/DebugSettings.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/DebugSettings.java index c8b1bfc4..1ddb77d7 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/DebugSettings.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/DebugSettings.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2010 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.settings; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/DebugSettingsFragment.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/DebugSettingsFragment.java index 04f3df2c..18174938 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/DebugSettingsFragment.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/DebugSettingsFragment.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.settings; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/FragmentBindingUtils.kt b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/FragmentBindingUtils.kt index e8ca2066..9ac258af 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/FragmentBindingUtils.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/FragmentBindingUtils.kt @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-only + package org.dslul.openboard.inputmethod.latin.settings import android.view.View diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/GestureSettingsFragment.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/GestureSettingsFragment.java index d8c48913..4c71bbd9 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/GestureSettingsFragment.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/GestureSettingsFragment.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.settings; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/LanguageFilterList.kt b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/LanguageFilterList.kt index 057bbd78..85549114 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/LanguageFilterList.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/LanguageFilterList.kt @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-only + package org.dslul.openboard.inputmethod.latin.settings import android.content.Context diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/LanguageSettingsDialog.kt b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/LanguageSettingsDialog.kt index f627866c..af563688 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/LanguageSettingsDialog.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/LanguageSettingsDialog.kt @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-only + package org.dslul.openboard.inputmethod.latin.settings import android.content.Context diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/LanguageSettingsFragment.kt b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/LanguageSettingsFragment.kt index 0820f13e..b5839541 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/LanguageSettingsFragment.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/LanguageSettingsFragment.kt @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-only + package org.dslul.openboard.inputmethod.latin.settings import android.app.Activity diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/LocalSettingsConstants.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/LocalSettingsConstants.java index b793a80e..830ec700 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/LocalSettingsConstants.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/LocalSettingsConstants.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.settings; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/PreferencesSettingsFragment.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/PreferencesSettingsFragment.java index 2d5ee2ad..3f8cda8e 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/PreferencesSettingsFragment.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/PreferencesSettingsFragment.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.settings; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/SeekBarDialogPreference.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/SeekBarDialogPreference.java index 33cb57d7..e2c8978f 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/SeekBarDialogPreference.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/SeekBarDialogPreference.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.settings; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/Settings.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/Settings.java index a6a47b62..0dc7744f 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/Settings.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/Settings.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.settings; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/SettingsActivity.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/SettingsActivity.java index 2b0ac5d3..a4f89de0 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/SettingsActivity.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/SettingsActivity.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.settings; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/SettingsFragment.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/SettingsFragment.java index 40218589..d33af1b2 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/SettingsFragment.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/SettingsFragment.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2008 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.settings; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/SettingsValues.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/SettingsValues.java index 6a386974..e50cbdb1 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/SettingsValues.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/SettingsValues.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2011 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.settings; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/SettingsValuesForSuggestion.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/SettingsValuesForSuggestion.java index f442ab7b..4a51d5f9 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/SettingsValuesForSuggestion.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/SettingsValuesForSuggestion.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.settings; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/SpacingAndPunctuations.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/SpacingAndPunctuations.java index 3606bb9c..dc078196 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/SpacingAndPunctuations.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/SpacingAndPunctuations.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.settings; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/SubScreenFragment.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/SubScreenFragment.java index 68e157b8..4fd4b86a 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/SubScreenFragment.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/SubScreenFragment.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.settings; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/SubtypeSettings.kt b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/SubtypeSettings.kt index 85b31a6b..b81086be 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/SubtypeSettings.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/SubtypeSettings.kt @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-only + package org.dslul.openboard.inputmethod.latin.settings import android.content.Context diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/TestFragmentActivity.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/TestFragmentActivity.java index 11fbdf54..e5cc326c 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/TestFragmentActivity.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/settings/TestFragmentActivity.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.settings; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/setup/SetupActivity.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/setup/SetupActivity.java index 01ba2f90..63036c38 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/setup/SetupActivity.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/setup/SetupActivity.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.setup; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/setup/SetupStartIndicatorView.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/setup/SetupStartIndicatorView.java index e334f42d..f27c3a74 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/setup/SetupStartIndicatorView.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/setup/SetupStartIndicatorView.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.setup; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/setup/SetupStepIndicatorView.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/setup/SetupStepIndicatorView.java index 450fd625..24f828d9 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/setup/SetupStepIndicatorView.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/setup/SetupStepIndicatorView.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.setup; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/setup/SetupWizardActivity.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/setup/SetupWizardActivity.java index 3ddde2b5..96dbf5af 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/setup/SetupWizardActivity.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/setup/SetupWizardActivity.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.setup; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/spellcheck/AndroidSpellCheckerService.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/spellcheck/AndroidSpellCheckerService.java index ba6a448f..8e5cff2b 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/spellcheck/AndroidSpellCheckerService.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/spellcheck/AndroidSpellCheckerService.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2011 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.spellcheck; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/spellcheck/AndroidSpellCheckerSession.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/spellcheck/AndroidSpellCheckerSession.java index da6dc97f..a297e23a 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/spellcheck/AndroidSpellCheckerSession.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/spellcheck/AndroidSpellCheckerSession.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.spellcheck; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/spellcheck/AndroidSpellCheckerSessionFactory.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/spellcheck/AndroidSpellCheckerSessionFactory.java index 0ebe0c87..e7c82a9d 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/spellcheck/AndroidSpellCheckerSessionFactory.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/spellcheck/AndroidSpellCheckerSessionFactory.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.spellcheck; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/spellcheck/AndroidWordLevelSpellCheckerSession.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/spellcheck/AndroidWordLevelSpellCheckerSession.java index f95e0537..a8c0338a 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/spellcheck/AndroidWordLevelSpellCheckerSession.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/spellcheck/AndroidWordLevelSpellCheckerSession.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.spellcheck; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/spellcheck/SentenceLevelAdapter.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/spellcheck/SentenceLevelAdapter.java index 23aeddb5..12ba5fbb 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/spellcheck/SentenceLevelAdapter.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/spellcheck/SentenceLevelAdapter.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.spellcheck; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/spellcheck/SpellCheckerSettingsActivity.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/spellcheck/SpellCheckerSettingsActivity.java index a844a184..0a0f66d2 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/spellcheck/SpellCheckerSettingsActivity.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/spellcheck/SpellCheckerSettingsActivity.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2011 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.spellcheck; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/spellcheck/SpellCheckerSettingsFragment.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/spellcheck/SpellCheckerSettingsFragment.java index c75c8196..264f2a32 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/spellcheck/SpellCheckerSettingsFragment.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/spellcheck/SpellCheckerSettingsFragment.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2011 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.spellcheck; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/suggestions/MoreSuggestions.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/suggestions/MoreSuggestions.java index 571c8b34..e08ef48f 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/suggestions/MoreSuggestions.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/suggestions/MoreSuggestions.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2011 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.suggestions; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/suggestions/MoreSuggestionsView.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/suggestions/MoreSuggestionsView.java index 79d7c2ef..d54a4efb 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/suggestions/MoreSuggestionsView.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/suggestions/MoreSuggestionsView.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2011 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.suggestions; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/suggestions/SuggestionStripLayoutHelper.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/suggestions/SuggestionStripLayoutHelper.java index 86fccd5c..cb92967f 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/suggestions/SuggestionStripLayoutHelper.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/suggestions/SuggestionStripLayoutHelper.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.suggestions; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/suggestions/SuggestionStripView.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/suggestions/SuggestionStripView.java index 75e50b4b..feed387b 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/suggestions/SuggestionStripView.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/suggestions/SuggestionStripView.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2011 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.suggestions; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/suggestions/SuggestionStripViewAccessor.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/suggestions/SuggestionStripViewAccessor.java index 5220e83d..8cee0319 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/suggestions/SuggestionStripViewAccessor.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/suggestions/SuggestionStripViewAccessor.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.suggestions; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/touchinputconsumer/GestureConsumer.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/touchinputconsumer/GestureConsumer.java index 4ec23b91..20bcf750 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/touchinputconsumer/GestureConsumer.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/touchinputconsumer/GestureConsumer.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.touchinputconsumer; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/userdictionary/UserDictionaryAddWordContents.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/userdictionary/UserDictionaryAddWordContents.java index 53449b78..9030d448 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/userdictionary/UserDictionaryAddWordContents.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/userdictionary/UserDictionaryAddWordContents.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.userdictionary; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/userdictionary/UserDictionaryAddWordFragment.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/userdictionary/UserDictionaryAddWordFragment.java index 08d207c6..86c0f0ac 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/userdictionary/UserDictionaryAddWordFragment.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/userdictionary/UserDictionaryAddWordFragment.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.userdictionary; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/userdictionary/UserDictionaryList.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/userdictionary/UserDictionaryList.java index bea0a6c0..51ddc9c9 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/userdictionary/UserDictionaryList.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/userdictionary/UserDictionaryList.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.userdictionary; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/userdictionary/UserDictionaryLocalePicker.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/userdictionary/UserDictionaryLocalePicker.java index ee7ae139..034fc2bc 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/userdictionary/UserDictionaryLocalePicker.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/userdictionary/UserDictionaryLocalePicker.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.userdictionary; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/userdictionary/UserDictionarySettings.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/userdictionary/UserDictionarySettings.java index 2191bcab..0b0521e0 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/userdictionary/UserDictionarySettings.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/userdictionary/UserDictionarySettings.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.userdictionary; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/userdictionary/UserDictionarySettingsUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/userdictionary/UserDictionarySettingsUtils.java index a06306d9..3cd79f71 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/userdictionary/UserDictionarySettingsUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/userdictionary/UserDictionarySettingsUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.userdictionary; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/AdditionalSubtypeUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/AdditionalSubtypeUtils.java index f21db55c..de801359 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/AdditionalSubtypeUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/AdditionalSubtypeUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.utils; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/ApplicationUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/ApplicationUtils.java index 7a4ea0ae..9ff2152a 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/ApplicationUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/ApplicationUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.utils; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/AsyncResultHolder.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/AsyncResultHolder.java index 1c011d50..da600a5f 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/AsyncResultHolder.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/AsyncResultHolder.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.utils; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/AutoCorrectionUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/AutoCorrectionUtils.java index 180cde1a..ffa43c29 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/AutoCorrectionUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/AutoCorrectionUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2011 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.utils; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/CapsModeUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/CapsModeUtils.java index e98985b2..3d2b60f1 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/CapsModeUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/CapsModeUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.utils; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/ColorUtil.kt b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/ColorUtil.kt index 838b64e3..02806672 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/ColorUtil.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/ColorUtil.kt @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-only + package org.dslul.openboard.inputmethod.latin.utils import android.graphics.Color diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/CombinedFormatUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/CombinedFormatUtils.java index d356dc70..455bd759 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/CombinedFormatUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/CombinedFormatUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not - * use this file except in compliance with the License. You may obtain a copy of - * the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations under - * the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.utils; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/CompletionInfoUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/CompletionInfoUtils.java index 587ca97e..83b72826 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/CompletionInfoUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/CompletionInfoUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.utils; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/CursorAnchorInfoUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/CursorAnchorInfoUtils.java index 77307b1f..f678ced7 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/CursorAnchorInfoUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/CursorAnchorInfoUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.utils; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/DebugLogUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/DebugLogUtils.java index 80a539a4..591b6dad 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/DebugLogUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/DebugLogUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2011 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not - * use this file except in compliance with the License. You may obtain a copy of - * the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations under - * the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.utils; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/DeviceProtectedUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/DeviceProtectedUtils.java index 18e5d945..3248432e 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/DeviceProtectedUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/DeviceProtectedUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.utils; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/DialogUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/DialogUtils.java index e2e02951..4560ead8 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/DialogUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/DialogUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.utils; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/DictionaryHeaderUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/DictionaryHeaderUtils.java index c5acba79..1b66a21a 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/DictionaryHeaderUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/DictionaryHeaderUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2015 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.utils; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/DictionaryInfoUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/DictionaryInfoUtils.java index 3cf10fda..444277b3 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/DictionaryInfoUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/DictionaryInfoUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.utils; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/DictionaryUtils.kt b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/DictionaryUtils.kt index f476ec90..4ed6f723 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/DictionaryUtils.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/DictionaryUtils.kt @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-only + package org.dslul.openboard.inputmethod.latin.utils import android.content.Context diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/ExecutorUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/ExecutorUtils.java index 55b535a6..5777c068 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/ExecutorUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/ExecutorUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.utils; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/FeedbackUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/FeedbackUtils.java index bcf1f369..f6d9f5c8 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/FeedbackUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/FeedbackUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.utils; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/FileTransforms.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/FileTransforms.java index de52b681..900d89bf 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/FileTransforms.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/FileTransforms.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2011 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.utils; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/FragmentUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/FragmentUtils.java index baa1fa1d..e8b0fa91 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/FragmentUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/FragmentUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.utils; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/InputMethodPicker.kt b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/InputMethodPicker.kt index d19b54e1..f1266bc8 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/InputMethodPicker.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/InputMethodPicker.kt @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-only + package org.dslul.openboard.inputmethod.latin.utils import android.os.IBinder diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/InputTypeUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/InputTypeUtils.java index edda78fa..3fc348c4 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/InputTypeUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/InputTypeUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.utils; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/IntentUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/IntentUtils.java index bb4e0cd4..4dd41d98 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/IntentUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/IntentUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.utils; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/JniUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/JniUtils.java index af9cca9d..ecb15824 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/JniUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/JniUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.utils; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/JsonUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/JsonUtils.java index 34247dd6..20336525 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/JsonUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/JsonUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.utils; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/LanguageOnSpacebarUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/LanguageOnSpacebarUtils.java index e34afb29..18160435 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/LanguageOnSpacebarUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/LanguageOnSpacebarUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.utils; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/LeakGuardHandlerWrapper.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/LeakGuardHandlerWrapper.java index 261dc536..6bff5872 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/LeakGuardHandlerWrapper.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/LeakGuardHandlerWrapper.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2011 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.utils; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/ManagedProfileUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/ManagedProfileUtils.java index 7d4e4d4f..565381e3 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/ManagedProfileUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/ManagedProfileUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.utils; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/NewDictionaryAdder.kt b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/NewDictionaryAdder.kt index 95ea338d..6f336f96 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/NewDictionaryAdder.kt +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/NewDictionaryAdder.kt @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-only + package org.dslul.openboard.inputmethod.latin.utils import android.content.Context diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/NgramContextUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/NgramContextUtils.java index f324fafd..56deef31 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/NgramContextUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/NgramContextUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.utils; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/RecapitalizeStatus.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/RecapitalizeStatus.java index ee69b362..e09724b5 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/RecapitalizeStatus.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/RecapitalizeStatus.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not - * use this file except in compliance with the License. You may obtain a copy of - * the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations under - * the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.utils; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/ResourceUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/ResourceUtils.java index 78045869..f30328b3 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/ResourceUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/ResourceUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.utils; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/RunInLocale.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/RunInLocale.java index 504bd606..6c07e345 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/RunInLocale.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/RunInLocale.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.utils; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/ScriptUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/ScriptUtils.java index 8da471e9..4c60226e 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/ScriptUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/ScriptUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.utils; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/SpannableStringUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/SpannableStringUtils.java index 8f5223b8..db802b34 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/SpannableStringUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/SpannableStringUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.utils; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/StatsUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/StatsUtils.java index b10a837f..7f6a0c84 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/StatsUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/StatsUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.utils; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/StatsUtilsManager.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/StatsUtilsManager.java index 93283e37..4ef4967e 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/StatsUtilsManager.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/StatsUtilsManager.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/SubtypeLocaleUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/SubtypeLocaleUtils.java index 17d20f62..4c09df41 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/SubtypeLocaleUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/SubtypeLocaleUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2011 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.utils; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/SuggestionResults.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/SuggestionResults.java index dab761f7..4b212fae 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/SuggestionResults.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/SuggestionResults.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.utils; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/TargetPackageInfoGetterTask.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/TargetPackageInfoGetterTask.java index 1cdb5179..cf73bc36 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/TargetPackageInfoGetterTask.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/TargetPackageInfoGetterTask.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.utils; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/TextRange.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/TextRange.java index 2f1b9e57..3cbbd58d 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/TextRange.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/TextRange.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.utils; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/TypefaceUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/TypefaceUtils.java index c80e52f9..37b2b065 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/TypefaceUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/TypefaceUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.utils; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/UncachedInputMethodManagerUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/UncachedInputMethodManagerUtils.java index b7549267..34658736 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/UncachedInputMethodManagerUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/UncachedInputMethodManagerUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.utils; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/ViewLayoutUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/ViewLayoutUtils.java index 9b6e378c..4aedf36d 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/ViewLayoutUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/ViewLayoutUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2011 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.utils; diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/XmlParseUtils.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/XmlParseUtils.java index 3d0d8198..f5916b68 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/XmlParseUtils.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/utils/XmlParseUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2011 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package org.dslul.openboard.inputmethod.latin.utils; diff --git a/app/src/test/java/org/dslul/openboard/inputmethod/latin/InputLogicTest.kt b/app/src/test/java/org/dslul/openboard/inputmethod/latin/InputLogicTest.kt index 0160ae20..d0f24267 100644 --- a/app/src/test/java/org/dslul/openboard/inputmethod/latin/InputLogicTest.kt +++ b/app/src/test/java/org/dslul/openboard/inputmethod/latin/InputLogicTest.kt @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-only + package org.dslul.openboard.inputmethod.latin import android.inputmethodservice.InputMethodService diff --git a/app/src/test/java/org/dslul/openboard/inputmethod/latin/Shadows.kt b/app/src/test/java/org/dslul/openboard/inputmethod/latin/Shadows.kt index b98e0a76..1af50c8e 100644 --- a/app/src/test/java/org/dslul/openboard/inputmethod/latin/Shadows.kt +++ b/app/src/test/java/org/dslul/openboard/inputmethod/latin/Shadows.kt @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-only + package org.dslul.openboard.inputmethod.latin import android.content.Context diff --git a/app/src/test/java/org/dslul/openboard/inputmethod/latin/SuggestTest.kt b/app/src/test/java/org/dslul/openboard/inputmethod/latin/SuggestTest.kt index 0208081f..c08de815 100644 --- a/app/src/test/java/org/dslul/openboard/inputmethod/latin/SuggestTest.kt +++ b/app/src/test/java/org/dslul/openboard/inputmethod/latin/SuggestTest.kt @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-only + package org.dslul.openboard.inputmethod.latin import androidx.core.content.edit diff --git a/tools/make-keyboard-text/src/main/java/com/android/inputmethod/keyboard/tools/ArrayInitializerFormatter.java b/tools/make-keyboard-text/src/main/java/com/android/inputmethod/keyboard/tools/ArrayInitializerFormatter.java index 48bf8010..979d3993 100644 --- a/tools/make-keyboard-text/src/main/java/com/android/inputmethod/keyboard/tools/ArrayInitializerFormatter.java +++ b/tools/make-keyboard-text/src/main/java/com/android/inputmethod/keyboard/tools/ArrayInitializerFormatter.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package com.android.inputmethod.keyboard.tools; diff --git a/tools/make-keyboard-text/src/main/java/com/android/inputmethod/keyboard/tools/JarUtils.java b/tools/make-keyboard-text/src/main/java/com/android/inputmethod/keyboard/tools/JarUtils.java index 00356ec1..54019e3c 100644 --- a/tools/make-keyboard-text/src/main/java/com/android/inputmethod/keyboard/tools/JarUtils.java +++ b/tools/make-keyboard-text/src/main/java/com/android/inputmethod/keyboard/tools/JarUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package com.android.inputmethod.keyboard.tools; diff --git a/tools/make-keyboard-text/src/main/java/com/android/inputmethod/keyboard/tools/LocaleUtils.java b/tools/make-keyboard-text/src/main/java/com/android/inputmethod/keyboard/tools/LocaleUtils.java index c1a7ec5e..40907b4d 100644 --- a/tools/make-keyboard-text/src/main/java/com/android/inputmethod/keyboard/tools/LocaleUtils.java +++ b/tools/make-keyboard-text/src/main/java/com/android/inputmethod/keyboard/tools/LocaleUtils.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2013 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package com.android.inputmethod.keyboard.tools; diff --git a/tools/make-keyboard-text/src/main/java/com/android/inputmethod/keyboard/tools/MoreKeysResources.java b/tools/make-keyboard-text/src/main/java/com/android/inputmethod/keyboard/tools/MoreKeysResources.java index b62a6be5..618cd82b 100644 --- a/tools/make-keyboard-text/src/main/java/com/android/inputmethod/keyboard/tools/MoreKeysResources.java +++ b/tools/make-keyboard-text/src/main/java/com/android/inputmethod/keyboard/tools/MoreKeysResources.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package com.android.inputmethod.keyboard.tools; diff --git a/tools/make-keyboard-text/src/main/java/com/android/inputmethod/keyboard/tools/StringResource.java b/tools/make-keyboard-text/src/main/java/com/android/inputmethod/keyboard/tools/StringResource.java index a49b8fe7..8ac00419 100644 --- a/tools/make-keyboard-text/src/main/java/com/android/inputmethod/keyboard/tools/StringResource.java +++ b/tools/make-keyboard-text/src/main/java/com/android/inputmethod/keyboard/tools/StringResource.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package com.android.inputmethod.keyboard.tools; diff --git a/tools/make-keyboard-text/src/main/java/com/android/inputmethod/keyboard/tools/StringResourceMap.java b/tools/make-keyboard-text/src/main/java/com/android/inputmethod/keyboard/tools/StringResourceMap.java index cf44f2ca..ea18cabe 100644 --- a/tools/make-keyboard-text/src/main/java/com/android/inputmethod/keyboard/tools/StringResourceMap.java +++ b/tools/make-keyboard-text/src/main/java/com/android/inputmethod/keyboard/tools/StringResourceMap.java @@ -1,17 +1,7 @@ /* * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * modified + * SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only */ package com.android.inputmethod.keyboard.tools;