Commit 71810ebb authored by linus_lee's avatar linus_lee
Browse files

Update Eleven headers and namespace for open source

Change-Id: I82caf2ebf991998e67f546ff2ac7eaf2b30dc6be
parent f199f983
......@@ -3,7 +3,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := src/com/cyngn/eleven/IElevenService.aidl
LOCAL_SRC_FILES := src/com/cyanogenmod/eleven/IElevenService.aidl
LOCAL_SRC_FILES += $(call all-java-files-under, src)
LOCAL_STATIC_JAVA_LIBRARIES := \
......
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2012 Andrew Neal
Copyright (C) 2014 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.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.cyngn.eleven"
package="com.cyanogenmod.eleven"
android:versionCode="2"
android:versionName="1.1" >
......@@ -49,14 +50,14 @@
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<application
android:name=".ElevenApplication"
android:name="com.cyanogenmod.eleven.ElevenApplication"
android:allowBackup="true"
android:allowTaskReparenting="true"
android:hardwareAccelerated="@bool/config_hardwareAccelerated"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:largeHeap="@bool/config_largeHeap"
android:taskAffinity="com.cyngn.eleven.task"
android:taskAffinity="com.cyanogenmod.eleven.task"
android:theme="@style/Eleven.Theme">
<!-- Searchable -->
......@@ -65,7 +66,7 @@
android:value=".ui.activities.SearchActivity" />
<!-- Main activity -->
<activity
android:name=".ui.activities.HomeActivity"
android:name="com.cyanogenmod.eleven.ui.activities.HomeActivity"
android:windowSoftInputMode="adjustPan"
android:launchMode="singleTop"
android:exported="true"
......@@ -124,7 +125,7 @@
<data android:mimeType="vnd.android.cursor.dir/artists" />
</intent-filter>
<intent-filter>
<action android:name="com.cyngn.eleven.AUDIO_PLAYER" />
<action android:name="com.cyanogenmod.eleven.AUDIO_PLAYER" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
......@@ -138,7 +139,7 @@
<!-- Search interface -->
<activity
android:name=".ui.activities.SearchActivity"
android:name="com.cyanogenmod.eleven.ui.activities.SearchActivity"
android:windowSoftInputMode="adjustResize"
android:exported="true"
android:theme="@style/Theme.ActionBarIcon"
......@@ -156,12 +157,12 @@
</activity>
<!-- Used to set options -->
<activity
android:name=".ui.activities.SettingsActivity"
android:name="com.cyanogenmod.eleven.ui.activities.SettingsActivity"
android:label="@string/menu_settings"
android:screenOrientation="portrait"/>
<!-- 4x1 App Widget -->
<receiver
android:name="com.cyngn.eleven.appwidgets.AppWidgetSmall"
android:name="com.cyanogenmod.eleven.appwidgets.AppWidgetSmall"
android:exported="false"
android:label="@string/app_widget_small" >
<intent-filter>
......@@ -174,7 +175,7 @@
</receiver>
<!-- 4x2 App Widget -->
<receiver
android:name="com.cyngn.eleven.appwidgets.AppWidgetLarge"
android:name="com.cyanogenmod.eleven.appwidgets.AppWidgetLarge"
android:exported="false"
android:label="@string/app_widget_large" >
<intent-filter>
......@@ -187,7 +188,7 @@
</receiver>
<!-- 4x2 alternate App Widget -->
<receiver
android:name="com.cyngn.eleven.appwidgets.AppWidgetLargeAlternate"
android:name="com.cyanogenmod.eleven.appwidgets.AppWidgetLargeAlternate"
android:exported="false"
android:label="@string/app_widget_large_alt" >
<intent-filter>
......@@ -199,7 +200,7 @@
android:resource="@xml/app_widget_large_alternate" />
</receiver>
<!-- Media button receiver -->
<receiver android:name=".MediaButtonIntentReceiver" >
<receiver android:name="com.cyanogenmod.eleven.MediaButtonIntentReceiver" >
<intent-filter>
<action android:name="android.intent.action.MEDIA_BUTTON" />
<action android:name="android.media.AUDIO_BECOMING_NOISY" />
......@@ -207,7 +208,7 @@
</receiver>
<!-- Music service -->
<service
android:name=".MusicPlaybackService"
android:name="com.cyanogenmod.eleven.MusicPlaybackService"
android:label="@string/app_name"
android:process=":main" />
</application>
......
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2012 Andrew Neal
Copyright (C) 2014 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
......
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2012 Andrew Neal
Copyright (C) 2014 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
......
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2012 Andrew Neal
Copyright (C) 2014 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
......
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2012 Andrew Neal
Copyright (C) 2014 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
......
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2014 Cyanogen, Inc.
Copyright (C) 2014 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:layout_width="match_parent"
......
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2014 Cyanogen, Inc.
Copyright (C) 2014 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:layout_width="match_parent"
......
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2014 Cyanogen, Inc.
Copyright (C) 2014 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:layout_width="match_parent"
......
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2014 Cyanogen, Inc.
Copyright (C) 2014 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:layout_width="match_parent"
......
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2012 Andrew Neal
Copyright (C) 2014 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
......
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2012 Andrew Neal
Copyright (C) 2014 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
......
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2012 Andrew Neal
Copyright (C) 2014 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
......
<?xml version="1.0" encoding="utf-8"?><!--
Copyright (C) 2012 Andrew Neal
Copyright (C) 2014 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
......@@ -19,7 +20,7 @@
android:layout_height="match_parent"
android:orientation="vertical">
<com.cyngn.eleven.slidinguppanel.SlidingUpPanelLayout
<com.cyanogenmod.eleven.slidinguppanel.SlidingUpPanelLayout
xmlns:sothree="http://schemas.android.com/apk/res-auto"
android:id="@+id/sliding_layout"
android:layout_width="match_parent"
......@@ -37,7 +38,7 @@
android:layout_height="match_parent"
android:paddingTop="?android:attr/actionBarSize" />
<com.cyngn.eleven.slidinguppanel.SlidingUpPanelLayout
<com.cyanogenmod.eleven.slidinguppanel.SlidingUpPanelLayout
xmlns:sothree="http://schemas.android.com/apk/res-auto"
android:id="@+id/sliding_layout2"
android:background="@color/background_color"
......@@ -69,7 +70,7 @@
<fragment
android:id="@+id/audioPlayerFragment"
class="com.cyngn.eleven.ui.fragments.AudioPlayerFragment"
class="com.cyanogenmod.eleven.ui.fragments.AudioPlayerFragment"
android:layout_width="match_parent"
android:layout_height="0dip"
android:layout_weight="1" />
......@@ -101,11 +102,11 @@
<fragment
android:id="@+id/queueFragment"
class="com.cyngn.eleven.ui.fragments.QueueFragment"
class="com.cyanogenmod.eleven.ui.fragments.QueueFragment"
android:layout_width="match_parent"
android:layout_height="0dip"
android:layout_weight="1" />
</LinearLayout>
</com.cyngn.eleven.slidinguppanel.SlidingUpPanelLayout>
</com.cyngn.eleven.slidinguppanel.SlidingUpPanelLayout>
</com.cyanogenmod.eleven.slidinguppanel.SlidingUpPanelLayout>
</com.cyanogenmod.eleven.slidinguppanel.SlidingUpPanelLayout>
</LinearLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2012 Andrew Neal
Copyright (C) 2014 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.
......@@ -24,10 +25,10 @@
android:id="@+id/audio_player_header"
layout="@layout/audio_player_header_bar" />
<com.cyngn.eleven.widgets.SquareFrame
<com.cyanogenmod.eleven.widgets.SquareFrame
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.cyngn.eleven.widgets.SquareViewPager
<com.cyanogenmod.eleven.widgets.SquareViewPager
android:id="@+id/audio_player_album_art_viewpager"
android:layout_width="match_parent"
android:layout_height="match_parent" />
......@@ -40,7 +41,7 @@
android:background="@drawable/equalizer_background"
android:layout_gravity="bottom"/>
<com.cyngn.eleven.widgets.EqualizerView
<com.cyanogenmod.eleven.widgets.EqualizerView
android:id="@+id/equalizerView"
android:gravity="bottom"
android:layout_gravity="bottom"
......@@ -64,12 +65,12 @@
android:background="@color/lyrics_background_color"
android:textColor="@color/white"
android:textSize="@dimen/text_size_small"/>
</com.cyngn.eleven.widgets.SquareFrame>
</com.cyanogenmod.eleven.widgets.SquareFrame>
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<com.cyngn.eleven.widgets.PlayPauseProgressButton
<com.cyanogenmod.eleven.widgets.PlayPauseProgressButton
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/playPauseProgressButton"
android:layout_width="@dimen/audio_player_controls_main_button_width"
......@@ -77,7 +78,7 @@
android:layout_centerInParent="true" >
<!-- TODO: Figure out why scaleType: centerInside isn't properly scaling up -->
<com.cyngn.eleven.widgets.PlayPauseButton
<com.cyanogenmod.eleven.widgets.PlayPauseButton
android:id="@+id/action_button_play"
android:layout_width="match_parent"
android:layout_height="match_parent"
......@@ -107,7 +108,7 @@
android:indeterminate="false"
android:max="100"
android:progressDrawable="@drawable/now_playing_progress" />
</com.cyngn.eleven.widgets.PlayPauseProgressButton>
</com.cyanogenmod.eleven.widgets.PlayPauseProgressButton>
<!-- TODO: Figure out why scaleType: centerInside isn't properly scaling up -->
<!-- ANSWER: two issues (a) centerInside doesn't scale up, only down, use
......@@ -133,7 +134,7 @@
android:textSize="@dimen/audio_player_time_text_size"
android:textStyle="bold"/>
<com.cyngn.eleven.widgets.RepeatingImageButton
<com.cyanogenmod.eleven.widgets.RepeatingImageButton
android:id="@+id/action_button_previous"
android:layout_width="@dimen/audio_player_controls_end_button_width"
android:layout_height="@dimen/audio_player_controls_end_button_height"
......@@ -162,7 +163,7 @@
android:layout_below="@id/audio_player_current_time"
android:background="@color/now_playing_divider" />
<com.cyngn.eleven.widgets.BrowseButton
<com.cyanogenmod.eleven.widgets.BrowseButton
android:id="@+id/action_button_browse"
android:layout_width="@dimen/audio_player_controls_end_button_width"
android:layout_height="@dimen/audio_player_controls_end_button_height"
......@@ -175,7 +176,7 @@
android:scaleType="fitCenter"
android:src="@drawable/btn_playback_browse" />
<com.cyngn.eleven.widgets.ShuffleButton
<com.cyanogenmod.eleven.widgets.ShuffleButton
android:id="@+id/action_button_shuffle"
android:layout_width="@dimen/audio_player_controls_end_button_width"
android:layout_height="@dimen/audio_player_controls_end_button_height"
......@@ -207,7 +208,7 @@
android:textSize="@dimen/audio_player_time_text_size"
android:textStyle="bold"/>
<com.cyngn.eleven.widgets.RepeatingImageButton
<com.cyanogenmod.eleven.widgets.RepeatingImageButton
android:id="@+id/action_button_next"
android:layout_width="@dimen/audio_player_controls_end_button_width"
android:layout_height="@dimen/audio_player_controls_end_button_height"
......@@ -236,7 +237,7 @@
android:layout_below="@id/audio_player_total_time"
android:background="@color/now_playing_divider" />
<com.cyngn.eleven.widgets.QueueButton
<com.cyanogenmod.eleven.widgets.QueueButton
android:id="@+id/action_button_queue"
android:layout_width="@dimen/audio_player_controls_end_button_width"
android:layout_height="@dimen/audio_player_controls_end_button_height"
......@@ -249,7 +250,7 @@
android:scaleType="fitCenter"
android:src="@drawable/btn_queue_icon" />
<com.cyngn.eleven.widgets.RepeatButton
<com.cyanogenmod.eleven.widgets.RepeatButton
android:id="@+id/action_button_repeat"
android:layout_width="@dimen/audio_player_controls_end_button_width"
android:layout_height="@dimen/audio_player_controls_end_button_height"
......
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2014 Cyanogen, Inc.
Copyright (C) 2014 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"
......
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2014 Cyanogen, Inc.
Copyright (C) 2014 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" >
<com.cyngn.eleven.widgets.SquareImageView
<com.cyanogenmod.eleven.widgets.SquareImageView
android:id="@+id/audio_player_album_art"
android:layout_width="match_parent"
android:layout_height="match_parent"
......
......@@ -18,7 +18,7 @@
android:src="@drawable/now_playing_icon"
android:visibility="gone" />
<com.cyngn.eleven.widgets.PopupMenuButton
<com.cyanogenmod.eleven.widgets.PopupMenuButton
android:id="@+id/overflow"
android:layout_width="@dimen/overflow_width"
android:layout_height="@dimen/overflow_height"
......
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2012 Andrew Neal
Copyright (C) 2014 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
......
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2012 Andrew Neal
Copyright (C) 2014 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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment