summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClark Scheff <clark@scheffsblend.com>2016-08-28 09:21:05 -0700
committerClark Scheff <clark@scheffsblend.com>2016-08-28 09:21:33 -0700
commitbcd90a38b28f7c57bce8057d855e4c276aab2776 (patch)
tree9524b01c9e7c84ff3934ac035481d7eb9598478b
parentde36713290379cc4e0de6e0bc2cfc25e3258133f (diff)
downloadpackages_apps_ThemeChooser-bcd90a38b28f7c57bce8057d855e4c276aab2776.tar.gz
packages_apps_ThemeChooser-bcd90a38b28f7c57bce8057d855e4c276aab2776.tar.bz2
packages_apps_ThemeChooser-bcd90a38b28f7c57bce8057d855e4c276aab2776.zip
Theme chooser for the people
Let freedom ring! Change-Id: I12b3e6b5d46eb2e13afd841dfd5c215af64188d8 TICKET: OSS-67
-rw-r--r--Android.mk25
-rw-r--r--AndroidManifest.xml34
-rw-r--r--res/color/popup_menu_text_color.xml18
-rw-r--r--res/drawable/apply_cancel_bg.xml18
-rw-r--r--res/drawable/apply_circle_bg.xml18
-rw-r--r--res/drawable/apply_progress_background.xml18
-rw-r--r--res/drawable/apply_progress_bar.xml18
-rw-r--r--res/drawable/apply_progress_indicator.xml18
-rw-r--r--res/drawable/bg_grid.xml18
-rw-r--r--res/drawable/btn_quicktheme_remove_hover.xml17
-rw-r--r--res/drawable/btn_quicktheme_remove_normal.xml17
-rw-r--r--res/drawable/component_selection_selector.xml18
-rw-r--r--res/drawable/component_selector_divider.xml16
-rw-r--r--res/drawable/ic_action_reset.xml18
-rw-r--r--res/drawable/ic_appthemer.xml24
-rw-r--r--res/drawable/ic_qs_appthemer.xml24
-rw-r--r--res/drawable/ic_themestore.xml24
-rw-r--r--res/drawable/per_app_theme_list_background.xml17
-rw-r--r--res/drawable/quick_theme_fab.xml24
-rw-r--r--res/drawable/save_apply_button_selector.xml18
-rw-r--r--res/drawable/shop_themes_bg.xml18
-rw-r--r--res/drawable/theme_component_bg_transition.xml18
-rw-r--r--res/drawable/wallpaper_border.xml18
-rw-r--r--res/drawable/wallpaper_none_bg.xml18
-rw-r--r--res/layout/activity_main.xml22
-rw-r--r--res/layout/audible_card.xml26
-rw-r--r--res/layout/bootani_component_selection_item.xml20
-rw-r--r--res/layout/bootanim_card.xml26
-rw-r--r--res/layout/bottom_actions.xml24
-rw-r--r--res/layout/component_selection_pager_item.xml18
-rw-r--r--res/layout/component_selection_sounds_pager_item.xml18
-rw-r--r--res/layout/component_selector.xml28
-rw-r--r--res/layout/confirm_cancel_overlay.xml26
-rw-r--r--res/layout/customize_reset_theme_layout.xml22
-rw-r--r--res/layout/font_card.xml26
-rw-r--r--res/layout/font_component_selection_item.xml22
-rw-r--r--res/layout/fragment_pager_list.xml32
-rw-r--r--res/layout/icon_card.xml24
-rw-r--r--res/layout/icon_component_selection_item.xml20
-rw-r--r--res/layout/navbar_card.xml24
-rw-r--r--res/layout/navigation_bar_component_selection_item.xml20
-rw-r--r--res/layout/per_app_delete_box_window.xml17
-rw-r--r--res/layout/per_app_fab_floating_window_icon.xml17
-rw-r--r--res/layout/per_app_theme_list.xml23
-rw-r--r--res/layout/per_app_theme_list_item.xml17
-rw-r--r--res/layout/processing_layout.xml20
-rw-r--r--res/layout/save_apply_button.xml20
-rw-r--r--res/layout/sound_component_selection_item.xml20
-rw-r--r--res/layout/status_bar_card.xml24
-rw-r--r--res/layout/status_bar_component_selection_item.xml20
-rw-r--r--res/layout/style_card.xml24
-rw-r--r--res/layout/tag_applied.xml18
-rw-r--r--res/layout/tag_customized.xml20
-rw-r--r--res/layout/tag_default.xml20
-rw-r--r--res/layout/tag_legacy.xml20
-rw-r--r--res/layout/tag_updated.xml20
-rw-r--r--res/layout/theme_tags.xml22
-rw-r--r--res/layout/wallpaper_card.xml22
-rw-r--r--res/layout/wallpaper_component_selection_item.xml24
-rw-r--r--res/menu/overflow.xml18
-rw-r--r--res/values/attrs.xml18
-rw-r--r--res/values/colors.xml18
-rw-r--r--res/values/dimens.xml18
-rw-r--r--res/values/ids.xml17
-rw-r--r--res/values/integers.xml18
-rw-r--r--res/values/strings.xml22
-rw-r--r--res/values/styles.xml18
-rw-r--r--src/android/support/v4/view/ThemeViewPager.java18
-rw-r--r--src/android/widget/ComponentSelectorLinearLayout.java16
-rw-r--r--src/com/viewpagerindicator/CirclePageIndicator.java2
-rw-r--r--src/org/cyanogenmod/theme/chooser/AppReceiver.java (renamed from src/com/cyngn/theme/chooser/AppReceiver.java)24
-rw-r--r--src/org/cyanogenmod/theme/chooser/BootReceiver.java (renamed from src/com/cyngn/theme/chooser/BootReceiver.java)22
-rw-r--r--src/org/cyanogenmod/theme/chooser/ChooserActivity.java (renamed from src/com/cyngn/theme/chooser/ChooserActivity.java)92
-rw-r--r--src/org/cyanogenmod/theme/chooser/ComponentCardView.java (renamed from src/com/cyngn/theme/chooser/ComponentCardView.java)18
-rw-r--r--src/org/cyanogenmod/theme/chooser/ComponentSelector.java (renamed from src/com/cyngn/theme/chooser/ComponentSelector.java)50
-rw-r--r--src/org/cyanogenmod/theme/chooser/IconTransitionDrawable.java (renamed from src/com/cyngn/theme/chooser/IconTransitionDrawable.java)6
-rw-r--r--src/org/cyanogenmod/theme/chooser/MyThemeFragment.java (renamed from src/com/cyngn/theme/chooser/MyThemeFragment.java)32
-rw-r--r--src/org/cyanogenmod/theme/chooser/NewFragmentStatePagerAdapter.java (renamed from src/com/cyngn/theme/chooser/NewFragmentStatePagerAdapter.java)5
-rw-r--r--src/org/cyanogenmod/theme/chooser/NotificationHijackingService.java (renamed from src/com/cyngn/theme/chooser/NotificationHijackingService.java)22
-rw-r--r--src/org/cyanogenmod/theme/chooser/PagerContainer.java (renamed from src/com/cyngn/theme/chooser/PagerContainer.java)33
-rw-r--r--src/org/cyanogenmod/theme/chooser/ThemeFragment.java (renamed from src/com/cyngn/theme/chooser/ThemeFragment.java)78
-rw-r--r--src/org/cyanogenmod/theme/chooser/WallpaperCardView.java (renamed from src/com/cyngn/theme/chooser/WallpaperCardView.java)18
-rw-r--r--src/org/cyanogenmod/theme/perapptheming/PerAppThemeListLayout.java (renamed from src/com/cyngn/theme/perapptheming/PerAppThemeListLayout.java)20
-rw-r--r--src/org/cyanogenmod/theme/perapptheming/PerAppThemeListView.java (renamed from src/com/cyngn/theme/perapptheming/PerAppThemeListView.java)23
-rw-r--r--src/org/cyanogenmod/theme/perapptheming/PerAppThemingWindow.java (renamed from src/com/cyngn/theme/perapptheming/PerAppThemingWindow.java)22
-rw-r--r--src/org/cyanogenmod/theme/util/AudioUtils.java (renamed from src/com/cyngn/theme/util/AudioUtils.java)18
-rw-r--r--src/org/cyanogenmod/theme/util/BootAnimationHelper.java (renamed from src/com/cyngn/theme/util/BootAnimationHelper.java)18
-rw-r--r--src/org/cyanogenmod/theme/util/CursorLoaderHelper.java (renamed from src/com/cyngn/theme/util/CursorLoaderHelper.java)18
-rw-r--r--src/org/cyanogenmod/theme/util/FontConfigParser.java (renamed from src/com/cyngn/theme/util/FontConfigParser.java)18
-rw-r--r--src/org/cyanogenmod/theme/util/IconPreviewHelper.java (renamed from src/com/cyngn/theme/util/IconPreviewHelper.java)18
-rw-r--r--src/org/cyanogenmod/theme/util/NotificationHelper.java (renamed from src/com/cyngn/theme/util/NotificationHelper.java)22
-rw-r--r--src/org/cyanogenmod/theme/util/PreferenceUtils.java (renamed from src/com/cyngn/theme/util/PreferenceUtils.java)18
-rw-r--r--src/org/cyanogenmod/theme/util/ThemedTypefaceHelper.java (renamed from src/com/cyngn/theme/util/ThemedTypefaceHelper.java)18
-rw-r--r--src/org/cyanogenmod/theme/util/TypefaceHelperCache.java (renamed from src/com/cyngn/theme/util/TypefaceHelperCache.java)18
-rw-r--r--src/org/cyanogenmod/theme/util/Utils.java (renamed from src/com/cyngn/theme/util/Utils.java)20
-rw-r--r--src/org/cyanogenmod/theme/util/WallpaperUtils.java (renamed from src/com/cyngn/theme/util/WallpaperUtils.java)18
-rw-r--r--src/org/cyanogenmod/theme/widget/AutoSnapHorizontalScrollView.java (renamed from src/com/cyngn/theme/widget/AutoSnapHorizontalScrollView.java)18
-rw-r--r--src/org/cyanogenmod/theme/widget/BootAniImageView.java (renamed from src/com/cyngn/theme/widget/BootAniImageView.java)24
-rw-r--r--src/org/cyanogenmod/theme/widget/ConfirmCancelOverlay.java (renamed from src/com/cyngn/theme/widget/ConfirmCancelOverlay.java)21
-rw-r--r--src/org/cyanogenmod/theme/widget/FittedTextView.java (renamed from src/com/cyngn/theme/widget/FittedTextView.java)18
-rw-r--r--src/org/cyanogenmod/theme/widget/LatoTextView.java (renamed from src/com/cyngn/theme/widget/LatoTextView.java)24
-rw-r--r--src/org/cyanogenmod/theme/widget/LockableScrollView.java (renamed from src/com/cyngn/theme/widget/LockableScrollView.java)18
-rw-r--r--src/org/cyanogenmod/theme/widget/NavBarSpace.java (renamed from src/com/cyngn/theme/widget/NavBarSpace.java)20
-rw-r--r--src/org/cyanogenmod/theme/widget/ThemeTagLayout.java (renamed from src/com/cyngn/theme/widget/ThemeTagLayout.java)21
104 files changed, 1812 insertions, 444 deletions
diff --git a/Android.mk b/Android.mk
index 2878cf7..362622e 100644
--- a/Android.mk
+++ b/Android.mk
@@ -1,3 +1,20 @@
+#
+# Copyright (C) 2016 Cyanogen, Inc.
+# Copyright (C) 2016 The CyanogenMod Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
@@ -5,15 +22,9 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src)
LOCAL_MODULE_TAGS := optional
-# Obfuscate user builds, eng and userdebug will remain unobfuscated
-ifeq ($(TARGET_BUILD_VARIANT),user)
-LOCAL_PROGUARD_ENABLED := obfuscation
-endif
-
LOCAL_PROGUARD_FLAG_FILES := proguard.flags
-LOCAL_OVERRIDES_PACKAGES := ThemeChooser
-LOCAL_PACKAGE_NAME := ModThemeChooser
+LOCAL_PACKAGE_NAME := ThemeChooser
LOCAL_CERTIFICATE := platform
LOCAL_PRIVILEGED_MODULE := true
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 0ca8a2f..6ed9716 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -1,6 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="com.cyngn.theme.chooser"
+ package="org.cyanogenmod.theme.chooser"
android:versionCode="200"
android:versionName="2.0" >
@@ -38,7 +55,7 @@
<!-- Used to toggle Live Lock Screen setting -->
<uses-permission android:name="cyanogenmod.permission.WRITE_SECURE_SETTINGS" />
- <permission android:name="com.cyngn.themes.permission.THEMES_APP"
+ <permission android:name="org.cyanogenmod.themes.permission.THEMES_APP"
android:protectionLevel="signatureOrSystem" />
<uses-sdk
@@ -50,9 +67,10 @@
android:icon="@mipmap/ic_app_themes"
android:label="@string/app_name"
android:theme="@style/ThemeChooserTheme" >
- <activity android:name="com.cyngn.theme.chooser.ChooserActivity"
+ <activity android:name="org.cyanogenmod.theme.chooser.ChooserActivity"
android:label="@string/app_name"
android:theme="@style/ThemeChooserTheme"
+ android:configChanges="themeChange"
android:launchMode="singleTop"
android:screenOrientation="sensorPortrait">
<intent-filter>
@@ -74,8 +92,8 @@
</intent-filter>
</activity>
- <activity-alias android:name="com.cyngn.theme.chooser.ChooserLauncher"
- android:targetActivity="com.cyngn.theme.chooser.ChooserActivity"
+ <activity-alias android:name="org.cyanogenmod.theme.chooser.ChooserLauncher"
+ android:targetActivity="org.cyanogenmod.theme.chooser.ChooserActivity"
android:label="@string/app_name"
android:icon="@mipmap/ic_app_themes">
<intent-filter>
@@ -84,7 +102,7 @@
</intent-filter>
</activity-alias>
- <receiver android:name="com.cyngn.theme.chooser.AppReceiver" >
+ <receiver android:name="org.cyanogenmod.theme.chooser.AppReceiver" >
<intent-filter>
<action android:name="cyanogenmod.intent.action.THEME_INSTALLED" />
<action android:name="cyanogenmod.intent.action.THEME_REMOVED" />
@@ -99,14 +117,14 @@
</intent-filter>
</receiver>
- <service android:name="com.cyngn.theme.chooser.NotificationHijackingService"
+ <service android:name="org.cyanogenmod.theme.chooser.NotificationHijackingService"
android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE">
<intent-filter>
<action android:name="android.service.notification.NotificationListenerService" />
</intent-filter>
</service>
- <service android:name="com.cyngn.theme.perapptheming.PerAppThemingWindow" />
+ <service android:name="org.cyanogenmod.theme.perapptheming.PerAppThemingWindow" />
</application>
</manifest>
diff --git a/res/color/popup_menu_text_color.xml b/res/color/popup_menu_text_color.xml
index eb50db2..2931172 100644
--- a/res/color/popup_menu_text_color.xml
+++ b/res/color/popup_menu_text_color.xml
@@ -1,7 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_enabled="false" android:color="@color/popup_menu_text_color_disabled" />
diff --git a/res/drawable/apply_cancel_bg.xml b/res/drawable/apply_cancel_bg.xml
index 69cac8e..cadec5a 100644
--- a/res/drawable/apply_cancel_bg.xml
+++ b/res/drawable/apply_cancel_bg.xml
@@ -1,7 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@drawable/apply_circle_bg" />
diff --git a/res/drawable/apply_circle_bg.xml b/res/drawable/apply_circle_bg.xml
index 0ecea85..76b1704 100644
--- a/res/drawable/apply_circle_bg.xml
+++ b/res/drawable/apply_circle_bg.xml
@@ -1,7 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval">
diff --git a/res/drawable/apply_progress_background.xml b/res/drawable/apply_progress_background.xml
index b1ea77a..d9a4fe1 100644
--- a/res/drawable/apply_progress_background.xml
+++ b/res/drawable/apply_progress_background.xml
@@ -1,7 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
diff --git a/res/drawable/apply_progress_bar.xml b/res/drawable/apply_progress_bar.xml
index d6f1cbc..bd12589 100644
--- a/res/drawable/apply_progress_bar.xml
+++ b/res/drawable/apply_progress_bar.xml
@@ -1,7 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@android:id/background"
diff --git a/res/drawable/apply_progress_indicator.xml b/res/drawable/apply_progress_indicator.xml
index ea43ba2..40a4504 100644
--- a/res/drawable/apply_progress_indicator.xml
+++ b/res/drawable/apply_progress_indicator.xml
@@ -1,7 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
diff --git a/res/drawable/bg_grid.xml b/res/drawable/bg_grid.xml
index 92664aa..0e8764e 100644
--- a/res/drawable/bg_grid.xml
+++ b/res/drawable/bg_grid.xml
@@ -1,7 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/bg_wpabsent"
android:tileMode="repeat"
diff --git a/res/drawable/btn_quicktheme_remove_hover.xml b/res/drawable/btn_quicktheme_remove_hover.xml
index 1b7faad..c256681 100644
--- a/res/drawable/btn_quicktheme_remove_hover.xml
+++ b/res/drawable/btn_quicktheme_remove_hover.xml
@@ -1,4 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
diff --git a/res/drawable/btn_quicktheme_remove_normal.xml b/res/drawable/btn_quicktheme_remove_normal.xml
index f2f0bbe..88f33a5 100644
--- a/res/drawable/btn_quicktheme_remove_normal.xml
+++ b/res/drawable/btn_quicktheme_remove_normal.xml
@@ -1,4 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
diff --git a/res/drawable/component_selection_selector.xml b/res/drawable/component_selection_selector.xml
index 1b61026..a95861d 100644
--- a/res/drawable/component_selection_selector.xml
+++ b/res/drawable/component_selection_selector.xml
@@ -1,7 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@drawable/component_selection_pressed"/>
<item android:state_selected="true" android:drawable="@drawable/component_selection_pressed"/>
diff --git a/res/drawable/component_selector_divider.xml b/res/drawable/component_selector_divider.xml
index 8e0597f..004b4d0 100644
--- a/res/drawable/component_selector_divider.xml
+++ b/res/drawable/component_selector_divider.xml
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
<shape xmlns:android="http://schemas.android.com/apk/res/android">
diff --git a/res/drawable/ic_action_reset.xml b/res/drawable/ic_action_reset.xml
index 7c4303d..6b95fd3 100644
--- a/res/drawable/ic_action_reset.xml
+++ b/res/drawable/ic_action_reset.xml
@@ -1,7 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_enabled="false"
diff --git a/res/drawable/ic_appthemer.xml b/res/drawable/ic_appthemer.xml
index f75cb8e..1bb9965 100644
--- a/res/drawable/ic_appthemer.xml
+++ b/res/drawable/ic_appthemer.xml
@@ -1,19 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (c) 2015 Cyanogen, Inc.
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="48dp"
android:height="48dp"
diff --git a/res/drawable/ic_qs_appthemer.xml b/res/drawable/ic_qs_appthemer.xml
index 5e2729c..dbe29c7 100644
--- a/res/drawable/ic_qs_appthemer.xml
+++ b/res/drawable/ic_qs_appthemer.xml
@@ -1,19 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (c) 2015 Cyanogen, Inc.
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="48dp"
android:height="48dp"
diff --git a/res/drawable/ic_themestore.xml b/res/drawable/ic_themestore.xml
index ab48486..9bcefe6 100644
--- a/res/drawable/ic_themestore.xml
+++ b/res/drawable/ic_themestore.xml
@@ -1,19 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (c) 2015 Cyanogen, Inc.
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="48dp"
android:height="48dp"
diff --git a/res/drawable/per_app_theme_list_background.xml b/res/drawable/per_app_theme_list_background.xml
index 09868c3..decf73a 100644
--- a/res/drawable/per_app_theme_list_background.xml
+++ b/res/drawable/per_app_theme_list_background.xml
@@ -1,4 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners android:radius="4dp"/>
diff --git a/res/drawable/quick_theme_fab.xml b/res/drawable/quick_theme_fab.xml
index 762e014..53f5813 100644
--- a/res/drawable/quick_theme_fab.xml
+++ b/res/drawable/quick_theme_fab.xml
@@ -1,19 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (c) 2015 Cyanogen, Inc.
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="222dp"
android:height="222dp"
diff --git a/res/drawable/save_apply_button_selector.xml b/res/drawable/save_apply_button_selector.xml
index 3c8c7d3..eaab9e2 100644
--- a/res/drawable/save_apply_button_selector.xml
+++ b/res/drawable/save_apply_button_selector.xml
@@ -1,7 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@drawable/btn_apply_pressed"/>
<item android:drawable="@drawable/btn_apply_normal"/>
diff --git a/res/drawable/shop_themes_bg.xml b/res/drawable/shop_themes_bg.xml
index 95afa02..f0384e9 100644
--- a/res/drawable/shop_themes_bg.xml
+++ b/res/drawable/shop_themes_bg.xml
@@ -1,7 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_focused="true"
diff --git a/res/drawable/theme_component_bg_transition.xml b/res/drawable/theme_component_bg_transition.xml
index 5514e00..01dcfe4 100644
--- a/res/drawable/theme_component_bg_transition.xml
+++ b/res/drawable/theme_component_bg_transition.xml
@@ -1,7 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<transition xmlns:android="http://schemas.android.com/apk/res/android" >
<item android:drawable="@android:color/transparent" />
<item android:drawable="@drawable/card_bg" />
diff --git a/res/drawable/wallpaper_border.xml b/res/drawable/wallpaper_border.xml
index cc5a09d..a8062dc 100644
--- a/res/drawable/wallpaper_border.xml
+++ b/res/drawable/wallpaper_border.xml
@@ -1,7 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
diff --git a/res/drawable/wallpaper_none_bg.xml b/res/drawable/wallpaper_none_bg.xml
index 782624c..3c4481f 100644
--- a/res/drawable/wallpaper_none_bg.xml
+++ b/res/drawable/wallpaper_none_bg.xml
@@ -1,7 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle" >
diff --git a/res/layout/activity_main.xml b/res/layout/activity_main.xml
index 6c7bab8..01a91a6 100644
--- a/res/layout/activity_main.xml
+++ b/res/layout/activity_main.xml
@@ -1,7 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
@@ -15,7 +29,7 @@
android:layout_height="match_parent"
android:orientation="vertical"
android:layout_gravity="center_vertical">
- <com.cyngn.theme.chooser.PagerContainer
+ <org.cyanogenmod.theme.chooser.PagerContainer
android:id="@+id/pager_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -27,7 +41,7 @@
android:layout_height="match_parent"
android:layout_gravity="center_horizontal"
android:overScrollMode="never"/>
- </com.cyngn.theme.chooser.PagerContainer>
+ </org.cyanogenmod.theme.chooser.PagerContainer>
</LinearLayout>
<include layout="@layout/component_selector"/>
diff --git a/res/layout/audible_card.xml b/res/layout/audible_card.xml
index b291688..764a04e 100644
--- a/res/layout/audible_card.xml
+++ b/res/layout/audible_card.xml
@@ -1,14 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
-<com.cyngn.theme.chooser.ComponentCardView
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<org.cyanogenmod.theme.chooser.ComponentCardView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:background="@drawable/card_bg">
- <com.cyngn.theme.widget.LatoTextView
+ <org.cyanogenmod.theme.widget.LatoTextView
android:id="@+id/label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -22,7 +36,7 @@
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent">
- <com.cyngn.theme.widget.LatoTextView
+ <org.cyanogenmod.theme.widget.LatoTextView
android:id="@+id/audible_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@@ -51,4 +65,4 @@
android:src="@drawable/ic_addcomponent"/>
</LinearLayout>
</FrameLayout>
-</com.cyngn.theme.chooser.ComponentCardView>
+</org.cyanogenmod.theme.chooser.ComponentCardView>
diff --git a/res/layout/bootani_component_selection_item.xml b/res/layout/bootani_component_selection_item.xml
index 965a266..e595764 100644
--- a/res/layout/bootani_component_selection_item.xml
+++ b/res/layout/bootani_component_selection_item.xml
@@ -1,7 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="wrap_content"
@@ -15,7 +29,7 @@
android:layout_marginTop="@dimen/component_margin_top"
android:layout_gravity="center_horizontal"/>
- <com.cyngn.theme.widget.LatoTextView
+ <org.cyanogenmod.theme.widget.LatoTextView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
diff --git a/res/layout/bootanim_card.xml b/res/layout/bootanim_card.xml
index 0e2f705..ad3cb01 100644
--- a/res/layout/bootanim_card.xml
+++ b/res/layout/bootanim_card.xml
@@ -1,8 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
-<com.cyngn.theme.chooser.ComponentCardView
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<org.cyanogenmod.theme.chooser.ComponentCardView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/bootani_preview_container"
android:layout_width="match_parent"
@@ -12,14 +26,14 @@
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
- <com.cyngn.theme.widget.BootAniImageView
+ <org.cyanogenmod.theme.widget.BootAniImageView
android:id="@+id/bootani_preview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/expanded_card_margin_top"
android:adjustViewBounds="true"
android:layout_gravity="center"/>
- <com.cyngn.theme.widget.LatoTextView
+ <org.cyanogenmod.theme.widget.LatoTextView
android:id="@+id/label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -37,4 +51,4 @@
android:src="@drawable/ic_addcomponent"/>
</LinearLayout>
</FrameLayout>
-</com.cyngn.theme.chooser.ComponentCardView>
+</org.cyanogenmod.theme.chooser.ComponentCardView>
diff --git a/res/layout/bottom_actions.xml b/res/layout/bottom_actions.xml
index eea6d7a..67f8461 100644
--- a/res/layout/bottom_actions.xml
+++ b/res/layout/bottom_actions.xml
@@ -1,7 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/bottom_actions_layout"
android:orientation="vertical"
@@ -41,7 +55,7 @@
android:visibility="gone"/>
</FrameLayout>
- <com.cyngn.theme.widget.LatoTextView
+ <org.cyanogenmod.theme.widget.LatoTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
@@ -64,7 +78,7 @@
android:layout_margin="8dp"
android:src="@drawable/ic_themestore"/>
- <com.cyngn.theme.widget.LatoTextView
+ <org.cyanogenmod.theme.widget.LatoTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
@@ -75,7 +89,7 @@
</LinearLayout>
- <com.cyngn.theme.widget.NavBarSpace
+ <org.cyanogenmod.theme.widget.NavBarSpace
android:layout_width="match_parent"
android:layout_height="@dimen/navigation_bar_height"/>
</LinearLayout>
diff --git a/res/layout/component_selection_pager_item.xml b/res/layout/component_selection_pager_item.xml
index 7764577..69eb205 100644
--- a/res/layout/component_selection_pager_item.xml
+++ b/res/layout/component_selection_pager_item.xml
@@ -1,7 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_width="match_parent"
diff --git a/res/layout/component_selection_sounds_pager_item.xml b/res/layout/component_selection_sounds_pager_item.xml
index 375ae96..ded944c 100644
--- a/res/layout/component_selection_sounds_pager_item.xml
+++ b/res/layout/component_selection_sounds_pager_item.xml
@@ -1,7 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
diff --git a/res/layout/component_selector.xml b/res/layout/component_selector.xml
index 747e776..14b13de 100644
--- a/res/layout/component_selector.xml
+++ b/res/layout/component_selector.xml
@@ -1,8 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
-<com.cyngn.theme.chooser.ComponentSelector
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<org.cyanogenmod.theme.chooser.ComponentSelector
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/component_selector"
android:orientation="vertical"
@@ -12,7 +26,7 @@
android:visibility="gone"
android:background="@color/component_selection_background">
- <com.cyngn.theme.widget.AutoSnapHorizontalScrollView
+ <org.cyanogenmod.theme.widget.AutoSnapHorizontalScrollView
android:id="@+id/scroll_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -26,9 +40,9 @@
android:divider="@drawable/component_selector_divider"
android:showDividers="middle" />
- </com.cyngn.theme.widget.AutoSnapHorizontalScrollView>
+ </org.cyanogenmod.theme.widget.AutoSnapHorizontalScrollView>
- <com.cyngn.theme.widget.NavBarSpace
+ <org.cyanogenmod.theme.widget.NavBarSpace
android:layout_width="match_parent"
android:layout_height="@dimen/navigation_bar_height"/>
-</com.cyngn.theme.chooser.ComponentSelector> \ No newline at end of file
+</org.cyanogenmod.theme.chooser.ComponentSelector> \ No newline at end of file
diff --git a/res/layout/confirm_cancel_overlay.xml b/res/layout/confirm_cancel_overlay.xml
index ae63a3b..1e13f18 100644
--- a/res/layout/confirm_cancel_overlay.xml
+++ b/res/layout/confirm_cancel_overlay.xml
@@ -1,8 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
-<com.cyngn.theme.widget.ConfirmCancelOverlay
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<org.cyanogenmod.theme.widget.ConfirmCancelOverlay
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/confirm_cancel_overlay"
android:layout_width="match_parent"
@@ -10,7 +24,7 @@
android:visibility="gone"
android:background="@color/apply_overlay_background">
- <com.cyngn.theme.widget.LatoTextView
+ <org.cyanogenmod.theme.widget.LatoTextView
android:id="@+id/overlay_title"
android:layout_width="wrap_content"
android:layout_height="132dp"
@@ -54,7 +68,7 @@
</LinearLayout>
- <com.cyngn.theme.widget.LatoTextView
+ <org.cyanogenmod.theme.widget.LatoTextView
android:id="@+id/warning_message"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@@ -66,4 +80,4 @@
android:textColor="@color/apply_overlay_text_color"
android:textSize="12dp"/>
-</com.cyngn.theme.widget.ConfirmCancelOverlay> \ No newline at end of file
+</org.cyanogenmod.theme.widget.ConfirmCancelOverlay> \ No newline at end of file
diff --git a/res/layout/customize_reset_theme_layout.xml b/res/layout/customize_reset_theme_layout.xml
index cd8a6cc..0c6872a 100644
--- a/res/layout/customize_reset_theme_layout.xml
+++ b/res/layout/customize_reset_theme_layout.xml
@@ -1,7 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/customize_reset_theme_layout"
android:layout_width="match_parent"
@@ -40,7 +54,7 @@
android:scaleType="center"
android:background="@drawable/apply_cancel_bg"/>
- <com.cyngn.theme.widget.LatoTextView
+ <org.cyanogenmod.theme.widget.LatoTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
@@ -74,7 +88,7 @@
android:scaleType="center"
android:background="@drawable/apply_cancel_bg"/>
- <com.cyngn.theme.widget.LatoTextView
+ <org.cyanogenmod.theme.widget.LatoTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
diff --git a/res/layout/font_card.xml b/res/layout/font_card.xml
index 442edd5..3b4808d 100644
--- a/res/layout/font_card.xml
+++ b/res/layout/font_card.xml
@@ -1,8 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
-<com.cyngn.theme.chooser.ComponentCardView
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<org.cyanogenmod.theme.chooser.ComponentCardView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/font_preview_container"
android:layout_width="match_parent"
@@ -11,7 +25,7 @@
android:orientation="vertical"
android:padding="0dp"
android:background="@drawable/theme_component_bg_transition">
- <com.cyngn.theme.widget.LatoTextView
+ <org.cyanogenmod.theme.widget.LatoTextView
android:id="@+id/label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -21,7 +35,7 @@
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
- <com.cyngn.theme.widget.LatoTextView
+ <org.cyanogenmod.theme.widget.LatoTextView
android:id="@+id/font_preview"
android:layout_width="match_parent"
android:layout_height="48dp"
@@ -50,4 +64,4 @@
android:src="@drawable/ic_addcomponent"/>
</LinearLayout>
</FrameLayout>
-</com.cyngn.theme.chooser.ComponentCardView>
+</org.cyanogenmod.theme.chooser.ComponentCardView>
diff --git a/res/layout/font_component_selection_item.xml b/res/layout/font_component_selection_item.xml
index c520bc7..51e4799 100644
--- a/res/layout/font_component_selection_item.xml
+++ b/res/layout/font_component_selection_item.xml
@@ -1,14 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="@dimen/component_selection_cell_height"
android:background="@drawable/component_selection_selector">
- <com.cyngn.theme.widget.FittedTextView
+ <org.cyanogenmod.theme.widget.FittedTextView
android:id="@+id/text_preview"
android:layout_width="@dimen/component_selection_content_width"
android:layout_height="@dimen/component_selection_content_height"
@@ -17,7 +31,7 @@
android:layout_marginTop="@dimen/component_margin_top"
android:layout_gravity="center_horizontal"/>
- <com.cyngn.theme.widget.LatoTextView
+ <org.cyanogenmod.theme.widget.LatoTextView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
diff --git a/res/layout/fragment_pager_list.xml b/res/layout/fragment_pager_list.xml
index ff76c80..ca1d092 100644
--- a/res/layout/fragment_pager_list.xml
+++ b/res/layout/fragment_pager_list.xml
@@ -1,7 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:themes="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
@@ -9,7 +23,7 @@
android:layout_height="match_parent"
android:paddingStart="@dimen/collapsed_theme_page_padding"
android:paddingEnd="@dimen/collapsed_theme_page_padding">
- <com.cyngn.theme.widget.LockableScrollView android:id="@android:id/list"
+ <org.cyanogenmod.theme.widget.LockableScrollView android:id="@android:id/list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="@dimen/collapsed_theme_page_padding_top"
@@ -81,14 +95,14 @@
android:layout_gravity="center_vertical"
android:layout_marginStart="16dp"
android:orientation="vertical">
- <com.cyngn.theme.widget.LatoTextView
+ <org.cyanogenmod.theme.widget.LatoTextView
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="end"
android:singleLine="true"
android:textColor="@color/theme_title_text_color"/>
- <com.cyngn.theme.widget.LatoTextView
+ <org.cyanogenmod.theme.widget.LatoTextView
android:id="@+id/author"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@@ -157,7 +171,7 @@
android:orientation="vertical"
android:layout_marginTop="@dimen/additional_cards_margin_top"
android:visibility="invisible">
- <com.cyngn.theme.chooser.WallpaperCardView
+ <org.cyanogenmod.theme.chooser.WallpaperCardView
android:id="@+id/wallpaper_card"
android:layout_width="match_parent"
android:layout_height="@dimen/wallpaper_card_height"
@@ -165,7 +179,7 @@
/>
<Space android:layout_width="match_parent"
android:layout_height="@dimen/expanded_card_margin_top" />
- <com.cyngn.theme.chooser.WallpaperCardView
+ <org.cyanogenmod.theme.chooser.WallpaperCardView
android:id="@+id/lockscreen_card"
android:visibility="gone"
android:layout_width="match_parent"
@@ -196,10 +210,10 @@
<Space android:layout_width="match_parent"
android:layout_height="@dimen/expanded_card_margin_top" />
- <com.cyngn.theme.widget.NavBarSpace
+ <org.cyanogenmod.theme.widget.NavBarSpace
android:layout_width="match_parent"
android:layout_height="@dimen/navigation_bar_height" />
</LinearLayout>
</LinearLayout>
- </com.cyngn.theme.widget.LockableScrollView>
+ </org.cyanogenmod.theme.widget.LockableScrollView>
</LinearLayout>
diff --git a/res/layout/icon_card.xml b/res/layout/icon_card.xml
index 6b437c3..1cf454b 100644
--- a/res/layout/icon_card.xml
+++ b/res/layout/icon_card.xml
@@ -1,8 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
-<com.cyngn.theme.chooser.ComponentCardView
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<org.cyanogenmod.theme.chooser.ComponentCardView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/icon_container"
android:layout_width="match_parent"
@@ -11,7 +25,7 @@
android:padding="0dp"
android:layout_marginTop="@dimen/collapsed_icon_card_margin_top"
android:background="@drawable/theme_component_bg_transition">
- <com.cyngn.theme.widget.LatoTextView
+ <org.cyanogenmod.theme.widget.LatoTextView
android:id="@+id/label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -62,4 +76,4 @@
android:src="@drawable/ic_addcomponent"/>
</LinearLayout>
</FrameLayout>
-</com.cyngn.theme.chooser.ComponentCardView> \ No newline at end of file
+</org.cyanogenmod.theme.chooser.ComponentCardView> \ No newline at end of file
diff --git a/res/layout/icon_component_selection_item.xml b/res/layout/icon_component_selection_item.xml
index 87db102..f2d4fe0 100644
--- a/res/layout/icon_component_selection_item.xml
+++ b/res/layout/icon_component_selection_item.xml
@@ -1,7 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="wrap_content"
@@ -17,7 +31,7 @@
android:layout_marginTop="@dimen/component_margin_top"
android:layout_gravity="center_horizontal"/>
- <com.cyngn.theme.widget.LatoTextView
+ <org.cyanogenmod.theme.widget.LatoTextView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
diff --git a/res/layout/navbar_card.xml b/res/layout/navbar_card.xml
index 729d789..b196f6a 100644
--- a/res/layout/navbar_card.xml
+++ b/res/layout/navbar_card.xml
@@ -1,8 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
-<com.cyngn.theme.chooser.ComponentCardView
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<org.cyanogenmod.theme.chooser.ComponentCardView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/navigation_bar_container"
android:layout_width="match_parent"
@@ -12,7 +26,7 @@
android:padding="0dp"
android:gravity="bottom"
android:background="@drawable/theme_component_bg_transition">
- <com.cyngn.theme.widget.LatoTextView
+ <org.cyanogenmod.theme.widget.LatoTextView
android:id="@+id/label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -78,4 +92,4 @@
android:src="@drawable/ic_addcomponent"/>
</LinearLayout>
</FrameLayout>
-</com.cyngn.theme.chooser.ComponentCardView> \ No newline at end of file
+</org.cyanogenmod.theme.chooser.ComponentCardView> \ No newline at end of file
diff --git a/res/layout/navigation_bar_component_selection_item.xml b/res/layout/navigation_bar_component_selection_item.xml
index fef8ee8..8893ccb 100644
--- a/res/layout/navigation_bar_component_selection_item.xml
+++ b/res/layout/navigation_bar_component_selection_item.xml
@@ -1,7 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="wrap_content"
@@ -25,7 +39,7 @@
</LinearLayout>
- <com.cyngn.theme.widget.LatoTextView
+ <org.cyanogenmod.theme.widget.LatoTextView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
diff --git a/res/layout/per_app_delete_box_window.xml b/res/layout/per_app_delete_box_window.xml
index c653320..edd5794 100644
--- a/res/layout/per_app_delete_box_window.xml
+++ b/res/layout/per_app_delete_box_window.xml
@@ -1,4 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<ImageView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/box"
android:layout_width="match_parent"
diff --git a/res/layout/per_app_fab_floating_window_icon.xml b/res/layout/per_app_fab_floating_window_icon.xml
index 8126269..fb996f7 100644
--- a/res/layout/per_app_fab_floating_window_icon.xml
+++ b/res/layout/per_app_fab_floating_window_icon.xml
@@ -1,4 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
diff --git a/res/layout/per_app_theme_list.xml b/res/layout/per_app_theme_list.xml
index 54520c5..be595c9 100644
--- a/res/layout/per_app_theme_list.xml
+++ b/res/layout/per_app_theme_list.xml
@@ -1,11 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
-<com.cyngn.theme.perapptheming.PerAppThemeListLayout
+<!--
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<org.cyanogenmod.theme.perapptheming.PerAppThemeListLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
- <com.cyngn.theme.perapptheming.PerAppThemeListView
+ <org.cyanogenmod.theme.perapptheming.PerAppThemeListView
android:id="@+id/theme_list"
android:layout_width="@dimen/theme_list_width"
android:layout_height="wrap_content"
@@ -29,4 +46,4 @@
android:textSize="16dp"
android:alpha="0"/>
-</com.cyngn.theme.perapptheming.PerAppThemeListLayout> \ No newline at end of file
+</org.cyanogenmod.theme.perapptheming.PerAppThemeListLayout> \ No newline at end of file
diff --git a/res/layout/per_app_theme_list_item.xml b/res/layout/per_app_theme_list_item.xml
index c426d5e..3601bef 100644
--- a/res/layout/per_app_theme_list_item.xml
+++ b/res/layout/per_app_theme_list_item.xml
@@ -1,4 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_width="match_parent"
diff --git a/res/layout/processing_layout.xml b/res/layout/processing_layout.xml
index f284fbe..26c3a3a 100644
--- a/res/layout/processing_layout.xml
+++ b/res/layout/processing_layout.xml
@@ -1,7 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/processing_theme_layout"
android:layout_width="match_parent"
@@ -9,7 +23,7 @@
android:visibility="gone"
android:background="@color/apply_overlay_background">
- <com.cyngn.theme.widget.LatoTextView
+ <org.cyanogenmod.theme.widget.LatoTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
diff --git a/res/layout/save_apply_button.xml b/res/layout/save_apply_button.xml
index edbe962..ac0fee9 100644
--- a/res/layout/save_apply_button.xml
+++ b/res/layout/save_apply_button.xml
@@ -1,7 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/save_apply_layout"
android:orientation="vertical"
@@ -30,7 +44,7 @@
</LinearLayout>
- <com.cyngn.theme.widget.NavBarSpace
+ <org.cyanogenmod.theme.widget.NavBarSpace
android:layout_width="match_parent"
android:layout_height="@dimen/navigation_bar_height"/>
diff --git a/res/layout/sound_component_selection_item.xml b/res/layout/sound_component_selection_item.xml
index e13c47c..08913d8 100644
--- a/res/layout/sound_component_selection_item.xml
+++ b/res/layout/sound_component_selection_item.xml
@@ -1,13 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content">
- <com.cyngn.theme.widget.LatoTextView
+ <org.cyanogenmod.theme.widget.LatoTextView
android:id="@+id/title"
android:layout_width="0dp"
android:layout_height="wrap_content"
diff --git a/res/layout/status_bar_card.xml b/res/layout/status_bar_card.xml
index 96e4113..331db00 100644
--- a/res/layout/status_bar_card.xml
+++ b/res/layout/status_bar_card.xml
@@ -1,8 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
-<com.cyngn.theme.chooser.ComponentCardView
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<org.cyanogenmod.theme.chooser.ComponentCardView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/status_bar_container"
android:layout_width="match_parent"
@@ -12,7 +26,7 @@
android:clickable="true"
android:focusable="true"
android:background="@drawable/theme_component_bg_transition">
- <com.cyngn.theme.widget.LatoTextView
+ <org.cyanogenmod.theme.widget.LatoTextView
android:id="@+id/label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -93,4 +107,4 @@
android:src="@drawable/ic_addcomponent"/>
</LinearLayout>
</FrameLayout>
-</com.cyngn.theme.chooser.ComponentCardView> \ No newline at end of file
+</org.cyanogenmod.theme.chooser.ComponentCardView> \ No newline at end of file
diff --git a/res/layout/status_bar_component_selection_item.xml b/res/layout/status_bar_component_selection_item.xml
index cd84662..c9a7ee6 100644
--- a/res/layout/status_bar_component_selection_item.xml
+++ b/res/layout/status_bar_component_selection_item.xml
@@ -1,7 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="wrap_content"
@@ -37,7 +51,7 @@
</FrameLayout>
- <com.cyngn.theme.widget.LatoTextView
+ <org.cyanogenmod.theme.widget.LatoTextView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
diff --git a/res/layout/style_card.xml b/res/layout/style_card.xml
index 72f51ba..e1906cc 100644
--- a/res/layout/style_card.xml
+++ b/res/layout/style_card.xml
@@ -1,15 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
-<com.cyngn.theme.chooser.ComponentCardView
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<org.cyanogenmod.theme.chooser.ComponentCardView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/style_card"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:background="@drawable/card_bg">
- <com.cyngn.theme.widget.LatoTextView
+ <org.cyanogenmod.theme.widget.LatoTextView
android:id="@+id/label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -40,4 +54,4 @@
android:src="@drawable/ic_addcomponent"/>
</LinearLayout>
</FrameLayout>
-</com.cyngn.theme.chooser.ComponentCardView>
+</org.cyanogenmod.theme.chooser.ComponentCardView>
diff --git a/res/layout/tag_applied.xml b/res/layout/tag_applied.xml
index ab1d223..30fba6c 100644
--- a/res/layout/tag_applied.xml
+++ b/res/layout/tag_applied.xml
@@ -1,7 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<ImageView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/tag_applied"
android:layout_width="24dp"
diff --git a/res/layout/tag_customized.xml b/res/layout/tag_customized.xml
index 458f8ce..52e9c08 100644
--- a/res/layout/tag_customized.xml
+++ b/res/layout/tag_customized.xml
@@ -1,8 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
-<com.cyngn.theme.widget.LatoTextView
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<org.cyanogenmod.theme.widget.LatoTextView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/tag_customized"
android:layout_width="wrap_content"
diff --git a/res/layout/tag_default.xml b/res/layout/tag_default.xml
index f1de250..2bcd54d 100644
--- a/res/layout/tag_default.xml
+++ b/res/layout/tag_default.xml
@@ -1,8 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
-<com.cyngn.theme.widget.LatoTextView
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<org.cyanogenmod.theme.widget.LatoTextView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/tag_default"
android:layout_width="wrap_content"
diff --git a/res/layout/tag_legacy.xml b/res/layout/tag_legacy.xml
index 672215f..1b50e5e 100644
--- a/res/layout/tag_legacy.xml
+++ b/res/layout/tag_legacy.xml
@@ -1,8 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
-<com.cyngn.theme.widget.LatoTextView
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<org.cyanogenmod.theme.widget.LatoTextView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/tag_legacy"
android:layout_width="24dp"
diff --git a/res/layout/tag_updated.xml b/res/layout/tag_updated.xml
index 6b179fe..f800079 100644
--- a/res/layout/tag_updated.xml
+++ b/res/layout/tag_updated.xml
@@ -1,8 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
-<com.cyngn.theme.widget.LatoTextView
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<org.cyanogenmod.theme.widget.LatoTextView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/tag_updated"
android:layout_width="wrap_content"
diff --git a/res/layout/theme_tags.xml b/res/layout/theme_tags.xml
index 7e8af2a..6dd7b89 100644
--- a/res/layout/theme_tags.xml
+++ b/res/layout/theme_tags.xml
@@ -1,8 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
-<com.cyngn.theme.widget.ThemeTagLayout
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<org.cyanogenmod.theme.widget.ThemeTagLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/tag_layout"
android:layout_width="wrap_content"
@@ -11,4 +25,4 @@
android:layout_marginStart="3dp"
android:animateLayoutChanges="true">
-</com.cyngn.theme.widget.ThemeTagLayout> \ No newline at end of file
+</org.cyanogenmod.theme.widget.ThemeTagLayout> \ No newline at end of file
diff --git a/res/layout/wallpaper_card.xml b/res/layout/wallpaper_card.xml
index ff2ab21..db56196 100644
--- a/res/layout/wallpaper_card.xml
+++ b/res/layout/wallpaper_card.xml
@@ -1,7 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
@@ -11,7 +25,7 @@
android:layout_height="match_parent"
android:scaleType="centerCrop" />
- <com.cyngn.theme.widget.LatoTextView
+ <org.cyanogenmod.theme.widget.LatoTextView
android:id="@+id/none"
android:layout_width="match_parent"
android:layout_height="match_parent"
@@ -19,7 +33,7 @@
android:visibility="gone"
style="@style/card_none_text"/>
- <com.cyngn.theme.widget.LatoTextView
+ <org.cyanogenmod.theme.widget.LatoTextView
android:id="@+id/label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
diff --git a/res/layout/wallpaper_component_selection_item.xml b/res/layout/wallpaper_component_selection_item.xml
index 7f1428c..ace5c34 100644
--- a/res/layout/wallpaper_component_selection_item.xml
+++ b/res/layout/wallpaper_component_selection_item.xml
@@ -1,9 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:cyngn="http://schemas.android.com/apk/res/com.cyngn.theme.chooser"
+ xmlns:cyngn="http://schemas.android.com/apk/res/org.cyanogenmod.theme.chooser"
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="@dimen/component_selection_cell_height"
@@ -32,7 +46,7 @@
android:background="@android:color/white"
android:layout_gravity="center_horizontal|bottom"
android:visibility="gone">
- <com.cyngn.theme.widget.LatoTextView
+ <org.cyanogenmod.theme.widget.LatoTextView
android:layout_width="@dimen/animated_lock_screen_text_width"
android:layout_height="@dimen/animated_lock_screen_text_height"
android:includeFontPadding="false"
@@ -47,7 +61,7 @@
</LinearLayout>
</FrameLayout>
- <com.cyngn.theme.widget.LatoTextView
+ <org.cyanogenmod.theme.widget.LatoTextView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
diff --git a/res/menu/overflow.xml b/res/menu/overflow.xml
index 010c87f..26353be 100644
--- a/res/menu/overflow.xml
+++ b/res/menu/overflow.xml
@@ -1,7 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<group android:id="@+id/group_popupmenu">
<item android:id="@+id/menu_delete"
diff --git a/res/values/attrs.xml b/res/values/attrs.xml
index 0cb7ae9..0893b87 100644
--- a/res/values/attrs.xml
+++ b/res/values/attrs.xml
@@ -1,7 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<resources>
<declare-styleable name="ComponentSelector">
diff --git a/res/values/colors.xml b/res/values/colors.xml
index b043f91..bdc361a 100644
--- a/res/values/colors.xml
+++ b/res/values/colors.xml
@@ -1,7 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<resources>
<color name="detailedview_pager_background">#ffffff</color>
<color name="title_author_background">#ffffff</color>
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index b5f9465..6f212e8 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -1,7 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<resources>
<!-- Theme fragment width should account for the fact that there will be cards which expand -->
diff --git a/res/values/ids.xml b/res/values/ids.xml
index 0e6acd1..c08edeb 100644
--- a/res/values/ids.xml
+++ b/res/values/ids.xml
@@ -1,4 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<resources>
<item type="id" name="tag_key_holder"/>
<item type="id" name="tag_key_name"/>
diff --git a/res/values/integers.xml b/res/values/integers.xml
index b2d17f3..e1c1e4c 100644
--- a/res/values/integers.xml
+++ b/res/values/integers.xml
@@ -1,7 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<resources>
<integer name="default_items_per_page">4</integer>
<integer name="bootani_items_per_page">3</integer>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 2fa25a8..6cc115a 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -1,7 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014-2015 Cyanogen, Inc.
--->
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<resources>
<string name="app_name">Theme Chooser</string>
@@ -94,4 +108,8 @@
<string name="enable_live_lock_screen_dialog_title">Enable Live lock screen</string>
<string name="enable_live_lock_screen_dialog_message">Animated lock screens require the Live lock screen feature. You can change this later by opening Settings and visiting the Live lock screen page under Lock screen options.</string>
<string name="enable_live_lock_screen_dialog_positive_btn_text">Enable</string>
+
+ <string name="get_more_app_not_available">App not available</string>
+ <string name="play_store_url" translatable="false">https://play.google.com/store/search?q=theme+engine&amp;c=apps</string>
+ <string name="wiki_url" translatable="false">http://wiki.cyanogenmod.org/w/Themes</string>
</resources>
diff --git a/res/values/styles.xml b/res/values/styles.xml
index e0bc961..96fced3 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -1,7 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2014 Cyanogen, Inc.
--->
+ Copyright (C) 2016 Cyanogen, Inc.
+ Copyright (C) 2016 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
<resources xmlns:android="http://schemas.android.com/apk/res/android">
<!-- Base application theme. -->
diff --git a/src/android/support/v4/view/ThemeViewPager.java b/src/android/support/v4/view/ThemeViewPager.java
index cae4d5a..ba0911e 100644
--- a/src/android/support/v4/view/ThemeViewPager.java
+++ b/src/android/support/v4/view/ThemeViewPager.java
@@ -1,6 +1,20 @@
/*
- * Copyright (C) 2014 Cyanogen, Inc.
+ * Copyright (C) 2016 Cyanogen, Inc.
+ * Copyright (C) 2016 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
+
package android.support.v4.view;
import android.content.Context;
@@ -10,7 +24,7 @@ import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
-import com.cyngn.theme.chooser.R;
+import org.cyanogenmod.theme.chooser.R;
public class ThemeViewPager extends ViewPager {
private static final String TAG = ThemeViewPager.class.getSimpleName();
diff --git a/src/android/widget/ComponentSelectorLinearLayout.java b/src/android/widget/ComponentSelectorLinearLayout.java
index cb13ba0..17d4256 100644
--- a/src/android/widget/ComponentSelectorLinearLayout.java
+++ b/src/android/widget/ComponentSelectorLinearLayout.java
@@ -1,6 +1,20 @@
/*
- * Copyright (C) 2014 The Cyanogen, Inc
+ * Copyright (C) 2016 Cyanogen, Inc.
+ * Copyright (C) 2016 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
+
package android.widget;
import android.content.Context;
diff --git a/src/com/viewpagerindicator/CirclePageIndicator.java b/src/com/viewpagerindicator/CirclePageIndicator.java
index 81365af..19b031e 100644
--- a/src/com/viewpagerindicator/CirclePageIndicator.java
+++ b/src/com/viewpagerindicator/CirclePageIndicator.java
@@ -34,7 +34,7 @@ import android.view.View;
import android.view.ViewConfiguration;
import au.com.glassechidna.velocityviewpager.VelocityViewPager;
-import com.cyngn.theme.chooser.R;
+import org.cyanogenmod.theme.chooser.R;
import static android.graphics.Paint.ANTI_ALIAS_FLAG;
import static android.widget.LinearLayout.HORIZONTAL;
diff --git a/src/com/cyngn/theme/chooser/AppReceiver.java b/src/org/cyanogenmod/theme/chooser/AppReceiver.java
index 4354f63..0c3037e 100644
--- a/src/com/cyngn/theme/chooser/AppReceiver.java
+++ b/src/org/cyanogenmod/theme/chooser/AppReceiver.java
@@ -1,7 +1,21 @@
/*
- * Copyright (C) 2014 Cyanogen, Inc.
+ * Copyright (C) 2016 Cyanogen, Inc.
+ * Copyright (C) 2016 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
-package com.cyngn.theme.chooser;
+
+package org.cyanogenmod.theme.chooser;
import android.content.BroadcastReceiver;
import android.content.Context;
@@ -11,9 +25,9 @@ import android.content.pm.PackageManager.NameNotFoundException;
import android.net.Uri;
import android.text.TextUtils;
-import com.cyngn.theme.util.NotificationHelper;
-import com.cyngn.theme.util.PreferenceUtils;
-import com.cyngn.theme.util.Utils;
+import org.cyanogenmod.theme.util.NotificationHelper;
+import org.cyanogenmod.theme.util.PreferenceUtils;
+import org.cyanogenmod.theme.util.Utils;
import cyanogenmod.providers.ThemesContract;
diff --git a/src/com/cyngn/theme/chooser/BootReceiver.java b/src/org/cyanogenmod/theme/chooser/BootReceiver.java
index 8240bfc..00a6723 100644
--- a/src/com/cyngn/theme/chooser/BootReceiver.java
+++ b/src/org/cyanogenmod/theme/chooser/BootReceiver.java
@@ -1,7 +1,21 @@
/*
- * Copyright (C) 2014 The Cyanogen, Inc
+ * Copyright (C) 2016 Cyanogen, Inc.
+ * Copyright (C) 2016 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
-package com.cyngn.theme.chooser;
+
+package org.cyanogenmod.theme.chooser;
import android.content.BroadcastReceiver;
import android.content.ComponentName;
@@ -11,8 +25,8 @@ import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
public class BootReceiver extends BroadcastReceiver {
- private static final String CHOOSER_PKG_NAME = "com.cyngn.theme.chooser";
- private static final String CHOOSER_ACTIVITY = "com.cyngn.theme.chooser.ChooserLauncher";
+ private static final String CHOOSER_PKG_NAME = "org.cyanogenmod.theme.chooser";
+ private static final String CHOOSER_ACTIVITY = "org.cyanogenmod.theme.chooser.ChooserLauncher";
@Override
public void onReceive(Context context, Intent intent) {
diff --git a/src/com/cyngn/theme/chooser/ChooserActivity.java b/src/org/cyanogenmod/theme/chooser/ChooserActivity.java
index d607eb6..081325d 100644
--- a/src/com/cyngn/theme/chooser/ChooserActivity.java
+++ b/src/org/cyanogenmod/theme/chooser/ChooserActivity.java
@@ -1,7 +1,21 @@
/*
- * Copyright (C) 2014 Cyanogen, Inc.
+ * Copyright (C) 2016 Cyanogen, Inc.
+ * Copyright (C) 2016 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
-package com.cyngn.theme.chooser;
+
+package org.cyanogenmod.theme.chooser;
import android.animation.Animator;
import android.animation.AnimatorSet;
@@ -50,13 +64,14 @@ import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
import android.view.animation.DecelerateInterpolator;
import android.widget.ImageView;
+import android.widget.Toast;
-import com.cyngn.theme.perapptheming.PerAppThemingWindow;
-import com.cyngn.theme.util.CursorLoaderHelper;
-import com.cyngn.theme.util.NotificationHelper;
-import com.cyngn.theme.util.PreferenceUtils;
-import com.cyngn.theme.util.TypefaceHelperCache;
-import com.cyngn.theme.util.Utils;
+import org.cyanogenmod.theme.perapptheming.PerAppThemingWindow;
+import org.cyanogenmod.theme.util.CursorLoaderHelper;
+import org.cyanogenmod.theme.util.NotificationHelper;
+import org.cyanogenmod.theme.util.PreferenceUtils;
+import org.cyanogenmod.theme.util.TypefaceHelperCache;
+import org.cyanogenmod.theme.util.Utils;
import cyanogenmod.platform.Manifest;
import cyanogenmod.providers.ThemesContract;
@@ -71,15 +86,13 @@ import static cyanogenmod.providers.ThemesContract.ThemesColumns.MODIFIES_ALARMS
import static cyanogenmod.providers.ThemesContract.ThemesColumns.MODIFIES_BOOT_ANIM;
import static cyanogenmod.providers.ThemesContract.ThemesColumns.MODIFIES_NOTIFICATIONS;
import static cyanogenmod.providers.ThemesContract.ThemesColumns.MODIFIES_RINGTONES;
-
-import static com.cyngn.theme.chooser.ComponentSelector.DEFAULT_COMPONENT_ID;
-
-import static com.cyngn.theme.util.CursorLoaderHelper.LOADER_ID_INSTALLED_THEMES;
-import static com.cyngn.theme.util.CursorLoaderHelper.LOADER_ID_APPLIED;
+import static org.cyanogenmod.theme.chooser.ComponentSelector.DEFAULT_COMPONENT_ID;
+import static org.cyanogenmod.theme.util.CursorLoaderHelper.LOADER_ID_INSTALLED_THEMES;
+import static org.cyanogenmod.theme.util.CursorLoaderHelper.LOADER_ID_APPLIED;
public class ChooserActivity extends FragmentActivity
implements LoaderManager.LoaderCallbacks<Cursor> {
- public static final String THEME_STORE_PACKAGE = "com.cyngn.themestore";
+ public static final String THEME_STORE_PACKAGE = "com.cyngn.theme.tore";
private static final String TAG = ChooserActivity.class.getSimpleName();
public static final String DEFAULT = ThemeConfig.SYSTEM_DEFAULT;
@@ -93,14 +106,6 @@ public class ChooserActivity extends FragmentActivity
private static final String TYPE_IMAGE = "image/*";
- private static final String CYNGN_THEMES_PERMISSION =
- "com.cyngn.themes.permission.THEMES_APP";
- private static final String ACTION_CHOOSER_OPENED =
- "com.cyngn.themes.action.CHOOSER_OPENED";
- private static final String ACTION_THEME_REMOVED =
- "com.cyngn.themes.action.THEME_REMOVED_FROM_CHOOSER";
- private static final String EXTRA_PACKAGE = "package";
-
private static final String ACTION_PICK_LOCK_SCREEN_WALLPAPER =
"com.cyngn.intent.action.PICK_LOCK_SCREEN_WALLPAPER";
@@ -256,9 +261,6 @@ public class ChooserActivity extends FragmentActivity
}
});
- if (shouldHideShopThemes()) {
- mBottomActionsLayout.findViewById(R.id.shop_themes).setVisibility(View.GONE);
- }
if (PreferenceUtils.getShowPerAppThemeNewTag(this)) {
View tag = mBottomActionsLayout.findViewById(R.id.new_tag);
if (tag != null) {
@@ -344,16 +346,26 @@ public class ChooserActivity extends FragmentActivity
.setDuration(ANIMATE_SHOP_THEMES_SHOW_DURATION);
}
- private boolean shouldHideShopThemes() {
- boolean hasThemeStore = false;
- try {
- if (getPackageManager().getPackageInfo(THEME_STORE_PACKAGE, 0) != null) {
- hasThemeStore = true;
- }
- } catch (PackageManager.NameNotFoundException e) {
+ private void lauchGetThemes() {
+ String playStoreUrl = getString(R.string.play_store_url);
+ String wikiUrl = getString(R.string.wiki_url);
+
+ Intent intent = new Intent(Intent.ACTION_VIEW);
+ intent.setData(Uri.parse(playStoreUrl));
+ // Try to launch play store
+ if (intent.resolveActivity(getPackageManager()) != null) {
+ startActivity(intent);
+ } else {
+ // If no play store, try to open wiki url
+ intent.setData(Uri.parse(wikiUrl));
+ if (intent.resolveActivity(getPackageManager()) != null) {
+ startActivity(intent);
+ } else {
+ Toast.makeText(this, R.string.get_more_app_not_available,
+ Toast.LENGTH_LONG).show();
+ }
}
- return !hasThemeStore || Utils.isRecentTaskThemeStore(this);
}
@Override
@@ -654,7 +666,6 @@ public class ChooserActivity extends FragmentActivity
public void uninstallTheme(String pkgName) {
PackageManager pm = getPackageManager();
pm.deletePackage(pkgName, new PackageDeleteObserver(), PackageManager.DELETE_ALL_USERS);
- sendThemeRemovedBroadcast(pkgName);
}
private void slideContentIntoView(int yDelta, int selectorHeight) {
@@ -754,7 +765,6 @@ public class ChooserActivity extends FragmentActivity
if (mTypefaceHelperCache.getTypefaceCount() <= 0) {
new TypefacePreloadTask().execute();
}
- sendChooserOpenedBroadcast();
mAnimateContentInDelay = ANIMATE_CONTENT_DELAY;
}
@@ -785,16 +795,6 @@ public class ChooserActivity extends FragmentActivity
}
}
- private void sendChooserOpenedBroadcast() {
- sendBroadcast(new Intent(ACTION_CHOOSER_OPENED), CYNGN_THEMES_PERMISSION);
- }
-
- private void sendThemeRemovedBroadcast(String pkgName) {
- Intent intent = new Intent(ACTION_THEME_REMOVED);
- intent.putExtra(EXTRA_PACKAGE, pkgName);
- sendBroadcast(intent, CYNGN_THEMES_PERMISSION);
- }
-
private void animateContentIn() {
Drawable d = mCustomBackground.getDrawable();
if (d instanceof TransitionDrawable) {
@@ -909,7 +909,7 @@ public class ChooserActivity extends FragmentActivity
try {
startActivity(intent);
} catch (ActivityNotFoundException e) {
- Log.e(TAG, "Unable to launch Theme Store", e);
+ lauchGetThemes();
}
}
};
diff --git a/src/com/cyngn/theme/chooser/ComponentCardView.java b/src/org/cyanogenmod/theme/chooser/ComponentCardView.java
index 24eb58c..54d97c9 100644
--- a/src/com/cyngn/theme/chooser/ComponentCardView.java
+++ b/src/org/cyanogenmod/theme/chooser/ComponentCardView.java
@@ -1,7 +1,21 @@
/*
- * Copyright (C) 2014 The Cyanogen, Inc
+ * Copyright (C) 2016 Cyanogen, Inc.
+ * Copyright (C) 2016 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
-package com.cyngn.theme.chooser;
+
+package org.cyanogenmod.theme.chooser;
import android.animation.Animator;
import android.animation.AnimatorSet;
diff --git a/src/com/cyngn/theme/chooser/ComponentSelector.java b/src/org/cyanogenmod/theme/chooser/ComponentSelector.java
index 5347250..ad0b68c 100644
--- a/src/com/cyngn/theme/chooser/ComponentSelector.java
+++ b/src/org/cyanogenmod/theme/chooser/ComponentSelector.java
@@ -1,7 +1,21 @@
/*
- * Copyright (C) 2014 The Cyanogen, Inc
+ * Copyright (C) 2016 Cyanogen, Inc.
+ * Copyright (C) 2016 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
-package com.cyngn.theme.chooser;
+
+package org.cyanogenmod.theme.chooser;
import android.content.Context;
import android.content.pm.PackageManager;
@@ -34,11 +48,11 @@ import android.widget.LinearLayout;
import android.widget.TextView;
import android.widget.Toast;
-import com.cyngn.theme.util.AudioUtils;
-import com.cyngn.theme.util.CursorLoaderHelper;
-import com.cyngn.theme.util.ThemedTypefaceHelper;
-import com.cyngn.theme.util.TypefaceHelperCache;
-import com.cyngn.theme.util.Utils;
+import org.cyanogenmod.theme.util.AudioUtils;
+import org.cyanogenmod.theme.util.CursorLoaderHelper;
+import org.cyanogenmod.theme.util.ThemedTypefaceHelper;
+import org.cyanogenmod.theme.util.TypefaceHelperCache;
+import org.cyanogenmod.theme.util.Utils;
import cyanogenmod.providers.ThemesContract;
import cyanogenmod.providers.ThemesContract.PreviewColumns;
@@ -59,17 +73,17 @@ import static cyanogenmod.providers.ThemesContract.ThemesColumns.MODIFIES_NAVIGA
import static cyanogenmod.providers.ThemesContract.ThemesColumns.MODIFIES_ICONS;
import static cyanogenmod.providers.ThemesContract.ThemesColumns.MODIFIES_FONTS;
-import static com.cyngn.theme.util.CursorLoaderHelper.LOADER_ID_STATUS_BAR;
-import static com.cyngn.theme.util.CursorLoaderHelper.LOADER_ID_FONT;
-import static com.cyngn.theme.util.CursorLoaderHelper.LOADER_ID_ICONS;
-import static com.cyngn.theme.util.CursorLoaderHelper.LOADER_ID_WALLPAPER;
-import static com.cyngn.theme.util.CursorLoaderHelper.LOADER_ID_NAVIGATION_BAR;
-import static com.cyngn.theme.util.CursorLoaderHelper.LOADER_ID_LOCKSCREEN;
-import static com.cyngn.theme.util.CursorLoaderHelper.LOADER_ID_STYLE;
-import static com.cyngn.theme.util.CursorLoaderHelper.LOADER_ID_BOOT_ANIMATION;
-import static com.cyngn.theme.util.CursorLoaderHelper.LOADER_ID_RINGTONE;
-import static com.cyngn.theme.util.CursorLoaderHelper.LOADER_ID_NOTIFICATION;
-import static com.cyngn.theme.util.CursorLoaderHelper.LOADER_ID_ALARM;
+import static org.cyanogenmod.theme.util.CursorLoaderHelper.LOADER_ID_STATUS_BAR;
+import static org.cyanogenmod.theme.util.CursorLoaderHelper.LOADER_ID_FONT;
+import static org.cyanogenmod.theme.util.CursorLoaderHelper.LOADER_ID_ICONS;
+import static org.cyanogenmod.theme.util.CursorLoaderHelper.LOADER_ID_WALLPAPER;
+import static org.cyanogenmod.theme.util.CursorLoaderHelper.LOADER_ID_NAVIGATION_BAR;
+import static org.cyanogenmod.theme.util.CursorLoaderHelper.LOADER_ID_LOCKSCREEN;
+import static org.cyanogenmod.theme.util.CursorLoaderHelper.LOADER_ID_STYLE;
+import static org.cyanogenmod.theme.util.CursorLoaderHelper.LOADER_ID_BOOT_ANIMATION;
+import static org.cyanogenmod.theme.util.CursorLoaderHelper.LOADER_ID_RINGTONE;
+import static org.cyanogenmod.theme.util.CursorLoaderHelper.LOADER_ID_NOTIFICATION;
+import static org.cyanogenmod.theme.util.CursorLoaderHelper.LOADER_ID_ALARM;
public class ComponentSelector extends LinearLayout
implements LoaderManager.LoaderCallbacks<Cursor> {
diff --git a/src/com/cyngn/theme/chooser/IconTransitionDrawable.java b/src/org/cyanogenmod/theme/chooser/IconTransitionDrawable.java
index 8079fc2..96547f3 100644
--- a/src/com/cyngn/theme/chooser/IconTransitionDrawable.java
+++ b/src/org/cyanogenmod/theme/chooser/IconTransitionDrawable.java
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2008 The Android Open Source Project
- * Copyright (C) 2014 The Cyanogen, Inc
+ * Copyright (C) 2016 Cyanogen, Inc.
+ * Copyright (C) 2016 The CyanogenMod Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
* limitations under the License.
*/
-package com.cyngn.theme.chooser;
+package org.cyanogenmod.theme.chooser;
import android.graphics.Canvas;
import android.graphics.drawable.Drawable;
diff --git a/src/com/cyngn/theme/chooser/MyThemeFragment.java b/src/org/cyanogenmod/theme/chooser/MyThemeFragment.java
index 8306e55..90a3f05 100644
--- a/src/com/cyngn/theme/chooser/MyThemeFragment.java
+++ b/src/org/cyanogenmod/theme/chooser/MyThemeFragment.java
@@ -1,7 +1,21 @@
/*
- * Copyright (C) 2014 The Cyanogen, Inc
+ * Copyright (C) 2016 Cyanogen, Inc.
+ * Copyright (C) 2016 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
-package com.cyngn.theme.chooser;
+
+package org.cyanogenmod.theme.chooser;
import android.app.WallpaperManager;
import android.content.BroadcastReceiver;
@@ -32,12 +46,12 @@ import android.widget.FrameLayout;
import android.widget.ImageView;
import android.widget.TextView;
-import com.cyngn.theme.util.AudioUtils;
-import com.cyngn.theme.util.CursorLoaderHelper;
-import com.cyngn.theme.util.PreferenceUtils;
-import com.cyngn.theme.util.ThemedTypefaceHelper;
-import com.cyngn.theme.util.TypefaceHelperCache;
-import com.cyngn.theme.util.Utils;
+import org.cyanogenmod.theme.util.AudioUtils;
+import org.cyanogenmod.theme.util.CursorLoaderHelper;
+import org.cyanogenmod.theme.util.PreferenceUtils;
+import org.cyanogenmod.theme.util.ThemedTypefaceHelper;
+import org.cyanogenmod.theme.util.TypefaceHelperCache;
+import org.cyanogenmod.theme.util.Utils;
import cyanogenmod.providers.ThemesContract;
import cyanogenmod.providers.ThemesContract.PreviewColumns;
@@ -54,7 +68,7 @@ import java.util.Iterator;
import java.util.List;
import java.util.Map;
-import static com.cyngn.theme.util.CursorLoaderHelper.LOADER_ID_ALL;
+import static org.cyanogenmod.theme.util.CursorLoaderHelper.LOADER_ID_ALL;
public class MyThemeFragment extends ThemeFragment {
private static final String TAG = MyThemeFragment.class.getSimpleName();
diff --git a/src/com/cyngn/theme/chooser/NewFragmentStatePagerAdapter.java b/src/org/cyanogenmod/theme/chooser/NewFragmentStatePagerAdapter.java
index b60a631..cefc344 100644
--- a/src/com/cyngn/theme/chooser/NewFragmentStatePagerAdapter.java
+++ b/src/org/cyanogenmod/theme/chooser/NewFragmentStatePagerAdapter.java
@@ -1,5 +1,6 @@
/*
- * Copyright (C) 2011 The Android Open Source Project
+ * Copyright (C) 2016 Cyanogen, Inc.
+ * Copyright (C) 2016 The CyanogenMod Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,7 +15,7 @@
* limitations under the License.
*/
-package com.cyngn.theme.chooser;
+package org.cyanogenmod.theme.chooser;
import android.os.Bundle;
import android.os.Parcelable;
diff --git a/src/com/cyngn/theme/chooser/NotificationHijackingService.java b/src/org/cyanogenmod/theme/chooser/NotificationHijackingService.java
index ca53791..dddd8f5 100644
--- a/src/com/cyngn/theme/chooser/NotificationHijackingService.java
+++ b/src/org/cyanogenmod/theme/chooser/NotificationHijackingService.java
@@ -1,7 +1,21 @@
/*
- * Copyright (C) 2014 Cyanogen, Inc.
+ * Copyright (C) 2016 Cyanogen, Inc.
+ * Copyright (C) 2016 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
-package com.cyngn.theme.chooser;
+
+package org.cyanogenmod.theme.chooser;
import android.app.PendingIntent;
import android.content.ComponentName;
@@ -35,7 +49,7 @@ public class NotificationHijackingService extends NotificationListenerService {
PackageInfo pi = getPackageManager().getPackageInfo(pkgName, 0);
if (pi != null) {
if (pi.themeInfo != null) {
- cancelNotification(GOOGLE_PLAY_PACKAGE_NAME, sbn.getTag(), sbn.getId());
+ cancelNotification(sbn.getKey());
}
}
} catch (PackageManager.NameNotFoundException e) {
@@ -71,4 +85,4 @@ public class NotificationHijackingService extends NotificationListenerService {
Settings.Secure.ENABLED_NOTIFICATION_LISTENERS,
existingListeners);
}
-} \ No newline at end of file
+}
diff --git a/src/com/cyngn/theme/chooser/PagerContainer.java b/src/org/cyanogenmod/theme/chooser/PagerContainer.java
index 1a5e51a..852b847 100644
--- a/src/com/cyngn/theme/chooser/PagerContainer.java
+++ b/src/org/cyanogenmod/theme/chooser/PagerContainer.java
@@ -1,28 +1,21 @@
/*
- * Copyright (c) 2012 Wireless Designs, LLC
- * Portions copyright (C) 2014, The Cyanogen, Inc
+ * Copyright (C) 2016 Cyanogen, Inc.
+ * Copyright (C) 2016 The CyanogenMod Project
*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
*
- * Permission is hereby granted, free of charge, to any person obtaining
- * a copy of this software and associated documentation files (the
- * "Software"), to deal in the Software without restriction, including
- * without limitation the rights to use, copy, modify, merge, publish,
- * distribute, sublicense, and/or sell copies of the Software, and to
- * permit persons to whom the Software is furnished to do so, subject to
- * the following conditions:
+ * http://www.apache.org/licenses/LICENSE-2.0
*
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
- * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
- * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
- * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
-package com.cyngn.theme.chooser;
+
+package org.cyanogenmod.theme.chooser;
import android.content.Context;
import android.graphics.Point;
diff --git a/src/com/cyngn/theme/chooser/ThemeFragment.java b/src/org/cyanogenmod/theme/chooser/ThemeFragment.java
index 12082e5..d0891a7 100644
--- a/src/com/cyngn/theme/chooser/ThemeFragment.java
+++ b/src/org/cyanogenmod/theme/chooser/ThemeFragment.java
@@ -1,7 +1,21 @@
/*
- * Copyright (C) 2014 The Cyanogen, Inc
+ * Copyright (C) 2016 Cyanogen, Inc.
+ * Copyright (C) 2016 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
-package com.cyngn.theme.chooser;
+
+package org.cyanogenmod.theme.chooser;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
@@ -69,20 +83,20 @@ import android.widget.Space;
import android.widget.TextView;
import android.widget.Toast;
-import com.cyngn.theme.chooser.ComponentSelector.OnItemClickedListener;
-import com.cyngn.theme.util.AudioUtils;
-import com.cyngn.theme.util.BootAnimationHelper;
-import com.cyngn.theme.util.CursorLoaderHelper;
-import com.cyngn.theme.util.IconPreviewHelper;
-import com.cyngn.theme.util.PreferenceUtils;
-import com.cyngn.theme.util.ThemedTypefaceHelper;
-import com.cyngn.theme.util.TypefaceHelperCache;
-import com.cyngn.theme.util.Utils;
-import com.cyngn.theme.util.WallpaperUtils;
-import com.cyngn.theme.widget.BootAniImageView;
-import com.cyngn.theme.widget.ConfirmCancelOverlay;
-import com.cyngn.theme.widget.LockableScrollView;
-import com.cyngn.theme.widget.ThemeTagLayout;
+import org.cyanogenmod.theme.chooser.ComponentSelector.OnItemClickedListener;
+import org.cyanogenmod.theme.util.AudioUtils;
+import org.cyanogenmod.theme.util.BootAnimationHelper;
+import org.cyanogenmod.theme.util.CursorLoaderHelper;
+import org.cyanogenmod.theme.util.IconPreviewHelper;
+import org.cyanogenmod.theme.util.PreferenceUtils;
+import org.cyanogenmod.theme.util.ThemedTypefaceHelper;
+import org.cyanogenmod.theme.util.TypefaceHelperCache;
+import org.cyanogenmod.theme.util.Utils;
+import org.cyanogenmod.theme.util.WallpaperUtils;
+import org.cyanogenmod.theme.widget.BootAniImageView;
+import org.cyanogenmod.theme.widget.ConfirmCancelOverlay;
+import org.cyanogenmod.theme.widget.LockableScrollView;
+import org.cyanogenmod.theme.widget.ThemeTagLayout;
import cyanogenmod.app.ThemeVersion;
import cyanogenmod.providers.CMSettings;
@@ -122,22 +136,22 @@ import static cyanogenmod.providers.ThemesContract.ThemesColumns.MODIFIES_NAVIGA
import static cyanogenmod.providers.ThemesContract.ThemesColumns.MODIFIES_ICONS;
import static cyanogenmod.providers.ThemesContract.ThemesColumns.MODIFIES_FONTS;
-import static com.cyngn.theme.chooser.ComponentSelector.DEFAULT_COMPONENT_ID;
-
-import static com.cyngn.theme.util.CursorLoaderHelper.LOADER_ID_INVALID;
-import static com.cyngn.theme.util.CursorLoaderHelper.LOADER_ID_ALL;
-import static com.cyngn.theme.util.CursorLoaderHelper.LOADER_ID_STATUS_BAR;
-import static com.cyngn.theme.util.CursorLoaderHelper.LOADER_ID_FONT;
-import static com.cyngn.theme.util.CursorLoaderHelper.LOADER_ID_ICONS;
-import static com.cyngn.theme.util.CursorLoaderHelper.LOADER_ID_WALLPAPER;
-import static com.cyngn.theme.util.CursorLoaderHelper.LOADER_ID_NAVIGATION_BAR;
-import static com.cyngn.theme.util.CursorLoaderHelper.LOADER_ID_LOCKSCREEN;
-import static com.cyngn.theme.util.CursorLoaderHelper.LOADER_ID_STYLE;
-import static com.cyngn.theme.util.CursorLoaderHelper.LOADER_ID_BOOT_ANIMATION;
-import static com.cyngn.theme.util.CursorLoaderHelper.LOADER_ID_RINGTONE;
-import static com.cyngn.theme.util.CursorLoaderHelper.LOADER_ID_NOTIFICATION;
-import static com.cyngn.theme.util.CursorLoaderHelper.LOADER_ID_ALARM;
-import static com.cyngn.theme.util.CursorLoaderHelper.LOADER_ID_LIVE_LOCK_SCREEN;
+import static org.cyanogenmod.theme.chooser.ComponentSelector.DEFAULT_COMPONENT_ID;
+
+import static org.cyanogenmod.theme.util.CursorLoaderHelper.LOADER_ID_INVALID;
+import static org.cyanogenmod.theme.util.CursorLoaderHelper.LOADER_ID_ALL;
+import static org.cyanogenmod.theme.util.CursorLoaderHelper.LOADER_ID_STATUS_BAR;
+import static org.cyanogenmod.theme.util.CursorLoaderHelper.LOADER_ID_FONT;
+import static org.cyanogenmod.theme.util.CursorLoaderHelper.LOADER_ID_ICONS;
+import static org.cyanogenmod.theme.util.CursorLoaderHelper.LOADER_ID_WALLPAPER;
+import static org.cyanogenmod.theme.util.CursorLoaderHelper.LOADER_ID_NAVIGATION_BAR;
+import static org.cyanogenmod.theme.util.CursorLoaderHelper.LOADER_ID_LOCKSCREEN;
+import static org.cyanogenmod.theme.util.CursorLoaderHelper.LOADER_ID_STYLE;
+import static org.cyanogenmod.theme.util.CursorLoaderHelper.LOADER_ID_BOOT_ANIMATION;
+import static org.cyanogenmod.theme.util.CursorLoaderHelper.LOADER_ID_RINGTONE;
+import static org.cyanogenmod.theme.util.CursorLoaderHelper.LOADER_ID_NOTIFICATION;
+import static org.cyanogenmod.theme.util.CursorLoaderHelper.LOADER_ID_ALARM;
+import static org.cyanogenmod.theme.util.CursorLoaderHelper.LOADER_ID_LIVE_LOCK_SCREEN;
import static cyanogenmod.providers.CMSettings.Secure.LIVE_LOCK_SCREEN_ENABLED;
diff --git a/src/com/cyngn/theme/chooser/WallpaperCardView.java b/src/org/cyanogenmod/theme/chooser/WallpaperCardView.java
index 337af65..a3ed8ea 100644
--- a/src/com/cyngn/theme/chooser/WallpaperCardView.java
+++ b/src/org/cyanogenmod/theme/chooser/WallpaperCardView.java
@@ -1,7 +1,21 @@
/*
- * Copyright (C) 2014 The Cyanogen, Inc
+ * Copyright (C) 2016 Cyanogen, Inc.
+ * Copyright (C) 2016 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
-package com.cyngn.theme.chooser;
+
+package org.cyanogenmod.theme.chooser;
import android.animation.Animator;
import android.animation.AnimatorSet;
diff --git a/src/com/cyngn/theme/perapptheming/PerAppThemeListLayout.java b/src/org/cyanogenmod/theme/perapptheming/PerAppThemeListLayout.java
index e475351..424d640 100644
--- a/src/com/cyngn/theme/perapptheming/PerAppThemeListLayout.java
+++ b/src/org/cyanogenmod/theme/perapptheming/PerAppThemeListLayout.java
@@ -1,7 +1,21 @@
/*
- * Copyright (C) 2015 Cyanogen, Inc.
+ * Copyright (C) 2016 Cyanogen, Inc.
+ * Copyright (C) 2016 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
-package com.cyngn.theme.perapptheming;
+
+package org.cyanogenmod.theme.perapptheming;
import android.animation.Animator;
import android.animation.ValueAnimator;
@@ -18,7 +32,7 @@ import android.view.animation.AccelerateDecelerateInterpolator;
import android.view.animation.Animation;
import android.widget.FrameLayout;
-import com.cyngn.theme.chooser.R;
+import org.cyanogenmod.theme.chooser.R;
public class PerAppThemeListLayout extends FrameLayout {
private PerAppThemingWindow mWindow;
diff --git a/src/com/cyngn/theme/perapptheming/PerAppThemeListView.java b/src/org/cyanogenmod/theme/perapptheming/PerAppThemeListView.java
index 5a4424f..9986f60 100644
--- a/src/com/cyngn/theme/perapptheming/PerAppThemeListView.java
+++ b/src/org/cyanogenmod/theme/perapptheming/PerAppThemeListView.java
@@ -1,15 +1,30 @@
/*
- * Copyright (C) 2015 Cyanogen, Inc.
+ * Copyright (C) 2016 Cyanogen, Inc.
+ * Copyright (C) 2016 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
-package com.cyngn.theme.perapptheming;
+
+package org.cyanogenmod.theme.perapptheming;
import android.content.Context;
import android.content.res.Resources;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.widget.ListView;
-import com.cyngn.theme.chooser.R;
-import com.cyngn.theme.util.Utils;
+
+import org.cyanogenmod.theme.chooser.R;
+import org.cyanogenmod.theme.util.Utils;
public class PerAppThemeListView extends ListView {
private int mMinHeight;
diff --git a/src/com/cyngn/theme/perapptheming/PerAppThemingWindow.java b/src/org/cyanogenmod/theme/perapptheming/PerAppThemingWindow.java
index 4b6857b..27db329 100644
--- a/src/com/cyngn/theme/perapptheming/PerAppThemingWindow.java
+++ b/src/org/cyanogenmod/theme/perapptheming/PerAppThemingWindow.java
@@ -1,7 +1,21 @@
/*
- * Copyright (C) 2015 Cyanogen, Inc.
+ * Copyright (C) 2016 Cyanogen, Inc.
+ * Copyright (C) 2016 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
-package com.cyngn.theme.perapptheming;
+
+package org.cyanogenmod.theme.perapptheming;
import android.animation.Animator;
import android.animation.ValueAnimator;
@@ -37,8 +51,8 @@ import android.widget.ListView;
import android.widget.TextView;
import android.widget.Toast;
-import com.cyngn.theme.chooser.R;
-import com.cyngn.theme.util.Utils;
+import org.cyanogenmod.theme.chooser.R;
+import org.cyanogenmod.theme.util.Utils;
import cyanogenmod.providers.ThemesContract.ThemesColumns;
import cyanogenmod.themes.ThemeChangeRequest;
diff --git a/src/com/cyngn/theme/util/AudioUtils.java b/src/org/cyanogenmod/theme/util/AudioUtils.java
index 62076db..c4ad68e 100644
--- a/src/com/cyngn/theme/util/AudioUtils.java
+++ b/src/org/cyanogenmod/theme/util/AudioUtils.java
@@ -1,7 +1,21 @@
/*
- * Copyright (C) 2014 The Cyanogen, Inc
+ * Copyright (C) 2016 Cyanogen, Inc.
+ * Copyright (C) 2016 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
-package com.cyngn.theme.util;
+
+package org.cyanogenmod.theme.util;
import android.content.Context;
import android.content.pm.PackageInfo;
diff --git a/src/com/cyngn/theme/util/BootAnimationHelper.java b/src/org/cyanogenmod/theme/util/BootAnimationHelper.java
index 283f854..1bd4ee7 100644
--- a/src/com/cyngn/theme/util/BootAnimationHelper.java
+++ b/src/org/cyanogenmod/theme/util/BootAnimationHelper.java
@@ -1,7 +1,21 @@
/*
- * Copyright (C) 2014 Cyanogen, Inc.
+ * Copyright (C) 2016 Cyanogen, Inc.
+ * Copyright (C) 2016 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
-package com.cyngn.theme.util;
+
+package org.cyanogenmod.theme.util;
import android.app.ActivityManager;
import android.content.Context;
diff --git a/src/com/cyngn/theme/util/CursorLoaderHelper.java b/src/org/cyanogenmod/theme/util/CursorLoaderHelper.java
index 5992779..7fcd786 100644
--- a/src/com/cyngn/theme/util/CursorLoaderHelper.java
+++ b/src/org/cyanogenmod/theme/util/CursorLoaderHelper.java
@@ -1,7 +1,21 @@
/*
- * Copyright (C) 2015 Cyanogen, Inc.
+ * Copyright (C) 2016 Cyanogen, Inc.
+ * Copyright (C) 2016 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
-package com.cyngn.theme.util;
+
+package org.cyanogenmod.theme.util;
import android.content.Context;
import android.database.Cursor;
diff --git a/src/com/cyngn/theme/util/FontConfigParser.java b/src/org/cyanogenmod/theme/util/FontConfigParser.java
index ae963b8..a5b4de9 100644
--- a/src/com/cyngn/theme/util/FontConfigParser.java
+++ b/src/org/cyanogenmod/theme/util/FontConfigParser.java
@@ -1,7 +1,21 @@
/*
- * Copyright (C) 2014 Cyanogen, Inc.
+ * Copyright (C) 2016 Cyanogen, Inc.
+ * Copyright (C) 2016 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
-package com.cyngn.theme.util;
+
+package org.cyanogenmod.theme.util;
import android.util.Xml;
diff --git a/src/com/cyngn/theme/util/IconPreviewHelper.java b/src/org/cyanogenmod/theme/util/IconPreviewHelper.java
index 60ef9c8..3f5b897 100644
--- a/src/com/cyngn/theme/util/IconPreviewHelper.java
+++ b/src/org/cyanogenmod/theme/util/IconPreviewHelper.java
@@ -1,7 +1,21 @@
/*
- * Copyright (C) 2014 Cyanogen, Inc.
+ * Copyright (C) 2016 Cyanogen, Inc.
+ * Copyright (C) 2016 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
-package com.cyngn.theme.util;
+
+package org.cyanogenmod.theme.util;
import android.app.ActivityManager;
import android.app.ComposedIconInfo;
diff --git a/src/com/cyngn/theme/util/NotificationHelper.java b/src/org/cyanogenmod/theme/util/NotificationHelper.java
index 3ae68d7..ebbdb66 100644
--- a/src/com/cyngn/theme/util/NotificationHelper.java
+++ b/src/org/cyanogenmod/theme/util/NotificationHelper.java
@@ -1,7 +1,21 @@
/*
- * Copyright (C) 2014 Cyanogen, Inc.
+ * Copyright (C) 2016 Cyanogen, Inc.
+ * Copyright (C) 2016 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
-package com.cyngn.theme.util;
+
+package org.cyanogenmod.theme.util;
import android.app.Notification;
import android.app.NotificationManager;
@@ -14,8 +28,8 @@ import android.content.res.Resources;
import android.graphics.BitmapFactory;
import android.text.TextUtils;
-import com.cyngn.theme.chooser.ChooserActivity;
-import com.cyngn.theme.chooser.R;
+import org.cyanogenmod.theme.chooser.ChooserActivity;
+import org.cyanogenmod.theme.chooser.R;
public class NotificationHelper {
private static final int NOTIFICATION_ID = 0x434D5443;
diff --git a/src/com/cyngn/theme/util/PreferenceUtils.java b/src/org/cyanogenmod/theme/util/PreferenceUtils.java
index 6444c41..080615f 100644
--- a/src/com/cyngn/theme/util/PreferenceUtils.java
+++ b/src/org/cyanogenmod/theme/util/PreferenceUtils.java
@@ -1,7 +1,21 @@
/*
- * Copyright (C) 2014 The Cyanogen, Inc
+ * Copyright (C) 2016 Cyanogen, Inc.
+ * Copyright (C) 2016 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
-package com.cyngn.theme.util;
+
+package org.cyanogenmod.theme.util;
import android.content.Context;
import android.content.SharedPreferences;
diff --git a/src/com/cyngn/theme/util/ThemedTypefaceHelper.java b/src/org/cyanogenmod/theme/util/ThemedTypefaceHelper.java
index ce38f80..cf5ddfc 100644
--- a/src/com/cyngn/theme/util/ThemedTypefaceHelper.java
+++ b/src/org/cyanogenmod/theme/util/ThemedTypefaceHelper.java
@@ -1,7 +1,21 @@
/*
- * Copyright (C) 2014 Cyanogen, Inc.
+ * Copyright (C) 2016 Cyanogen, Inc.
+ * Copyright (C) 2016 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
-package com.cyngn.theme.util;
+
+package org.cyanogenmod.theme.util;
import android.content.Context;
import android.content.res.AssetManager;
diff --git a/src/com/cyngn/theme/util/TypefaceHelperCache.java b/src/org/cyanogenmod/theme/util/TypefaceHelperCache.java
index ced93be..76183f8 100644
--- a/src/com/cyngn/theme/util/TypefaceHelperCache.java
+++ b/src/org/cyanogenmod/theme/util/TypefaceHelperCache.java
@@ -1,7 +1,21 @@
/*
- * Copyright (C) 2014 Cyanogen, Inc.
+ * Copyright (C) 2016 Cyanogen, Inc.
+ * Copyright (C) 2016 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
-package com.cyngn.theme.util;
+
+package org.cyanogenmod.theme.util;
import android.content.Context;
diff --git a/src/com/cyngn/theme/util/Utils.java b/src/org/cyanogenmod/theme/util/Utils.java
index a0b910d..94afecb 100644
--- a/src/com/cyngn/theme/util/Utils.java
+++ b/src/org/cyanogenmod/theme/util/Utils.java
@@ -1,7 +1,21 @@
/*
- * Copyright (C) 2014 Cyanogen, Inc.
+ * Copyright (C) 2016 Cyanogen, Inc.
+ * Copyright (C) 2016 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
-package com.cyngn.theme.util;
+
+package org.cyanogenmod.theme.util;
import android.app.ActivityManager;
import android.app.WallpaperManager;
@@ -32,7 +46,7 @@ import android.view.IWindowManager;
import android.view.WindowManager;
import android.view.WindowManagerGlobal;
-import com.cyngn.theme.chooser.ChooserActivity;
+import org.cyanogenmod.theme.chooser.ChooserActivity;
import cyanogenmod.externalviews.KeyguardExternalView;
import cyanogenmod.providers.CMSettings;
diff --git a/src/com/cyngn/theme/util/WallpaperUtils.java b/src/org/cyanogenmod/theme/util/WallpaperUtils.java
index 7f7536c..c07b99b 100644
--- a/src/com/cyngn/theme/util/WallpaperUtils.java
+++ b/src/org/cyanogenmod/theme/util/WallpaperUtils.java
@@ -1,7 +1,21 @@
/*
- * Copyright (C) 2014 Cyanogen, Inc.
+ * Copyright (C) 2016 Cyanogen, Inc.
+ * Copyright (C) 2016 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
-package com.cyngn.theme.util;
+
+package org.cyanogenmod.theme.util;
import android.app.WallpaperManager;
import android.content.Context;
diff --git a/src/com/cyngn/theme/widget/AutoSnapHorizontalScrollView.java b/src/org/cyanogenmod/theme/widget/AutoSnapHorizontalScrollView.java
index e034357..29534f7 100644
--- a/src/com/cyngn/theme/widget/AutoSnapHorizontalScrollView.java
+++ b/src/org/cyanogenmod/theme/widget/AutoSnapHorizontalScrollView.java
@@ -1,7 +1,21 @@
/*
- * Copyright (C) 2014 The Cyanogen, Inc
+ * Copyright (C) 2016 Cyanogen, Inc.
+ * Copyright (C) 2016 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
-package com.cyngn.theme.widget;
+
+package org.cyanogenmod.theme.widget;
import android.content.Context;
import android.graphics.Rect;
diff --git a/src/com/cyngn/theme/widget/BootAniImageView.java b/src/org/cyanogenmod/theme/widget/BootAniImageView.java
index 44363d6..b3f58a6 100644
--- a/src/com/cyngn/theme/widget/BootAniImageView.java
+++ b/src/org/cyanogenmod/theme/widget/BootAniImageView.java
@@ -1,7 +1,21 @@
/*
- * Copyright (C) 2014 Cyanogen, Inc.
+ * Copyright (C) 2016 Cyanogen, Inc.
+ * Copyright (C) 2016 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
-package com.cyngn.theme.widget;
+
+package org.cyanogenmod.theme.widget;
import android.content.Context;
import android.graphics.Bitmap;
@@ -10,13 +24,15 @@ import android.graphics.Canvas;
import android.util.AttributeSet;
import android.util.Log;
import android.widget.ImageView;
-import libcore.io.IoUtils;
-import com.cyngn.theme.util.BootAnimationHelper;
import java.io.IOException;
import java.util.List;
import java.util.zip.ZipFile;
+import libcore.io.IoUtils;
+
+import org.cyanogenmod.theme.util.BootAnimationHelper;
+
public class BootAniImageView extends ImageView {
private static final String TAG = BootAniImageView.class.getName();
diff --git a/src/com/cyngn/theme/widget/ConfirmCancelOverlay.java b/src/org/cyanogenmod/theme/widget/ConfirmCancelOverlay.java
index 54fffa1..e00e67a 100644
--- a/src/com/cyngn/theme/widget/ConfirmCancelOverlay.java
+++ b/src/org/cyanogenmod/theme/widget/ConfirmCancelOverlay.java
@@ -1,14 +1,29 @@
/*
- * Copyright (C) 2014 Cyanogen, Inc.
+ * Copyright (C) 2016 Cyanogen, Inc.
+ * Copyright (C) 2016 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
-package com.cyngn.theme.widget;
+
+package org.cyanogenmod.theme.widget;
import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.widget.FrameLayout;
import android.widget.TextView;
-import com.cyngn.theme.chooser.R;
+
+import org.cyanogenmod.theme.chooser.R;
public class ConfirmCancelOverlay extends FrameLayout {
diff --git a/src/com/cyngn/theme/widget/FittedTextView.java b/src/org/cyanogenmod/theme/widget/FittedTextView.java
index 2406a59..2451d25 100644
--- a/src/com/cyngn/theme/widget/FittedTextView.java
+++ b/src/org/cyanogenmod/theme/widget/FittedTextView.java
@@ -1,7 +1,21 @@
/*
- * Copyright (C) 2014 Cyanogen, Inc.
+ * Copyright (C) 2016 Cyanogen, Inc.
+ * Copyright (C) 2016 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
-package com.cyngn.theme.widget;
+
+package org.cyanogenmod.theme.widget;
import android.content.Context;
import android.graphics.Paint;
diff --git a/src/com/cyngn/theme/widget/LatoTextView.java b/src/org/cyanogenmod/theme/widget/LatoTextView.java
index 9ced870..0cb02ae 100644
--- a/src/com/cyngn/theme/widget/LatoTextView.java
+++ b/src/org/cyanogenmod/theme/widget/LatoTextView.java
@@ -1,7 +1,21 @@
/*
- * Copyright (C) 2014 Cyanogen, Inc.
+ * Copyright (C) 2016 Cyanogen, Inc.
+ * Copyright (C) 2016 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
-package com.cyngn.theme.widget;
+
+package org.cyanogenmod.theme.widget;
import android.content.Context;
import android.content.res.AssetManager;
@@ -9,9 +23,9 @@ import android.content.res.Resources;
import android.content.res.TypedArray;
import android.graphics.Typeface;
import android.util.AttributeSet;
-import android.widget.TextView;
-import com.cyngn.theme.chooser.R;
-import com.cyngn.theme.util.Utils;
+
+import org.cyanogenmod.theme.chooser.R;
+import org.cyanogenmod.theme.util.Utils;
import java.io.File;
diff --git a/src/com/cyngn/theme/widget/LockableScrollView.java b/src/org/cyanogenmod/theme/widget/LockableScrollView.java
index 88f484a..b4c9ffc 100644
--- a/src/com/cyngn/theme/widget/LockableScrollView.java
+++ b/src/org/cyanogenmod/theme/widget/LockableScrollView.java
@@ -1,7 +1,21 @@
/*
- * Copyright (C) 2014 The Cyanogen, Inc
+ * Copyright (C) 2016 Cyanogen, Inc.
+ * Copyright (C) 2016 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
-package com.cyngn.theme.widget;
+
+package org.cyanogenmod.theme.widget;
import android.content.Context;
import android.util.AttributeSet;
diff --git a/src/com/cyngn/theme/widget/NavBarSpace.java b/src/org/cyanogenmod/theme/widget/NavBarSpace.java
index 993e9cf..720df29 100644
--- a/src/com/cyngn/theme/widget/NavBarSpace.java
+++ b/src/org/cyanogenmod/theme/widget/NavBarSpace.java
@@ -1,12 +1,26 @@
/*
- * Copyright (C) 2014 Cyanogen, Inc.
+ * Copyright (C) 2016 Cyanogen, Inc.
+ * Copyright (C) 2016 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
-package com.cyngn.theme.widget;
+
+package org.cyanogenmod.theme.widget;
import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
-import com.cyngn.theme.util.Utils;
+import org.cyanogenmod.theme.util.Utils;
/**
* A simple view used to pad layouts so that content floats above the
diff --git a/src/com/cyngn/theme/widget/ThemeTagLayout.java b/src/org/cyanogenmod/theme/widget/ThemeTagLayout.java
index 18635a4..18e3da2 100644
--- a/src/com/cyngn/theme/widget/ThemeTagLayout.java
+++ b/src/org/cyanogenmod/theme/widget/ThemeTagLayout.java
@@ -1,7 +1,21 @@
/*
- * Copyright (C) 2014 The Cyanogen, Inc
+ * Copyright (C) 2016 Cyanogen, Inc.
+ * Copyright (C) 2016 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
-package com.cyngn.theme.widget;
+
+package org.cyanogenmod.theme.widget;
import android.content.Context;
import android.util.AttributeSet;
@@ -10,7 +24,8 @@ import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
-import com.cyngn.theme.chooser.R;
+
+import org.cyanogenmod.theme.chooser.R;
public class ThemeTagLayout extends LinearLayout {
private ImageView mAppliedTag;