Rename project

This commit is contained in:
inorichi 2016-01-15 15:18:19 +01:00
parent 1508bf42fb
commit 70f4c7fcc3
167 changed files with 647 additions and 654 deletions

View File

@ -35,7 +35,7 @@ android {
publishNonDefault true publishNonDefault true
defaultConfig { defaultConfig {
applicationId "eu.kanade.mangafeed" applicationId "eu.kanade.tachiyomi"
minSdkVersion 16 minSdkVersion 16
targetSdkVersion 23 targetSdkVersion 23
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="eu.kanade.mangafeed" > package="eu.kanade.tachiyomi" >
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
@ -77,7 +77,7 @@
</receiver> </receiver>
<meta-data <meta-data
android:name="eu.kanade.mangafeed.data.cache.CoverGlideModule" android:name="eu.kanade.tachiyomi.data.cache.CoverGlideModule"
android:value="GlideModule" /> android:value="GlideModule" />
</application> </application>

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed; package eu.kanade.tachiyomi;
import android.app.Application; import android.app.Application;
import android.content.Context; import android.content.Context;
@ -6,10 +6,10 @@ import android.content.Context;
import org.acra.ACRA; import org.acra.ACRA;
import org.acra.annotation.ReportsCrashes; import org.acra.annotation.ReportsCrashes;
import eu.kanade.mangafeed.injection.ComponentReflectionInjector; import eu.kanade.tachiyomi.injection.ComponentReflectionInjector;
import eu.kanade.mangafeed.injection.component.AppComponent; import eu.kanade.tachiyomi.injection.component.AppComponent;
import eu.kanade.mangafeed.injection.component.DaggerAppComponent; import eu.kanade.tachiyomi.injection.component.DaggerAppComponent;
import eu.kanade.mangafeed.injection.module.AppModule; import eu.kanade.tachiyomi.injection.module.AppModule;
import timber.log.Timber; import timber.log.Timber;
@ReportsCrashes( @ReportsCrashes(

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.data.cache; package eu.kanade.tachiyomi.data.cache;
import android.content.Context; import android.content.Context;
import android.text.format.Formatter; import android.text.format.Formatter;
@ -15,8 +15,8 @@ import java.io.OutputStream;
import java.lang.reflect.Type; import java.lang.reflect.Type;
import java.util.List; import java.util.List;
import eu.kanade.mangafeed.data.source.model.Page; import eu.kanade.tachiyomi.data.source.model.Page;
import eu.kanade.mangafeed.util.DiskUtils; import eu.kanade.tachiyomi.util.DiskUtils;
import okio.BufferedSink; import okio.BufferedSink;
import okio.Okio; import okio.Okio;
import rx.Observable; import rx.Observable;

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.data.cache; package eu.kanade.tachiyomi.data.cache;
import android.content.Context; import android.content.Context;
import android.text.TextUtils; import android.text.TextUtils;
@ -18,7 +18,7 @@ import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream; import java.io.OutputStream;
import eu.kanade.mangafeed.util.DiskUtils; import eu.kanade.tachiyomi.util.DiskUtils;
public class CoverCache { public class CoverCache {

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.data.cache; package eu.kanade.tachiyomi.data.cache;
import android.content.Context; import android.content.Context;

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.data.database; package eu.kanade.tachiyomi.data.database;
import android.content.Context; import android.content.Context;
import android.util.Pair; import android.util.Pair;
@ -20,24 +20,24 @@ import com.pushtorefresh.storio.sqlite.queries.RawQuery;
import java.util.Date; import java.util.Date;
import java.util.List; import java.util.List;
import eu.kanade.mangafeed.data.database.models.Category; import eu.kanade.tachiyomi.data.database.models.Category;
import eu.kanade.mangafeed.data.database.models.CategorySQLiteTypeMapping; import eu.kanade.tachiyomi.data.database.models.CategorySQLiteTypeMapping;
import eu.kanade.mangafeed.data.database.models.Chapter; import eu.kanade.tachiyomi.data.database.models.Chapter;
import eu.kanade.mangafeed.data.database.models.ChapterSQLiteTypeMapping; import eu.kanade.tachiyomi.data.database.models.ChapterSQLiteTypeMapping;
import eu.kanade.mangafeed.data.database.models.Manga; import eu.kanade.tachiyomi.data.database.models.Manga;
import eu.kanade.mangafeed.data.database.models.MangaCategory; import eu.kanade.tachiyomi.data.database.models.MangaCategory;
import eu.kanade.mangafeed.data.database.models.MangaCategorySQLiteTypeMapping; import eu.kanade.tachiyomi.data.database.models.MangaCategorySQLiteTypeMapping;
import eu.kanade.mangafeed.data.database.models.MangaSQLiteTypeMapping; import eu.kanade.tachiyomi.data.database.models.MangaSQLiteTypeMapping;
import eu.kanade.mangafeed.data.database.models.MangaSync; import eu.kanade.tachiyomi.data.database.models.MangaSync;
import eu.kanade.mangafeed.data.database.models.MangaSyncSQLiteTypeMapping; import eu.kanade.tachiyomi.data.database.models.MangaSyncSQLiteTypeMapping;
import eu.kanade.mangafeed.data.database.resolvers.LibraryMangaGetResolver; import eu.kanade.tachiyomi.data.database.resolvers.LibraryMangaGetResolver;
import eu.kanade.mangafeed.data.database.tables.CategoryTable; import eu.kanade.tachiyomi.data.database.tables.CategoryTable;
import eu.kanade.mangafeed.data.database.tables.ChapterTable; import eu.kanade.tachiyomi.data.database.tables.ChapterTable;
import eu.kanade.mangafeed.data.database.tables.MangaCategoryTable; import eu.kanade.tachiyomi.data.database.tables.MangaCategoryTable;
import eu.kanade.mangafeed.data.database.tables.MangaSyncTable; import eu.kanade.tachiyomi.data.database.tables.MangaSyncTable;
import eu.kanade.mangafeed.data.database.tables.MangaTable; import eu.kanade.tachiyomi.data.database.tables.MangaTable;
import eu.kanade.mangafeed.data.mangasync.base.MangaSyncService; import eu.kanade.tachiyomi.data.mangasync.base.MangaSyncService;
import eu.kanade.mangafeed.util.ChapterRecognition; import eu.kanade.tachiyomi.util.ChapterRecognition;
import rx.Observable; import rx.Observable;
public class DatabaseHelper { public class DatabaseHelper {

View File

@ -1,20 +1,20 @@
package eu.kanade.mangafeed.data.database; package eu.kanade.tachiyomi.data.database;
import android.content.Context; import android.content.Context;
import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper; import android.database.sqlite.SQLiteOpenHelper;
import android.support.annotation.NonNull; import android.support.annotation.NonNull;
import eu.kanade.mangafeed.data.database.tables.CategoryTable; import eu.kanade.tachiyomi.data.database.tables.CategoryTable;
import eu.kanade.mangafeed.data.database.tables.MangaCategoryTable; import eu.kanade.tachiyomi.data.database.tables.MangaCategoryTable;
import eu.kanade.mangafeed.data.database.tables.MangaSyncTable; import eu.kanade.tachiyomi.data.database.tables.MangaSyncTable;
import eu.kanade.mangafeed.data.database.tables.ChapterTable; import eu.kanade.tachiyomi.data.database.tables.ChapterTable;
import eu.kanade.mangafeed.data.database.tables.MangaTable; import eu.kanade.tachiyomi.data.database.tables.MangaTable;
public class DbOpenHelper extends SQLiteOpenHelper { public class DbOpenHelper extends SQLiteOpenHelper {
public static final String DATABASE_NAME = "mangafeed.db"; public static final String DATABASE_NAME = "tachiyomi.db";
public static final int DATABASE_VERSION = 2; public static final int DATABASE_VERSION = 1;
public DbOpenHelper(@NonNull Context context) { public DbOpenHelper(@NonNull Context context) {
super(context, DATABASE_NAME, null, DATABASE_VERSION); super(context, DATABASE_NAME, null, DATABASE_VERSION);
@ -36,12 +36,7 @@ public class DbOpenHelper extends SQLiteOpenHelper {
@Override @Override
public void onUpgrade(@NonNull SQLiteDatabase db, int oldVersion, int newVersion) { public void onUpgrade(@NonNull SQLiteDatabase db, int oldVersion, int newVersion) {
if (oldVersion == 1) {
db.execSQL("ALTER TABLE manga_sync RENAME TO tmp;");
db.execSQL(MangaSyncTable.getCreateTableQuery());
db.execSQL("INSERT INTO " + MangaSyncTable.TABLE + " SELECT * FROM tmp;");
db.execSQL("DROP TABLE tmp;");
}
} }
@Override @Override

View File

@ -1,11 +1,11 @@
package eu.kanade.mangafeed.data.database.models; package eu.kanade.tachiyomi.data.database.models;
import com.pushtorefresh.storio.sqlite.annotations.StorIOSQLiteColumn; import com.pushtorefresh.storio.sqlite.annotations.StorIOSQLiteColumn;
import com.pushtorefresh.storio.sqlite.annotations.StorIOSQLiteType; import com.pushtorefresh.storio.sqlite.annotations.StorIOSQLiteType;
import java.io.Serializable; import java.io.Serializable;
import eu.kanade.mangafeed.data.database.tables.CategoryTable; import eu.kanade.tachiyomi.data.database.tables.CategoryTable;
@StorIOSQLiteType(table = CategoryTable.TABLE) @StorIOSQLiteType(table = CategoryTable.TABLE)
public class Category implements Serializable { public class Category implements Serializable {

View File

@ -1,12 +1,12 @@
package eu.kanade.mangafeed.data.database.models; package eu.kanade.tachiyomi.data.database.models;
import com.pushtorefresh.storio.sqlite.annotations.StorIOSQLiteColumn; import com.pushtorefresh.storio.sqlite.annotations.StorIOSQLiteColumn;
import com.pushtorefresh.storio.sqlite.annotations.StorIOSQLiteType; import com.pushtorefresh.storio.sqlite.annotations.StorIOSQLiteType;
import java.io.Serializable; import java.io.Serializable;
import eu.kanade.mangafeed.data.database.tables.ChapterTable; import eu.kanade.tachiyomi.data.database.tables.ChapterTable;
import eu.kanade.mangafeed.util.UrlUtil; import eu.kanade.tachiyomi.util.UrlUtil;
@StorIOSQLiteType(table = ChapterTable.TABLE) @StorIOSQLiteType(table = ChapterTable.TABLE)
public class Chapter implements Serializable { public class Chapter implements Serializable {

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.data.database.models; package eu.kanade.tachiyomi.data.database.models;
import android.content.Context; import android.content.Context;
@ -7,9 +7,9 @@ import com.pushtorefresh.storio.sqlite.annotations.StorIOSQLiteType;
import java.io.Serializable; import java.io.Serializable;
import eu.kanade.mangafeed.R; import eu.kanade.tachiyomi.R;
import eu.kanade.mangafeed.data.database.tables.MangaTable; import eu.kanade.tachiyomi.data.database.tables.MangaTable;
import eu.kanade.mangafeed.util.UrlUtil; import eu.kanade.tachiyomi.util.UrlUtil;
@StorIOSQLiteType(table = MangaTable.TABLE) @StorIOSQLiteType(table = MangaTable.TABLE)
public class Manga implements Serializable { public class Manga implements Serializable {

View File

@ -1,9 +1,9 @@
package eu.kanade.mangafeed.data.database.models; package eu.kanade.tachiyomi.data.database.models;
import com.pushtorefresh.storio.sqlite.annotations.StorIOSQLiteColumn; import com.pushtorefresh.storio.sqlite.annotations.StorIOSQLiteColumn;
import com.pushtorefresh.storio.sqlite.annotations.StorIOSQLiteType; import com.pushtorefresh.storio.sqlite.annotations.StorIOSQLiteType;
import eu.kanade.mangafeed.data.database.tables.MangaCategoryTable; import eu.kanade.tachiyomi.data.database.tables.MangaCategoryTable;
@StorIOSQLiteType(table = MangaCategoryTable.TABLE) @StorIOSQLiteType(table = MangaCategoryTable.TABLE)
public class MangaCategory { public class MangaCategory {

View File

@ -1,12 +1,12 @@
package eu.kanade.mangafeed.data.database.models; package eu.kanade.tachiyomi.data.database.models;
import com.pushtorefresh.storio.sqlite.annotations.StorIOSQLiteColumn; import com.pushtorefresh.storio.sqlite.annotations.StorIOSQLiteColumn;
import com.pushtorefresh.storio.sqlite.annotations.StorIOSQLiteType; import com.pushtorefresh.storio.sqlite.annotations.StorIOSQLiteType;
import java.io.Serializable; import java.io.Serializable;
import eu.kanade.mangafeed.data.mangasync.base.MangaSyncService; import eu.kanade.tachiyomi.data.mangasync.base.MangaSyncService;
import eu.kanade.mangafeed.data.database.tables.MangaSyncTable; import eu.kanade.tachiyomi.data.database.tables.MangaSyncTable;
@StorIOSQLiteType(table = MangaSyncTable.TABLE) @StorIOSQLiteType(table = MangaSyncTable.TABLE)
public class MangaSync implements Serializable { public class MangaSync implements Serializable {

View File

@ -1,13 +1,13 @@
package eu.kanade.mangafeed.data.database.resolvers; package eu.kanade.tachiyomi.data.database.resolvers;
import android.database.Cursor; import android.database.Cursor;
import android.support.annotation.NonNull; import android.support.annotation.NonNull;
import eu.kanade.mangafeed.data.database.models.Manga; import eu.kanade.tachiyomi.data.database.models.Manga;
import eu.kanade.mangafeed.data.database.models.MangaStorIOSQLiteGetResolver; import eu.kanade.tachiyomi.data.database.models.MangaStorIOSQLiteGetResolver;
import eu.kanade.mangafeed.data.database.tables.ChapterTable; import eu.kanade.tachiyomi.data.database.tables.ChapterTable;
import eu.kanade.mangafeed.data.database.tables.MangaCategoryTable; import eu.kanade.tachiyomi.data.database.tables.MangaCategoryTable;
import eu.kanade.mangafeed.data.database.tables.MangaTable; import eu.kanade.tachiyomi.data.database.tables.MangaTable;
public class LibraryMangaGetResolver extends MangaStorIOSQLiteGetResolver { public class LibraryMangaGetResolver extends MangaStorIOSQLiteGetResolver {

View File

@ -1,11 +1,11 @@
package eu.kanade.mangafeed.data.database.resolvers; package eu.kanade.tachiyomi.data.database.resolvers;
import android.database.Cursor; import android.database.Cursor;
import android.support.annotation.NonNull; import android.support.annotation.NonNull;
import eu.kanade.mangafeed.data.database.models.Manga; import eu.kanade.tachiyomi.data.database.models.Manga;
import eu.kanade.mangafeed.data.database.models.MangaStorIOSQLiteGetResolver; import eu.kanade.tachiyomi.data.database.models.MangaStorIOSQLiteGetResolver;
import eu.kanade.mangafeed.data.database.tables.MangaTable; import eu.kanade.tachiyomi.data.database.tables.MangaTable;
public class MangaWithUnreadGetResolver extends MangaStorIOSQLiteGetResolver { public class MangaWithUnreadGetResolver extends MangaStorIOSQLiteGetResolver {

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.data.database.tables; package eu.kanade.tachiyomi.data.database.tables;
import android.support.annotation.NonNull; import android.support.annotation.NonNull;

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.data.database.tables; package eu.kanade.tachiyomi.data.database.tables;
import android.support.annotation.NonNull; import android.support.annotation.NonNull;

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.data.database.tables; package eu.kanade.tachiyomi.data.database.tables;
import android.support.annotation.NonNull; import android.support.annotation.NonNull;

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.data.database.tables; package eu.kanade.tachiyomi.data.database.tables;
import android.support.annotation.NonNull; import android.support.annotation.NonNull;

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.data.database.tables; package eu.kanade.tachiyomi.data.database.tables;
import android.support.annotation.NonNull; import android.support.annotation.NonNull;

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.data.download; package eu.kanade.tachiyomi.data.download;
import android.content.Context; import android.content.Context;
@ -14,17 +14,17 @@ import java.io.IOException;
import java.lang.reflect.Type; import java.lang.reflect.Type;
import java.util.List; import java.util.List;
import eu.kanade.mangafeed.data.database.models.Chapter; import eu.kanade.tachiyomi.data.database.models.Chapter;
import eu.kanade.mangafeed.data.database.models.Manga; import eu.kanade.tachiyomi.data.database.models.Manga;
import eu.kanade.mangafeed.data.download.model.Download; import eu.kanade.tachiyomi.data.download.model.Download;
import eu.kanade.mangafeed.data.download.model.DownloadQueue; import eu.kanade.tachiyomi.data.download.model.DownloadQueue;
import eu.kanade.mangafeed.data.preference.PreferencesHelper; import eu.kanade.tachiyomi.data.preference.PreferencesHelper;
import eu.kanade.mangafeed.data.source.SourceManager; import eu.kanade.tachiyomi.data.source.SourceManager;
import eu.kanade.mangafeed.data.source.base.Source; import eu.kanade.tachiyomi.data.source.base.Source;
import eu.kanade.mangafeed.data.source.model.Page; import eu.kanade.tachiyomi.data.source.model.Page;
import eu.kanade.mangafeed.event.DownloadChaptersEvent; import eu.kanade.tachiyomi.event.DownloadChaptersEvent;
import eu.kanade.mangafeed.util.DiskUtils; import eu.kanade.tachiyomi.util.DiskUtils;
import eu.kanade.mangafeed.util.DynamicConcurrentMergeOperator; import eu.kanade.tachiyomi.util.DynamicConcurrentMergeOperator;
import rx.Observable; import rx.Observable;
import rx.Subscription; import rx.Subscription;
import rx.android.schedulers.AndroidSchedulers; import rx.android.schedulers.AndroidSchedulers;

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.data.download; package eu.kanade.tachiyomi.data.download;
import android.app.Service; import android.app.Service;
import android.content.Context; import android.content.Context;
@ -11,12 +11,12 @@ import com.github.pwittchen.reactivenetwork.library.ReactiveNetwork;
import javax.inject.Inject; import javax.inject.Inject;
import de.greenrobot.event.EventBus; import de.greenrobot.event.EventBus;
import eu.kanade.mangafeed.App; import eu.kanade.tachiyomi.App;
import eu.kanade.mangafeed.R; import eu.kanade.tachiyomi.R;
import eu.kanade.mangafeed.data.preference.PreferencesHelper; import eu.kanade.tachiyomi.data.preference.PreferencesHelper;
import eu.kanade.mangafeed.event.DownloadChaptersEvent; import eu.kanade.tachiyomi.event.DownloadChaptersEvent;
import eu.kanade.mangafeed.util.EventBusHook; import eu.kanade.tachiyomi.util.EventBusHook;
import eu.kanade.mangafeed.util.ToastUtil; import eu.kanade.tachiyomi.util.ToastUtil;
import rx.Subscription; import rx.Subscription;
import rx.android.schedulers.AndroidSchedulers; import rx.android.schedulers.AndroidSchedulers;
import rx.schedulers.Schedulers; import rx.schedulers.Schedulers;

View File

@ -1,12 +1,12 @@
package eu.kanade.mangafeed.data.download.model; package eu.kanade.tachiyomi.data.download.model;
import java.io.File; import java.io.File;
import java.util.List; import java.util.List;
import eu.kanade.mangafeed.data.database.models.Chapter; import eu.kanade.tachiyomi.data.database.models.Chapter;
import eu.kanade.mangafeed.data.database.models.Manga; import eu.kanade.tachiyomi.data.database.models.Manga;
import eu.kanade.mangafeed.data.source.base.Source; import eu.kanade.tachiyomi.data.source.base.Source;
import eu.kanade.mangafeed.data.source.model.Page; import eu.kanade.tachiyomi.data.source.model.Page;
import rx.subjects.PublishSubject; import rx.subjects.PublishSubject;
public class Download { public class Download {

View File

@ -1,10 +1,10 @@
package eu.kanade.mangafeed.data.download.model; package eu.kanade.tachiyomi.data.download.model;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import eu.kanade.mangafeed.data.database.models.Chapter; import eu.kanade.tachiyomi.data.database.models.Chapter;
import eu.kanade.mangafeed.data.source.model.Page; import eu.kanade.tachiyomi.data.source.model.Page;
import rx.Observable; import rx.Observable;
import rx.subjects.PublishSubject; import rx.subjects.PublishSubject;

View File

@ -1,12 +1,12 @@
package eu.kanade.mangafeed.data.mangasync; package eu.kanade.tachiyomi.data.mangasync;
import android.content.Context; import android.content.Context;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import eu.kanade.mangafeed.data.mangasync.base.MangaSyncService; import eu.kanade.tachiyomi.data.mangasync.base.MangaSyncService;
import eu.kanade.mangafeed.data.mangasync.services.MyAnimeList; import eu.kanade.tachiyomi.data.mangasync.services.MyAnimeList;
public class MangaSyncManager { public class MangaSyncManager {

View File

@ -1,8 +1,8 @@
package eu.kanade.mangafeed.data.mangasync.base; package eu.kanade.tachiyomi.data.mangasync.base;
import com.squareup.okhttp.Response; import com.squareup.okhttp.Response;
import eu.kanade.mangafeed.data.database.models.MangaSync; import eu.kanade.tachiyomi.data.database.models.MangaSync;
import rx.Observable; import rx.Observable;
public abstract class MangaSyncService { public abstract class MangaSyncService {

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.data.mangasync.services; package eu.kanade.tachiyomi.data.mangasync.services;
import android.content.Context; import android.content.Context;
import android.net.Uri; import android.net.Uri;
@ -19,13 +19,13 @@ import java.util.List;
import javax.inject.Inject; import javax.inject.Inject;
import eu.kanade.mangafeed.App; import eu.kanade.tachiyomi.App;
import eu.kanade.mangafeed.R; import eu.kanade.tachiyomi.R;
import eu.kanade.mangafeed.data.database.models.MangaSync; import eu.kanade.tachiyomi.data.database.models.MangaSync;
import eu.kanade.mangafeed.data.mangasync.MangaSyncManager; import eu.kanade.tachiyomi.data.mangasync.MangaSyncManager;
import eu.kanade.mangafeed.data.mangasync.base.MangaSyncService; import eu.kanade.tachiyomi.data.mangasync.base.MangaSyncService;
import eu.kanade.mangafeed.data.network.NetworkHelper; import eu.kanade.tachiyomi.data.network.NetworkHelper;
import eu.kanade.mangafeed.data.preference.PreferencesHelper; import eu.kanade.tachiyomi.data.preference.PreferencesHelper;
import rx.Observable; import rx.Observable;
public class MyAnimeList extends MangaSyncService { public class MyAnimeList extends MangaSyncService {

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.data.network; package eu.kanade.tachiyomi.data.network;
import com.squareup.okhttp.CacheControl; import com.squareup.okhttp.CacheControl;

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.data.network; package eu.kanade.tachiyomi.data.network;
public interface ProgressListener { public interface ProgressListener {
void update(long bytesRead, long contentLength, boolean done); void update(long bytesRead, long contentLength, boolean done);

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.data.network; package eu.kanade.tachiyomi.data.network;
import com.squareup.okhttp.MediaType; import com.squareup.okhttp.MediaType;
import com.squareup.okhttp.ResponseBody; import com.squareup.okhttp.ResponseBody;

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.data.preference; package eu.kanade.tachiyomi.data.preference;
import android.content.Context; import android.content.Context;
import android.content.SharedPreferences; import android.content.SharedPreferences;
@ -11,9 +11,9 @@ import com.f2prateek.rx.preferences.RxSharedPreferences;
import java.io.File; import java.io.File;
import java.io.IOException; import java.io.IOException;
import eu.kanade.mangafeed.R; import eu.kanade.tachiyomi.R;
import eu.kanade.mangafeed.data.mangasync.base.MangaSyncService; import eu.kanade.tachiyomi.data.mangasync.base.MangaSyncService;
import eu.kanade.mangafeed.data.source.base.Source; import eu.kanade.tachiyomi.data.source.base.Source;
public class PreferencesHelper { public class PreferencesHelper {

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.data.source; package eu.kanade.tachiyomi.data.source;
import android.content.Context; import android.content.Context;
@ -6,11 +6,11 @@ import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import eu.kanade.mangafeed.data.source.base.Source; import eu.kanade.tachiyomi.data.source.base.Source;
import eu.kanade.mangafeed.data.source.online.english.Batoto; import eu.kanade.tachiyomi.data.source.online.english.Batoto;
import eu.kanade.mangafeed.data.source.online.english.Kissmanga; import eu.kanade.tachiyomi.data.source.online.english.Kissmanga;
import eu.kanade.mangafeed.data.source.online.english.Mangafox; import eu.kanade.tachiyomi.data.source.online.english.Mangafox;
import eu.kanade.mangafeed.data.source.online.english.Mangahere; import eu.kanade.tachiyomi.data.source.online.english.Mangahere;
public class SourceManager { public class SourceManager {

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.data.source.base; package eu.kanade.tachiyomi.data.source.base;
import com.squareup.okhttp.Headers; import com.squareup.okhttp.Headers;
import com.squareup.okhttp.Response; import com.squareup.okhttp.Response;
@ -7,9 +7,9 @@ import org.jsoup.nodes.Document;
import java.util.List; import java.util.List;
import eu.kanade.mangafeed.data.database.models.Chapter; import eu.kanade.tachiyomi.data.database.models.Chapter;
import eu.kanade.mangafeed.data.database.models.Manga; import eu.kanade.tachiyomi.data.database.models.Manga;
import eu.kanade.mangafeed.data.source.model.MangasPage; import eu.kanade.tachiyomi.data.source.model.MangasPage;
import rx.Observable; import rx.Observable;
public abstract class BaseSource { public abstract class BaseSource {

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.data.source.base; package eu.kanade.tachiyomi.data.source.base;
import android.content.Context; import android.content.Context;

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.data.source.base; package eu.kanade.tachiyomi.data.source.base;
import android.content.Context; import android.content.Context;
@ -15,14 +15,14 @@ import java.util.Map;
import javax.inject.Inject; import javax.inject.Inject;
import eu.kanade.mangafeed.App; import eu.kanade.tachiyomi.App;
import eu.kanade.mangafeed.data.cache.ChapterCache; import eu.kanade.tachiyomi.data.cache.ChapterCache;
import eu.kanade.mangafeed.data.database.models.Chapter; import eu.kanade.tachiyomi.data.database.models.Chapter;
import eu.kanade.mangafeed.data.database.models.Manga; import eu.kanade.tachiyomi.data.database.models.Manga;
import eu.kanade.mangafeed.data.network.NetworkHelper; import eu.kanade.tachiyomi.data.network.NetworkHelper;
import eu.kanade.mangafeed.data.preference.PreferencesHelper; import eu.kanade.tachiyomi.data.preference.PreferencesHelper;
import eu.kanade.mangafeed.data.source.model.MangasPage; import eu.kanade.tachiyomi.data.source.model.MangasPage;
import eu.kanade.mangafeed.data.source.model.Page; import eu.kanade.tachiyomi.data.source.model.Page;
import rx.Observable; import rx.Observable;
import rx.schedulers.Schedulers; import rx.schedulers.Schedulers;

View File

@ -1,8 +1,8 @@
package eu.kanade.mangafeed.data.source.model; package eu.kanade.tachiyomi.data.source.model;
import java.util.List; import java.util.List;
import eu.kanade.mangafeed.data.database.models.Manga; import eu.kanade.tachiyomi.data.database.models.Manga;
public class MangasPage { public class MangasPage {

View File

@ -1,6 +1,6 @@
package eu.kanade.mangafeed.data.source.model; package eu.kanade.tachiyomi.data.source.model;
import eu.kanade.mangafeed.data.network.ProgressListener; import eu.kanade.tachiyomi.data.network.ProgressListener;
import rx.subjects.PublishSubject; import rx.subjects.PublishSubject;
public class Page implements ProgressListener { public class Page implements ProgressListener {

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.data.source.online.english; package eu.kanade.tachiyomi.data.source.online.english;
import android.content.Context; import android.content.Context;
import android.net.Uri; import android.net.Uri;
@ -28,13 +28,13 @@ import java.util.Map;
import java.util.regex.Matcher; import java.util.regex.Matcher;
import java.util.regex.Pattern; import java.util.regex.Pattern;
import eu.kanade.mangafeed.data.database.models.Chapter; import eu.kanade.tachiyomi.data.database.models.Chapter;
import eu.kanade.mangafeed.data.database.models.Manga; import eu.kanade.tachiyomi.data.database.models.Manga;
import eu.kanade.mangafeed.data.source.SourceManager; import eu.kanade.tachiyomi.data.source.SourceManager;
import eu.kanade.mangafeed.data.source.base.LoginSource; import eu.kanade.tachiyomi.data.source.base.LoginSource;
import eu.kanade.mangafeed.data.source.model.MangasPage; import eu.kanade.tachiyomi.data.source.model.MangasPage;
import eu.kanade.mangafeed.data.source.model.Page; import eu.kanade.tachiyomi.data.source.model.Page;
import eu.kanade.mangafeed.util.Parser; import eu.kanade.tachiyomi.util.Parser;
import rx.Observable; import rx.Observable;
public class Batoto extends LoginSource { public class Batoto extends LoginSource {

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.data.source.online.english; package eu.kanade.tachiyomi.data.source.online.english;
import android.content.Context; import android.content.Context;
import android.net.Uri; import android.net.Uri;
@ -19,13 +19,13 @@ import java.util.Locale;
import java.util.regex.Matcher; import java.util.regex.Matcher;
import java.util.regex.Pattern; import java.util.regex.Pattern;
import eu.kanade.mangafeed.data.database.models.Chapter; import eu.kanade.tachiyomi.data.database.models.Chapter;
import eu.kanade.mangafeed.data.database.models.Manga; import eu.kanade.tachiyomi.data.database.models.Manga;
import eu.kanade.mangafeed.data.source.SourceManager; import eu.kanade.tachiyomi.data.source.SourceManager;
import eu.kanade.mangafeed.data.source.base.Source; import eu.kanade.tachiyomi.data.source.base.Source;
import eu.kanade.mangafeed.data.source.model.MangasPage; import eu.kanade.tachiyomi.data.source.model.MangasPage;
import eu.kanade.mangafeed.data.source.model.Page; import eu.kanade.tachiyomi.data.source.model.Page;
import eu.kanade.mangafeed.util.Parser; import eu.kanade.tachiyomi.util.Parser;
import rx.Observable; import rx.Observable;
public class Kissmanga extends Source { public class Kissmanga extends Source {

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.data.source.online.english; package eu.kanade.tachiyomi.data.source.online.english;
import android.content.Context; import android.content.Context;
import android.net.Uri; import android.net.Uri;
@ -16,12 +16,12 @@ import java.util.Date;
import java.util.List; import java.util.List;
import java.util.Locale; import java.util.Locale;
import eu.kanade.mangafeed.data.database.models.Chapter; import eu.kanade.tachiyomi.data.database.models.Chapter;
import eu.kanade.mangafeed.data.database.models.Manga; import eu.kanade.tachiyomi.data.database.models.Manga;
import eu.kanade.mangafeed.data.source.SourceManager; import eu.kanade.tachiyomi.data.source.SourceManager;
import eu.kanade.mangafeed.data.source.base.Source; import eu.kanade.tachiyomi.data.source.base.Source;
import eu.kanade.mangafeed.data.source.model.MangasPage; import eu.kanade.tachiyomi.data.source.model.MangasPage;
import eu.kanade.mangafeed.util.Parser; import eu.kanade.tachiyomi.util.Parser;
public class Mangafox extends Source { public class Mangafox extends Source {

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.data.source.online.english; package eu.kanade.tachiyomi.data.source.online.english;
import android.content.Context; import android.content.Context;
import android.net.Uri; import android.net.Uri;
@ -16,12 +16,12 @@ import java.util.Date;
import java.util.List; import java.util.List;
import java.util.Locale; import java.util.Locale;
import eu.kanade.mangafeed.data.database.models.Chapter; import eu.kanade.tachiyomi.data.database.models.Chapter;
import eu.kanade.mangafeed.data.database.models.Manga; import eu.kanade.tachiyomi.data.database.models.Manga;
import eu.kanade.mangafeed.data.source.SourceManager; import eu.kanade.tachiyomi.data.source.SourceManager;
import eu.kanade.mangafeed.data.source.base.Source; import eu.kanade.tachiyomi.data.source.base.Source;
import eu.kanade.mangafeed.data.source.model.MangasPage; import eu.kanade.tachiyomi.data.source.model.MangasPage;
import eu.kanade.mangafeed.util.Parser; import eu.kanade.tachiyomi.util.Parser;
public class Mangahere extends Source { public class Mangahere extends Source {

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.data.sync; package eu.kanade.tachiyomi.data.sync;
import android.app.AlarmManager; import android.app.AlarmManager;
import android.app.PendingIntent; import android.app.PendingIntent;
@ -7,7 +7,7 @@ import android.content.Context;
import android.content.Intent; import android.content.Intent;
import android.os.SystemClock; import android.os.SystemClock;
import eu.kanade.mangafeed.data.preference.PreferencesHelper; import eu.kanade.tachiyomi.data.preference.PreferencesHelper;
import timber.log.Timber; import timber.log.Timber;
public class LibraryUpdateAlarm extends BroadcastReceiver { public class LibraryUpdateAlarm extends BroadcastReceiver {

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.data.sync; package eu.kanade.tachiyomi.data.sync;
import android.app.NotificationManager; import android.app.NotificationManager;
import android.app.PendingIntent; import android.app.PendingIntent;
@ -17,16 +17,16 @@ import java.util.concurrent.atomic.AtomicInteger;
import javax.inject.Inject; import javax.inject.Inject;
import eu.kanade.mangafeed.App; import eu.kanade.tachiyomi.App;
import eu.kanade.mangafeed.BuildConfig; import eu.kanade.tachiyomi.BuildConfig;
import eu.kanade.mangafeed.R; import eu.kanade.tachiyomi.R;
import eu.kanade.mangafeed.data.database.DatabaseHelper; import eu.kanade.tachiyomi.data.database.DatabaseHelper;
import eu.kanade.mangafeed.data.database.models.Manga; import eu.kanade.tachiyomi.data.database.models.Manga;
import eu.kanade.mangafeed.data.preference.PreferencesHelper; import eu.kanade.tachiyomi.data.preference.PreferencesHelper;
import eu.kanade.mangafeed.data.source.SourceManager; import eu.kanade.tachiyomi.data.source.SourceManager;
import eu.kanade.mangafeed.ui.main.MainActivity; import eu.kanade.tachiyomi.ui.main.MainActivity;
import eu.kanade.mangafeed.util.AndroidComponentUtil; import eu.kanade.tachiyomi.util.AndroidComponentUtil;
import eu.kanade.mangafeed.util.NetworkUtil; import eu.kanade.tachiyomi.util.NetworkUtil;
import rx.Observable; import rx.Observable;
import rx.Subscription; import rx.Subscription;
import rx.schedulers.Schedulers; import rx.schedulers.Schedulers;

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.data.sync; package eu.kanade.tachiyomi.data.sync;
import android.app.Service; import android.app.Service;
import android.content.Context; import android.content.Context;
@ -7,11 +7,11 @@ import android.os.IBinder;
import javax.inject.Inject; import javax.inject.Inject;
import eu.kanade.mangafeed.App; import eu.kanade.tachiyomi.App;
import eu.kanade.mangafeed.data.database.DatabaseHelper; import eu.kanade.tachiyomi.data.database.DatabaseHelper;
import eu.kanade.mangafeed.data.database.models.MangaSync; import eu.kanade.tachiyomi.data.database.models.MangaSync;
import eu.kanade.mangafeed.data.mangasync.MangaSyncManager; import eu.kanade.tachiyomi.data.mangasync.MangaSyncManager;
import eu.kanade.mangafeed.data.mangasync.base.MangaSyncService; import eu.kanade.tachiyomi.data.mangasync.base.MangaSyncService;
import rx.Observable; import rx.Observable;
import rx.android.schedulers.AndroidSchedulers; import rx.android.schedulers.AndroidSchedulers;
import rx.schedulers.Schedulers; import rx.schedulers.Schedulers;

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.event; package eu.kanade.tachiyomi.event;
public class ChapterCountEvent { public class ChapterCountEvent {
private int count; private int count;

View File

@ -1,9 +1,9 @@
package eu.kanade.mangafeed.event; package eu.kanade.tachiyomi.event;
import java.util.List; import java.util.List;
import eu.kanade.mangafeed.data.database.models.Chapter; import eu.kanade.tachiyomi.data.database.models.Chapter;
import eu.kanade.mangafeed.data.database.models.Manga; import eu.kanade.tachiyomi.data.database.models.Manga;
public class DownloadChaptersEvent { public class DownloadChaptersEvent {
private Manga manga; private Manga manga;

View File

@ -1,12 +1,12 @@
package eu.kanade.mangafeed.event; package eu.kanade.tachiyomi.event;
import android.support.annotation.Nullable; import android.support.annotation.Nullable;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import eu.kanade.mangafeed.data.database.models.Category; import eu.kanade.tachiyomi.data.database.models.Category;
import eu.kanade.mangafeed.data.database.models.Manga; import eu.kanade.tachiyomi.data.database.models.Manga;
public class LibraryMangasEvent { public class LibraryMangasEvent {

View File

@ -1,8 +1,8 @@
package eu.kanade.mangafeed.event; package eu.kanade.tachiyomi.event;
import eu.kanade.mangafeed.data.database.models.Chapter; import eu.kanade.tachiyomi.data.database.models.Chapter;
import eu.kanade.mangafeed.data.database.models.Manga; import eu.kanade.tachiyomi.data.database.models.Manga;
import eu.kanade.mangafeed.data.source.base.Source; import eu.kanade.tachiyomi.data.source.base.Source;
public class ReaderEvent { public class ReaderEvent {

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.injection; package eu.kanade.tachiyomi.injection;
import java.lang.reflect.Method; import java.lang.reflect.Method;
import java.util.HashMap; import java.util.HashMap;

View File

@ -1,30 +1,30 @@
package eu.kanade.mangafeed.injection.component; package eu.kanade.tachiyomi.injection.component;
import android.app.Application; import android.app.Application;
import javax.inject.Singleton; import javax.inject.Singleton;
import dagger.Component; import dagger.Component;
import eu.kanade.mangafeed.data.download.DownloadService; import eu.kanade.tachiyomi.data.download.DownloadService;
import eu.kanade.mangafeed.data.mangasync.services.MyAnimeList; import eu.kanade.tachiyomi.data.mangasync.services.MyAnimeList;
import eu.kanade.mangafeed.data.source.base.Source; import eu.kanade.tachiyomi.data.source.base.Source;
import eu.kanade.mangafeed.data.sync.LibraryUpdateService; import eu.kanade.tachiyomi.data.sync.LibraryUpdateService;
import eu.kanade.mangafeed.data.sync.UpdateMangaSyncService; import eu.kanade.tachiyomi.data.sync.UpdateMangaSyncService;
import eu.kanade.mangafeed.injection.module.AppModule; import eu.kanade.tachiyomi.injection.module.AppModule;
import eu.kanade.mangafeed.injection.module.DataModule; import eu.kanade.tachiyomi.injection.module.DataModule;
import eu.kanade.mangafeed.ui.catalogue.CataloguePresenter; import eu.kanade.tachiyomi.ui.catalogue.CataloguePresenter;
import eu.kanade.mangafeed.ui.download.DownloadPresenter; import eu.kanade.tachiyomi.ui.download.DownloadPresenter;
import eu.kanade.mangafeed.ui.library.category.CategoryPresenter; import eu.kanade.tachiyomi.ui.library.category.CategoryPresenter;
import eu.kanade.mangafeed.ui.library.LibraryPresenter; import eu.kanade.tachiyomi.ui.library.LibraryPresenter;
import eu.kanade.mangafeed.ui.manga.MangaActivity; import eu.kanade.tachiyomi.ui.manga.MangaActivity;
import eu.kanade.mangafeed.ui.manga.MangaPresenter; import eu.kanade.tachiyomi.ui.manga.MangaPresenter;
import eu.kanade.mangafeed.ui.manga.chapter.ChaptersPresenter; import eu.kanade.tachiyomi.ui.manga.chapter.ChaptersPresenter;
import eu.kanade.mangafeed.ui.manga.info.MangaInfoPresenter; import eu.kanade.tachiyomi.ui.manga.info.MangaInfoPresenter;
import eu.kanade.mangafeed.ui.manga.myanimelist.MyAnimeListPresenter; import eu.kanade.tachiyomi.ui.manga.myanimelist.MyAnimeListPresenter;
import eu.kanade.mangafeed.ui.reader.ReaderActivity; import eu.kanade.tachiyomi.ui.reader.ReaderActivity;
import eu.kanade.mangafeed.ui.reader.ReaderPresenter; import eu.kanade.tachiyomi.ui.reader.ReaderPresenter;
import eu.kanade.mangafeed.ui.setting.SettingsAccountsFragment; import eu.kanade.tachiyomi.ui.setting.SettingsAccountsFragment;
import eu.kanade.mangafeed.ui.setting.SettingsActivity; import eu.kanade.tachiyomi.ui.setting.SettingsActivity;
@Singleton @Singleton
@Component( @Component(

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.injection.module; package eu.kanade.tachiyomi.injection.module;
import android.app.Application; import android.app.Application;

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.injection.module; package eu.kanade.tachiyomi.injection.module;
import android.app.Application; import android.app.Application;
@ -6,14 +6,14 @@ import javax.inject.Singleton;
import dagger.Module; import dagger.Module;
import dagger.Provides; import dagger.Provides;
import eu.kanade.mangafeed.data.cache.ChapterCache; import eu.kanade.tachiyomi.data.cache.ChapterCache;
import eu.kanade.mangafeed.data.cache.CoverCache; import eu.kanade.tachiyomi.data.cache.CoverCache;
import eu.kanade.mangafeed.data.mangasync.MangaSyncManager; import eu.kanade.tachiyomi.data.mangasync.MangaSyncManager;
import eu.kanade.mangafeed.data.database.DatabaseHelper; import eu.kanade.tachiyomi.data.database.DatabaseHelper;
import eu.kanade.mangafeed.data.download.DownloadManager; import eu.kanade.tachiyomi.data.download.DownloadManager;
import eu.kanade.mangafeed.data.network.NetworkHelper; import eu.kanade.tachiyomi.data.network.NetworkHelper;
import eu.kanade.mangafeed.data.preference.PreferencesHelper; import eu.kanade.tachiyomi.data.preference.PreferencesHelper;
import eu.kanade.mangafeed.data.source.SourceManager; import eu.kanade.tachiyomi.data.source.SourceManager;
/** /**
* Provide dependencies to the DataManager, mainly Helper classes and Retrofit services. * Provide dependencies to the DataManager, mainly Helper classes and Retrofit services.

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.ui.base.activity; package eu.kanade.tachiyomi.ui.base.activity;
import android.os.Bundle; import android.os.Bundle;
import android.support.v7.app.AppCompatActivity; import android.support.v7.app.AppCompatActivity;

View File

@ -1,10 +1,10 @@
package eu.kanade.mangafeed.ui.base.activity; package eu.kanade.tachiyomi.ui.base.activity;
import android.os.Bundle; import android.os.Bundle;
import android.support.annotation.NonNull; import android.support.annotation.NonNull;
import eu.kanade.mangafeed.App; import eu.kanade.tachiyomi.App;
import eu.kanade.mangafeed.ui.base.presenter.BasePresenter; import eu.kanade.tachiyomi.ui.base.presenter.BasePresenter;
import nucleus.factory.PresenterFactory; import nucleus.factory.PresenterFactory;
import nucleus.factory.ReflectionPresenterFactory; import nucleus.factory.ReflectionPresenterFactory;
import nucleus.presenter.Presenter; import nucleus.presenter.Presenter;

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.ui.base.adapter; package eu.kanade.tachiyomi.ui.base.adapter;
import android.support.v7.widget.RecyclerView; import android.support.v7.widget.RecyclerView;
import android.view.View; import android.view.View;

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package eu.kanade.mangafeed.ui.base.adapter; package eu.kanade.tachiyomi.ui.base.adapter;
import android.support.v7.widget.RecyclerView; import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.helper.ItemTouchHelper; import android.support.v7.widget.helper.ItemTouchHelper;

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.ui.base.adapter; package eu.kanade.tachiyomi.ui.base.adapter;
import android.support.v7.widget.RecyclerView; import android.support.v7.widget.RecyclerView;

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.ui.base.adapter; package eu.kanade.tachiyomi.ui.base.adapter;
import android.support.v7.widget.RecyclerView; import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.helper.ItemTouchHelper; import android.support.v7.widget.helper.ItemTouchHelper;

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.ui.base.adapter; package eu.kanade.tachiyomi.ui.base.adapter;
import android.support.v4.app.Fragment; import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentManager;

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package eu.kanade.mangafeed.ui.base.fab; package eu.kanade.tachiyomi.ui.base.fab;
import android.content.Context; import android.content.Context;
import android.support.design.widget.CoordinatorLayout; import android.support.design.widget.CoordinatorLayout;

View File

@ -1,10 +1,10 @@
package eu.kanade.mangafeed.ui.base.fragment; package eu.kanade.tachiyomi.ui.base.fragment;
import android.os.Bundle; import android.os.Bundle;
import android.support.v4.app.Fragment; import android.support.v4.app.Fragment;
import de.greenrobot.event.EventBus; import de.greenrobot.event.EventBus;
import eu.kanade.mangafeed.ui.base.activity.BaseActivity; import eu.kanade.tachiyomi.ui.base.activity.BaseActivity;
import icepick.Icepick; import icepick.Icepick;
public class BaseFragment extends Fragment { public class BaseFragment extends Fragment {

View File

@ -1,9 +1,9 @@
package eu.kanade.mangafeed.ui.base.fragment; package eu.kanade.tachiyomi.ui.base.fragment;
import android.os.Bundle; import android.os.Bundle;
import eu.kanade.mangafeed.App; import eu.kanade.tachiyomi.App;
import eu.kanade.mangafeed.ui.base.presenter.BasePresenter; import eu.kanade.tachiyomi.ui.base.presenter.BasePresenter;
import nucleus.factory.PresenterFactory; import nucleus.factory.PresenterFactory;
import nucleus.factory.ReflectionPresenterFactory; import nucleus.factory.ReflectionPresenterFactory;
import nucleus.presenter.Presenter; import nucleus.presenter.Presenter;

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.ui.base.presenter; package eu.kanade.tachiyomi.ui.base.presenter;
import android.content.Context; import android.content.Context;
import android.os.Bundle; import android.os.Bundle;

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.ui.base.presenter; package eu.kanade.tachiyomi.ui.base.presenter;
import android.os.Bundle; import android.os.Bundle;
import android.support.annotation.CallSuper; import android.support.annotation.CallSuper;

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.ui.catalogue; package eu.kanade.tachiyomi.ui.catalogue;
import android.view.LayoutInflater; import android.view.LayoutInflater;
import android.view.View; import android.view.View;
@ -8,8 +8,8 @@ import java.util.ArrayList;
import java.util.List; import java.util.List;
import eu.davidea.flexibleadapter.FlexibleAdapter; import eu.davidea.flexibleadapter.FlexibleAdapter;
import eu.kanade.mangafeed.R; import eu.kanade.tachiyomi.R;
import eu.kanade.mangafeed.data.database.models.Manga; import eu.kanade.tachiyomi.data.database.models.Manga;
public class CatalogueAdapter extends FlexibleAdapter<CatalogueHolder, Manga> { public class CatalogueAdapter extends FlexibleAdapter<CatalogueHolder, Manga> {

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.ui.catalogue; package eu.kanade.tachiyomi.ui.catalogue;
import android.content.Context; import android.content.Context;
import android.content.Intent; import android.content.Intent;
@ -23,16 +23,16 @@ import java.util.concurrent.TimeUnit;
import butterknife.Bind; import butterknife.Bind;
import butterknife.ButterKnife; import butterknife.ButterKnife;
import eu.kanade.mangafeed.R; import eu.kanade.tachiyomi.R;
import eu.kanade.mangafeed.data.database.models.Manga; import eu.kanade.tachiyomi.data.database.models.Manga;
import eu.kanade.mangafeed.data.source.base.Source; import eu.kanade.tachiyomi.data.source.base.Source;
import eu.kanade.mangafeed.ui.base.adapter.FlexibleViewHolder; import eu.kanade.tachiyomi.ui.base.adapter.FlexibleViewHolder;
import eu.kanade.mangafeed.ui.base.fragment.BaseRxFragment; import eu.kanade.tachiyomi.ui.base.fragment.BaseRxFragment;
import eu.kanade.mangafeed.ui.main.MainActivity; import eu.kanade.tachiyomi.ui.main.MainActivity;
import eu.kanade.mangafeed.ui.manga.MangaActivity; import eu.kanade.tachiyomi.ui.manga.MangaActivity;
import eu.kanade.mangafeed.util.ToastUtil; import eu.kanade.tachiyomi.util.ToastUtil;
import eu.kanade.mangafeed.widget.AutofitRecyclerView; import eu.kanade.tachiyomi.widget.AutofitRecyclerView;
import eu.kanade.mangafeed.widget.EndlessRecyclerScrollListener; import eu.kanade.tachiyomi.widget.EndlessRecyclerScrollListener;
import icepick.State; import icepick.State;
import nucleus.factory.RequiresPresenter; import nucleus.factory.RequiresPresenter;
import rx.Subscription; import rx.Subscription;

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.ui.catalogue; package eu.kanade.tachiyomi.ui.catalogue;
import android.view.View; import android.view.View;
import android.widget.ImageView; import android.widget.ImageView;
@ -6,9 +6,9 @@ import android.widget.TextView;
import butterknife.Bind; import butterknife.Bind;
import butterknife.ButterKnife; import butterknife.ButterKnife;
import eu.kanade.mangafeed.R; import eu.kanade.tachiyomi.R;
import eu.kanade.mangafeed.data.database.models.Manga; import eu.kanade.tachiyomi.data.database.models.Manga;
import eu.kanade.mangafeed.ui.base.adapter.FlexibleViewHolder; import eu.kanade.tachiyomi.ui.base.adapter.FlexibleViewHolder;
public class CatalogueHolder extends FlexibleViewHolder { public class CatalogueHolder extends FlexibleViewHolder {

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.ui.catalogue; package eu.kanade.tachiyomi.ui.catalogue;
import android.os.Bundle; import android.os.Bundle;
import android.text.TextUtils; import android.text.TextUtils;
@ -10,15 +10,15 @@ import java.util.List;
import javax.inject.Inject; import javax.inject.Inject;
import eu.kanade.mangafeed.data.cache.CoverCache; import eu.kanade.tachiyomi.data.cache.CoverCache;
import eu.kanade.mangafeed.data.database.DatabaseHelper; import eu.kanade.tachiyomi.data.database.DatabaseHelper;
import eu.kanade.mangafeed.data.database.models.Manga; import eu.kanade.tachiyomi.data.database.models.Manga;
import eu.kanade.mangafeed.data.preference.PreferencesHelper; import eu.kanade.tachiyomi.data.preference.PreferencesHelper;
import eu.kanade.mangafeed.data.source.SourceManager; import eu.kanade.tachiyomi.data.source.SourceManager;
import eu.kanade.mangafeed.data.source.base.Source; import eu.kanade.tachiyomi.data.source.base.Source;
import eu.kanade.mangafeed.data.source.model.MangasPage; import eu.kanade.tachiyomi.data.source.model.MangasPage;
import eu.kanade.mangafeed.ui.base.presenter.BasePresenter; import eu.kanade.tachiyomi.ui.base.presenter.BasePresenter;
import eu.kanade.mangafeed.util.RxPager; import eu.kanade.tachiyomi.util.RxPager;
import icepick.State; import icepick.State;
import rx.Observable; import rx.Observable;
import rx.android.schedulers.AndroidSchedulers; import rx.android.schedulers.AndroidSchedulers;

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.ui.catalogue; package eu.kanade.tachiyomi.ui.catalogue;
import android.content.Context; import android.content.Context;
import android.view.View; import android.view.View;
@ -10,11 +10,11 @@ import org.jsoup.nodes.Document;
import java.util.List; import java.util.List;
import eu.kanade.mangafeed.R; import eu.kanade.tachiyomi.R;
import eu.kanade.mangafeed.data.database.models.Chapter; import eu.kanade.tachiyomi.data.database.models.Chapter;
import eu.kanade.mangafeed.data.database.models.Manga; import eu.kanade.tachiyomi.data.database.models.Manga;
import eu.kanade.mangafeed.data.source.base.Source; import eu.kanade.tachiyomi.data.source.base.Source;
import eu.kanade.mangafeed.data.source.model.MangasPage; import eu.kanade.tachiyomi.data.source.model.MangasPage;
public class CatalogueSpinnerAdapter extends ArrayAdapter<Source> { public class CatalogueSpinnerAdapter extends ArrayAdapter<Source> {

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.ui.decoration; package eu.kanade.tachiyomi.ui.decoration;
import android.content.Context; import android.content.Context;
import android.content.res.TypedArray; import android.content.res.TypedArray;

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.ui.download; package eu.kanade.tachiyomi.ui.download;
import android.content.Context; import android.content.Context;
import android.view.LayoutInflater; import android.view.LayoutInflater;
@ -9,8 +9,8 @@ import java.util.ArrayList;
import java.util.List; import java.util.List;
import eu.davidea.flexibleadapter.FlexibleAdapter; import eu.davidea.flexibleadapter.FlexibleAdapter;
import eu.kanade.mangafeed.R; import eu.kanade.tachiyomi.R;
import eu.kanade.mangafeed.data.download.model.Download; import eu.kanade.tachiyomi.data.download.model.Download;
public class DownloadAdapter extends FlexibleAdapter<DownloadHolder, Download> { public class DownloadAdapter extends FlexibleAdapter<DownloadHolder, Download> {

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.ui.download; package eu.kanade.tachiyomi.ui.download;
import android.os.Bundle; import android.os.Bundle;
import android.support.annotation.Nullable; import android.support.annotation.Nullable;
@ -15,10 +15,10 @@ import java.util.List;
import butterknife.Bind; import butterknife.Bind;
import butterknife.ButterKnife; import butterknife.ButterKnife;
import eu.kanade.mangafeed.R; import eu.kanade.tachiyomi.R;
import eu.kanade.mangafeed.data.download.DownloadService; import eu.kanade.tachiyomi.data.download.DownloadService;
import eu.kanade.mangafeed.data.download.model.Download; import eu.kanade.tachiyomi.data.download.model.Download;
import eu.kanade.mangafeed.ui.base.fragment.BaseRxFragment; import eu.kanade.tachiyomi.ui.base.fragment.BaseRxFragment;
import nucleus.factory.RequiresPresenter; import nucleus.factory.RequiresPresenter;
import rx.Subscription; import rx.Subscription;

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.ui.download; package eu.kanade.tachiyomi.ui.download;
import android.support.v7.widget.RecyclerView; import android.support.v7.widget.RecyclerView;
import android.view.View; import android.view.View;
@ -7,8 +7,8 @@ import android.widget.TextView;
import butterknife.Bind; import butterknife.Bind;
import butterknife.ButterKnife; import butterknife.ButterKnife;
import eu.kanade.mangafeed.R; import eu.kanade.tachiyomi.R;
import eu.kanade.mangafeed.data.download.model.Download; import eu.kanade.tachiyomi.data.download.model.Download;
public class DownloadHolder extends RecyclerView.ViewHolder { public class DownloadHolder extends RecyclerView.ViewHolder {

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.ui.download; package eu.kanade.tachiyomi.ui.download;
import android.os.Bundle; import android.os.Bundle;
@ -7,11 +7,11 @@ import java.util.concurrent.TimeUnit;
import javax.inject.Inject; import javax.inject.Inject;
import eu.kanade.mangafeed.data.download.DownloadManager; import eu.kanade.tachiyomi.data.download.DownloadManager;
import eu.kanade.mangafeed.data.download.model.Download; import eu.kanade.tachiyomi.data.download.model.Download;
import eu.kanade.mangafeed.data.download.model.DownloadQueue; import eu.kanade.tachiyomi.data.download.model.DownloadQueue;
import eu.kanade.mangafeed.data.source.model.Page; import eu.kanade.tachiyomi.data.source.model.Page;
import eu.kanade.mangafeed.ui.base.presenter.BasePresenter; import eu.kanade.tachiyomi.ui.base.presenter.BasePresenter;
import rx.Observable; import rx.Observable;
import rx.Subscription; import rx.Subscription;
import rx.android.schedulers.AndroidSchedulers; import rx.android.schedulers.AndroidSchedulers;

View File

@ -1,12 +1,12 @@
package eu.kanade.mangafeed.ui.library; package eu.kanade.tachiyomi.ui.library;
import android.support.v4.app.Fragment; import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentManager;
import java.util.List; import java.util.List;
import eu.kanade.mangafeed.data.database.models.Category; import eu.kanade.tachiyomi.data.database.models.Category;
import eu.kanade.mangafeed.ui.base.adapter.SmartFragmentStatePagerAdapter; import eu.kanade.tachiyomi.ui.base.adapter.SmartFragmentStatePagerAdapter;
public class LibraryAdapter extends SmartFragmentStatePagerAdapter { public class LibraryAdapter extends SmartFragmentStatePagerAdapter {

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.ui.library; package eu.kanade.tachiyomi.ui.library;
import android.view.LayoutInflater; import android.view.LayoutInflater;
import android.view.View; import android.view.View;
@ -10,8 +10,8 @@ import java.util.ArrayList;
import java.util.List; import java.util.List;
import eu.davidea.flexibleadapter.FlexibleAdapter; import eu.davidea.flexibleadapter.FlexibleAdapter;
import eu.kanade.mangafeed.R; import eu.kanade.tachiyomi.R;
import eu.kanade.mangafeed.data.database.models.Manga; import eu.kanade.tachiyomi.data.database.models.Manga;
import rx.Observable; import rx.Observable;
public class LibraryCategoryAdapter extends FlexibleAdapter<LibraryHolder, Manga> public class LibraryCategoryAdapter extends FlexibleAdapter<LibraryHolder, Manga>

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.ui.library; package eu.kanade.tachiyomi.ui.library;
import android.content.Intent; import android.content.Intent;
import android.content.res.Configuration; import android.content.res.Configuration;
@ -15,15 +15,15 @@ import java.util.List;
import butterknife.Bind; import butterknife.Bind;
import butterknife.ButterKnife; import butterknife.ButterKnife;
import eu.davidea.flexibleadapter.FlexibleAdapter; import eu.davidea.flexibleadapter.FlexibleAdapter;
import eu.kanade.mangafeed.R; import eu.kanade.tachiyomi.R;
import eu.kanade.mangafeed.data.database.models.Category; import eu.kanade.tachiyomi.data.database.models.Category;
import eu.kanade.mangafeed.data.database.models.Manga; import eu.kanade.tachiyomi.data.database.models.Manga;
import eu.kanade.mangafeed.event.LibraryMangasEvent; import eu.kanade.tachiyomi.event.LibraryMangasEvent;
import eu.kanade.mangafeed.ui.base.adapter.FlexibleViewHolder; import eu.kanade.tachiyomi.ui.base.adapter.FlexibleViewHolder;
import eu.kanade.mangafeed.ui.base.fragment.BaseFragment; import eu.kanade.tachiyomi.ui.base.fragment.BaseFragment;
import eu.kanade.mangafeed.ui.manga.MangaActivity; import eu.kanade.tachiyomi.ui.manga.MangaActivity;
import eu.kanade.mangafeed.util.EventBusHook; import eu.kanade.tachiyomi.util.EventBusHook;
import eu.kanade.mangafeed.widget.AutofitRecyclerView; import eu.kanade.tachiyomi.widget.AutofitRecyclerView;
import icepick.State; import icepick.State;
import rx.Subscription; import rx.Subscription;

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.ui.library; package eu.kanade.tachiyomi.ui.library;
import android.content.Intent; import android.content.Intent;
import android.os.Bundle; import android.os.Bundle;
@ -24,14 +24,14 @@ import butterknife.Bind;
import butterknife.ButterKnife; import butterknife.ButterKnife;
import de.greenrobot.event.EventBus; import de.greenrobot.event.EventBus;
import eu.davidea.flexibleadapter.FlexibleAdapter; import eu.davidea.flexibleadapter.FlexibleAdapter;
import eu.kanade.mangafeed.R; import eu.kanade.tachiyomi.R;
import eu.kanade.mangafeed.data.database.models.Category; import eu.kanade.tachiyomi.data.database.models.Category;
import eu.kanade.mangafeed.data.database.models.Manga; import eu.kanade.tachiyomi.data.database.models.Manga;
import eu.kanade.mangafeed.data.sync.LibraryUpdateService; import eu.kanade.tachiyomi.data.sync.LibraryUpdateService;
import eu.kanade.mangafeed.event.LibraryMangasEvent; import eu.kanade.tachiyomi.event.LibraryMangasEvent;
import eu.kanade.mangafeed.ui.base.fragment.BaseRxFragment; import eu.kanade.tachiyomi.ui.base.fragment.BaseRxFragment;
import eu.kanade.mangafeed.ui.library.category.CategoryActivity; import eu.kanade.tachiyomi.ui.library.category.CategoryActivity;
import eu.kanade.mangafeed.ui.main.MainActivity; import eu.kanade.tachiyomi.ui.main.MainActivity;
import icepick.State; import icepick.State;
import nucleus.factory.RequiresPresenter; import nucleus.factory.RequiresPresenter;

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.ui.library; package eu.kanade.tachiyomi.ui.library;
import android.view.View; import android.view.View;
import android.widget.ImageView; import android.widget.ImageView;
@ -6,11 +6,11 @@ import android.widget.TextView;
import butterknife.Bind; import butterknife.Bind;
import butterknife.ButterKnife; import butterknife.ButterKnife;
import eu.kanade.mangafeed.R; import eu.kanade.tachiyomi.R;
import eu.kanade.mangafeed.data.cache.CoverCache; import eu.kanade.tachiyomi.data.cache.CoverCache;
import eu.kanade.mangafeed.data.database.models.Manga; import eu.kanade.tachiyomi.data.database.models.Manga;
import eu.kanade.mangafeed.data.source.base.Source; import eu.kanade.tachiyomi.data.source.base.Source;
import eu.kanade.mangafeed.ui.base.adapter.FlexibleViewHolder; import eu.kanade.tachiyomi.ui.base.adapter.FlexibleViewHolder;
import static android.view.ViewGroup.LayoutParams.MATCH_PARENT; import static android.view.ViewGroup.LayoutParams.MATCH_PARENT;
import static android.widget.RelativeLayout.LayoutParams; import static android.widget.RelativeLayout.LayoutParams;

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.ui.library; package eu.kanade.tachiyomi.ui.library;
import android.os.Bundle; import android.os.Bundle;
import android.util.Pair; import android.util.Pair;
@ -10,15 +10,15 @@ import java.util.Map;
import javax.inject.Inject; import javax.inject.Inject;
import de.greenrobot.event.EventBus; import de.greenrobot.event.EventBus;
import eu.kanade.mangafeed.data.cache.CoverCache; import eu.kanade.tachiyomi.data.cache.CoverCache;
import eu.kanade.mangafeed.data.database.DatabaseHelper; import eu.kanade.tachiyomi.data.database.DatabaseHelper;
import eu.kanade.mangafeed.data.database.models.Category; import eu.kanade.tachiyomi.data.database.models.Category;
import eu.kanade.mangafeed.data.database.models.Manga; import eu.kanade.tachiyomi.data.database.models.Manga;
import eu.kanade.mangafeed.data.database.models.MangaCategory; import eu.kanade.tachiyomi.data.database.models.MangaCategory;
import eu.kanade.mangafeed.data.preference.PreferencesHelper; import eu.kanade.tachiyomi.data.preference.PreferencesHelper;
import eu.kanade.mangafeed.data.source.SourceManager; import eu.kanade.tachiyomi.data.source.SourceManager;
import eu.kanade.mangafeed.event.LibraryMangasEvent; import eu.kanade.tachiyomi.event.LibraryMangasEvent;
import eu.kanade.mangafeed.ui.base.presenter.BasePresenter; import eu.kanade.tachiyomi.ui.base.presenter.BasePresenter;
import rx.Observable; import rx.Observable;
import rx.android.schedulers.AndroidSchedulers; import rx.android.schedulers.AndroidSchedulers;

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.ui.library.category; package eu.kanade.tachiyomi.ui.library.category;
import android.content.Context; import android.content.Context;
import android.content.Intent; import android.content.Intent;
@ -19,13 +19,13 @@ import java.util.List;
import butterknife.Bind; import butterknife.Bind;
import butterknife.ButterKnife; import butterknife.ButterKnife;
import eu.kanade.mangafeed.R; import eu.kanade.tachiyomi.R;
import eu.kanade.mangafeed.data.database.models.Category; import eu.kanade.tachiyomi.data.database.models.Category;
import eu.kanade.mangafeed.ui.base.activity.BaseRxActivity; import eu.kanade.tachiyomi.ui.base.activity.BaseRxActivity;
import eu.kanade.mangafeed.ui.base.adapter.FlexibleViewHolder; import eu.kanade.tachiyomi.ui.base.adapter.FlexibleViewHolder;
import eu.kanade.mangafeed.ui.base.adapter.OnStartDragListener; import eu.kanade.tachiyomi.ui.base.adapter.OnStartDragListener;
import eu.kanade.mangafeed.ui.decoration.DividerItemDecoration; import eu.kanade.tachiyomi.ui.decoration.DividerItemDecoration;
import eu.kanade.mangafeed.ui.library.LibraryCategoryAdapter; import eu.kanade.tachiyomi.ui.library.LibraryCategoryAdapter;
import nucleus.factory.RequiresPresenter; import nucleus.factory.RequiresPresenter;
import rx.Observable; import rx.Observable;

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.ui.library.category; package eu.kanade.tachiyomi.ui.library.category;
import android.view.LayoutInflater; import android.view.LayoutInflater;
import android.view.View; import android.view.View;
@ -11,9 +11,9 @@ import java.util.Collections;
import java.util.List; import java.util.List;
import eu.davidea.flexibleadapter.FlexibleAdapter; import eu.davidea.flexibleadapter.FlexibleAdapter;
import eu.kanade.mangafeed.R; import eu.kanade.tachiyomi.R;
import eu.kanade.mangafeed.data.database.models.Category; import eu.kanade.tachiyomi.data.database.models.Category;
import eu.kanade.mangafeed.ui.base.adapter.ItemTouchHelperAdapter; import eu.kanade.tachiyomi.ui.base.adapter.ItemTouchHelperAdapter;
public class CategoryAdapter extends FlexibleAdapter<CategoryHolder, Category> implements public class CategoryAdapter extends FlexibleAdapter<CategoryHolder, Category> implements
ItemTouchHelperAdapter { ItemTouchHelperAdapter {

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.ui.library.category; package eu.kanade.tachiyomi.ui.library.category;
import android.support.v4.view.MotionEventCompat; import android.support.v4.view.MotionEventCompat;
import android.view.MotionEvent; import android.view.MotionEvent;
@ -12,10 +12,10 @@ import com.amulyakhare.textdrawable.util.ColorGenerator;
import butterknife.Bind; import butterknife.Bind;
import butterknife.ButterKnife; import butterknife.ButterKnife;
import butterknife.OnClick; import butterknife.OnClick;
import eu.kanade.mangafeed.R; import eu.kanade.tachiyomi.R;
import eu.kanade.mangafeed.data.database.models.Category; import eu.kanade.tachiyomi.data.database.models.Category;
import eu.kanade.mangafeed.ui.base.adapter.FlexibleViewHolder; import eu.kanade.tachiyomi.ui.base.adapter.FlexibleViewHolder;
import eu.kanade.mangafeed.ui.base.adapter.OnStartDragListener; import eu.kanade.tachiyomi.ui.base.adapter.OnStartDragListener;
public class CategoryHolder extends FlexibleViewHolder { public class CategoryHolder extends FlexibleViewHolder {

View File

@ -1,7 +1,7 @@
package eu.kanade.mangafeed.ui.library.category; package eu.kanade.tachiyomi.ui.library.category;
import eu.kanade.mangafeed.ui.base.adapter.ItemTouchHelperAdapter; import eu.kanade.tachiyomi.ui.base.adapter.ItemTouchHelperAdapter;
import eu.kanade.mangafeed.ui.base.adapter.SimpleItemTouchHelperCallback; import eu.kanade.tachiyomi.ui.base.adapter.SimpleItemTouchHelperCallback;
public class CategoryItemTouchHelper extends SimpleItemTouchHelperCallback { public class CategoryItemTouchHelper extends SimpleItemTouchHelperCallback {

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.ui.library.category; package eu.kanade.tachiyomi.ui.library.category;
import android.os.Bundle; import android.os.Bundle;
@ -6,9 +6,9 @@ import java.util.List;
import javax.inject.Inject; import javax.inject.Inject;
import eu.kanade.mangafeed.data.database.DatabaseHelper; import eu.kanade.tachiyomi.data.database.DatabaseHelper;
import eu.kanade.mangafeed.data.database.models.Category; import eu.kanade.tachiyomi.data.database.models.Category;
import eu.kanade.mangafeed.ui.base.presenter.BasePresenter; import eu.kanade.tachiyomi.ui.base.presenter.BasePresenter;
import rx.android.schedulers.AndroidSchedulers; import rx.android.schedulers.AndroidSchedulers;
public class CategoryPresenter extends BasePresenter<CategoryActivity> { public class CategoryPresenter extends BasePresenter<CategoryActivity> {

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.ui.main; package eu.kanade.tachiyomi.ui.main;
import android.app.Activity; import android.app.Activity;
import android.support.annotation.Nullable; import android.support.annotation.Nullable;
@ -8,7 +8,7 @@ import android.support.v4.app.FragmentManager;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import eu.kanade.mangafeed.R; import eu.kanade.tachiyomi.R;
/** /**
* Why this class is needed. * Why this class is needed.

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.ui.main; package eu.kanade.tachiyomi.ui.main;
import android.content.Intent; import android.content.Intent;
import android.os.Bundle; import android.os.Bundle;
@ -14,12 +14,12 @@ import com.mikepenz.materialdrawer.model.PrimaryDrawerItem;
import butterknife.Bind; import butterknife.Bind;
import butterknife.ButterKnife; import butterknife.ButterKnife;
import eu.kanade.mangafeed.R; import eu.kanade.tachiyomi.R;
import eu.kanade.mangafeed.ui.base.activity.BaseActivity; import eu.kanade.tachiyomi.ui.base.activity.BaseActivity;
import eu.kanade.mangafeed.ui.catalogue.CatalogueFragment; import eu.kanade.tachiyomi.ui.catalogue.CatalogueFragment;
import eu.kanade.mangafeed.ui.download.DownloadFragment; import eu.kanade.tachiyomi.ui.download.DownloadFragment;
import eu.kanade.mangafeed.ui.library.LibraryFragment; import eu.kanade.tachiyomi.ui.library.LibraryFragment;
import eu.kanade.mangafeed.ui.setting.SettingsActivity; import eu.kanade.tachiyomi.ui.setting.SettingsActivity;
import icepick.State; import icepick.State;
import nucleus.view.ViewWithPresenter; import nucleus.view.ViewWithPresenter;

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.ui.manga; package eu.kanade.tachiyomi.ui.manga;
import android.content.Context; import android.content.Context;
import android.content.Intent; import android.content.Intent;
@ -14,15 +14,15 @@ import javax.inject.Inject;
import butterknife.Bind; import butterknife.Bind;
import butterknife.ButterKnife; import butterknife.ButterKnife;
import eu.kanade.mangafeed.App; import eu.kanade.tachiyomi.App;
import eu.kanade.mangafeed.R; import eu.kanade.tachiyomi.R;
import eu.kanade.mangafeed.data.database.models.Manga; import eu.kanade.tachiyomi.data.database.models.Manga;
import eu.kanade.mangafeed.data.mangasync.MangaSyncManager; import eu.kanade.tachiyomi.data.mangasync.MangaSyncManager;
import eu.kanade.mangafeed.data.preference.PreferencesHelper; import eu.kanade.tachiyomi.data.preference.PreferencesHelper;
import eu.kanade.mangafeed.ui.base.activity.BaseRxActivity; import eu.kanade.tachiyomi.ui.base.activity.BaseRxActivity;
import eu.kanade.mangafeed.ui.manga.chapter.ChaptersFragment; import eu.kanade.tachiyomi.ui.manga.chapter.ChaptersFragment;
import eu.kanade.mangafeed.ui.manga.info.MangaInfoFragment; import eu.kanade.tachiyomi.ui.manga.info.MangaInfoFragment;
import eu.kanade.mangafeed.ui.manga.myanimelist.MyAnimeListFragment; import eu.kanade.tachiyomi.ui.manga.myanimelist.MyAnimeListFragment;
import nucleus.factory.RequiresPresenter; import nucleus.factory.RequiresPresenter;
@RequiresPresenter(MangaPresenter.class) @RequiresPresenter(MangaPresenter.class)

View File

@ -1,13 +1,13 @@
package eu.kanade.mangafeed.ui.manga; package eu.kanade.tachiyomi.ui.manga;
import android.os.Bundle; import android.os.Bundle;
import javax.inject.Inject; import javax.inject.Inject;
import de.greenrobot.event.EventBus; import de.greenrobot.event.EventBus;
import eu.kanade.mangafeed.data.database.DatabaseHelper; import eu.kanade.tachiyomi.data.database.DatabaseHelper;
import eu.kanade.mangafeed.data.database.models.Manga; import eu.kanade.tachiyomi.data.database.models.Manga;
import eu.kanade.mangafeed.ui.base.presenter.BasePresenter; import eu.kanade.tachiyomi.ui.base.presenter.BasePresenter;
import icepick.State; import icepick.State;
import rx.Observable; import rx.Observable;
import rx.android.schedulers.AndroidSchedulers; import rx.android.schedulers.AndroidSchedulers;

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.ui.manga.chapter; package eu.kanade.tachiyomi.ui.manga.chapter;
import android.view.LayoutInflater; import android.view.LayoutInflater;
import android.view.View; import android.view.View;
@ -8,8 +8,8 @@ import java.util.ArrayList;
import java.util.List; import java.util.List;
import eu.davidea.flexibleadapter.FlexibleAdapter; import eu.davidea.flexibleadapter.FlexibleAdapter;
import eu.kanade.mangafeed.R; import eu.kanade.tachiyomi.R;
import eu.kanade.mangafeed.data.database.models.Chapter; import eu.kanade.tachiyomi.data.database.models.Chapter;
public class ChaptersAdapter extends FlexibleAdapter<ChaptersHolder, Chapter> { public class ChaptersAdapter extends FlexibleAdapter<ChaptersHolder, Chapter> {

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.ui.manga.chapter; package eu.kanade.tachiyomi.ui.manga.chapter;
import android.content.Intent; import android.content.Intent;
import android.os.Bundle; import android.os.Bundle;
@ -22,16 +22,16 @@ import java.util.List;
import butterknife.Bind; import butterknife.Bind;
import butterknife.ButterKnife; import butterknife.ButterKnife;
import eu.kanade.mangafeed.R; import eu.kanade.tachiyomi.R;
import eu.kanade.mangafeed.data.database.models.Chapter; import eu.kanade.tachiyomi.data.database.models.Chapter;
import eu.kanade.mangafeed.data.download.DownloadService; import eu.kanade.tachiyomi.data.download.DownloadService;
import eu.kanade.mangafeed.data.download.model.Download; import eu.kanade.tachiyomi.data.download.model.Download;
import eu.kanade.mangafeed.ui.base.adapter.FlexibleViewHolder; import eu.kanade.tachiyomi.ui.base.adapter.FlexibleViewHolder;
import eu.kanade.mangafeed.ui.base.fragment.BaseRxFragment; import eu.kanade.tachiyomi.ui.base.fragment.BaseRxFragment;
import eu.kanade.mangafeed.ui.decoration.DividerItemDecoration; import eu.kanade.tachiyomi.ui.decoration.DividerItemDecoration;
import eu.kanade.mangafeed.ui.manga.MangaActivity; import eu.kanade.tachiyomi.ui.manga.MangaActivity;
import eu.kanade.mangafeed.ui.reader.ReaderActivity; import eu.kanade.tachiyomi.ui.reader.ReaderActivity;
import eu.kanade.mangafeed.util.ToastUtil; import eu.kanade.tachiyomi.util.ToastUtil;
import nucleus.factory.RequiresPresenter; import nucleus.factory.RequiresPresenter;
import rx.Observable; import rx.Observable;
import rx.Subscription; import rx.Subscription;

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.ui.manga.chapter; package eu.kanade.tachiyomi.ui.manga.chapter;
import android.content.Context; import android.content.Context;
import android.support.v4.content.ContextCompat; import android.support.v4.content.ContextCompat;
@ -12,10 +12,10 @@ import java.util.Date;
import butterknife.Bind; import butterknife.Bind;
import butterknife.ButterKnife; import butterknife.ButterKnife;
import eu.kanade.mangafeed.R; import eu.kanade.tachiyomi.R;
import eu.kanade.mangafeed.data.database.models.Chapter; import eu.kanade.tachiyomi.data.database.models.Chapter;
import eu.kanade.mangafeed.data.download.model.Download; import eu.kanade.tachiyomi.data.download.model.Download;
import eu.kanade.mangafeed.ui.base.adapter.FlexibleViewHolder; import eu.kanade.tachiyomi.ui.base.adapter.FlexibleViewHolder;
import rx.Observable; import rx.Observable;
public class ChaptersHolder extends FlexibleViewHolder { public class ChaptersHolder extends FlexibleViewHolder {

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.ui.manga.chapter; package eu.kanade.tachiyomi.ui.manga.chapter;
import android.os.Bundle; import android.os.Bundle;
import android.util.Pair; import android.util.Pair;
@ -8,19 +8,19 @@ import java.util.List;
import javax.inject.Inject; import javax.inject.Inject;
import de.greenrobot.event.EventBus; import de.greenrobot.event.EventBus;
import eu.kanade.mangafeed.data.database.DatabaseHelper; import eu.kanade.tachiyomi.data.database.DatabaseHelper;
import eu.kanade.mangafeed.data.database.models.Chapter; import eu.kanade.tachiyomi.data.database.models.Chapter;
import eu.kanade.mangafeed.data.database.models.Manga; import eu.kanade.tachiyomi.data.database.models.Manga;
import eu.kanade.mangafeed.data.download.DownloadManager; import eu.kanade.tachiyomi.data.download.DownloadManager;
import eu.kanade.mangafeed.data.download.model.Download; import eu.kanade.tachiyomi.data.download.model.Download;
import eu.kanade.mangafeed.data.preference.PreferencesHelper; import eu.kanade.tachiyomi.data.preference.PreferencesHelper;
import eu.kanade.mangafeed.data.source.SourceManager; import eu.kanade.tachiyomi.data.source.SourceManager;
import eu.kanade.mangafeed.data.source.base.Source; import eu.kanade.tachiyomi.data.source.base.Source;
import eu.kanade.mangafeed.event.ChapterCountEvent; import eu.kanade.tachiyomi.event.ChapterCountEvent;
import eu.kanade.mangafeed.event.DownloadChaptersEvent; import eu.kanade.tachiyomi.event.DownloadChaptersEvent;
import eu.kanade.mangafeed.event.ReaderEvent; import eu.kanade.tachiyomi.event.ReaderEvent;
import eu.kanade.mangafeed.ui.base.presenter.BasePresenter; import eu.kanade.tachiyomi.ui.base.presenter.BasePresenter;
import eu.kanade.mangafeed.util.EventBusHook; import eu.kanade.tachiyomi.util.EventBusHook;
import icepick.State; import icepick.State;
import rx.Observable; import rx.Observable;
import rx.android.schedulers.AndroidSchedulers; import rx.android.schedulers.AndroidSchedulers;

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.ui.manga.info; package eu.kanade.tachiyomi.ui.manga.info;
import android.os.Bundle; import android.os.Bundle;
import android.support.v4.widget.SwipeRefreshLayout; import android.support.v4.widget.SwipeRefreshLayout;
@ -13,10 +13,10 @@ import com.bumptech.glide.load.model.LazyHeaders;
import butterknife.Bind; import butterknife.Bind;
import butterknife.ButterKnife; import butterknife.ButterKnife;
import eu.kanade.mangafeed.R; import eu.kanade.tachiyomi.R;
import eu.kanade.mangafeed.data.cache.CoverCache; import eu.kanade.tachiyomi.data.cache.CoverCache;
import eu.kanade.mangafeed.data.database.models.Manga; import eu.kanade.tachiyomi.data.database.models.Manga;
import eu.kanade.mangafeed.ui.base.fragment.BaseRxFragment; import eu.kanade.tachiyomi.ui.base.fragment.BaseRxFragment;
import nucleus.factory.RequiresPresenter; import nucleus.factory.RequiresPresenter;
@RequiresPresenter(MangaInfoPresenter.class) @RequiresPresenter(MangaInfoPresenter.class)

View File

@ -1,17 +1,17 @@
package eu.kanade.mangafeed.ui.manga.info; package eu.kanade.tachiyomi.ui.manga.info;
import android.os.Bundle; import android.os.Bundle;
import javax.inject.Inject; import javax.inject.Inject;
import eu.kanade.mangafeed.data.cache.CoverCache; import eu.kanade.tachiyomi.data.cache.CoverCache;
import eu.kanade.mangafeed.data.database.DatabaseHelper; import eu.kanade.tachiyomi.data.database.DatabaseHelper;
import eu.kanade.mangafeed.data.database.models.Manga; import eu.kanade.tachiyomi.data.database.models.Manga;
import eu.kanade.mangafeed.data.source.SourceManager; import eu.kanade.tachiyomi.data.source.SourceManager;
import eu.kanade.mangafeed.data.source.base.Source; import eu.kanade.tachiyomi.data.source.base.Source;
import eu.kanade.mangafeed.event.ChapterCountEvent; import eu.kanade.tachiyomi.event.ChapterCountEvent;
import eu.kanade.mangafeed.ui.base.presenter.BasePresenter; import eu.kanade.tachiyomi.ui.base.presenter.BasePresenter;
import eu.kanade.mangafeed.util.EventBusHook; import eu.kanade.tachiyomi.util.EventBusHook;
import rx.Observable; import rx.Observable;
import rx.android.schedulers.AndroidSchedulers; import rx.android.schedulers.AndroidSchedulers;
import rx.schedulers.Schedulers; import rx.schedulers.Schedulers;

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.ui.manga.myanimelist; package eu.kanade.tachiyomi.ui.manga.myanimelist;
import android.app.Dialog; import android.app.Dialog;
import android.os.Bundle; import android.os.Bundle;
@ -20,8 +20,8 @@ import java.util.concurrent.TimeUnit;
import butterknife.Bind; import butterknife.Bind;
import butterknife.ButterKnife; import butterknife.ButterKnife;
import eu.kanade.mangafeed.R; import eu.kanade.tachiyomi.R;
import eu.kanade.mangafeed.data.database.models.MangaSync; import eu.kanade.tachiyomi.data.database.models.MangaSync;
import rx.Subscription; import rx.Subscription;
import rx.android.schedulers.AndroidSchedulers; import rx.android.schedulers.AndroidSchedulers;
import rx.subjects.PublishSubject; import rx.subjects.PublishSubject;

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.ui.manga.myanimelist; package eu.kanade.tachiyomi.ui.manga.myanimelist;
import android.content.Context; import android.content.Context;
import android.os.Bundle; import android.os.Bundle;
@ -17,9 +17,9 @@ import java.util.List;
import butterknife.Bind; import butterknife.Bind;
import butterknife.ButterKnife; import butterknife.ButterKnife;
import butterknife.OnClick; import butterknife.OnClick;
import eu.kanade.mangafeed.R; import eu.kanade.tachiyomi.R;
import eu.kanade.mangafeed.data.database.models.MangaSync; import eu.kanade.tachiyomi.data.database.models.MangaSync;
import eu.kanade.mangafeed.ui.base.fragment.BaseRxFragment; import eu.kanade.tachiyomi.ui.base.fragment.BaseRxFragment;
import nucleus.factory.RequiresPresenter; import nucleus.factory.RequiresPresenter;
@RequiresPresenter(MyAnimeListPresenter.class) @RequiresPresenter(MyAnimeListPresenter.class)

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.ui.manga.myanimelist; package eu.kanade.tachiyomi.ui.manga.myanimelist;
import android.content.Context; import android.content.Context;
import android.os.Bundle; import android.os.Bundle;
@ -6,15 +6,15 @@ import android.text.TextUtils;
import javax.inject.Inject; import javax.inject.Inject;
import eu.kanade.mangafeed.R; import eu.kanade.tachiyomi.R;
import eu.kanade.mangafeed.data.database.DatabaseHelper; import eu.kanade.tachiyomi.data.database.DatabaseHelper;
import eu.kanade.mangafeed.data.database.models.Manga; import eu.kanade.tachiyomi.data.database.models.Manga;
import eu.kanade.mangafeed.data.database.models.MangaSync; import eu.kanade.tachiyomi.data.database.models.MangaSync;
import eu.kanade.mangafeed.data.mangasync.MangaSyncManager; import eu.kanade.tachiyomi.data.mangasync.MangaSyncManager;
import eu.kanade.mangafeed.data.mangasync.services.MyAnimeList; import eu.kanade.tachiyomi.data.mangasync.services.MyAnimeList;
import eu.kanade.mangafeed.ui.base.presenter.BasePresenter; import eu.kanade.tachiyomi.ui.base.presenter.BasePresenter;
import eu.kanade.mangafeed.util.EventBusHook; import eu.kanade.tachiyomi.util.EventBusHook;
import eu.kanade.mangafeed.util.ToastUtil; import eu.kanade.tachiyomi.util.ToastUtil;
import rx.Observable; import rx.Observable;
import rx.android.schedulers.AndroidSchedulers; import rx.android.schedulers.AndroidSchedulers;
import rx.schedulers.Schedulers; import rx.schedulers.Schedulers;

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.ui.reader; package eu.kanade.tachiyomi.ui.reader;
import android.content.Context; import android.content.Context;
import android.content.Intent; import android.content.Intent;
@ -24,20 +24,20 @@ import javax.inject.Inject;
import butterknife.Bind; import butterknife.Bind;
import butterknife.ButterKnife; import butterknife.ButterKnife;
import eu.kanade.mangafeed.App; import eu.kanade.tachiyomi.App;
import eu.kanade.mangafeed.R; import eu.kanade.tachiyomi.R;
import eu.kanade.mangafeed.data.database.models.Chapter; import eu.kanade.tachiyomi.data.database.models.Chapter;
import eu.kanade.mangafeed.data.database.models.Manga; import eu.kanade.tachiyomi.data.database.models.Manga;
import eu.kanade.mangafeed.data.preference.PreferencesHelper; import eu.kanade.tachiyomi.data.preference.PreferencesHelper;
import eu.kanade.mangafeed.data.source.model.Page; import eu.kanade.tachiyomi.data.source.model.Page;
import eu.kanade.mangafeed.ui.base.activity.BaseRxActivity; import eu.kanade.tachiyomi.ui.base.activity.BaseRxActivity;
import eu.kanade.mangafeed.ui.reader.viewer.base.BaseReader; import eu.kanade.tachiyomi.ui.reader.viewer.base.BaseReader;
import eu.kanade.mangafeed.ui.reader.viewer.pager.horizontal.LeftToRightReader; import eu.kanade.tachiyomi.ui.reader.viewer.pager.horizontal.LeftToRightReader;
import eu.kanade.mangafeed.ui.reader.viewer.pager.horizontal.RightToLeftReader; import eu.kanade.tachiyomi.ui.reader.viewer.pager.horizontal.RightToLeftReader;
import eu.kanade.mangafeed.ui.reader.viewer.pager.vertical.VerticalReader; import eu.kanade.tachiyomi.ui.reader.viewer.pager.vertical.VerticalReader;
import eu.kanade.mangafeed.ui.reader.viewer.webtoon.WebtoonReader; import eu.kanade.tachiyomi.ui.reader.viewer.webtoon.WebtoonReader;
import eu.kanade.mangafeed.util.GLUtil; import eu.kanade.tachiyomi.util.GLUtil;
import eu.kanade.mangafeed.util.ToastUtil; import eu.kanade.tachiyomi.util.ToastUtil;
import icepick.Icepick; import icepick.Icepick;
import nucleus.factory.RequiresPresenter; import nucleus.factory.RequiresPresenter;
import rx.Subscription; import rx.Subscription;

View File

@ -1,4 +1,4 @@
package eu.kanade.mangafeed.ui.reader; package eu.kanade.tachiyomi.ui.reader;
import android.app.Dialog; import android.app.Dialog;
import android.content.Context; import android.content.Context;
@ -25,11 +25,11 @@ import java.text.DecimalFormat;
import butterknife.Bind; import butterknife.Bind;
import butterknife.ButterKnife; import butterknife.ButterKnife;
import eu.kanade.mangafeed.R; import eu.kanade.tachiyomi.R;
import eu.kanade.mangafeed.data.database.models.Chapter; import eu.kanade.tachiyomi.data.database.models.Chapter;
import eu.kanade.mangafeed.data.database.models.Manga; import eu.kanade.tachiyomi.data.database.models.Manga;
import eu.kanade.mangafeed.data.preference.PreferencesHelper; import eu.kanade.tachiyomi.data.preference.PreferencesHelper;
import eu.kanade.mangafeed.ui.reader.viewer.base.BaseReader; import eu.kanade.tachiyomi.ui.reader.viewer.base.BaseReader;
import icepick.State; import icepick.State;
import rx.Subscription; import rx.Subscription;

Some files were not shown because too many files have changed in this diff Show More