Commit 43eeb916 authored by Donald's avatar Donald

moved liz

parent 07d81ea8
......@@ -111,7 +111,7 @@ dependencies {
implementation 'com.github.chrisbanes:PhotoView:2.1.3'
implementation 'com.davemorrissey.labs:subsampling-scale-image-view:3.6.0'
implementation 'jp.wasabeef:recyclerview-animators:2.2.6'
implementation project(':liz')
implementation 'com.gitlab.dnldsht:Liz:0.5.1'
// debug Only
//debugCompile project(':inappstoragereader')
......
......@@ -11,7 +11,7 @@ import org.horaapps.leafpic.data.HandlingAlbums;
/**
* Created by dnld on 28/04/16.
*/
public class App extends /*horaapps.org.liz.App*/ Application {
public class App extends /*org.horaapps.liz.App*/ Application {
private static App mInstance;
......
......@@ -41,14 +41,13 @@ import org.horaapps.leafpic.data.filter.FoldersFileFilter;
import org.horaapps.leafpic.util.AlertDialogsHelper;
import org.horaapps.leafpic.util.Measure;
import org.horaapps.leafpic.views.GridSpacingItemDecoration;
import org.horaapps.liz.ThemeHelper;
import org.horaapps.liz.ThemedActivity;
import java.io.File;
import java.util.ArrayList;
import java.util.Arrays;
import horaapps.org.liz.ThemeHelper;
import horaapps.org.liz.ThemedActivity;
public class SelectAlbumBuilder extends BottomSheetDialogFragment {
private String title;
......
......@@ -25,9 +25,9 @@ import org.horaapps.leafpic.R;
import org.horaapps.leafpic.util.AlertDialogsHelper;
import org.horaapps.leafpic.util.CustomTabService;
import org.horaapps.leafpic.util.StringUtils;
import org.horaapps.liz.ThemedActivity;
import de.hdodenhof.circleimageview.CircleImageView;
import horaapps.org.liz.ThemedActivity;
/**
* Created by Jibo on 02/03/2016.
......
......@@ -23,11 +23,10 @@ import com.mikepenz.google_material_typeface_library.GoogleMaterial;
import org.horaapps.leafpic.R;
import org.horaapps.leafpic.util.StringUtils;
import org.horaapps.liz.ThemedActivity;
import java.util.List;
import horaapps.org.liz.ThemedActivity;
/**
* Created by Jibo on 02/03/2016.
*/
......
......@@ -84,6 +84,7 @@ import org.horaapps.leafpic.util.StringUtils;
import org.horaapps.leafpic.views.videoplayer.CustomExoPlayerView;
import org.horaapps.leafpic.views.videoplayer.CustomPlayBackController;
import org.horaapps.leafpic.views.videoplayer.TrackSelectionHelper;
import org.horaapps.liz.ThemedActivity;
import java.net.CookieHandler;
import java.net.CookieManager;
......@@ -92,8 +93,6 @@ import java.util.HashMap;
import java.util.Map;
import java.util.UUID;
import horaapps.org.liz.ThemedActivity;
public class PlayerActivity extends ThemedActivity implements ExoPlayer.EventListener,
TrackSelector.EventListener<MappedTrackInfo>, CustomPlayBackController.VisibilityListener {
......
......@@ -20,9 +20,8 @@ import com.orhanobut.hawk.Hawk;
import org.horaapps.leafpic.R;
import org.horaapps.leafpic.util.Security;
import horaapps.org.liz.ThemeHelper;
import horaapps.org.liz.ThemedActivity;
import org.horaapps.liz.ThemeHelper;
import org.horaapps.liz.ThemedActivity;
/**
* Created by dnld on 22/05/16.
......
......@@ -22,14 +22,14 @@ import org.horaapps.leafpic.settings.MapProviderSetting;
import org.horaapps.leafpic.settings.SinglePhotoSetting;
import org.horaapps.leafpic.util.Security;
import org.horaapps.leafpic.views.SettingWithSwitchView;
import org.horaapps.liz.ColorPalette;
import org.horaapps.liz.ThemedActivity;
import org.horaapps.liz.ViewUtil;
import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import butterknife.Unbinder;
import horaapps.org.liz.ColorPalette;
import horaapps.org.liz.ThemedActivity;
import horaapps.org.liz.ViewUtil;
public class SettingsActivity extends ThemedActivity {
private Toolbar toolbar;
......
......@@ -55,6 +55,7 @@ import org.horaapps.leafpic.util.Measure;
import org.horaapps.leafpic.util.Security;
import org.horaapps.leafpic.util.StringUtils;
import org.horaapps.leafpic.views.HackyViewPager;
import org.horaapps.liz.ColorPalette;
import java.io.File;
import java.io.InputStream;
......@@ -63,7 +64,6 @@ import java.util.Collections;
import butterknife.BindView;
import butterknife.ButterKnife;
import horaapps.org.liz.ColorPalette;
/**
* Created by dnld on 18/02/16.
......
......@@ -25,11 +25,10 @@ import org.horaapps.leafpic.data.Album;
import org.horaapps.leafpic.data.HandlingAlbums;
import org.horaapps.leafpic.util.PermissionUtils;
import org.horaapps.leafpic.util.StringUtils;
import org.horaapps.liz.ColorPalette;
import java.io.File;
import horaapps.org.liz.ColorPalette;
/**
* Created by dnld on 01/04/16.
*/
......
......@@ -12,8 +12,7 @@ import org.horaapps.leafpic.data.Album;
import org.horaapps.leafpic.data.HandlingAlbums;
import org.horaapps.leafpic.data.StorageHelper;
import org.horaapps.leafpic.util.AlertDialogsHelper;
import horaapps.org.liz.ThemedActivity;
import org.horaapps.liz.ThemedActivity;
/**
* Created by dnld on 03/08/16.
......
......@@ -25,6 +25,11 @@ import org.horaapps.leafpic.data.sort.AlbumsComparators;
import org.horaapps.leafpic.data.sort.SortingMode;
import org.horaapps.leafpic.data.sort.SortingOrder;
import org.horaapps.leafpic.util.StringUtils;
import org.horaapps.liz.ColorPalette;
import org.horaapps.liz.Theme;
import org.horaapps.liz.ThemeHelper;
import org.horaapps.liz.ThemedAdapter;
import org.horaapps.liz.ThemedViewHolder;
import java.util.ArrayList;
import java.util.Collections;
......@@ -34,11 +39,6 @@ import java.util.stream.Collectors;
import butterknife.BindView;
import butterknife.ButterKnife;
import horaapps.org.liz.ColorPalette;
import horaapps.org.liz.Theme;
import horaapps.org.liz.ThemeHelper;
import horaapps.org.liz.ThemedAdapter;
import horaapps.org.liz.ThemedViewHolder;
import io.reactivex.Observable;
import io.reactivex.subjects.PublishSubject;
......
......@@ -2,14 +2,14 @@ package org.horaapps.leafpic.adapters;
import android.content.Context;
import org.horaapps.liz.ThemeHelper;
import org.horaapps.liz.Themed;
import org.horaapps.liz.ThemedAdapter;
import org.horaapps.liz.ThemedViewHolder;
import java.util.ArrayList;
import java.util.List;
import horaapps.org.liz.ThemeHelper;
import horaapps.org.liz.Themed;
import horaapps.org.liz.ThemedAdapter;
import horaapps.org.liz.ThemedViewHolder;
/**
* Created by dnld on 01/04/17.
*/
......
......@@ -26,6 +26,9 @@ import org.horaapps.leafpic.data.sort.MediaComparators;
import org.horaapps.leafpic.data.sort.SortingMode;
import org.horaapps.leafpic.data.sort.SortingOrder;
import org.horaapps.leafpic.views.SquareRelativeLayout;
import org.horaapps.liz.ThemeHelper;
import org.horaapps.liz.ThemedAdapter;
import org.horaapps.liz.ThemedViewHolder;
import java.util.ArrayList;
import java.util.Collections;
......@@ -33,9 +36,6 @@ import java.util.stream.Collectors;
import butterknife.BindView;
import butterknife.ButterKnife;
import horaapps.org.liz.ThemeHelper;
import horaapps.org.liz.ThemedAdapter;
import horaapps.org.liz.ThemedViewHolder;
import io.reactivex.Observable;
import io.reactivex.subjects.PublishSubject;
......
......@@ -20,13 +20,12 @@ import com.orhanobut.hawk.Hawk;
import org.horaapps.leafpic.R;
import org.horaapps.leafpic.data.Album;
import org.horaapps.leafpic.data.filter.ImageFileFilter;
import org.horaapps.liz.ThemeHelper;
import org.horaapps.liz.ThemedAlertDialogBuilder;
import java.io.File;
import java.util.ArrayList;
import horaapps.org.liz.ThemeHelper;
import horaapps.org.liz.ThemedAlertDialogBuilder;
/**
* Created by dnld on 6/29/17.
*/
......
......@@ -8,14 +8,14 @@ import android.widget.RelativeLayout;
import org.horaapps.leafpic.R;
import org.horaapps.leafpic.adapters.BaseAdapter;
import org.horaapps.liz.ThemeHelper;
import org.horaapps.liz.ThemedViewHolder;
import org.horaapps.liz.ui.ThemedTextView;
import java.util.ArrayList;
import butterknife.BindView;
import butterknife.ButterKnife;
import horaapps.org.liz.ThemeHelper;
import horaapps.org.liz.ThemedViewHolder;
import horaapps.org.liz.ui.ThemedTextView;
/**
* Created by dnld on 6/29/17.
......
......@@ -41,6 +41,8 @@ import org.horaapps.leafpic.util.AlertDialogsHelper;
import org.horaapps.leafpic.util.Measure;
import org.horaapps.leafpic.util.Security;
import org.horaapps.leafpic.views.GridSpacingItemDecoration;
import org.horaapps.liz.ThemeHelper;
import org.horaapps.liz.ThemedActivity;
import java.util.ArrayList;
import java.util.List;
......@@ -48,8 +50,6 @@ import java.util.Locale;
import butterknife.BindView;
import butterknife.ButterKnife;
import horaapps.org.liz.ThemeHelper;
import horaapps.org.liz.ThemedActivity;
import io.reactivex.android.schedulers.AndroidSchedulers;
import io.reactivex.schedulers.Schedulers;
import jp.wasabeef.recyclerview.animators.LandingAnimator;
......
package org.horaapps.leafpic.fragments;
import horaapps.org.liz.Themed;
import horaapps.org.liz.ThemedFragment;
import org.horaapps.liz.Themed;
import org.horaapps.liz.ThemedFragment;
/**
* Created by dnld on 4/3/17.
......
......@@ -43,13 +43,13 @@ import org.horaapps.leafpic.util.AlertDialogsHelper;
import org.horaapps.leafpic.util.Measure;
import org.horaapps.leafpic.util.StringUtils;
import org.horaapps.leafpic.views.GridSpacingItemDecoration;
import org.horaapps.liz.ThemeHelper;
import java.util.ArrayList;
import java.util.Locale;
import butterknife.BindView;
import butterknife.ButterKnife;
import horaapps.org.liz.ThemeHelper;
import io.reactivex.android.schedulers.AndroidSchedulers;
import io.reactivex.schedulers.Schedulers;
import jp.wasabeef.recyclerview.animators.LandingAnimator;
......
......@@ -20,10 +20,9 @@ import com.orhanobut.hawk.Hawk;
import org.horaapps.leafpic.CardViewStyle;
import org.horaapps.leafpic.R;
import org.horaapps.leafpic.util.StringUtils;
import horaapps.org.liz.ColorPalette;
import horaapps.org.liz.Theme;
import horaapps.org.liz.ThemedActivity;
import org.horaapps.liz.ColorPalette;
import org.horaapps.liz.Theme;
import org.horaapps.liz.ThemedActivity;
import static org.horaapps.leafpic.CardViewStyle.COMPACT;
import static org.horaapps.leafpic.CardViewStyle.FLAT;
......
......@@ -9,15 +9,15 @@ import android.view.View;
import android.widget.TextView;
import org.horaapps.leafpic.R;
import org.horaapps.liz.ColorPalette;
import org.horaapps.liz.ThemedActivity;
import horaapps.org.liz.ColorPalette;
import horaapps.org.liz.ThemedActivity;
import uz.shift.colorpicker.LineColorPicker;
import uz.shift.colorpicker.OnColorChangedListener;
import static horaapps.org.liz.Theme.AMOLED;
import static horaapps.org.liz.Theme.DARK;
import static horaapps.org.liz.Theme.LIGHT;
import static org.horaapps.liz.Theme.AMOLED;
import static org.horaapps.liz.Theme.DARK;
import static org.horaapps.liz.Theme.LIGHT;
/**
......
......@@ -11,8 +11,7 @@ import android.widget.TextView;
import com.orhanobut.hawk.Hawk;
import org.horaapps.leafpic.R;
import horaapps.org.liz.ThemedActivity;
import org.horaapps.liz.ThemedActivity;
/**
* Created by dnld on 12/9/16.
......
......@@ -13,8 +13,7 @@ import com.orhanobut.hawk.Hawk;
import org.horaapps.leafpic.R;
import org.horaapps.leafpic.util.StaticMapProvider;
import horaapps.org.liz.ThemedActivity;
import org.horaapps.liz.ThemedActivity;
/**
* Created by dnld on 12/9/16.
......
......@@ -13,9 +13,9 @@ import com.mikepenz.iconics.view.IconicsImageView;
import com.orhanobut.hawk.Hawk;
import org.horaapps.leafpic.R;
import org.horaapps.liz.ColorPalette;
import org.horaapps.liz.ThemedActivity;
import horaapps.org.liz.ColorPalette;
import horaapps.org.liz.ThemedActivity;
import uz.shift.colorpicker.LineColorPicker;
/**
......
package org.horaapps.leafpic.settings;
import horaapps.org.liz.ThemedActivity;
import org.horaapps.liz.ThemedActivity;
/**
* Created by dnld on 12/9/16.
......
......@@ -31,6 +31,8 @@ import com.orhanobut.hawk.Hawk;
import org.horaapps.leafpic.R;
import org.horaapps.leafpic.data.Media;
import org.horaapps.leafpic.data.metadata.MediaDetailsMap;
import org.horaapps.liz.ThemeHelper;
import org.horaapps.liz.ThemedActivity;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
......@@ -38,8 +40,6 @@ import java.io.InputStream;
import java.lang.reflect.Field;
import java.util.Locale;
import horaapps.org.liz.ThemeHelper;
import horaapps.org.liz.ThemedActivity;
import in.uncod.android.bypass.Bypass;
/**
......
......@@ -8,7 +8,7 @@ import android.support.customtabs.CustomTabsServiceConnection;
import android.support.customtabs.CustomTabsSession;
import android.widget.Toast;
import horaapps.org.liz.ThemedActivity;
import org.horaapps.liz.ThemedActivity;
public class CustomTabService {
......
......@@ -14,12 +14,11 @@ import android.widget.TextView;
import com.orhanobut.hawk.Hawk;
import org.horaapps.leafpic.R;
import org.horaapps.liz.ThemeHelper;
import org.horaapps.liz.ThemedActivity;
import java.security.MessageDigest;
import horaapps.org.liz.ThemeHelper;
import horaapps.org.liz.ThemedActivity;
/**
* Created by Jibo on 06/05/2016.
*/
......
......@@ -8,13 +8,13 @@ import android.text.Spanned;
import android.webkit.MimeTypeMap;
import android.widget.Toast;
import org.horaapps.liz.ColorPalette;
import java.util.Date;
import java.util.Locale;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import horaapps.org.liz.ColorPalette;
/**
* Created by dnld on 1/3/16.
*/
......
......@@ -13,11 +13,11 @@ import android.widget.TextView;
import com.mikepenz.iconics.view.IconicsImageView;
import org.horaapps.leafpic.R;
import org.horaapps.liz.ThemeHelper;
import org.horaapps.liz.Themed;
import butterknife.BindView;
import butterknife.ButterKnife;
import horaapps.org.liz.ThemeHelper;
import horaapps.org.liz.Themed;
/**
* Created by darken (darken@darken.eu) on 04.03.2017.
......
......@@ -16,12 +16,12 @@ import com.mikepenz.iconics.view.IconicsImageView;
import com.orhanobut.hawk.Hawk;
import org.horaapps.leafpic.R;
import org.horaapps.liz.ThemeHelper;
import org.horaapps.liz.Themed;
import org.horaapps.liz.ThemedActivity;
import butterknife.BindView;
import butterknife.ButterKnife;
import horaapps.org.liz.ThemeHelper;
import horaapps.org.liz.Themed;
import horaapps.org.liz.ThemedActivity;
/**
* Created by darken (darken@darken.eu) on 04.03.2017.
......
......@@ -5,8 +5,8 @@ import android.support.annotation.Nullable;
import android.support.v7.widget.CardView;
import android.util.AttributeSet;
import horaapps.org.liz.ThemeHelper;
import horaapps.org.liz.Themed;
import org.horaapps.liz.ThemeHelper;
import org.horaapps.liz.Themed;
/**
* Created by darken (darken@darken.eu) on 04.03.2017.
......
......@@ -5,8 +5,8 @@ import android.support.annotation.Nullable;
import android.util.AttributeSet;
import android.widget.ScrollView;
import horaapps.org.liz.ThemeHelper;
import horaapps.org.liz.Themed;
import org.horaapps.liz.ThemeHelper;
import org.horaapps.liz.Themed;
/**
* Created by darken (darken@darken.eu) on 04.03.2017.
......
......@@ -4,8 +4,8 @@ import android.content.Context;
import android.support.annotation.Nullable;
import android.util.AttributeSet;
import horaapps.org.liz.ThemeHelper;
import horaapps.org.liz.Themed;
import org.horaapps.liz.ThemeHelper;
import org.horaapps.liz.Themed;
/**
* Created by darken (darken@darken.eu) on 04.03.2017.
......
......@@ -4,8 +4,8 @@ import android.content.Context;
import android.support.annotation.Nullable;
import android.util.AttributeSet;
import horaapps.org.liz.ThemeHelper;
import horaapps.org.liz.Themed;
import org.horaapps.liz.ThemeHelper;
import org.horaapps.liz.Themed;
/**
* Created by darken (darken@darken.eu) on 04.03.2017.
......
......@@ -6,8 +6,8 @@ import android.util.AttributeSet;
import com.mikepenz.iconics.view.IconicsImageView;
import horaapps.org.liz.ThemeHelper;
import horaapps.org.liz.Themed;
import org.horaapps.liz.ThemeHelper;
import org.horaapps.liz.Themed;
/**
* Created by darken (darken@darken.eu) on 04.03.2017.
......
......@@ -4,8 +4,8 @@ import android.content.Context;
import android.support.annotation.Nullable;
import android.util.AttributeSet;
import horaapps.org.liz.ThemeHelper;
import horaapps.org.liz.Themed;
import org.horaapps.liz.ThemeHelper;
import org.horaapps.liz.Themed;
/**
* Created by darken (darken@darken.eu) on 04.03.2017.
......
......@@ -5,8 +5,8 @@ import android.support.annotation.Nullable;
import android.support.v7.widget.Toolbar;
import android.util.AttributeSet;
import horaapps.org.liz.ThemeHelper;
import horaapps.org.liz.Themed;
import org.horaapps.liz.ThemeHelper;
import org.horaapps.liz.Themed;
/**
* Created by darken (darken@darken.eu) on 04.03.2017.
......
......@@ -23,13 +23,12 @@ import com.google.android.exoplayer2.Timeline;
import com.google.android.exoplayer2.util.Util;
import org.horaapps.leafpic.R;
import org.horaapps.liz.ColorPalette;
import org.horaapps.liz.ThemeHelper;
import java.util.Formatter;
import java.util.Locale;
import horaapps.org.liz.ColorPalette;
import horaapps.org.liz.ThemeHelper;
/**
* Created by dnld on 12/6/16.
*/
......
......@@ -39,12 +39,11 @@ import com.google.android.exoplayer2.trackselection.TrackSelection;
import com.google.android.exoplayer2.util.MimeTypes;
import org.horaapps.leafpic.R;
import org.horaapps.liz.ThemeHelper;
import java.util.Arrays;
import java.util.Locale;
import horaapps.org.liz.ThemeHelper;
/**
* Helper class for displaying track selection dialogs.
*/
......
......@@ -6,7 +6,7 @@
android:paddingEnd="@dimen/medium_spacing"
xmlns:android="http://schemas.android.com/apk/res/android">
<horaapps.org.liz.ui.ThemedTextView
<org.horaapps.liz.ui.ThemedTextView
android:id="@+id/folder_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
......@@ -16,7 +16,7 @@
android:singleLine="false"
android:textSize="@dimen/medium_text" />
<horaapps.org.liz.ui.ThemedTextView
<org.horaapps.liz.ui.ThemedTextView
android:id="@+id/file_count"
android:layout_alignParentEnd="true"
android:layout_width="wrap_content"
......
......@@ -17,8 +17,7 @@ import com.mikepenz.iconics.view.IconicsImageView;
import org.horaapps.leafpic.R;
import org.horaapps.leafpic.util.CustomTabService;
import org.horaapps.leafpic.util.StringUtils;
import horaapps.org.liz.ThemedActivity;
import org.horaapps.liz.ThemedActivity;
/**
* Created by Jibo on 02/03/2016.
......
......@@ -25,8 +25,7 @@ import org.horaapps.leafpic.util.StringUtils;
import org.horaapps.leafpic.util.inapppurchase.IabHelper;
import org.horaapps.leafpic.util.inapppurchase.IabResult;
import org.horaapps.leafpic.util.inapppurchase.Purchase;
import horaapps.org.liz.ThemedActivity;
import org.horaapps.liz.ThemedActivity;
/**
* Created by Jibo on 02/03/2016.
......
......@@ -8,14 +8,14 @@ buildscript {
}
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0-beta2'
classpath 'com.android.tools.build:gradle:3.0.0-beta4'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
project.ext {
supportVersion = "26.0.1"
supportVersion = "26.0.2"
sdkVersion = 26
buildToolsVersion = '26.0.1'
}
......@@ -23,10 +23,8 @@ project.ext {
allprojects {
repositories {
jcenter()
google()
maven { url "https://jitpack.io" }
maven {
url "https://maven.google.com"
}
}
}
......
#Sun Aug 06 19:01:20 CEST 2017
#Sat Sep 09 08:39:56 CEST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-rc-1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
apply plugin: 'com.android.library'
android {
compileSdkVersion project.sdkVersion
buildToolsVersion project.buildToolsVersion
defaultConfig {
minSdkVersion 19
targetSdkVersion project.sdkVersion
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}