cleaned up packages

This commit is contained in:
daniel oeh 2012-07-26 11:46:36 +02:00
parent 5f03b24e59
commit 20397a06e6
19 changed files with 21 additions and 18 deletions

View File

@ -1,5 +1,5 @@
package de.danoeh.antennapod;
public final class AppConfig {
public final static boolean DEBUG = false;
public final static boolean DEBUG = true;
}

View File

@ -13,8 +13,8 @@ import com.actionbarsherlock.view.MenuItem;
import de.danoeh.antennapod.asynctask.FeedImageLoader;
import de.danoeh.antennapod.feed.Feed;
import de.danoeh.antennapod.feed.FeedManager;
import de.danoeh.antennapod.util.FeedMenuHandler;
import de.danoeh.antennapod.util.LangUtils;
import de.danoeh.antennapod.util.menuhandler.FeedMenuHandler;
import de.danoeh.antennapod.AppConfig;
import de.danoeh.antennapod.R;

View File

@ -20,8 +20,8 @@ import de.danoeh.antennapod.feed.Feed;
import de.danoeh.antennapod.feed.FeedManager;
import de.danoeh.antennapod.fragment.FeedlistFragment;
import de.danoeh.antennapod.fragment.ItemlistFragment;
import de.danoeh.antennapod.util.FeedMenuHandler;
import de.danoeh.antennapod.util.StorageUtils;
import de.danoeh.antennapod.util.menuhandler.FeedMenuHandler;
/** Displays a List of FeedItems */
public class FeedItemlistActivity extends SherlockFragmentActivity {

View File

@ -14,7 +14,7 @@ import com.actionbarsherlock.app.SherlockActivity;
import com.actionbarsherlock.view.Menu;
import com.actionbarsherlock.view.MenuItem;
import de.danoeh.antennapod.util.FlattrUtils;
import de.danoeh.antennapod.util.flattr.FlattrUtils;
import de.danoeh.antennapod.AppConfig;
import de.danoeh.antennapod.R;

View File

@ -24,8 +24,8 @@ import de.danoeh.antennapod.feed.FeedManager;
import de.danoeh.antennapod.fragment.FeedlistFragment;
import de.danoeh.antennapod.fragment.ItemDescriptionFragment;
import de.danoeh.antennapod.fragment.ItemlistFragment;
import de.danoeh.antennapod.util.FeedItemMenuHandler;
import de.danoeh.antennapod.util.StorageUtils;
import de.danoeh.antennapod.util.menuhandler.FeedItemMenuHandler;
/** Displays a single FeedItem and provides various actions */
public class ItemviewActivity extends SherlockFragmentActivity {

View File

@ -55,9 +55,9 @@ import de.danoeh.antennapod.fragment.ItemDescriptionFragment;
import de.danoeh.antennapod.service.PlaybackService;
import de.danoeh.antennapod.service.PlayerStatus;
import de.danoeh.antennapod.util.Converter;
import de.danoeh.antennapod.util.FeedItemMenuHandler;
import de.danoeh.antennapod.util.MediaPlayerError;
import de.danoeh.antennapod.util.StorageUtils;
import de.danoeh.antennapod.util.menuhandler.FeedItemMenuHandler;
public class MediaplayerActivity extends SherlockFragmentActivity implements
SurfaceHolder.Callback {

View File

@ -11,7 +11,7 @@ import com.actionbarsherlock.view.Menu;
import com.actionbarsherlock.view.MenuItem;
import de.danoeh.antennapod.R;
import de.danoeh.antennapod.util.FlattrUtils;
import de.danoeh.antennapod.util.flattr.FlattrUtils;
public class PreferenceActivity extends SherlockPreferenceActivity {
private static final String TAG = "PreferenceActivity";

View File

@ -8,7 +8,7 @@ import android.util.Log;
import android.widget.Toast;
import de.danoeh.antennapod.AppConfig;
import de.danoeh.antennapod.R;
import de.danoeh.antennapod.util.FlattrUtils;
import de.danoeh.antennapod.util.flattr.FlattrUtils;
/** Performs a click action in a background thread. */
/*

View File

@ -9,7 +9,7 @@ import android.os.AsyncTask;
import android.util.Log;
import de.danoeh.antennapod.AppConfig;
import de.danoeh.antennapod.R;
import de.danoeh.antennapod.util.FlattrUtils;
import de.danoeh.antennapod.util.flattr.FlattrUtils;
/** Fetches the access token in the background in order to avoid networkOnMainThread exception. */
/*

View File

@ -11,8 +11,8 @@ import de.danoeh.antennapod.activity.MediaplayerActivity;
import de.danoeh.antennapod.asynctask.DownloadStatus;
import de.danoeh.antennapod.service.PlaybackService;
import de.danoeh.antennapod.storage.*;
import de.danoeh.antennapod.util.FeedItemPubdateComparator;
import de.danoeh.antennapod.util.FeedtitleComparator;
import de.danoeh.antennapod.util.comparator.FeedItemPubdateComparator;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;

View File

@ -10,7 +10,7 @@ import android.util.Log;
import de.danoeh.antennapod.AppConfig;
import de.danoeh.antennapod.PodcastApp;
import de.danoeh.antennapod.R;
import de.danoeh.antennapod.util.SearchResultValueComparator;
import de.danoeh.antennapod.util.comparator.SearchResultValueComparator;
/** Performs search on Feeds and FeedItems */
public class FeedSearcher {

View File

@ -6,7 +6,7 @@ import de.danoeh.antennapod.asynctask.FeedRemover;
import de.danoeh.antennapod.feed.*;
import de.danoeh.antennapod.service.DownloadService;
import de.danoeh.antennapod.storage.DownloadRequester;
import de.danoeh.antennapod.util.FeedMenuHandler;
import de.danoeh.antennapod.util.menuhandler.FeedMenuHandler;
import de.danoeh.antennapod.AppConfig;
import de.danoeh.antennapod.R;
import android.os.AsyncTask;

View File

@ -28,7 +28,7 @@ import de.danoeh.antennapod.feed.FeedItem;
import de.danoeh.antennapod.feed.FeedManager;
import de.danoeh.antennapod.service.DownloadService;
import de.danoeh.antennapod.storage.DownloadRequester;
import de.danoeh.antennapod.util.FeedItemMenuHandler;
import de.danoeh.antennapod.util.menuhandler.FeedItemMenuHandler;
import de.danoeh.antennapod.AppConfig;
import de.danoeh.antennapod.R;

View File

@ -1,4 +1,4 @@
package de.danoeh.antennapod.util;
package de.danoeh.antennapod.util.comparator;
import java.util.Comparator;

View File

@ -1,4 +1,4 @@
package de.danoeh.antennapod.util;
package de.danoeh.antennapod.util.comparator;
import java.util.Comparator;

View File

@ -1,3 +1,4 @@
package de.danoeh.antennapod.util.flattr;
/*
package de.danoeh.antennapod.util;

View File

@ -1,4 +1,4 @@
package de.danoeh.antennapod.util;
package de.danoeh.antennapod.util.flattr;
import java.util.EnumSet;

View File

@ -1,4 +1,4 @@
package de.danoeh.antennapod.util;
package de.danoeh.antennapod.util.menuhandler;
import android.content.Context;
import android.content.Intent;
@ -12,6 +12,7 @@ import de.danoeh.antennapod.R;
import de.danoeh.antennapod.feed.FeedItem;
import de.danoeh.antennapod.feed.FeedManager;
import de.danoeh.antennapod.storage.DownloadRequester;
import de.danoeh.antennapod.util.ShareUtils;
/** Handles interactions with the FeedItemMenu. */
public class FeedItemMenuHandler {

View File

@ -1,4 +1,4 @@
package de.danoeh.antennapod.util;
package de.danoeh.antennapod.util.menuhandler;
import android.content.Context;
import android.content.Intent;
@ -16,6 +16,7 @@ import de.danoeh.antennapod.feed.FeedItem;
import de.danoeh.antennapod.feed.FeedManager;
import de.danoeh.antennapod.service.DownloadService;
import de.danoeh.antennapod.storage.DownloadRequester;
import de.danoeh.antennapod.util.ShareUtils;
import de.danoeh.antennapod.AppConfig;
import de.danoeh.antennapod.R;