summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bestas <mikeioannina@cyanogenmod.org>2016-04-24 20:16:58 +0300
committerDanny Baumann <dannybaumann@web.de>2016-04-25 00:56:31 -0700
commitac7e035ab75f8ad8b74faefaa8763b4f3faca526 (patch)
treefa135c985c53c7a5af854a48dc78ac27b9a4cf27
parent1b3cbd3fe25a23aa40b6f88e1e3a02b7de4d6e78 (diff)
downloadandroid_packages_apps_Eleven-ac7e035ab75f8ad8b74faefaa8763b4f3faca526.tar.gz
android_packages_apps_Eleven-ac7e035ab75f8ad8b74faefaa8763b4f3faca526.tar.bz2
android_packages_apps_Eleven-ac7e035ab75f8ad8b74faefaa8763b4f3faca526.zip
Eleven: Cleanup all the whitespace
Change-Id: I82024ce0ada3220b6b87178ea36303b53445e065
-rw-r--r--res/drawable/above_shadow.xml2
-rw-r--r--res/drawable/below_shadow.xml2
-rw-r--r--res/layout/colorstrip.xml4
-rw-r--r--res/layout/edit_queue_list_item.xml4
-rw-r--r--res/layout/edit_track_list_item.xml4
-rw-r--r--res/layout/list_base.xml4
-rw-r--r--res/layout/list_base_padding.xml4
-rw-r--r--res/layout/list_header.xml4
-rw-r--r--res/layout/list_item_normal.xml4
-rw-r--r--res/layout/list_item_smart_playlist.xml4
-rw-r--r--res/layout/list_item_top_tracks.xml4
-rw-r--r--res/layout/list_search_header.xml4
-rw-r--r--res/layout/square_image_view.xml4
-rw-r--r--res/menu/activity_base.xml4
-rw-r--r--res/menu/album_sort_by.xml4
-rw-r--r--res/menu/artist_album_sort_by.xml6
-rw-r--r--res/menu/artist_song_sort_by.xml6
-rw-r--r--res/menu/artist_sort_by.xml4
-rw-r--r--res/menu/audio_player.xml4
-rw-r--r--res/menu/clear_list.xml4
-rw-r--r--res/menu/new_playlist.xml4
-rw-r--r--res/menu/queue.xml4
-rw-r--r--res/menu/search.xml6
-rw-r--r--res/menu/search_btn.xml4
-rw-r--r--res/menu/shuffle_all.xml4
-rw-r--r--res/menu/shuffle_item.xml4
-rw-r--r--res/menu/song_sort_by.xml4
-rw-r--r--res/values-sw600dp/dimens.xml6
-rw-r--r--res/xml/app_widget_large.xml6
-rw-r--r--res/xml/app_widget_large_alternate.xml8
-rw-r--r--res/xml/app_widget_small.xml6
-rw-r--r--res/xml/searchable.xml6
-rw-r--r--src/com/cyanogenmod/eleven/Config.java2
-rw-r--r--src/com/cyanogenmod/eleven/ElevenApplication.java2
-rw-r--r--src/com/cyanogenmod/eleven/IElevenService.aidl1
-rw-r--r--src/com/cyanogenmod/eleven/MediaButtonIntentReceiver.java1
-rw-r--r--src/com/cyanogenmod/eleven/adapters/AlbumAdapter.java4
-rw-r--r--src/com/cyanogenmod/eleven/adapters/ArtistAdapter.java4
-rw-r--r--src/com/cyanogenmod/eleven/adapters/PagerAdapter.java14
-rw-r--r--src/com/cyanogenmod/eleven/adapters/PlaylistAdapter.java4
-rw-r--r--src/com/cyanogenmod/eleven/adapters/ProfileSongAdapter.java4
-rw-r--r--src/com/cyanogenmod/eleven/adapters/SongAdapter.java4
-rw-r--r--src/com/cyanogenmod/eleven/cache/DiskLruCache.java7
-rw-r--r--src/com/cyanogenmod/eleven/cache/LruCache.java6
-rw-r--r--src/com/cyanogenmod/eleven/dragdrop/DragSortController.java16
-rw-r--r--src/com/cyanogenmod/eleven/dragdrop/DragSortListView.java48
-rw-r--r--src/com/cyanogenmod/eleven/format/Capitalize.java4
-rw-r--r--src/com/cyanogenmod/eleven/format/PrefixHighlighter.java6
-rw-r--r--src/com/cyanogenmod/eleven/lastfm/Album.java6
-rw-r--r--src/com/cyanogenmod/eleven/lastfm/Artist.java8
-rw-r--r--src/com/cyanogenmod/eleven/lastfm/Caller.java6
-rw-r--r--src/com/cyanogenmod/eleven/lastfm/DomElement.java18
-rw-r--r--src/com/cyanogenmod/eleven/lastfm/Image.java2
-rw-r--r--src/com/cyanogenmod/eleven/lastfm/ImageHolder.java6
-rw-r--r--src/com/cyanogenmod/eleven/lastfm/ItemFactory.java4
-rw-r--r--src/com/cyanogenmod/eleven/lastfm/ItemFactoryBuilder.java6
-rw-r--r--src/com/cyanogenmod/eleven/lastfm/MapUtilities.java10
-rw-r--r--src/com/cyanogenmod/eleven/lastfm/MusicEntry.java4
-rw-r--r--src/com/cyanogenmod/eleven/lastfm/PaginatedResult.java8
-rw-r--r--src/com/cyanogenmod/eleven/lastfm/ResponseBuilder.java2
-rw-r--r--src/com/cyanogenmod/eleven/lastfm/Result.java4
-rw-r--r--src/com/cyanogenmod/eleven/lastfm/StringUtilities.java18
-rw-r--r--src/com/cyanogenmod/eleven/loaders/AlbumLoader.java4
-rw-r--r--src/com/cyanogenmod/eleven/loaders/AlbumSongLoader.java5
-rw-r--r--src/com/cyanogenmod/eleven/loaders/ArtistLoader.java6
-rw-r--r--src/com/cyanogenmod/eleven/loaders/LastAddedLoader.java4
-rw-r--r--src/com/cyanogenmod/eleven/loaders/NowPlayingCursor.java2
-rw-r--r--src/com/cyanogenmod/eleven/loaders/PlaylistLoader.java6
-rw-r--r--src/com/cyanogenmod/eleven/loaders/PlaylistSongLoader.java2
-rw-r--r--src/com/cyanogenmod/eleven/loaders/QueueLoader.java6
-rw-r--r--src/com/cyanogenmod/eleven/loaders/SearchLoader.java4
-rw-r--r--src/com/cyanogenmod/eleven/loaders/SongLoader.java4
-rw-r--r--src/com/cyanogenmod/eleven/loaders/WrappedAsyncTaskLoader.java4
-rw-r--r--src/com/cyanogenmod/eleven/menu/BasePlaylistDialog.java2
-rw-r--r--src/com/cyanogenmod/eleven/menu/DeleteDialog.java2
-rw-r--r--src/com/cyanogenmod/eleven/menu/RenamePlaylist.java2
-rw-r--r--src/com/cyanogenmod/eleven/model/Album.java4
-rw-r--r--src/com/cyanogenmod/eleven/model/Artist.java4
-rw-r--r--src/com/cyanogenmod/eleven/model/Genre.java4
-rw-r--r--src/com/cyanogenmod/eleven/model/Playlist.java4
-rw-r--r--src/com/cyanogenmod/eleven/model/Song.java4
-rw-r--r--src/com/cyanogenmod/eleven/provider/RecentStore.java4
-rw-r--r--src/com/cyanogenmod/eleven/recycler/RecycleHolder.java2
-rw-r--r--src/com/cyanogenmod/eleven/ui/MusicHolder.java12
-rw-r--r--src/com/cyanogenmod/eleven/ui/activities/SearchActivity.java2
-rw-r--r--src/com/cyanogenmod/eleven/ui/fragments/AlbumFragment.java4
-rw-r--r--src/com/cyanogenmod/eleven/ui/fragments/ArtistDetailFragment.java2
-rw-r--r--src/com/cyanogenmod/eleven/ui/fragments/ArtistFragment.java4
-rw-r--r--src/com/cyanogenmod/eleven/ui/fragments/PlaylistFragment.java2
-rw-r--r--src/com/cyanogenmod/eleven/utils/ApolloUtils.java18
-rw-r--r--src/com/cyanogenmod/eleven/utils/BitmapUtils.java6
-rw-r--r--src/com/cyanogenmod/eleven/utils/Lists.java4
-rw-r--r--src/com/cyanogenmod/eleven/utils/NavUtils.java14
-rw-r--r--src/com/cyanogenmod/eleven/utils/PlaylistPopupMenuHelper.java2
-rw-r--r--src/com/cyanogenmod/eleven/utils/PreferenceUtils.java30
-rw-r--r--src/com/cyanogenmod/eleven/utils/SortOrder.java2
-rw-r--r--src/com/cyanogenmod/eleven/utils/SrtParser.java1
-rw-r--r--src/com/cyanogenmod/eleven/widgets/AlphaPatternDrawable.java2
-rw-r--r--src/com/cyanogenmod/eleven/widgets/ColorPanelView.java8
-rw-r--r--src/com/cyanogenmod/eleven/widgets/ColorPickerView.java22
-rw-r--r--src/com/cyanogenmod/eleven/widgets/LetterTileDrawable.java2
-rw-r--r--src/com/cyanogenmod/eleven/widgets/RepeatButton.java2
-rw-r--r--src/com/cyanogenmod/eleven/widgets/RepeatingImageButton.java2
-rw-r--r--src/com/cyanogenmod/eleven/widgets/SeparatedListAdapter.java2
-rw-r--r--src/com/cyanogenmod/eleven/widgets/ShowHideMasterLayout.java8
-rw-r--r--src/com/cyanogenmod/eleven/widgets/SquareImageView.java2
-rw-r--r--src/com/cyanogenmod/eleven/widgets/SquareView.java2
-rw-r--r--src/com/cyanogenmod/eleven/widgets/ViewPagerTabs.java1
108 files changed, 300 insertions, 306 deletions
diff --git a/res/drawable/above_shadow.xml b/res/drawable/above_shadow.xml
index cf890b9..5965c97 100644
--- a/res/drawable/above_shadow.xml
+++ b/res/drawable/above_shadow.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<shape xmlns:android="http://schemas.android.com/apk/res/android">
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
<gradient
android:startColor="#20000000"
android:endColor="@android:color/transparent"
diff --git a/res/drawable/below_shadow.xml b/res/drawable/below_shadow.xml
index 3255f0e..c724e27 100644
--- a/res/drawable/below_shadow.xml
+++ b/res/drawable/below_shadow.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<shape xmlns:android="http://schemas.android.com/apk/res/android">
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
<gradient
android:startColor="#20000000"
android:endColor="@android:color/transparent"
diff --git a/res/layout/colorstrip.xml b/res/layout/colorstrip.xml
index dcbc6fb..791d054 100644
--- a/res/layout/colorstrip.xml
+++ b/res/layout/colorstrip.xml
@@ -6,9 +6,9 @@
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/res/layout/edit_queue_list_item.xml b/res/layout/edit_queue_list_item.xml
index 5982932..d57f2c3 100644
--- a/res/layout/edit_queue_list_item.xml
+++ b/res/layout/edit_queue_list_item.xml
@@ -6,9 +6,9 @@
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/res/layout/edit_track_list_item.xml b/res/layout/edit_track_list_item.xml
index 3bf2781..9b52a42 100644
--- a/res/layout/edit_track_list_item.xml
+++ b/res/layout/edit_track_list_item.xml
@@ -6,9 +6,9 @@
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/res/layout/list_base.xml b/res/layout/list_base.xml
index f26e3c7..42b85a4 100644
--- a/res/layout/list_base.xml
+++ b/res/layout/list_base.xml
@@ -6,9 +6,9 @@
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/res/layout/list_base_padding.xml b/res/layout/list_base_padding.xml
index 3845720..b72a639 100644
--- a/res/layout/list_base_padding.xml
+++ b/res/layout/list_base_padding.xml
@@ -6,9 +6,9 @@
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/res/layout/list_header.xml b/res/layout/list_header.xml
index e41d28d..f02e2d8 100644
--- a/res/layout/list_header.xml
+++ b/res/layout/list_header.xml
@@ -6,9 +6,9 @@
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/res/layout/list_item_normal.xml b/res/layout/list_item_normal.xml
index 3ea0d55..de538db 100644
--- a/res/layout/list_item_normal.xml
+++ b/res/layout/list_item_normal.xml
@@ -6,9 +6,9 @@
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/res/layout/list_item_smart_playlist.xml b/res/layout/list_item_smart_playlist.xml
index dc7778c..badd4a6 100644
--- a/res/layout/list_item_smart_playlist.xml
+++ b/res/layout/list_item_smart_playlist.xml
@@ -6,9 +6,9 @@
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/res/layout/list_item_top_tracks.xml b/res/layout/list_item_top_tracks.xml
index 12718e1..8988de7 100644
--- a/res/layout/list_item_top_tracks.xml
+++ b/res/layout/list_item_top_tracks.xml
@@ -6,9 +6,9 @@
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/res/layout/list_search_header.xml b/res/layout/list_search_header.xml
index 7f2e19c..5cca5c7 100644
--- a/res/layout/list_search_header.xml
+++ b/res/layout/list_search_header.xml
@@ -6,9 +6,9 @@
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/res/layout/square_image_view.xml b/res/layout/square_image_view.xml
index 69b16a0..a8e09b2 100644
--- a/res/layout/square_image_view.xml
+++ b/res/layout/square_image_view.xml
@@ -6,9 +6,9 @@
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/res/menu/activity_base.xml b/res/menu/activity_base.xml
index 764af06..7bd7616 100644
--- a/res/menu/activity_base.xml
+++ b/res/menu/activity_base.xml
@@ -6,9 +6,9 @@
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/res/menu/album_sort_by.xml b/res/menu/album_sort_by.xml
index 38b455a..51eeee6 100644
--- a/res/menu/album_sort_by.xml
+++ b/res/menu/album_sort_by.xml
@@ -6,9 +6,9 @@
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/res/menu/artist_album_sort_by.xml b/res/menu/artist_album_sort_by.xml
index 420a8e8..da58f3c 100644
--- a/res/menu/artist_album_sort_by.xml
+++ b/res/menu/artist_album_sort_by.xml
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2012 Andrew Neal
-
+
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/res/menu/artist_song_sort_by.xml b/res/menu/artist_song_sort_by.xml
index 0e5ec7a..5cb76bc 100644
--- a/res/menu/artist_song_sort_by.xml
+++ b/res/menu/artist_song_sort_by.xml
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2012 Andrew Neal
-
+
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/res/menu/artist_sort_by.xml b/res/menu/artist_sort_by.xml
index ced4285..4498bd7 100644
--- a/res/menu/artist_sort_by.xml
+++ b/res/menu/artist_sort_by.xml
@@ -6,9 +6,9 @@
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/res/menu/audio_player.xml b/res/menu/audio_player.xml
index 0e2a50d..1c2747a 100644
--- a/res/menu/audio_player.xml
+++ b/res/menu/audio_player.xml
@@ -6,9 +6,9 @@
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/res/menu/clear_list.xml b/res/menu/clear_list.xml
index e8b168d..e80855f 100644
--- a/res/menu/clear_list.xml
+++ b/res/menu/clear_list.xml
@@ -6,9 +6,9 @@
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/res/menu/new_playlist.xml b/res/menu/new_playlist.xml
index d7386b1..08557ba 100644
--- a/res/menu/new_playlist.xml
+++ b/res/menu/new_playlist.xml
@@ -6,9 +6,9 @@
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/res/menu/queue.xml b/res/menu/queue.xml
index 7704999..0e9e5e0 100644
--- a/res/menu/queue.xml
+++ b/res/menu/queue.xml
@@ -6,9 +6,9 @@
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/res/menu/search.xml b/res/menu/search.xml
index f3c6b1c..d0240a0 100644
--- a/res/menu/search.xml
+++ b/res/menu/search.xml
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2012 Andrew Neal
-
+
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/res/menu/search_btn.xml b/res/menu/search_btn.xml
index f561cb6..417ed89 100644
--- a/res/menu/search_btn.xml
+++ b/res/menu/search_btn.xml
@@ -6,9 +6,9 @@
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/res/menu/shuffle_all.xml b/res/menu/shuffle_all.xml
index 29c891a..2691401 100644
--- a/res/menu/shuffle_all.xml
+++ b/res/menu/shuffle_all.xml
@@ -6,9 +6,9 @@
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/res/menu/shuffle_item.xml b/res/menu/shuffle_item.xml
index 21de91d..cd37834 100644
--- a/res/menu/shuffle_item.xml
+++ b/res/menu/shuffle_item.xml
@@ -6,9 +6,9 @@
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/res/menu/song_sort_by.xml b/res/menu/song_sort_by.xml
index b5812bd..113e9bc 100644
--- a/res/menu/song_sort_by.xml
+++ b/res/menu/song_sort_by.xml
@@ -6,9 +6,9 @@
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/res/values-sw600dp/dimens.xml b/res/values-sw600dp/dimens.xml
index 4b3153e..c6900a6 100644
--- a/res/values-sw600dp/dimens.xml
+++ b/res/values-sw600dp/dimens.xml
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2012 Andrew Neal
-
+
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/res/xml/app_widget_large.xml b/res/xml/app_widget_large.xml
index f3615dd..e3c1e7a 100644
--- a/res/xml/app_widget_large.xml
+++ b/res/xml/app_widget_large.xml
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2012 Andrew Neal
-
+
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/res/xml/app_widget_large_alternate.xml b/res/xml/app_widget_large_alternate.xml
index c637eb6..55d9bfa 100644
--- a/res/xml/app_widget_large_alternate.xml
+++ b/res/xml/app_widget_large_alternate.xml
@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2012 Andrew Neal
-
+
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
- limitations under the License.
+ limitations under the License.
-->
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
android:initialLayout="@layout/app_widget_large_alternate"
diff --git a/res/xml/app_widget_small.xml b/res/xml/app_widget_small.xml
index b2304f7..4cdfb33 100644
--- a/res/xml/app_widget_small.xml
+++ b/res/xml/app_widget_small.xml
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2012 Andrew Neal
-
+
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/res/xml/searchable.xml b/res/xml/searchable.xml
index 1069f29..0aa4faf 100644
--- a/res/xml/searchable.xml
+++ b/res/xml/searchable.xml
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2012 Andrew Neal
-
+
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/src/com/cyanogenmod/eleven/Config.java b/src/com/cyanogenmod/eleven/Config.java
index 708b0f0..3ebdac8 100644
--- a/src/com/cyanogenmod/eleven/Config.java
+++ b/src/com/cyanogenmod/eleven/Config.java
@@ -15,7 +15,7 @@ package com.cyanogenmod.eleven;
/**
* App-wide constants.
- *
+ *
* @author Andrew Neal (andrewdneal@gmail.com)
*/
public final class Config {
diff --git a/src/com/cyanogenmod/eleven/ElevenApplication.java b/src/com/cyanogenmod/eleven/ElevenApplication.java
index 09d639e..9e0fc3b 100644
--- a/src/com/cyanogenmod/eleven/ElevenApplication.java
+++ b/src/com/cyanogenmod/eleven/ElevenApplication.java
@@ -25,7 +25,7 @@ import java.util.logging.Logger;
* Used to turn off logging for jaudiotagger and free up memory when
* {@code #onLowMemory()} is called on pre-ICS devices. On post-ICS memory is
* released within {@link ImageCache}.
- *
+ *
* @author Andrew Neal (andrewdneal@gmail.com)
*/
public class ElevenApplication extends Application {
diff --git a/src/com/cyanogenmod/eleven/IElevenService.aidl b/src/com/cyanogenmod/eleven/IElevenService.aidl
index fb4d6ce..e3b0acf 100644
--- a/src/com/cyanogenmod/eleven/IElevenService.aidl
+++ b/src/com/cyanogenmod/eleven/IElevenService.aidl
@@ -51,4 +51,3 @@ interface IElevenService
void setShakeToPlayEnabled(boolean enabled);
void setLockscreenAlbumArt(boolean enabled);
}
-
diff --git a/src/com/cyanogenmod/eleven/MediaButtonIntentReceiver.java b/src/com/cyanogenmod/eleven/MediaButtonIntentReceiver.java
index 7ed8757..d4b8bc7 100644
--- a/src/com/cyanogenmod/eleven/MediaButtonIntentReceiver.java
+++ b/src/com/cyanogenmod/eleven/MediaButtonIntentReceiver.java
@@ -221,4 +221,3 @@ public class MediaButtonIntentReceiver extends WakefulBroadcastReceiver {
}
}
}
-
diff --git a/src/com/cyanogenmod/eleven/adapters/AlbumAdapter.java b/src/com/cyanogenmod/eleven/adapters/AlbumAdapter.java
index 2d750b5..928f549 100644
--- a/src/com/cyanogenmod/eleven/adapters/AlbumAdapter.java
+++ b/src/com/cyanogenmod/eleven/adapters/AlbumAdapter.java
@@ -35,7 +35,7 @@ import java.util.List;
/**
* This {@link ArrayAdapter} is used to display all of the albums on a user's
* device for {@link RecentsFragment} and {@link AlbumsFragment}.
- *
+ *
* @author Andrew Neal (andrewdneal@gmail.com)
*/
public class AlbumAdapter extends BaseAdapter implements IPopupMenuCallback {
@@ -69,7 +69,7 @@ public class AlbumAdapter extends BaseAdapter implements IPopupMenuCallback {
/**
* Constructor of <code>AlbumAdapter</code>
- *
+ *
* @param context The {@link Context} to use.
* @param layoutId The resource Id of the view to inflate.
* @param style Determines which layout to use and therefore which items to
diff --git a/src/com/cyanogenmod/eleven/adapters/ArtistAdapter.java b/src/com/cyanogenmod/eleven/adapters/ArtistAdapter.java
index 6eb0267..2c83ccf 100644
--- a/src/com/cyanogenmod/eleven/adapters/ArtistAdapter.java
+++ b/src/com/cyanogenmod/eleven/adapters/ArtistAdapter.java
@@ -33,7 +33,7 @@ import com.cyanogenmod.eleven.widgets.IPopupMenuCallback;
/**
* This {@link ArrayAdapter} is used to display all of the artists on a user's
* device for {@link ArtistFragment}.
- *
+ *
* @author Andrew Neal (andrewdneal@gmail.com)
*/
/**
@@ -73,7 +73,7 @@ public class ArtistAdapter extends ArrayAdapter<Artist> implements BasicAdapter,
/**
* Constructor of <code>ArtistAdapter</code>
- *
+ *
* @param context The {@link Context} to use.
* @param layoutId The resource Id of the view to inflate.
*/
diff --git a/src/com/cyanogenmod/eleven/adapters/PagerAdapter.java b/src/com/cyanogenmod/eleven/adapters/PagerAdapter.java
index 176a772..d0d107f 100644
--- a/src/com/cyanogenmod/eleven/adapters/PagerAdapter.java
+++ b/src/com/cyanogenmod/eleven/adapters/PagerAdapter.java
@@ -48,7 +48,7 @@ public class PagerAdapter extends FragmentPagerAdapter {
/**
* Constructor of <code>PagerAdatper<code>
- *
+ *
* @param fragmentManager The supporting fragment manager
*/
public PagerAdapter(final Context context, final FragmentManager fragmentManager) {
@@ -59,7 +59,7 @@ public class PagerAdapter extends FragmentPagerAdapter {
/**
* Method that adds a new fragment class to the viewer (the fragment is
* internally instantiate)
- *
+ *
* @param className The full qualified name of fragment class.
* @param params The instantiate params.
*/
@@ -77,7 +77,7 @@ public class PagerAdapter extends FragmentPagerAdapter {
/**
* Method that returns the {@link Fragment} in the argument
* position.
- *
+ *
* @param position The position of the fragment to return.
* @return Fragment The {@link Fragment} in the argument position.
*/
@@ -145,7 +145,7 @@ public class PagerAdapter extends FragmentPagerAdapter {
/**
* Method that returns the current page position.
- *
+ *
* @return int The current page.
*/
public int getCurrentPage() {
@@ -154,7 +154,7 @@ public class PagerAdapter extends FragmentPagerAdapter {
/**
* Method that sets the current page position.
- *
+ *
* @param currentPage The current page.
*/
protected void setCurrentPage(final int currentPage) {
@@ -186,7 +186,7 @@ public class PagerAdapter extends FragmentPagerAdapter {
/**
* Constructor of <code>MusicFragments</code>
- *
+ *
* @param fragmentClass The fragment class
*/
private MusicFragments(final Class<? extends Fragment> fragmentClass) {
@@ -195,7 +195,7 @@ public class PagerAdapter extends FragmentPagerAdapter {
/**
* Method that returns the fragment class.
- *
+ *
* @return Class<? extends Fragment> The fragment class.
*/
public Class<? extends Fragment> getFragmentClass() {
diff --git a/src/com/cyanogenmod/eleven/adapters/PlaylistAdapter.java b/src/com/cyanogenmod/eleven/adapters/PlaylistAdapter.java
index dab9344..023f9f6 100644
--- a/src/com/cyanogenmod/eleven/adapters/PlaylistAdapter.java
+++ b/src/com/cyanogenmod/eleven/adapters/PlaylistAdapter.java
@@ -32,7 +32,7 @@ import com.cyanogenmod.eleven.widgets.IPopupMenuCallback;
/**
* This {@link ArrayAdapter} is used to display all of the playlists on a user's
* device for {@link PlaylistFragment}.
- *
+ *
* @author Andrew Neal (andrewdneal@gmail.com)
*/
public class PlaylistAdapter extends ArrayAdapter<Playlist> implements IPopupMenuCallback {
@@ -59,7 +59,7 @@ public class PlaylistAdapter extends ArrayAdapter<Playlist> implements IPopupMen
/**
* Constructor of <code>PlaylistAdapter</code>
- *
+ *
* @param context The {@link Context} to use.
*/
public PlaylistAdapter(final Context context) {
diff --git a/src/com/cyanogenmod/eleven/adapters/ProfileSongAdapter.java b/src/com/cyanogenmod/eleven/adapters/ProfileSongAdapter.java
index 6b16c55..2dcf932 100644
--- a/src/com/cyanogenmod/eleven/adapters/ProfileSongAdapter.java
+++ b/src/com/cyanogenmod/eleven/adapters/ProfileSongAdapter.java
@@ -27,7 +27,7 @@ import java.util.Collection;
/**
* This {@link ArrayAdapter} is used to display the songs for a particular playlist
* {@link com.cyanogenmod.eleven.ui.fragments.PlaylistDetailFragment}
- *
+ *
* @author Andrew Neal (andrewdneal@gmail.com)
*/
public class ProfileSongAdapter extends SongAdapter {
@@ -44,7 +44,7 @@ public class ProfileSongAdapter extends SongAdapter {
/**
* Constructor of <code>ProfileSongAdapter</code>
- *
+ *
* @param activity The {@link Activity} to use
* @param layoutId The resource Id of the view to inflate.
*/
diff --git a/src/com/cyanogenmod/eleven/adapters/SongAdapter.java b/src/com/cyanogenmod/eleven/adapters/SongAdapter.java
index 80f8006..21b4e6b 100644
--- a/src/com/cyanogenmod/eleven/adapters/SongAdapter.java
+++ b/src/com/cyanogenmod/eleven/adapters/SongAdapter.java
@@ -39,7 +39,7 @@ import com.cyanogenmod.eleven.widgets.PlayPauseProgressButton;
* This {@link ArrayAdapter} is used to display all of the songs on a user's
* device for {@link SongFragment}. It is also used to show the queue in
* {@link QueueFragment}.
- *
+ *
* @author Andrew Neal (andrewdneal@gmail.com)
*/
public class SongAdapter extends ArrayAdapter<Song>
@@ -90,7 +90,7 @@ public class SongAdapter extends ArrayAdapter<Song>
/**
* Constructor of <code>SongAdapter</code>
- *
+ *
* @param context The {@link Context} to use.
* @param layoutId The resource Id of the view to inflate.
* @param sourceId The source id that the adapter is created from
diff --git a/src/com/cyanogenmod/eleven/cache/DiskLruCache.java b/src/com/cyanogenmod/eleven/cache/DiskLruCache.java
index ef10adc..0e33afb 100644
--- a/src/com/cyanogenmod/eleven/cache/DiskLruCache.java
+++ b/src/com/cyanogenmod/eleven/cache/DiskLruCache.java
@@ -206,7 +206,7 @@ public final class DiskLruCache implements Closeable {
/**
* Returns the ASCII characters up to but not including the next "\r\n", or
* "\n".
- *
+ *
* @throws java.io.EOFException if the stream is exhausted before the next
* newline character.
*/
@@ -299,7 +299,7 @@ public final class DiskLruCache implements Closeable {
/**
* Opens the cache in {@code directory}, creating a cache if none exists
* there.
- *
+ *
* @param directory a writable directory
* @param appVersion
* @param valueCount the number of values per cache entry. Must be positive.
@@ -629,7 +629,7 @@ public final class DiskLruCache implements Closeable {
/**
* Drops the entry for {@code key} if it exists and can be removed. Entries
* actively being edited cannot be removed.
- *
+ *
* @return true if an entry was removed.
*/
public synchronized boolean remove(final String key) throws IOException {
@@ -967,4 +967,3 @@ public final class DiskLruCache implements Closeable {
}
}
}
-
diff --git a/src/com/cyanogenmod/eleven/cache/LruCache.java b/src/com/cyanogenmod/eleven/cache/LruCache.java
index 2144b93..8d40b1a 100644
--- a/src/com/cyanogenmod/eleven/cache/LruCache.java
+++ b/src/com/cyanogenmod/eleven/cache/LruCache.java
@@ -116,7 +116,7 @@ public class LruCache<K, V> {
/**
* Caches {@code value} for {@code key}. The value is moved to the head of
* the queue.
- *
+ *
* @return the previous value mapped by {@code key}.
*/
public final V put(final K key, final V value) {
@@ -174,7 +174,7 @@ public class LruCache<K, V> {
/**
* Removes the entry for {@code key} if it exists.
- *
+ *
* @return the previous value mapped by {@code key}.
*/
public final V remove(final K key) {
@@ -205,7 +205,7 @@ public class LruCache<K, V> {
* <p>
* The method is called without synchronization: other threads may access
* the cache while this method is executing.
- *
+ *
* @param evicted true if the entry is being removed to make space, false if
* the removal was caused by a {@link #put} or {@link #remove}.
* @param newValue the new value for {@code key}, if it exists. If non-null,
diff --git a/src/com/cyanogenmod/eleven/dragdrop/DragSortController.java b/src/com/cyanogenmod/eleven/dragdrop/DragSortController.java
index 6f7380f..e433ec0 100644
--- a/src/com/cyanogenmod/eleven/dragdrop/DragSortController.java
+++ b/src/com/cyanogenmod/eleven/dragdrop/DragSortController.java
@@ -76,7 +76,7 @@ public class DragSortController extends SimpleFloatViewManager implements View.O
* Calls {@link #DragSortController(DragSortListView, int)} with a 0 drag
* handle id, FLING_RIGHT_REMOVE remove mode, and ON_DOWN drag init. By
* default, sorting is enabled, and removal is disabled.
- *
+ *
* @param dslv The DSLV instance
*/
public DragSortController(DragSortListView dslv) {
@@ -85,7 +85,7 @@ public class DragSortController extends SimpleFloatViewManager implements View.O
/**
* By default, sorting is enabled, and removal is disabled.
- *
+ *
* @param dslv The DSLV instance
* @param dragHandleId The resource id of the View that represents the drag
* handle in a list item.
@@ -114,7 +114,7 @@ public class DragSortController extends SimpleFloatViewManager implements View.O
/**
* Set how a drag is initiated. Needs to be one of {@link ON_DOWN},
* {@link ON_DRAG}, or {@link ON_LONG_PRESS}.
- *
+ *
* @param mode The drag init mode.
*/
public void setDragInitMode(int mode) {
@@ -124,7 +124,7 @@ public class DragSortController extends SimpleFloatViewManager implements View.O
/**
* Enable/Disable list item sorting. Disabling is useful if only item
* removal is desired. Prevents drags in the vertical direction.
- *
+ *
* @param enabled Set <code>true</code> to enable list item sorting.
*/
public void setSortEnabled(boolean enabled) {
@@ -170,7 +170,7 @@ public class DragSortController extends SimpleFloatViewManager implements View.O
/**
* Set the resource id for the View that represents the drag handle in a
* list item.
- *
+ *
* @param id An android resource id.
*/
public void setDragHandleId(int id) {
@@ -181,7 +181,7 @@ public class DragSortController extends SimpleFloatViewManager implements View.O
* Sets flags to restrict certain motions of the floating View based on
* DragSortController settings (such as remove mode). Starts the drag on the
* DragSortListView.
- *
+ *
* @param position The list item position (includes headers).
* @param deltaX Touch x-coord minus left edge of floating View.
* @param deltaY Touch y-coord minus top edge of floating View.
@@ -286,7 +286,7 @@ public class DragSortController extends SimpleFloatViewManager implements View.O
* This function simply calls {@link #dragHandleHitPosition(MotionEvent)}.
* Override to change drag handle behavior; this function is called
* internally when an ACTION_DOWN event is detected.
- *
+ *
* @param ev The ACTION_DOWN MotionEvent.
* @return The list position to drag if a drag-init gesture is detected;
* MISS if unsuccessful.
@@ -299,7 +299,7 @@ public class DragSortController extends SimpleFloatViewManager implements View.O
* Checks for the touch of an item's drag handle (specified by
* {@link #setDragHandleId(int)}), and returns that item's position if a
* drag handle touch was detected.
- *
+ *
* @param ev The ACTION_DOWN MotionEvent.
* @return The list position of the item whose drag handle was touched; MISS
* if unsuccessful.
diff --git a/src/com/cyanogenmod/eleven/dragdrop/DragSortListView.java b/src/com/cyanogenmod/eleven/dragdrop/DragSortListView.java
index 9d36af1..64a32c6 100644
--- a/src/com/cyanogenmod/eleven/dragdrop/DragSortListView.java
+++ b/src/com/cyanogenmod/eleven/dragdrop/DragSortListView.java
@@ -38,7 +38,7 @@ import java.io.IOException;
/**
* ListView subclass that mediates drag and drop resorting of items.
- *
+ *
* @author heycosmo
*/
public class DragSortListView extends ListView {
@@ -445,7 +445,7 @@ public class DragSortListView extends ListView {
/**
* Set maximum drag scroll speed in positions/second. Only applies if using
* default ScrollSpeedProfile.
- *
+ *
* @param max Maximum scroll speed.
*/
public void setMaxScrollSpeed(final float max) {
@@ -466,7 +466,7 @@ public class DragSortListView extends ListView {
* As opposed to {@link ListView#getAdapter()}, which returns a heavily
* wrapped ListAdapter (DragSortListView wraps the input ListAdapter {\emph
* and} ListView wraps the wrapped one).
- *
+ *
* @return The ListAdapter set as the argument of {@link setAdapter()}
*/
public ListAdapter getInputAdapter() {
@@ -642,7 +642,7 @@ public class DragSortListView extends ListView {
/**
* Get the height of the given wrapped item and its child.
- *
+ *
* @param position Position from which item was obtained.
* @param item List item (usually obtained from
* {@link ListView#getChildAt()}).
@@ -667,7 +667,7 @@ public class DragSortListView extends ListView {
* This function works for arbitrary positions (could be off-screen). If
* requested position is off-screen, this function calls
* <code>getView</code> to get height information.
- *
+ *
* @param position ListView position.
* @param heights Object to fill with heights of item at
* <code>position</code>.
@@ -716,7 +716,7 @@ public class DragSortListView extends ListView {
/**
* Get the shuffle edge for item at position when top of item is at y-coord
* top
- *
+ *
* @param position
* @param top
* @param height Height of item at position. If -1, this function calculates
@@ -957,7 +957,7 @@ public class DragSortListView extends ListView {
/**
* Stop a drag in progress. Pass <code>true</code> if you would like to
* remove the dragged item from the list.
- *
+ *
* @param remove Remove the dragged item from the list. Calls a registered
* DropListener, if one exists.
* @return True if the stop was successful.
@@ -1099,7 +1099,7 @@ public class DragSortListView extends ListView {
/**
* Set the width of each drag scroll region by specifying a fraction of the
* ListView height.
- *
+ *
* @param heightFraction Fraction of ListView height. Capped at 0.5f.
*/
public void setDragScrollStart(final float heightFraction) {
@@ -1109,7 +1109,7 @@ public class DragSortListView extends ListView {
/**
* Set the width of each drag scroll region by specifying a fraction of the
* ListView height.
- *
+ *
* @param upperFrac Fraction of ListView height for up-scroll bound. Capped
* at 0.5f.
* @param lowerFrac Fraction of ListView height for down-scroll bound.
@@ -1497,10 +1497,10 @@ public class DragSortListView extends ListView {
* FloatViewManager. Calls through to
* {@link #startDrag(int,View,int,int,int)} after obtaining the floating
* View from the FloatViewManager.
- *
+ *
* @param position Item to drag.
* @param dragFlags Flags that restrict some movements of the floating View.
- * For example, set <code>dragFlags |=
+ * For example, set <code>dragFlags |=
* ~{@link #DRAG_NEG_X}</code> to allow dragging the floating View in all
* directions except off the screen to the left.
* @param deltaX Offset in x of the touch coordinate from the left edge of
@@ -1531,11 +1531,11 @@ public class DragSortListView extends ListView {
/**
* Start a drag of item at <code>position</code> without using a
* FloatViewManager.
- *
+ *
* @param position Item to drag.
* @param floatView Floating View.
* @param dragFlags Flags that restrict some movements of the floating View.
- * For example, set <code>dragFlags |=
+ * For example, set <code>dragFlags |=
* ~{@link #DRAG_NEG_X}</code> to allow dragging the floating View in all
* directions except off the screen to the left.
* @param deltaX Offset in x of the touch coordinate from the left edge of
@@ -1706,7 +1706,7 @@ public class DragSortListView extends ListView {
* {@link ViewGroup.LayoutParams} on this View; otherwise it will set
* some for you (with a width of FILL_PARENT and a height of
* WRAP_CONTENT).
- *
+ *
* @param position Position of item to drag (NOTE: <code>position</code>
* excludes header Views; thus, if you want to call
* {@link ListView#getChildAt(int)}, you will need to add
@@ -1720,7 +1720,7 @@ public class DragSortListView extends ListView {
* can be changed here. Also, the upcoming location of the float View
* can be altered by setting <code>location.x</code> and
* <code>location.y</code>.
- *
+ *
* @param floatView The floating View.
* @param location The location (top-left; relative to DSLV top-left) at
* which the float View would like to appear, given the
@@ -1734,7 +1734,7 @@ public class DragSortListView extends ListView {
* Called when the float View is dropped; lets you perform any necessary
* cleanup. The internal DSLV floating View reference is set to null
* immediately after this is called.
- *
+ *
* @param floatView The floating View passed to
* {@link #onCreateFloatView(int)}.
*/
@@ -1754,7 +1754,7 @@ public class DragSortListView extends ListView {
* ListView. If enabled, items are draggable, where the drag init mode
* determines how items are lifted (see {@link setDragInitMode(int)}). If
* disabled, items cannot be dragged.
- *
+ *
* @param enabled Set <code>true</code> to enable list item dragging
*/
public void setDragEnabled(final boolean enabled) {
@@ -1770,7 +1770,7 @@ public class DragSortListView extends ListView {
* for you; doesn't make sense to. Make sure
* {@link BaseAdapter#notifyDataSetChanged()} or something like it is called
* in your implementation.
- *
+ *
* @param l
*/
public void setDropListener(final DropListener l) {
@@ -1783,7 +1783,7 @@ public class DragSortListView extends ListView {
* item removal occurs, DragSortListView relies on a redraw of all the items
* to recover invisible views and such. Strictly speaking, if you remove
* something, your dataset has changed...
- *
+ *
* @param l
*/
public void setRemoveListener(final RemoveListener l) {
@@ -1801,7 +1801,7 @@ public class DragSortListView extends ListView {
* Your implementation of this has to reorder your ListAdapter! Make sure to
* call {@link BaseAdapter#notifyDataSetChanged()} or something like it in
* your implementation.
- *
+ *
* @author heycosmo
*/
public interface DropListener {
@@ -1811,7 +1811,7 @@ public class DragSortListView extends ListView {
/**
* Make sure to call {@link BaseAdapter#notifyDataSetChanged()} or something
* like it in your implementation.
- *
+ *
* @author heycosmo
*/
public interface RemoveListener {
@@ -1831,7 +1831,7 @@ public class DragSortListView extends ListView {
* Completely custom scroll speed profile. Default increases linearly with
* position and is constant in time. Create your own by implementing
* {@link DragSortListView.DragScrollProfile}.
- *
+ *
* @param ssp
*/
public void setDragScrollProfile(final DragScrollProfile ssp) {
@@ -1845,14 +1845,14 @@ public class DragSortListView extends ListView {
* and time. Use
* {@link DragSortListView#setDragScrollProfile(DragScrollProfile)} to set
* custom profile.
- *
+ *
* @author heycosmo
*/
public interface DragScrollProfile {
/**
* Return a scroll speed in pixels/millisecond. Always return a positive
* number.
- *
+ *
* @param w Normalized position in scroll region (i.e. w \in [0,1]).
* Small w typically means slow scrolling.
* @param t Time (in milliseconds) since start of scroll (handy if you
diff --git a/src/com/cyanogenmod/eleven/format/Capitalize.java b/src/com/cyanogenmod/eleven/format/Capitalize.java
index 9872fe4..d23683c 100644
--- a/src/com/cyanogenmod/eleven/format/Capitalize.java
+++ b/src/com/cyanogenmod/eleven/format/Capitalize.java
@@ -15,7 +15,7 @@ public class Capitalize {
/**
* Capitalizes the first character in a string
- *
+ *
* @param str The string to capitalize
* @param delimiters The delimiters
* @return A captitalized string
@@ -41,7 +41,7 @@ public class Capitalize {
/**
* Is the character a delimiter.
- *
+ *
* @param ch the character to check
* @param delimiters the delimiters
* @return true if it is a delimiter
diff --git a/src/com/cyanogenmod/eleven/format/PrefixHighlighter.java b/src/com/cyanogenmod/eleven/format/PrefixHighlighter.java
index 191aed8..83f69a7 100644
--- a/src/com/cyanogenmod/eleven/format/PrefixHighlighter.java
+++ b/src/com/cyanogenmod/eleven/format/PrefixHighlighter.java
@@ -39,7 +39,7 @@ public class PrefixHighlighter {
/**
* Sets the text on the given {@link TextView}, highlighting the word that
* matches the given prefix.
- *
+ *
* @param view The {@link TextView} on which to set the text
* @param text The string to use as the text
* @param prefix The prefix to look for
@@ -54,7 +54,7 @@ public class PrefixHighlighter {
/**
* Returns a {@link CharSequence} which highlights the given prefix if found
* in the given text.
- *
+ *
* @param text the text to which to apply the highlight
* @param prefix the prefix to look for
*/
@@ -80,7 +80,7 @@ public class PrefixHighlighter {
/**
* Finds the index of the first character that starts with the given prefix. If
* not found, returns -1.
- *
+ *
* @param text the text in which to search for the prefix
* @param prefix the text to find, in upper case letters
* @param wordOnly only search for word prefixes if true
diff --git a/src/com/cyanogenmod/eleven/lastfm/Album.java b/src/com/cyanogenmod/eleven/lastfm/Album.java
index 87c6dbb..b5ff603 100644
--- a/src/com/cyanogenmod/eleven/lastfm/Album.java
+++ b/src/com/cyanogenmod/eleven/lastfm/Album.java
@@ -30,7 +30,7 @@ import java.util.Map;
/**
* Wrapper class for Album related API calls and Album Bean.
- *
+ *
* @author Janni Kovacs
*/
public class Album extends MusicEntry {
@@ -52,7 +52,7 @@ public class Album extends MusicEntry {
/**
* Get the metadata for an album on Last.fm using the album name or a
* musicbrainz id. See playlist.fetch on how to get the album playlist.
- *
+ *
* @param artist Artist's name
* @param albumOrMbid Album name or MBID
* @return Album metadata
@@ -65,7 +65,7 @@ public class Album extends MusicEntry {
/**
* Get the metadata for an album on Last.fm using the album name or a
* musicbrainz id. See playlist.fetch on how to get the album playlist.
- *
+ *
* @param artist Artist's name
* @param albumOrMbid Album name or MBID
* @param username The username for the context of the request. If supplied,
diff --git a/src/com/cyanogenmod/eleven/lastfm/Artist.java b/src/com/cyanogenmod/eleven/lastfm/Artist.java
index 580752f..5401a74 100644
--- a/src/com/cyanogenmod/eleven/lastfm/Artist.java
+++ b/src/com/cyanogenmod/eleven/lastfm/Artist.java
@@ -34,7 +34,7 @@ import java.util.WeakHashMap;
* This class contains static methods that executes API methods relating to
* artists.<br/>
* Method names are equivalent to the last.fm API method names.
- *
+ *
* @author Janni Kovacs
*/
public class Artist extends MusicEntry {
@@ -47,7 +47,7 @@ public class Artist extends MusicEntry {
/**
* Retrieves detailed artist info for the given artist or mbid entry.
- *
+ *
* @param artistOrMbid Name of the artist or an mbid
* @return detailed artist info
*/
@@ -57,7 +57,7 @@ public class Artist extends MusicEntry {
/**
* Retrieves detailed artist info for the given artist or mbid entry.
- *
+ *
* @param artistOrMbid Name of the artist or an mbid
* @param locale The language to fetch info in, or <code>null</code>
* @param apiKey The API key
@@ -79,7 +79,7 @@ public class Artist extends MusicEntry {
* a correction to a canonical artist. This method returns a new
* {@link Artist} object containing the corrected data, or <code>null</code>
* if the supplied Artist was not found.
- *
+ *
* @param artist The artist name to correct
* @return a new {@link Artist}, or <code>null</code>
*/
diff --git a/src/com/cyanogenmod/eleven/lastfm/Caller.java b/src/com/cyanogenmod/eleven/lastfm/Caller.java
index 1315132..1449ca2 100644
--- a/src/com/cyanogenmod/eleven/lastfm/Caller.java
+++ b/src/com/cyanogenmod/eleven/lastfm/Caller.java
@@ -61,7 +61,7 @@ import javax.xml.parsers.ParserConfigurationException;
* by the Java API are necessary this class may be used directly.<br/>
* Supports the setting of a custom {@link Proxy} and a custom
* <code>User-Agent</code> HTTP header.
- *
+ *
* @author Janni Kovacs
*/
public class Caller {
@@ -114,7 +114,7 @@ public class Caller {
* <code>null</code> then an unauthenticated call is made.<br/>
* The <code>apiKey</code> parameter is always required, even when a valid
* session is passed to this method.
- *
+ *
* @param method The method to call
* @param apiKey A Last.fm API key
* @param params Parameters
@@ -162,7 +162,7 @@ public class Caller {
/**
* Creates a new {@link HttpURLConnection}, sets the proxy, if available,
* and sets the User-Agent property.
- *
+ *
* @param url URL to connect to
* @return a new connection.
* @throws IOException if an I/O exception occurs.
diff --git a/src/com/cyanogenmod/eleven/lastfm/DomElement.java b/src/com/cyanogenmod/eleven/lastfm/DomElement.java
index d3ace9a..9802444 100644
--- a/src/com/cyanogenmod/eleven/lastfm/DomElement.java
+++ b/src/com/cyanogenmod/eleven/lastfm/DomElement.java
@@ -31,7 +31,7 @@ import java.util.List;
/**
* <code>DomElement</code> wraps around an {@link Element} and provides
* convenience methods.
- *
+ *
* @author Janni Kovacs
*/
public class DomElement {
@@ -39,7 +39,7 @@ public class DomElement {
/**
* Creates a new wrapper around the given {@link Element}.
- *
+ *
* @param elem An w3c Element
*/
public DomElement(final Element elem) {
@@ -55,7 +55,7 @@ public class DomElement {
/**
* Tests if this element has an attribute with the specified name.
- *
+ *
* @param name Name of the attribute.
* @return <code>true</code> if this element has an attribute with the
* specified name.
@@ -67,7 +67,7 @@ public class DomElement {
/**
* Returns the attribute value to a given attribute name or
* <code>null</code> if the attribute doesn't exist.
- *
+ *
* @param name The attribute's name
* @return Attribute value or <code>null</code>
*/
@@ -89,7 +89,7 @@ public class DomElement {
/**
* Checks if this element has a child element with the given name.
- *
+ *
* @param name The child's name
* @return <code>true</code> if this element has a child element with the
* given name
@@ -108,7 +108,7 @@ public class DomElement {
/**
* Returns the child element with the given name or <code>null</code> if it
* doesn't exist.
- *
+ *
* @param name The child's name
* @return the child element or <code>null</code>
*/
@@ -130,7 +130,7 @@ public class DomElement {
* Returns the text content of a child node with the given name. If no such
* child exists or the child does not have text content, <code>null</code>
* is returned.
- *
+ *
* @param name The child's name
* @return the child's text content or <code>null</code>
*/
@@ -148,7 +148,7 @@ public class DomElement {
/**
* Returns all children of this element with the given tag name.
- *
+ *
* @param name The children's tag name
* @return all matching children
*/
@@ -166,7 +166,7 @@ public class DomElement {
/**
* Returns this element's tag name.
- *
+ *
* @return the tag name
*/
public String getTagName() {
diff --git a/src/com/cyanogenmod/eleven/lastfm/Image.java b/src/com/cyanogenmod/eleven/lastfm/Image.java
index b733f58..f79f178 100644
--- a/src/com/cyanogenmod/eleven/lastfm/Image.java
+++ b/src/com/cyanogenmod/eleven/lastfm/Image.java
@@ -25,7 +25,7 @@ package com.cyanogenmod.eleven.lastfm;
* An <code>Image</code> contains metadata and URLs for an artist's image.
* Metadata contains title, votes, format and other. Images are available in
* various sizes, see {@link ImageSize} for all sizes.
- *
+ *
* @author Janni Kovacs
* @see ImageSize
* @see Artist#getImages(String, String)
diff --git a/src/com/cyanogenmod/eleven/lastfm/ImageHolder.java b/src/com/cyanogenmod/eleven/lastfm/ImageHolder.java
index d4bf590..10e042d 100644
--- a/src/com/cyanogenmod/eleven/lastfm/ImageHolder.java
+++ b/src/com/cyanogenmod/eleven/lastfm/ImageHolder.java
@@ -30,7 +30,7 @@ import java.util.Set;
/**
* Abstract superclass for all items that may contain images (such as
* {@link Artist}s, {@link Album}s or {@link Track}s).
- *
+ *
* @author Janni Kovacs
*/
public abstract class ImageHolder {
@@ -39,7 +39,7 @@ public abstract class ImageHolder {
/**
* Returns a Set of all {@link ImageSize}s available.
- *
+ *
* @return all sizes
*/
public Set<ImageSize> availableSizes() {
@@ -49,7 +49,7 @@ public abstract class ImageHolder {
/**
* Returns the URL of the image in the specified size, or <code>null</code>
* if not available.
- *
+ *
* @param size The preferred size
* @return an image URL
*/
diff --git a/src/com/cyanogenmod/eleven/lastfm/ItemFactory.java b/src/com/cyanogenmod/eleven/lastfm/ItemFactory.java
index 858dbdf..f440fa4 100644
--- a/src/com/cyanogenmod/eleven/lastfm/ItemFactory.java
+++ b/src/com/cyanogenmod/eleven/lastfm/ItemFactory.java
@@ -25,7 +25,7 @@ package com.cyanogenmod.eleven.lastfm;
* An <code>ItemFactory</code> can be used to instantiate a value object - such
* as Artist, Album, Track, Tag - from an XML element. Use the
* {@link ItemFactoryBuilder} to obtain item factories for a specific type.
- *
+ *
* @author Janni Kovacs
* @see com.cyanogenmod.eleven.lastfm.api.ItemFactoryBuilder
* @see ResponseBuilder
@@ -35,7 +35,7 @@ interface ItemFactory<T> {
/**
* Create a new instance of the type <code>T</code>, based on the passed
* {@link DomElement}.
- *
+ *
* @param element the XML element
* @return a new object
*/
diff --git a/src/com/cyanogenmod/eleven/lastfm/ItemFactoryBuilder.java b/src/com/cyanogenmod/eleven/lastfm/ItemFactoryBuilder.java
index f182bdd..9691028 100644
--- a/src/com/cyanogenmod/eleven/lastfm/ItemFactoryBuilder.java
+++ b/src/com/cyanogenmod/eleven/lastfm/ItemFactoryBuilder.java
@@ -27,7 +27,7 @@ import java.util.Map;
/**
* The <code>ItemFactoryBuilder</code> can be used to obtain {@link ItemFactory
* ItemFactories} for a specific type.
- *
+ *
* @author Janni Kovacs
* @see ItemFactory
*/
@@ -47,7 +47,7 @@ final class ItemFactoryBuilder {
/**
* Retrieve the instance of the <code>ItemFactoryBuilder</code>.
- *
+ *
* @return the instance
*/
public static ItemFactoryBuilder getFactoryBuilder() {
@@ -66,7 +66,7 @@ final class ItemFactoryBuilder {
/**
* Retrieves an {@link ItemFactory} for the given type, or <code>null</code>
* if no such factory was registered.
- *
+ *
* @param itemClass the type's Class object
* @return the <code>ItemFactory</code> or <code>null</code>
*/
diff --git a/src/com/cyanogenmod/eleven/lastfm/MapUtilities.java b/src/com/cyanogenmod/eleven/lastfm/MapUtilities.java
index d42e841..a8d61e2 100644
--- a/src/com/cyanogenmod/eleven/lastfm/MapUtilities.java
+++ b/src/com/cyanogenmod/eleven/lastfm/MapUtilities.java
@@ -25,7 +25,7 @@ import java.util.Map;
/**
* Utility class to perform various operations on Maps.
- *
+ *
* @author Adrian Woodhead
*/
public final class MapUtilities {
@@ -35,7 +35,7 @@ public final class MapUtilities {
/**
* Puts the passed key and value into the map only if the value is not null.
- *
+ *
* @param map Map to add key and value to.
* @param key Map key.
* @param value Map value, if null will not be added to map.
@@ -49,7 +49,7 @@ public final class MapUtilities {
/**
* Puts the passed key and value into the map only if the value is not null.
- *
+ *
* @param map Map to add key and value to.
* @param key Map key.
* @param value Map value, if null will not be added to map.
@@ -63,7 +63,7 @@ public final class MapUtilities {
/**
* Puts the passed key and value into the map only if the value is not -1.
- *
+ *
* @param map Map to add key and value to.
* @param key Map key.
* @param value Map value, if -1 will not be added to map.
@@ -76,7 +76,7 @@ public final class MapUtilities {
/**
* Puts the passed key and value into the map only if the value is not -1.
- *
+ *
* @param map Map to add key and value to.
* @param key Map key.
* @param value Map value, if -1 will not be added to map.
diff --git a/src/com/cyanogenmod/eleven/lastfm/MusicEntry.java b/src/com/cyanogenmod/eleven/lastfm/MusicEntry.java
index 6ffc635..eaba7e6 100644
--- a/src/com/cyanogenmod/eleven/lastfm/MusicEntry.java
+++ b/src/com/cyanogenmod/eleven/lastfm/MusicEntry.java
@@ -25,7 +25,7 @@ package com.cyanogenmod.eleven.lastfm;
* <code>MusicEntry</code> is the abstract superclass for {@link Track},
* {@link Artist} and {@link Album}. It encapsulates data and provides methods
* used in all subclasses, for example: name, playcount, images and more.
- *
+ *
* @author Janni Kovacs
*/
public abstract class MusicEntry extends ImageHolder {
@@ -72,7 +72,7 @@ public abstract class MusicEntry extends ImageHolder {
* <li>image</li>
* <li>tags</li>
* </ul>
- *
+ *
* @param entry An entry
* @param element XML source element
*/
diff --git a/src/com/cyanogenmod/eleven/lastfm/PaginatedResult.java b/src/com/cyanogenmod/eleven/lastfm/PaginatedResult.java
index 66bcdac..34b81e5 100644
--- a/src/com/cyanogenmod/eleven/lastfm/PaginatedResult.java
+++ b/src/com/cyanogenmod/eleven/lastfm/PaginatedResult.java
@@ -29,7 +29,7 @@ import java.util.Iterator;
* be so large that it needs to be paginated. Each <code>PaginatedResult</code>
* contains the total number of result pages, the current page and a
* <code>Collection</code> of entries for the current page.
- *
+ *
* @author Janni Kovacs
*/
public class PaginatedResult<T> implements Iterable<T> {
@@ -53,7 +53,7 @@ public class PaginatedResult<T> implements Iterable<T> {
/**
* Returns the page number of this result.
- *
+ *
* @return page number
*/
public int getPage() {
@@ -62,7 +62,7 @@ public class PaginatedResult<T> implements Iterable<T> {
/**
* Returns the total number of pages available.
- *
+ *
* @return total pages
*/
public int getTotalPages() {
@@ -73,7 +73,7 @@ public class PaginatedResult<T> implements Iterable<T> {
* Returns <code>true</code> if this Result contains no elements, which is
* the case for service calls that would have returned a
* <code>PaginatedResult</code> but fail.
- *
+ *
* @return <code>true</code> if this result contains no elements
*/
public boolean isEmpty() {
diff --git a/src/com/cyanogenmod/eleven/lastfm/ResponseBuilder.java b/src/com/cyanogenmod/eleven/lastfm/ResponseBuilder.java
index ffb528d..26394c9 100644
--- a/src/com/cyanogenmod/eleven/lastfm/ResponseBuilder.java
+++ b/src/com/cyanogenmod/eleven/lastfm/ResponseBuilder.java
@@ -29,7 +29,7 @@ import java.util.Collections;
* This utility class can be used to generically generate Result objects
* (usually Lists or {@link PaginatedResult}s) from an XML response using
* {@link ItemFactory ItemFactories}.
- *
+ *
* @author Janni Kovacs
*/
public final class ResponseBuilder {
diff --git a/src/com/cyanogenmod/eleven/lastfm/Result.java b/src/com/cyanogenmod/eleven/lastfm/Result.java
index f3df2d2..a40a401 100644
--- a/src/com/cyanogenmod/eleven/lastfm/Result.java
+++ b/src/com/cyanogenmod/eleven/lastfm/Result.java
@@ -27,7 +27,7 @@ import org.w3c.dom.Document;
* The <code>Result</code> class contains the response sent by the server, i.e.
* the status (either ok or failed), an error code and message if failed and the
* xml response sent by the server.
- *
+ *
* @author Janni Kovacs
*/
public class Result {
@@ -95,7 +95,7 @@ public class Result {
/**
* Returns if the operation was successful. Same as
* <code>getStatus() == Status.OK</code>.
- *
+ *
* @return <code>true</code> if the operation was successful
*/
public boolean isSuccessful() {
diff --git a/src/com/cyanogenmod/eleven/lastfm/StringUtilities.java b/src/com/cyanogenmod/eleven/lastfm/StringUtilities.java
index 4343d0d..623e449 100644
--- a/src/com/cyanogenmod/eleven/lastfm/StringUtilities.java
+++ b/src/com/cyanogenmod/eleven/lastfm/StringUtilities.java
@@ -32,7 +32,7 @@ import java.util.regex.Pattern;
/**
* Utilitiy class with methods to calculate an md5 hash and to encode URLs.
- *
+ *
* @author Janni Kovacs
*/
public final class StringUtilities {
@@ -51,7 +51,7 @@ public final class StringUtilities {
/**
* Returns a 32 chararacter hexadecimal representation of an MD5 hash of the
* given String.
- *
+ *
* @param s the String to hash
* @return the md5 hash
*/
@@ -75,7 +75,7 @@ public final class StringUtilities {
/**
* URL Encodes the given String <code>s</code> using the UTF-8 character
* encoding.
- *
+ *
* @param s a String
* @return url encoded string
*/
@@ -93,7 +93,7 @@ public final class StringUtilities {
/**
* Decodes an URL encoded String <code>s</code> using the UTF-8 character
* encoding.
- *
+ *
* @param s an encoded String
* @return the decoded String
*/
@@ -110,7 +110,7 @@ public final class StringUtilities {
/**
* Creates a Map out of an array with Strings.
- *
+ *
* @param strings input strings, key-value alternating
* @return a parameter map
*/
@@ -130,7 +130,7 @@ public final class StringUtilities {
* file names. By default <tt>: / \ < > | ? " *</tt> are all replaced by
* <tt>-</tt>. Note that this is no guarantee that the returned name will be
* definately valid.
- *
+ *
* @param s the String to clean up
* @return the cleaned up String
*/
@@ -140,7 +140,7 @@ public final class StringUtilities {
/**
* Tests if the given string <i>might</i> already be a 32-char md5 string.
- *
+ *
* @param s String to test
* @return <code>true</code> if the given String might be a md5 string
*/
@@ -150,7 +150,7 @@ public final class StringUtilities {
/**
* Converts a Last.fm boolean result string to a boolean.
- *
+ *
* @param resultString A Last.fm boolean result string.
* @return <code>true</code> if the given String represents a true,
* <code>false</code> otherwise.
@@ -161,7 +161,7 @@ public final class StringUtilities {
/**
* Converts from a boolean to a Last.fm boolean result string.
- *
+ *
* @param value A boolean value.
* @return A string representing a Last.fm boolean.
*/
diff --git a/src/com/cyanogenmod/eleven/loaders/AlbumLoader.java b/src/com/cyanogenmod/eleven/loaders/AlbumLoader.java
index 5532a35..787e7d1 100644
--- a/src/com/cyanogenmod/eleven/loaders/AlbumLoader.java
+++ b/src/com/cyanogenmod/eleven/loaders/AlbumLoader.java
@@ -35,7 +35,7 @@ import java.util.List;
/**
* Used to query {@link MediaStore.Audio.Albums.EXTERNAL_CONTENT_URI} and return
* the albums on a user's device.
- *
+ *
* @author Andrew Neal (andrewdneal@gmail.com)
*/
public class AlbumLoader extends SectionCreator.SimpleListLoader<Album> {
@@ -139,7 +139,7 @@ public class AlbumLoader extends SectionCreator.SimpleListLoader<Album> {
/**
* Creates the {@link Cursor} used to run the query.
- *
+ *
* @param context The {@link Context} to use.
* @param artistId The artistId we want to find albums for or null if we want all albums
* @return The {@link Cursor} used to run the album query.
diff --git a/src/com/cyanogenmod/eleven/loaders/AlbumSongLoader.java b/src/com/cyanogenmod/eleven/loaders/AlbumSongLoader.java
index 83676cd..908e181 100644
--- a/src/com/cyanogenmod/eleven/loaders/AlbumSongLoader.java
+++ b/src/com/cyanogenmod/eleven/loaders/AlbumSongLoader.java
@@ -29,7 +29,7 @@ import java.util.List;
/**
* Used to query {@link MediaStore.Audio.Media.EXTERNAL_CONTENT_URI} and return
* the Song for a particular album.
- *
+ *
* @author Andrew Neal (andrewdneal@gmail.com)
*/
public class AlbumSongLoader extends WrappedAsyncTaskLoader<List<Song>> {
@@ -51,7 +51,7 @@ public class AlbumSongLoader extends WrappedAsyncTaskLoader<List<Song>> {
/**
* Constructor of <code>AlbumSongHandler</code>
- *
+ *
* @param context The {@link Context} to use.
* @param albumId The Id of the album the songs belong to.
*/
@@ -135,4 +135,3 @@ public class AlbumSongLoader extends WrappedAsyncTaskLoader<List<Song>> {
}
}
-
diff --git a/src/com/cyanogenmod/eleven/loaders/ArtistLoader.java b/src/com/cyanogenmod/eleven/loaders/ArtistLoader.java
index e572c96..e26a0a6 100644
--- a/src/com/cyanogenmod/eleven/loaders/ArtistLoader.java
+++ b/src/com/cyanogenmod/eleven/loaders/ArtistLoader.java
@@ -33,7 +33,7 @@ import java.util.List;
/**
* Used to query {@link MediaStore.Audio.Artists.EXTERNAL_CONTENT_URI} and
* return the artists on a user's device.
- *
+ *
* @author Andrew Neal (andrewdneal@gmail.com)
*/
public class ArtistLoader extends SectionCreator.SimpleListLoader<Artist> {
@@ -50,7 +50,7 @@ public class ArtistLoader extends SectionCreator.SimpleListLoader<Artist> {
/**
* Constructor of <code>ArtistLoader</code>
- *
+ *
* @param context The {@link Context} to use
*/
public ArtistLoader(final Context context) {
@@ -117,7 +117,7 @@ public class ArtistLoader extends SectionCreator.SimpleListLoader<Artist> {
}
/**
* Creates the {@link Cursor} used to run the query.
- *
+ *
* @param context The {@link Context} to use.
* @return The {@link Cursor} used to run the artist query.
*/
diff --git a/src/com/cyanogenmod/eleven/loaders/LastAddedLoader.java b/src/com/cyanogenmod/eleven/loaders/LastAddedLoader.java
index 6f948f5..967c0a9 100644
--- a/src/com/cyanogenmod/eleven/loaders/LastAddedLoader.java
+++ b/src/com/cyanogenmod/eleven/loaders/LastAddedLoader.java
@@ -30,7 +30,7 @@ import java.util.List;
/**
* Used to query {@link MediaStore.Audio.Media.EXTERNAL_CONTENT_URI} and return
* the Song the user added over the past four of weeks.
- *
+ *
* @author Andrew Neal (andrewdneal@gmail.com)
*/
public class LastAddedLoader extends SectionCreator.SimpleListLoader<Song> {
@@ -46,7 +46,7 @@ public class LastAddedLoader extends SectionCreator.SimpleListLoader<Song> {
/**
* Constructor of <code>LastAddedHandler</code>
- *
+ *
* @param context The {@link Context} to use.
*/
public LastAddedLoader(final Context context) {
diff --git a/src/com/cyanogenmod/eleven/loaders/NowPlayingCursor.java b/src/com/cyanogenmod/eleven/loaders/NowPlayingCursor.java
index e0ba08a..8d524bc 100644
--- a/src/com/cyanogenmod/eleven/loaders/NowPlayingCursor.java
+++ b/src/com/cyanogenmod/eleven/loaders/NowPlayingCursor.java
@@ -54,7 +54,7 @@ public class NowPlayingCursor extends AbstractCursor {
/**
* Constructor of <code>NowPlayingCursor</code>
- *
+ *
* @param context The {@link Context} to use
*/
public NowPlayingCursor(final Context context) {
diff --git a/src/com/cyanogenmod/eleven/loaders/PlaylistLoader.java b/src/com/cyanogenmod/eleven/loaders/PlaylistLoader.java
index 4f8263c..70ec293 100644
--- a/src/com/cyanogenmod/eleven/loaders/PlaylistLoader.java
+++ b/src/com/cyanogenmod/eleven/loaders/PlaylistLoader.java
@@ -31,7 +31,7 @@ import java.util.List;
/**
* Used to query {@link MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI} and
* return the playlists on a user's device.
- *
+ *
* @author Andrew Neal (andrewdneal@gmail.com)
*/
public class PlaylistLoader extends WrappedAsyncTaskLoader<List<Playlist>> {
@@ -48,7 +48,7 @@ public class PlaylistLoader extends WrappedAsyncTaskLoader<List<Playlist>> {
/**
* Constructor of <code>PlaylistLoader</code>
- *
+ *
* @param context The {@link Context} to use
*/
public PlaylistLoader(final Context context) {
@@ -113,7 +113,7 @@ public class PlaylistLoader extends WrappedAsyncTaskLoader<List<Playlist>> {
/**
* Creates the {@link Cursor} used to run the query.
- *
+ *
* @param context The {@link Context} to use.
* @return The {@link Cursor} used to run the playlist query.
*/
diff --git a/src/com/cyanogenmod/eleven/loaders/PlaylistSongLoader.java b/src/com/cyanogenmod/eleven/loaders/PlaylistSongLoader.java
index e998e8f..a43122a 100644
--- a/src/com/cyanogenmod/eleven/loaders/PlaylistSongLoader.java
+++ b/src/com/cyanogenmod/eleven/loaders/PlaylistSongLoader.java
@@ -250,7 +250,7 @@ public class PlaylistSongLoader extends WrappedAsyncTaskLoader<List<Song>> {
/**
* Creates the {@link Cursor} used to run the query.
- *
+ *
* @param context The {@link Context} to use.
* @param playlistID The playlist the songs belong to.
* @return The {@link Cursor} used to run the song query.
diff --git a/src/com/cyanogenmod/eleven/loaders/QueueLoader.java b/src/com/cyanogenmod/eleven/loaders/QueueLoader.java
index 00caa52..64bab6e 100644
--- a/src/com/cyanogenmod/eleven/loaders/QueueLoader.java
+++ b/src/com/cyanogenmod/eleven/loaders/QueueLoader.java
@@ -24,7 +24,7 @@ import java.util.List;
/**
* Used to return the current playlist or queue.
- *
+ *
* @author Andrew Neal (andrewdneal@gmail.com)
*/
public class QueueLoader extends WrappedAsyncTaskLoader<List<Song>> {
@@ -41,7 +41,7 @@ public class QueueLoader extends WrappedAsyncTaskLoader<List<Song>> {
/**
* Constructor of <code>QueueLoader</code>
- *
+ *
* @param context The {@link Context} to use
*/
public QueueLoader(final Context context) {
@@ -99,7 +99,7 @@ public class QueueLoader extends WrappedAsyncTaskLoader<List<Song>> {
/**
* Creates the {@link Cursor} used to run the query.
- *
+ *
* @param context The {@link Context} to use.
* @return The {@link Cursor} used to run the song query.
*/
diff --git a/src/com/cyanogenmod/eleven/loaders/SearchLoader.java b/src/com/cyanogenmod/eleven/loaders/SearchLoader.java
index c87c051..6b261e3 100644
--- a/src/com/cyanogenmod/eleven/loaders/SearchLoader.java
+++ b/src/com/cyanogenmod/eleven/loaders/SearchLoader.java
@@ -43,7 +43,7 @@ public class SearchLoader extends WrappedAsyncTaskLoader<List<Song>> {
/**
* Constructor of <code>SongLoader</code>
- *
+ *
* @param context The {@link Context} to use
* @param query The search query
*/
@@ -115,7 +115,7 @@ public class SearchLoader extends WrappedAsyncTaskLoader<List<Song>> {
/**
* * @param context The {@link Context} to use.
- *
+ *
* @param query The user's query.
* @return The {@link Cursor} used to perform the search.
*/
diff --git a/src/com/cyanogenmod/eleven/loaders/SongLoader.java b/src/com/cyanogenmod/eleven/loaders/SongLoader.java
index 3037c53..a138a53 100644
--- a/src/com/cyanogenmod/eleven/loaders/SongLoader.java
+++ b/src/com/cyanogenmod/eleven/loaders/SongLoader.java
@@ -34,7 +34,7 @@ import java.util.List;
/**
* Used to query {@link MediaStore.Audio.Media.EXTERNAL_CONTENT_URI} and return
* the songs on a user's device.
- *
+ *
* @author Andrew Neal (andrewdneal@gmail.com)
*/
public class SongLoader extends SectionCreator.SimpleListLoader<Song> {
@@ -153,7 +153,7 @@ public class SongLoader extends SectionCreator.SimpleListLoader<Song> {
/**
* Creates the {@link Cursor} used to run the query.
- *
+ *
* @param context The {@link Context} to use.
* @param selection Additional selection statement to use
* @return The {@link Cursor} used to run the song query.
diff --git a/src/com/cyanogenmod/eleven/loaders/WrappedAsyncTaskLoader.java b/src/com/cyanogenmod/eleven/loaders/WrappedAsyncTaskLoader.java
index 48d584e..9b6caba 100644
--- a/src/com/cyanogenmod/eleven/loaders/WrappedAsyncTaskLoader.java
+++ b/src/com/cyanogenmod/eleven/loaders/WrappedAsyncTaskLoader.java
@@ -7,7 +7,7 @@ import android.support.v4.content.AsyncTaskLoader;
/**
* <a href="http://code.google.com/p/android/issues/detail?id=14944">Issue
* 14944</a>
- *
+ *
* @author Alexander Blom
*/
public abstract class WrappedAsyncTaskLoader<D> extends AsyncTaskLoader<D> {
@@ -16,7 +16,7 @@ public abstract class WrappedAsyncTaskLoader<D> extends AsyncTaskLoader<D> {
/**
* Constructor of <code>WrappedAsyncTaskLoader</code>
- *
+ *
* @param context The {@link Context} to use.
*/
public WrappedAsyncTaskLoader(Context context) {
diff --git a/src/com/cyanogenmod/eleven/menu/BasePlaylistDialog.java b/src/com/cyanogenmod/eleven/menu/BasePlaylistDialog.java
index 0d9d7fe..a689d95 100644
--- a/src/com/cyanogenmod/eleven/menu/BasePlaylistDialog.java
+++ b/src/com/cyanogenmod/eleven/menu/BasePlaylistDialog.java
@@ -31,7 +31,7 @@ import com.cyanogenmod.eleven.utils.MusicUtils;
/**
* A simple base class for the playlist dialogs.
- *
+ *
* @author Andrew Neal (andrewdneal@gmail.com)
*/
public abstract class BasePlaylistDialog extends DialogFragment {
diff --git a/src/com/cyanogenmod/eleven/menu/DeleteDialog.java b/src/com/cyanogenmod/eleven/menu/DeleteDialog.java
index be22fc7..613288c 100644
--- a/src/com/cyanogenmod/eleven/menu/DeleteDialog.java
+++ b/src/com/cyanogenmod/eleven/menu/DeleteDialog.java
@@ -30,7 +30,7 @@ import com.cyanogenmod.eleven.utils.MusicUtils;
* Alert dialog used to delete tracks.
* <p>
* TODO: Remove albums from the recents list upon deletion.
- *
+ *
* @author Andrew Neal (andrewdneal@gmail.com)
*/
public class DeleteDialog extends DialogFragment {
diff --git a/src/com/cyanogenmod/eleven/menu/RenamePlaylist.java b/src/com/cyanogenmod/eleven/menu/RenamePlaylist.java
index a3b8f9e..993c1e2 100644
--- a/src/com/cyanogenmod/eleven/menu/RenamePlaylist.java
+++ b/src/com/cyanogenmod/eleven/menu/RenamePlaylist.java
@@ -27,7 +27,7 @@ import com.cyanogenmod.eleven.utils.MusicUtils;
/**
* Alert dialog used to rename playlits.
- *
+ *
* @author Andrew Neal (andrewdneal@gmail.com)
*/
public class RenamePlaylist extends BasePlaylistDialog {
diff --git a/src/com/cyanogenmod/eleven/model/Album.java b/src/com/cyanogenmod/eleven/model/Album.java
index f987a6f..8745a8f 100644
--- a/src/com/cyanogenmod/eleven/model/Album.java
+++ b/src/com/cyanogenmod/eleven/model/Album.java
@@ -17,7 +17,7 @@ import android.text.TextUtils;
/**
* A class that represents an album.
- *
+ *
* @author Andrew Neal (andrewdneal@gmail.com)
*/
public class Album {
@@ -55,7 +55,7 @@ public class Album {
/**
* Constructor of <code>Album</code>
- *
+ *
* @param albumId The Id of the album
* @param albumName The name of the album
* @param artistName The album artist
diff --git a/src/com/cyanogenmod/eleven/model/Artist.java b/src/com/cyanogenmod/eleven/model/Artist.java
index e54f684..5ae101a 100644
--- a/src/com/cyanogenmod/eleven/model/Artist.java
+++ b/src/com/cyanogenmod/eleven/model/Artist.java
@@ -17,7 +17,7 @@ import android.text.TextUtils;
/**
* A class that represents an artist.
- *
+ *
* @author Andrew Neal (andrewdneal@gmail.com)
*/
public class Artist {
@@ -49,7 +49,7 @@ public class Artist {
/**
* Constructor of <code>Artist</code>
- *
+ *
* @param artistId The Id of the artist
* @param artistName The artist name
* @param songNumber The number of songs for the artist
diff --git a/src/com/cyanogenmod/eleven/model/Genre.java b/src/com/cyanogenmod/eleven/model/Genre.java
index 49d9089..90c5210 100644
--- a/src/com/cyanogenmod/eleven/model/Genre.java
+++ b/src/com/cyanogenmod/eleven/model/Genre.java
@@ -17,7 +17,7 @@ import android.text.TextUtils;
/**
* A class that represents a genre.
- *
+ *
* @author Andrew Neal (andrewdneal@gmail.com)
*/
public class Genre {
@@ -34,7 +34,7 @@ public class Genre {
/**
* Constructor of <code>Genre</code>
- *
+ *
* @param genreId The Id of the genre
* @param genreName The genre name
*/
diff --git a/src/com/cyanogenmod/eleven/model/Playlist.java b/src/com/cyanogenmod/eleven/model/Playlist.java
index 2cba48f..57e0825 100644
--- a/src/com/cyanogenmod/eleven/model/Playlist.java
+++ b/src/com/cyanogenmod/eleven/model/Playlist.java
@@ -17,7 +17,7 @@ import android.text.TextUtils;
/**
* A class that represents a playlist.
- *
+ *
* @author Andrew Neal (andrewdneal@gmail.com)
*/
public class Playlist {
@@ -39,7 +39,7 @@ public class Playlist {
/**
* Constructor of <code>Genre</code>
- *
+ *
* @param playlistId The Id of the playlist
* @param playlistName The playlist name
*/
diff --git a/src/com/cyanogenmod/eleven/model/Song.java b/src/com/cyanogenmod/eleven/model/Song.java
index 949d0fa..785e21e 100644
--- a/src/com/cyanogenmod/eleven/model/Song.java
+++ b/src/com/cyanogenmod/eleven/model/Song.java
@@ -17,7 +17,7 @@ import android.text.TextUtils;
/**
* A class that represents a song.
- *
+ *
* @author Andrew Neal (andrewdneal@gmail.com)
*/
public class Song {
@@ -65,7 +65,7 @@ public class Song {
/**
* Constructor of <code>Song</code>
- *
+ *
* @param songId The Id of the song
* @param songName The name of the song
* @param artistName The song artist
diff --git a/src/com/cyanogenmod/eleven/provider/RecentStore.java b/src/com/cyanogenmod/eleven/provider/RecentStore.java
index 3ccc44c..0a913db 100644
--- a/src/com/cyanogenmod/eleven/provider/RecentStore.java
+++ b/src/com/cyanogenmod/eleven/provider/RecentStore.java
@@ -28,7 +28,7 @@ public class RecentStore {
/**
* Constructor of <code>RecentStore</code>
- *
+ *
* @param context The {@link Context} to use
*/
public RecentStore(final Context context) {
@@ -64,7 +64,7 @@ public class RecentStore {
/**
* Used to store song IDs in the database.
- *
+ *
* @param songId The song id to store
*/
public void addSongId(final long songId) {
diff --git a/src/com/cyanogenmod/eleven/recycler/RecycleHolder.java b/src/com/cyanogenmod/eleven/recycler/RecycleHolder.java
index d3b5a4e..ec16a4e 100644
--- a/src/com/cyanogenmod/eleven/recycler/RecycleHolder.java
+++ b/src/com/cyanogenmod/eleven/recycler/RecycleHolder.java
@@ -21,7 +21,7 @@ import com.cyanogenmod.eleven.ui.MusicHolder;
/**
* A @ {@link RecyclerListener} for {@link MusicHolder}'s views.
- *
+ *
* @author Andrew Neal (andrewdneal@gmail.com)
*/
public class RecycleHolder implements RecyclerListener {
diff --git a/src/com/cyanogenmod/eleven/ui/MusicHolder.java b/src/com/cyanogenmod/eleven/ui/MusicHolder.java
index 68815b8..d65e8e7 100644
--- a/src/com/cyanogenmod/eleven/ui/MusicHolder.java
+++ b/src/com/cyanogenmod/eleven/ui/MusicHolder.java
@@ -28,7 +28,7 @@ import java.lang.ref.WeakReference;
/**
* Used to efficiently cache and recyle the {@link View}s used in the artist,
* album, song, playlist, and genre adapters.
- *
+ *
* @author Andrew Neal (andrewdneal@gmail.com)
*/
public class MusicHolder {
@@ -46,7 +46,7 @@ public class MusicHolder {
/**
* This is the first line displayed in the list or grid
- *
+ *
* @see {@code #getView()} of a specific adapter for more detailed info
*/
public WeakReference<TextView> mLineOne;
@@ -60,7 +60,7 @@ public class MusicHolder {
/**
* This is the second line displayed in the list or grid
- *
+ *
* @see {@code #getView()} of a specific adapter for more detailed info
*/
public WeakReference<TextView> mLineTwo;
@@ -94,7 +94,7 @@ public class MusicHolder {
/**
* Constructor of <code>ViewHolder</code>
- *
+ *
* @param context The {@link Context} to use.
*/
public MusicHolder(final View view) {
@@ -142,7 +142,7 @@ public class MusicHolder {
/**
* This is the first line displayed in the list or grid
- *
+ *
* @see {@code #getView()} of a specific adapter for more detailed info
*/
public String mLineOne;
@@ -156,7 +156,7 @@ public class MusicHolder {
/**
* This is the second line displayed in the list or grid
- *
+ *
* @see {@code #getView()} of a specific adapter for more detailed info
*/
public String mLineTwo;
diff --git a/src/com/cyanogenmod/eleven/ui/activities/SearchActivity.java b/src/com/cyanogenmod/eleven/ui/activities/SearchActivity.java
index 55b9bd7..129b1f7 100644
--- a/src/com/cyanogenmod/eleven/ui/activities/SearchActivity.java
+++ b/src/com/cyanogenmod/eleven/ui/activities/SearchActivity.java
@@ -82,7 +82,7 @@ import static com.cyanogenmod.eleven.utils.MusicUtils.mService;
/**
* Provides the search interface for Apollo.
- *
+ *
* @author Andrew Neal (andrewdneal@gmail.com)
*/
public class SearchActivity extends FragmentActivity implements
diff --git a/src/com/cyanogenmod/eleven/ui/fragments/AlbumFragment.java b/src/com/cyanogenmod/eleven/ui/fragments/AlbumFragment.java
index cf459a9..f645ddd 100644
--- a/src/com/cyanogenmod/eleven/ui/fragments/AlbumFragment.java
+++ b/src/com/cyanogenmod/eleven/ui/fragments/AlbumFragment.java
@@ -47,7 +47,7 @@ import com.cyanogenmod.eleven.widgets.LoadingEmptyContainer;
/**
* This class is used to display all of the albums on a user's device.
- *
+ *
* @author Andrew Neal (andrewdneal@gmail.com)
*/
public class AlbumFragment extends MusicBrowserFragment implements
@@ -290,7 +290,7 @@ public class AlbumFragment extends MusicBrowserFragment implements
/**
* Sets up various helpers for both the list and grid
- *
+ *
* @param list The list or grid
*/
private void initAbsListView(final AbsListView list) {
diff --git a/src/com/cyanogenmod/eleven/ui/fragments/ArtistDetailFragment.java b/src/com/cyanogenmod/eleven/ui/fragments/ArtistDetailFragment.java
index 11631f2..21bd556 100644
--- a/src/com/cyanogenmod/eleven/ui/fragments/ArtistDetailFragment.java
+++ b/src/com/cyanogenmod/eleven/ui/fragments/ArtistDetailFragment.java
@@ -234,7 +234,7 @@ public class ArtistDetailFragment extends FadingBarFragment implements IChildFra
LoaderManager lm = getLoaderManager();
lm.restartLoader(ALBUM_LOADER_ID, arguments, mAlbumAdapter);
lm.restartLoader(SONG_LOADER_ID, arguments, mSongAdapter);
-
+
ImageFetcher.getInstance(getActivity()).loadArtistImage(mArtistName, mHero, true);
}
diff --git a/src/com/cyanogenmod/eleven/ui/fragments/ArtistFragment.java b/src/com/cyanogenmod/eleven/ui/fragments/ArtistFragment.java
index a7219d5..100c55a 100644
--- a/src/com/cyanogenmod/eleven/ui/fragments/ArtistFragment.java
+++ b/src/com/cyanogenmod/eleven/ui/fragments/ArtistFragment.java
@@ -51,7 +51,7 @@ import com.cyanogenmod.eleven.widgets.LoadingEmptyContainer;
/**
* This class is used to display all of the artists on a user's device.
- *
+ *
* @author Andrew Neal (andrewdneal@gmail.com)
*/
public class ArtistFragment extends MusicBrowserFragment implements
@@ -298,7 +298,7 @@ public class ArtistFragment extends MusicBrowserFragment implements
/**
* Sets up various helpers for both the list and grid
- *
+ *
* @param list The list or grid
*/
private void initAbsListView(final AbsListView list) {
diff --git a/src/com/cyanogenmod/eleven/ui/fragments/PlaylistFragment.java b/src/com/cyanogenmod/eleven/ui/fragments/PlaylistFragment.java
index 6625963..aba8dbd 100644
--- a/src/com/cyanogenmod/eleven/ui/fragments/PlaylistFragment.java
+++ b/src/com/cyanogenmod/eleven/ui/fragments/PlaylistFragment.java
@@ -44,7 +44,7 @@ import java.util.List;
/**
* This class is used to display all of the playlists on a user's device.
- *
+ *
* @author Andrew Neal (andrewdneal@gmail.com)
*/
public class PlaylistFragment extends MusicBrowserFragment implements
diff --git a/src/com/cyanogenmod/eleven/utils/ApolloUtils.java b/src/com/cyanogenmod/eleven/utils/ApolloUtils.java
index 35f58ae..534358c 100644
--- a/src/com/cyanogenmod/eleven/utils/ApolloUtils.java
+++ b/src/com/cyanogenmod/eleven/utils/ApolloUtils.java
@@ -42,7 +42,7 @@ import java.util.concurrent.ThreadPoolExecutor;
/**
* Mostly general and UI helpers.
- *
+ *
* @author Andrew Neal (andrewdneal@gmail.com)
*/
public final class ApolloUtils {
@@ -80,7 +80,7 @@ public final class ApolloUtils {
/**
* Used to determine if the device is a tablet or not
- *
+ *
* @param context The {@link Context} to use.
* @return True if the device is a tablet, false otherwise.
*/
@@ -91,7 +91,7 @@ public final class ApolloUtils {
/**
* Used to determine if the device is currently in landscape mode
- *
+ *
* @param context The {@link Context} to use.
* @return True if the device is in landscape mode, false otherwise.
*/
@@ -102,7 +102,7 @@ public final class ApolloUtils {
/**
* Execute an {@link AsyncTask} on a thread pool
- *
+ *
* @param forceSerial True to force the task to run in serial order
* @param task Task to execute
* @param args Optional arguments to pass to
@@ -126,7 +126,7 @@ public final class ApolloUtils {
/**
* Used to determine if there is an active data connection and what type of
* connection it is if there is one
- *
+ *
* @param context The {@link Context} to use
* @return True if there is an active data connection, false otherwise.
* Also, if the user has checked to only download via Wi-Fi in the
@@ -179,7 +179,7 @@ public final class ApolloUtils {
/**
* Display a {@link Toast} letting the user know what an item does when long
* pressed.
- *
+ *
* @param view The {@link View} to copy the content description from.
*/
public static void showCheatSheet(final View view) {
@@ -217,7 +217,7 @@ public final class ApolloUtils {
/**
* Calculate whether a color is light or dark, based on a commonly known
* brightness formula.
- *
+ *
* @see {@literal http://en.wikipedia.org/wiki/HSV_color_space%23Lightness}
*/
public static final boolean isColorDark(final int color) {
@@ -226,7 +226,7 @@ public final class ApolloUtils {
/**
* Runs a piece of code after the next layout run
- *
+ *
* @param view The {@link View} used.
* @param runnable The {@link Runnable} used after the next layout run
*/
@@ -246,7 +246,7 @@ public final class ApolloUtils {
/**
* Creates a new instance of the {@link ImageCache} and {@link ImageFetcher}
- *
+ *
* @param activity The {@link Activity} to use.
* @return A new {@link ImageFetcher} used to fetch images asynchronously.
*/
diff --git a/src/com/cyanogenmod/eleven/utils/BitmapUtils.java b/src/com/cyanogenmod/eleven/utils/BitmapUtils.java
index 71ebe3c..3e02549 100644
--- a/src/com/cyanogenmod/eleven/utils/BitmapUtils.java
+++ b/src/com/cyanogenmod/eleven/utils/BitmapUtils.java
@@ -19,7 +19,7 @@ import android.graphics.Paint;
/**
* {@link Bitmap} specific helpers.
- *
+ *
* @author Andrew Neal (andrewdneal@gmail.com)
*/
public final class BitmapUtils {
@@ -33,7 +33,7 @@ public final class BitmapUtils {
/**
* Takes a bitmap and creates a new slightly blurry version of it.
- *
+ *
* @param sentBitmap The {@link Bitmap} to blur.
* @return A blurred version of the given {@link Bitmap}.
*/
@@ -266,7 +266,7 @@ public final class BitmapUtils {
/**
* This is only used when the launcher shortcut is created.
- *
+ *
* @param bitmap The artist, album, genre, or playlist image that's going to
* be cropped.
* @param size The new size.
diff --git a/src/com/cyanogenmod/eleven/utils/Lists.java b/src/com/cyanogenmod/eleven/utils/Lists.java
index 7e4f670..46bc773 100644
--- a/src/com/cyanogenmod/eleven/utils/Lists.java
+++ b/src/com/cyanogenmod/eleven/utils/Lists.java
@@ -30,7 +30,7 @@ public final class Lists {
* <p>
* <b>Note:</b> if you only need an <i>immutable</i> empty List, use
* {@link Collections#emptyList} instead.
- *
+ *
* @return a newly-created, initially-empty {@code ArrayList}
*/
public static final <E> ArrayList<E> newArrayList() {
@@ -42,7 +42,7 @@ public final class Lists {
* <p>
* <b>Note:</b> if you only need an <i>immutable</i> empty List, use
* {@link Collections#emptyList} instead.
- *
+ *
* @return a newly-created, initially-empty {@code LinkedList}
*/
public static final <E> LinkedList<E> newLinkedList() {
diff --git a/src/com/cyanogenmod/eleven/utils/NavUtils.java b/src/com/cyanogenmod/eleven/utils/NavUtils.java
index 0e74f47..31fa5b9 100644
--- a/src/com/cyanogenmod/eleven/utils/NavUtils.java
+++ b/src/com/cyanogenmod/eleven/utils/NavUtils.java
@@ -35,14 +35,14 @@ import java.util.List;
/**
* Various navigation helpers.
- *
+ *
* @author Andrew Neal (andrewdneal@gmail.com)
*/
public final class NavUtils {
/**
* Opens the profile of an artist.
- *
+ *
* @param context The {@link Activity} to use.
* @param artistName The name of the artist
*/
@@ -62,7 +62,7 @@ public final class NavUtils {
/**
* Opens the profile of an album.
- *
+ *
* @param context The {@link Activity} to use.
* @param albumName The name of the album
* @param artistName The name of the album artist
@@ -127,7 +127,7 @@ public final class NavUtils {
/**
* Opens the sound effects panel or DSP manager in CM
- *
+ *
* @param context The {@link Activity} to use.
* @param requestCode The request code passed into startActivityForResult
*/
@@ -152,7 +152,7 @@ public final class NavUtils {
/**
* Opens to {@link SettingsActivity}.
- *
+ *
* @param activity The {@link Activity} to use.
*/
public static void openSettings(final Activity activity) {
@@ -162,7 +162,7 @@ public final class NavUtils {
/**
* Opens to {@link com.cyanogenmod.eleven.ui.activities.SearchActivity}.
- *
+ *
* @param activity The {@link Activity} to use.
* @param query The search query.
*/
@@ -176,7 +176,7 @@ public final class NavUtils {
/**
* Opens to {@link com.cyanogenmod.eleven.ui.activities.HomeActivity}.
- *
+ *
* @param activity The {@link Activity} to use.
*/
public static void goHome(final Activity activity, final int browseIndex) {
diff --git a/src/com/cyanogenmod/eleven/utils/PlaylistPopupMenuHelper.java b/src/com/cyanogenmod/eleven/utils/PlaylistPopupMenuHelper.java
index 9da5703..a3fd6d0 100644
--- a/src/com/cyanogenmod/eleven/utils/PlaylistPopupMenuHelper.java
+++ b/src/com/cyanogenmod/eleven/utils/PlaylistPopupMenuHelper.java
@@ -83,7 +83,7 @@ public abstract class PlaylistPopupMenuHelper extends PopupMenuHelper {
/**
* Create a new {@link AlertDialog} for easy playlist deletion
- *
+ *
* @param playlistName The title of the playlist being deleted
* @param playlistId The ID of the playlist being deleted
* @return A new {@link AlertDialog} used to delete playlists
diff --git a/src/com/cyanogenmod/eleven/utils/PreferenceUtils.java b/src/com/cyanogenmod/eleven/utils/PreferenceUtils.java
index 7f4fd12..e3e868f 100644
--- a/src/com/cyanogenmod/eleven/utils/PreferenceUtils.java
+++ b/src/com/cyanogenmod/eleven/utils/PreferenceUtils.java
@@ -28,7 +28,7 @@ import com.cyanogenmod.eleven.ui.fragments.phone.MusicBrowserPhoneFragment;
/**
* A collection of helpers designed to get and set various preferences across
* Apollo.
- *
+ *
* @author Andrew Neal (andrewdneal@gmail.com)
*/
public final class PreferenceUtils {
@@ -90,7 +90,7 @@ public final class PreferenceUtils {
/**
* Constructor for <code>PreferenceUtils</code>
- *
+ *
* @param context The {@link Context} to use.
*/
public PreferenceUtils(final Context context) {
@@ -110,7 +110,7 @@ public final class PreferenceUtils {
/**
* Saves the current page the user is on when they close the app.
- *
+ *
* @param value The last page the pager was on when the onDestroy is called
* in {@link MusicBrowserPhoneFragment}.
*/
@@ -126,7 +126,7 @@ public final class PreferenceUtils {
}
}, (Void[])null);
}
-
+
/**
* Set the listener for preference change
* @param listener
@@ -137,7 +137,7 @@ public final class PreferenceUtils {
/**
* Returns the last page the user was on when the app was exited.
- *
+ *
* @return The page to start on when the app is opened.
*/
public final int getStartPage() {
@@ -146,7 +146,7 @@ public final class PreferenceUtils {
/**
* Sets the new theme color.
- *
+ *
* @param value The new theme color to use.
*/
public void setDefaultThemeColor(final int value) {
@@ -164,7 +164,7 @@ public final class PreferenceUtils {
/**
* Returns the current theme color.
- *
+ *
* @param context The {@link Context} to use.
* @return The default theme color.
*/
@@ -199,7 +199,7 @@ public final class PreferenceUtils {
/**
* Saves the sort order for a list.
- *
+ *
* @param key Which sort order to change
* @param value The new sort order
*/
@@ -218,7 +218,7 @@ public final class PreferenceUtils {
/**
* Sets the sort order for the artist list.
- *
+ *
* @param value The new sort order
*/
public void setArtistSortOrder(final String value) {
@@ -234,7 +234,7 @@ public final class PreferenceUtils {
/**
* Sets the sort order for the artist song list.
- *
+ *
* @param value The new sort order
*/
public void setArtistSongSortOrder(final String value) {
@@ -252,7 +252,7 @@ public final class PreferenceUtils {
/**
* Sets the sort order for the artist album list.
- *
+ *
* @param value The new sort order
*/
public void setArtistAlbumSortOrder(final String value) {
@@ -270,7 +270,7 @@ public final class PreferenceUtils {
/**
* Sets the sort order for the album list.
- *
+ *
* @param value The new sort order
*/
public void setAlbumSortOrder(final String value) {
@@ -286,7 +286,7 @@ public final class PreferenceUtils {
/**
* Sets the sort order for the album song list.
- *
+ *
* @param value The new sort order
*/
public void setAlbumSongSortOrder(final String value) {
@@ -304,7 +304,7 @@ public final class PreferenceUtils {
/**
* Sets the sort order for the song list.
- *
+ *
* @param value The new sort order
*/
public void setSongSortOrder(final String value) {
@@ -337,7 +337,7 @@ public final class PreferenceUtils {
public boolean getShowVisualizer() {
return mPreferences.getBoolean(SHOW_VISUALIZER, true);
}
-
+
public boolean getShakeToPlay() {
return mPreferences.getBoolean(SHAKE_TO_PLAY, false);
}
diff --git a/src/com/cyanogenmod/eleven/utils/SortOrder.java b/src/com/cyanogenmod/eleven/utils/SortOrder.java
index 3c9fe83..6352a43 100644
--- a/src/com/cyanogenmod/eleven/utils/SortOrder.java
+++ b/src/com/cyanogenmod/eleven/utils/SortOrder.java
@@ -17,7 +17,7 @@ import android.provider.MediaStore;
/**
* Holds all of the sort orders for each list type.
- *
+ *
* @author Andrew Neal (andrewdneal@gmail.com)
*/
public final class SortOrder {
diff --git a/src/com/cyanogenmod/eleven/utils/SrtParser.java b/src/com/cyanogenmod/eleven/utils/SrtParser.java
index e5d7f38..bace32a 100644
--- a/src/com/cyanogenmod/eleven/utils/SrtParser.java
+++ b/src/com/cyanogenmod/eleven/utils/SrtParser.java
@@ -135,4 +135,3 @@ public class SrtParser {
return hours * 60 * 60 * 1000 + minutes * 60 * 1000 + seconds * 1000 + millies;
}
}
-
diff --git a/src/com/cyanogenmod/eleven/widgets/AlphaPatternDrawable.java b/src/com/cyanogenmod/eleven/widgets/AlphaPatternDrawable.java
index 2f188f3..055d08f 100644
--- a/src/com/cyanogenmod/eleven/widgets/AlphaPatternDrawable.java
+++ b/src/com/cyanogenmod/eleven/widgets/AlphaPatternDrawable.java
@@ -23,7 +23,7 @@ import android.graphics.drawable.Drawable;
* This drawable that draws a simple white and gray chess board pattern. It's
* pattern you will often see as a background behind a partly transparent image
* in many applications.
- *
+ *
* @author Daniel Nilsson
*/
public class AlphaPatternDrawable extends Drawable {
diff --git a/src/com/cyanogenmod/eleven/widgets/ColorPanelView.java b/src/com/cyanogenmod/eleven/widgets/ColorPanelView.java
index 0920276..332d187 100644
--- a/src/com/cyanogenmod/eleven/widgets/ColorPanelView.java
+++ b/src/com/cyanogenmod/eleven/widgets/ColorPanelView.java
@@ -22,7 +22,7 @@ import android.view.View;
* This class draws a panel which which will be filled with a color which can be
* set. It can be used to show the currently selected color which you will get
* from the {@link ColorPickerView}.
- *
+ *
* @author Daniel Nilsson
*/
public class ColorPanelView extends View {
@@ -129,7 +129,7 @@ public class ColorPanelView extends View {
/**
* Set the color that should be shown by this view.
- *
+ *
* @param color
*/
public void setColor(final int color) {
@@ -139,7 +139,7 @@ public class ColorPanelView extends View {
/**
* Get the color currently show by this view.
- *
+ *
* @return
*/
public int getColor() {
@@ -148,7 +148,7 @@ public class ColorPanelView extends View {
/**
* Set the color of the border surrounding the panel.
- *
+ *
* @param color
*/
public void setBorderColor(final int color) {
diff --git a/src/com/cyanogenmod/eleven/widgets/ColorPickerView.java b/src/com/cyanogenmod/eleven/widgets/ColorPickerView.java
index d80cbf4..dc034eb 100644
--- a/src/com/cyanogenmod/eleven/widgets/ColorPickerView.java
+++ b/src/com/cyanogenmod/eleven/widgets/ColorPickerView.java
@@ -33,7 +33,7 @@ import android.view.View;
* Displays a color picker to the user and allow them to select a color. A
* slider for the alpha channel is also available. Enable it by setting
* setAlphaSliderVisible(boolean) to true.
- *
+ *
* @author Daniel Nilsson
*/
public class ColorPickerView extends View {
@@ -790,7 +790,7 @@ public class ColorPickerView extends View {
/**
* Set a OnColorChangedListener to get notified when the color selected by
* the user has changed.
- *
+ *
* @param listener
*/
public void setOnColorChangedListener(final OnColorChangedListener listener) {
@@ -799,7 +799,7 @@ public class ColorPickerView extends View {
/**
* Set the color of the border surrounding all panels.
- *
+ *
* @param color
*/
public void setBorderColor(final int color) {
@@ -816,7 +816,7 @@ public class ColorPickerView extends View {
/**
* Get the current color this view is showing.
- *
+ *
* @return the current color.
*/
public int getColor() {
@@ -827,7 +827,7 @@ public class ColorPickerView extends View {
/**
* Set the color the view should show.
- *
+ *
* @param color The color that should be selected.
*/
public void setColor(final int color) {
@@ -836,7 +836,7 @@ public class ColorPickerView extends View {
/**
* Set the color this view should show.
- *
+ *
* @param color The color that should be selected.
* @param callback If you want to get a callback to your
* OnColorChangedListener.
@@ -871,7 +871,7 @@ public class ColorPickerView extends View {
* the distance from the side of a panel to the side of the view minus the
* padding. Useful if you want to have your own panel below showing the
* currently selected color and want to align it perfectly.
- *
+ *
* @return The offset in pixels.
*/
public float getDrawingOffset() {
@@ -881,7 +881,7 @@ public class ColorPickerView extends View {
/**
* Set if the user is allowed to adjust the alpha panel. Default is false.
* If it is set to false no alpha will be set.
- *
+ *
* @param visible
*/
public void setAlphaSliderVisible(final boolean visible) {
@@ -918,7 +918,7 @@ public class ColorPickerView extends View {
/**
* Set the text that should be shown in the alpha slider. Set to null to
* disable text.
- *
+ *
* @param res string resource id.
*/
public void setAlphaSliderText(final int res) {
@@ -929,7 +929,7 @@ public class ColorPickerView extends View {
/**
* Set the text that should be shown in the alpha slider. Set to null to
* disable text.
- *
+ *
* @param text Text that should be shown.
*/
public void setAlphaSliderText(final String text) {
@@ -939,7 +939,7 @@ public class ColorPickerView extends View {
/**
* Get the current value of the text that will be shown in the alpha slider.
- *
+ *
* @return
*/
public String getAlphaSliderText() {
diff --git a/src/com/cyanogenmod/eleven/widgets/LetterTileDrawable.java b/src/com/cyanogenmod/eleven/widgets/LetterTileDrawable.java
index 7b2d66d..69661f9 100644
--- a/src/com/cyanogenmod/eleven/widgets/LetterTileDrawable.java
+++ b/src/com/cyanogenmod/eleven/widgets/LetterTileDrawable.java
@@ -336,7 +336,7 @@ public class LetterTileDrawable extends Drawable {
public static BitmapWithColors createDefaultBitmap(Context context, String identifier,
ImageType type, boolean isCircle, boolean smallArtwork) {
initializeStaticVariables(context.getResources());
-
+
identifier = MusicUtils.getTrimmedName(identifier);
// get the default bitmap to determine what to draw to
diff --git a/src/com/cyanogenmod/eleven/widgets/RepeatButton.java b/src/com/cyanogenmod/eleven/widgets/RepeatButton.java
index 7cf3c9b..f07971c 100644
--- a/src/com/cyanogenmod/eleven/widgets/RepeatButton.java
+++ b/src/com/cyanogenmod/eleven/widgets/RepeatButton.java
@@ -24,7 +24,7 @@ import com.cyanogenmod.eleven.utils.MusicUtils;
/**
* A custom {@link ImageButton} that represents the "repeat" button.
- *
+ *
* @author Andrew Neal (andrewdneal@gmail.com)
*/
public class RepeatButton extends AudioButton {
diff --git a/src/com/cyanogenmod/eleven/widgets/RepeatingImageButton.java b/src/com/cyanogenmod/eleven/widgets/RepeatingImageButton.java
index d51154b..53d662c 100644
--- a/src/com/cyanogenmod/eleven/widgets/RepeatingImageButton.java
+++ b/src/com/cyanogenmod/eleven/widgets/RepeatingImageButton.java
@@ -73,7 +73,7 @@ public class RepeatingImageButton extends ImageButton implements OnClickListener
/**
* Sets the listener to be called while the button is pressed and the
* interval in milliseconds with which it will be called.
- *
+ *
* @param l The listener that will be called
* @param interval The interval in milliseconds for calls
*/
diff --git a/src/com/cyanogenmod/eleven/widgets/SeparatedListAdapter.java b/src/com/cyanogenmod/eleven/widgets/SeparatedListAdapter.java
index da29626..70f01b3 100644
--- a/src/com/cyanogenmod/eleven/widgets/SeparatedListAdapter.java
+++ b/src/com/cyanogenmod/eleven/widgets/SeparatedListAdapter.java
@@ -23,7 +23,7 @@ public class SeparatedListAdapter extends BaseAdapter {
/**
* Constructor of <code>SeparatedListAdapter</code>
- *
+ *
* @param context The {@link Context} to use.
*/
public SeparatedListAdapter(final Context context) {
diff --git a/src/com/cyanogenmod/eleven/widgets/ShowHideMasterLayout.java b/src/com/cyanogenmod/eleven/widgets/ShowHideMasterLayout.java
index 26b6688..d12956f 100644
--- a/src/com/cyanogenmod/eleven/widgets/ShowHideMasterLayout.java
+++ b/src/com/cyanogenmod/eleven/widgets/ShowHideMasterLayout.java
@@ -213,7 +213,7 @@ public class ShowHideMasterLayout extends ViewGroup implements Animator.Animator
/**
* Allow or disallow the user to flick right on the detail pane to expose
* the master pane.
- *
+ *
* @param enabled Whether or not to enable this interaction.
*/
public void setFlingToExposeMasterEnabled(final boolean enabled) {
@@ -223,7 +223,7 @@ public class ShowHideMasterLayout extends ViewGroup implements Animator.Animator
/**
* Request the given listener be notified when the master pane is shown or
* hidden.
- *
+ *
* @param listener The listener to notify when the master pane is shown or
* hidden.
*/
@@ -234,7 +234,7 @@ public class ShowHideMasterLayout extends ViewGroup implements Animator.Animator
/**
* Returns whether or not the master pane is visible.
- *
+ *
* @return True if the master pane is visible.
*/
public boolean isMasterVisible() {
@@ -250,7 +250,7 @@ public class ShowHideMasterLayout extends ViewGroup implements Animator.Animator
/**
* Shows or hides the master pane.
- *
+ *
* @param show Whether or not to show the master pane.
* @param flags {@link #FLAG_IMMEDIATE} to show/hide immediately, or 0 to
* animate.
diff --git a/src/com/cyanogenmod/eleven/widgets/SquareImageView.java b/src/com/cyanogenmod/eleven/widgets/SquareImageView.java
index bace9bf..3e40c7b 100644
--- a/src/com/cyanogenmod/eleven/widgets/SquareImageView.java
+++ b/src/com/cyanogenmod/eleven/widgets/SquareImageView.java
@@ -20,7 +20,7 @@ import android.widget.ImageView;
/**
* A custom {@link ImageView} that is sized to be a perfect square, otherwise
* functions like a typical {@link ImageView}.
- *
+ *
* @author Andrew Neal (andrewdneal@gmail.com)
*/
public class SquareImageView extends LayoutSuppressingImageView {
diff --git a/src/com/cyanogenmod/eleven/widgets/SquareView.java b/src/com/cyanogenmod/eleven/widgets/SquareView.java
index 6bb7d6e..21e64d7 100644
--- a/src/com/cyanogenmod/eleven/widgets/SquareView.java
+++ b/src/com/cyanogenmod/eleven/widgets/SquareView.java
@@ -21,7 +21,7 @@ import android.view.ViewGroup;
/**
* A custom {@link ViewGroup} used to make it's children into perfect squares.
* Useful when dealing with grid images and especially album art.
- *
+ *
* @author Andrew Neal (andrewdneal@gmail.com)
*/
public class SquareView extends ViewGroup {
diff --git a/src/com/cyanogenmod/eleven/widgets/ViewPagerTabs.java b/src/com/cyanogenmod/eleven/widgets/ViewPagerTabs.java
index c02926d..7c91c87 100644
--- a/src/com/cyanogenmod/eleven/widgets/ViewPagerTabs.java
+++ b/src/com/cyanogenmod/eleven/widgets/ViewPagerTabs.java
@@ -221,4 +221,3 @@ public class ViewPagerTabs extends HorizontalScrollView implements ViewPager.OnP
return position;
}
}
-