diff --git a/LICENSE-Apache-2.0 b/LICENSE-Apache-2.0 new file mode 100644 index 000000000..d64569567 --- /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 ecd7ba365..70fb49c5f 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 65bc3c7e7..83503f954 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 b3daaa79c..404501f77 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 c02193607..e20a33c0f 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 610bfd8cb..c70b75a4b 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 77c546d6b..6673fc80a 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 d9b77d9d8..97b68b785 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 153051d42..715a36f81 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 8d564fb09..681d97cab 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 1f155febb..a4d482159 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 30da799b3..90b2dd165 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 b452b3461..be3d23463 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 9c266167a..449bc13a5 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 eef452427..edcc2c9d7 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 6cb83fb04..e50cf0ed9 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 26235ef86..9cd9b101b 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 95c46e644..885f8509c 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 e0a86acc2..9b7482e66 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 6ee85ad6f..af5761bd1 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 96accb6bc..d7b3bc715 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 87fb46626..37ec6db2a 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 41747472c..d3b682d96 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 9a07d0324..6f03b98ed 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 7d0bfb201..38349911e 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 d225c7215..6185a0f2e 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 b7d1d17d3..b7f98c601 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 fab561cc6..054883a37 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 bd5dd5f7b..de4c01f6f 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 8b2d91fd5..3c47f5511 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 687e57ec5..71d9747e0 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 678c91c6e..ec315f5f9 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 469615093..5edbda9c6 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 45f383527..14fe8fc82 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 29f58e33c..3702eda44 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 42f88e6bf..7c7df86a0 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 9e5ff958d..e56abc65e 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 cd0d15c66..966904b93 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 1b9450b2c..66e7cba9a 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 754ddc363..4882c8a61 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 58bd39929..8e7b8421d 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 5a595fe18..41865e94b 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 26fbed5bb..5932165bd 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 26d32e58c..cc7be59fd 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 d4f215497..b8b1c0897 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 118a5129e..445e8bf95 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 d6c424c0d..0e29645fd 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 484adb74d..7bcd61fda 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 b536eb003..8f976f034 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 2060fde72..aa005a38d 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 a91bd4b17..addf904e8 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 f899f359f..13ee86bd0 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 09d658cbc..39936eaeb 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 0291241db..2fc54530c 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 c7b3e27f9..98720456e 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 314542446..a42efce5e 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 3a0e94b19..fbc0ab670 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 4a3173dca..9d27c1b0e 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 c84ebcb64..5a98e4877 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 5b1b2a9a8..74073aef3 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 6615c87eb..0a11a7604 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 1a61ed984..c1d1dab94 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 27c06cf66..344521dd5 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 aa4db5057..f56373d9a 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 3d1138cfa..7c8ffff30 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 6b0b546e0..2c019e052 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 c85f63031..07971a365 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 3a7b8f523..3070aa701 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 b9f20b90c..9a0fb7f13 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 ea756a512..9bf496cbf 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 8edb46de2..e37a20823 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 f3db5c3b8..4e4f4233f 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 f8a44799d..f626ffa1a 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 7eaaf5582..58f43b359 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 e1d7496dd..380135d5b 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 c4c5040d1..bc68cd8bc 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 96556bb91..3070b8197 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 24887a33b..fe1091777 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 1200eba25..1f4f23f1b 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 894b569c0..afb46c33f 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 60e4a785e..f5c1099ed 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 045a33937..6f018c96c 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 bee52342c..62ad36839 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 5075ccb64..7d562f8b1 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 0cde4e147..b965b8c15 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 e15f94fba..70ffb38fa 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 6db014ee9..6462c35b0 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 4d1aa84a3..397ee2054 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 c3c9c1d01..e8e70c448 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 9d1c3fe76..7b0e95d4c 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 dd184f063..1a5ba9faf 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 309f45177..3b715e77c 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 558739582..2558ba61c 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 23a7612b6..7b00597e1 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 8583ab16a..c82df7611 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 a9baa1a29..a9356c6d7 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 a7caded73..2c450b1f4 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 a72bf7204..de7e5a84d 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 0a3b11f69..0679cdb05 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 3ae5f1c7d..7193e68ef 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 6935188b5..a954d29eb 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 6b78484eb..dc1b0a197 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 6e2341421..b6216fd68 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 50facc1a4..f1e00185c 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 c69118275..13a4d3b4a 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 813f20427..6eeb346b3 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 95029a54e..701381a24 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 78f60068e..58e248883 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 b8f77b6f2..b010855c0 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 bf9598fbf..1dd5698f6 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 d850913e7..6b258eec0 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 124dff934..70c18f4b0 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 1f6a3160b..8d052d492 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 ccddb8dfb..30ba91502 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 ea372a059..a2ad6f018 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 ec2ca3ac2..674172480 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 6bdcf8824..2fd022fb8 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 7490e2694..a7d31dab5 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 3b1f9a975..0c2883cfc 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 eb597e45e..207cd38e2 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 2b50ecd19..f660474c6 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 03a1839ad..ef83eff46 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 fbf3b7a9b..d982787b2 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 b3940ab23..ea463c33d 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 4973a7ec6..6ed09be04 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 1b0a849c8..b5711cd15 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 78510ef4b..6f60ecee0 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 dd8746aee..c5732c5ac 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 5196f9c7d..8cf214d29 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 4949c3918..56a66cba3 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 990cef61a..d3e0746e0 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 72690c70d..ee9b69c41 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 1dac74469..ec455a297 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 d7d63e74e..cb55e3d26 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 5235b8783..718bacaee 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 eaf4d11c5..8edae9873 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 2041ceb25..036d2d0f9 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 7dfcf69de..d1ed44f49 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 18e1a8dbe..51de6956c 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 7c2a409b6..1e8c0d715 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 9fc641dd5..3541abaa8 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 bff98d70f..7fdda3e91 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 a8d3bc99d..674875e64 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 90118b546..bc7dee371 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 eecc8a7e8..c263dc770 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 795a39193..4fd12c3c2 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 d907a7916..abc4ba8cc 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 e5b2760e6..a8f05cbd2 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 2d76b833b..c6c41cf1d 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 448ebc68f..3c6b6f430 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 cafe7b2c6..18e4fe0d3 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 33c078997..2a0970968 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 85023de0e..640a0c570 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 3f54c2d2e..60e12fca7 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 c6ea51a0a..af2399c8d 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 8f41a5661..9b505e2c6 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 fcf8f5991..1de4de041 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 4c1760db2..fa8752423 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 b66239d0a..e21220402 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 cc3bd6841..742139361 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 a25a0657d..c853dc52e 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 ff71ee10c..85fe73ce8 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 6d3b1be2d..e6977e243 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 bd5c8cf6c..c24b67c20 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 f2f344901..3053b9149 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 c6a46899d..78b33711f 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 b4ca48be3..6a4fb8ecb 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 f3368882c..80e1c4fef 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 51260f73c..f4b96547d 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 bfb07cc7f..18ac4e3b3 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 52ad51b74..89ff76412 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 000b7eae2..97fe7760f 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 c1455a4b5..b5d04a875 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 cd1620c24..f0cea1d6d 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 a99df3d45..214f530ca 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 8350fe2e8..44e365e36 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 a32b10a5b..a35708018 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 c3189d6d6..b6737c0db 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 f78846e6e..eedaf7bfe 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 4a1597e0f..b48ab2c55 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 9824cc499..60017caba 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 5ca0ab58b..d5481eeb5 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 6cbcc4ac1..b673ecfa7 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 3ecb663ab..e916b23f3 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 83e2c35ad..0065f1e1b 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 2b174fc43..a2d1a7ab2 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 6f1b0dd02..ffd331e18 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 d05c28d03..00c2c3e60 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 b06943e84..234342cc2 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 0767d0e87..922902465 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 53af2cccd..2632efc57 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 e1612045c..fad65aae2 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 3af7d5b35..72468573a 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 d3001c567..c2a971462 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 a8f82cb76..96fcff358 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 98f70d0c1..5bc69ec41 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 443d1d835..e4f742795 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 dff635a36..dab600cdb 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 c8b1bfc4a..1ddb77d76 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 04f3df2c8..181749383 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 e8ca2066e..9ac258af2 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 d8c489130..4c71bbd91 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 057bbd785..855491147 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 f627866c4..af563688f 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 0820f13e9..b5839541c 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 b793a80e7..830ec700e 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 2d5ee2adf..3f8cda8e7 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 33cb57d77..e2c8978f5 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 a6a47b62e..0dc7744f0 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 2b0ac5d3a..a4f89de05 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 402185890..d33af1b21 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 6a3869748..e50cbdb1e 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 f442ab7b6..4a51d5f9a 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 3606bb9c6..dc0781962 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 68e157b88..4fd4b86ae 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 85b31a6b4..b81086bed 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 11fbdf547..e5cc326c0 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 01ba2f904..63036c385 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 e334f42da..f27c3a742 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 450fd6257..24f828d99 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 3ddde2b56..96dbf5af2 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 ba6a448fe..8e5cff2bd 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 da6dc97fb..a297e23a2 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 0ebe0c87d..e7c82a9d4 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 f95e0537c..a8c0338a5 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 23aeddb59..12ba5fbb4 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 a844a1840..0a0f66d20 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 c75c81967..264f2a326 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 571c8b34d..e08ef48f4 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 79d7c2ef1..d54a4efb8 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 86fccd5c3..cb92967f5 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 75e50b4b9..feed387be 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 5220e83d8..8cee0319b 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 4ec23b91d..20bcf7506 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 53449b78e..9030d448a 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 08d207c64..86c0f0aca 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 bea0a6c03..51ddc9c90 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 ee7ae139c..034fc2bc8 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 2191bcaba..0b0521e07 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 a06306d9f..3cd79f712 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 f21db55c2..de8013593 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 7a4ea0ae7..9ff2152a8 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 1c011d501..da600a5f4 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 180cde1ab..ffa43c298 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 e98985b2d..3d2b60f11 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 838b64e3d..02806672a 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 d356dc703..455bd7597 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 587ca97ef..83b728261 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 77307b1f8..f678ced72 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 80a539a49..591b6dadf 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 18e5d9457..3248432e6 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 e2e029510..4560ead8a 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 c5acba791..1b66a21a5 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 3cf10fda1..444277b3d 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 f476ec903..4ed6f7232 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 55b535a61..5777c0689 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 bcf1f3693..f6d9f5c86 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 de52b681b..900d89bf4 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 baa1fa1dc..e8b0fa91c 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 d19b54e11..f1266bc88 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 edda78fa8..3fc348c4d 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 bb4e0cd49..4dd41d986 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 af9cca9d7..ecb158245 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 34247dd6b..20336525c 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 e34afb294..181604351 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 261dc536b..6bff58721 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 7d4e4d4ff..565381e3b 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 95ea338da..6f336f960 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 f324fafd7..56deef31a 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 ee69b3622..e09724b53 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 780458693..f30328b30 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 504bd606e..6c07e3459 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 8da471e91..4c60226e5 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 8f5223b89..db802b34a 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 b10a837f9..7f6a0c842 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 93283e37b..4ef4967ee 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 17d20f62a..4c09df417 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 dab761f76..4b212fae3 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 1cdb51799..cf73bc364 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 2f1b9e577..3cbbd58d8 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 c80e52f92..37b2b065e 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 b75492676..346587363 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 9b6e378c1..4aedf36d2 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 3d0d8198f..f5916b688 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 0160ae208..d0f242670 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 b98e0a764..1af50c8ec 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 0208081f4..c08de815a 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 48bf8010a..979d39938 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 00356ec16..54019e3c8 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 c1a7ec5eb..40907b4da 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 b62a6be53..618cd82b0 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 a49b8fe70..8ac00419f 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 cf44f2cad..ea18cabe8 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;