V1.0.0(1)

This commit is contained in:
litingting 2024-12-10 15:07:29 +08:00
parent c8b98e0d25
commit 0b613e3b5a
35 changed files with 134 additions and 277 deletions

BIN
app/HDWallpaper.jks Normal file

Binary file not shown.

View File

@ -11,11 +11,11 @@ plugins {
} }
val timestamp = SimpleDateFormat("MM_dd_HH_mm").format(Date()) val timestamp = SimpleDateFormat("MM_dd_HH_mm").format(Date())
android { android {
namespace = "com.hd.phone.fresh.walls" namespace = "com.hd.wallpaper.free.walls"
compileSdk = 34 compileSdk = 34
defaultConfig { defaultConfig {
applicationId = "com.hd.phone.mico.test" applicationId = "com.hd.wallpaper.free"
minSdk = 23 minSdk = 23
targetSdk = 34 targetSdk = 34
versionCode = 1 versionCode = 1
@ -56,7 +56,7 @@ dependencies {
implementation ("jp.wasabeef:glide-transformations:4.3.0") // Glide Transformations implementation ("jp.wasabeef:glide-transformations:4.3.0") // Glide Transformations
implementation("com.squareup.okhttp3:okhttp:4.12.0") implementation("com.squareup.okhttp3:okhttp:4.12.0")
implementation ("com.squareup.leakcanary:leakcanary-android:2.9.1") // implementation ("com.squareup.leakcanary:leakcanary-android:2.9.1")

131
app/proguard-rules.pro vendored
View File

@ -19,136 +19,7 @@
# If you keep the line number information, uncomment this to # If you keep the line number information, uncomment this to
# hide the original source file name. # hide the original source file name.
#-renamesourcefileattribute SourceFile #-renamesourcefileattribute SourceFile
-keep class com.hd.phone.fresh.walls.json.** { *; } -keep class com.hd.wallpaper.free.walls.json.** { *; }
-keep class com.google.gson.** { *; } -keep class com.google.gson.** { *; }
-keepattributes Signature -keepattributes Signature
-keepattributes AnnotationDefault,RuntimeVisibleAnnotations -keepattributes AnnotationDefault,RuntimeVisibleAnnotations
#---------------------------------------------Topon
-keep class com.startapp.** {
*;
}
-keep class com.truenet.** {
*;
}
-keepattributes Exceptions, InnerClasses, Signature, Deprecated, SourceFile,
LineNumberTable, *Annotation*, EnclosingMethod
-dontwarn android.webkit.JavascriptInterface
-dontwarn com.startapp.**
-dontwarn org.jetbrains.annotations.**
-keep class com.appnext.** { *; }
-dontwarn com.appnext.**
# Vungle
-dontwarn com.vungle.ads.**
-keepclassmembers class com.vungle.ads.** {
*;
}
-keep class com.vungle.ads.**
# Google
-keep class com.google.android.gms.** { *; }
-dontwarn com.google.android.gms.**
# START OkHttp + Okio
# JSR 305 annotations are for embedding nullability information.
-dontwarn javax.annotation.**
# A resource is loaded with a relative path so the package of this class must be preserved.
-adaptresourcefilenames okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz
# Animal Sniffer compileOnly dependency to ensure APIs are compatible with older versions of Java.
-dontwarn org.codehaus.mojo.animal_sniffer.*
# OkHttp platform used only on JVM and when Conscrypt and other security providers are available.
-dontwarn okhttp3.internal.platform.**
-dontwarn org.conscrypt.**
-dontwarn org.bouncycastle.**
-dontwarn org.openjsse.**
# Animal Sniffer compileOnly dependency to ensure APIs are compatible with older versions of Java.
-dontwarn org.codehaus.mojo.animal_sniffer.*
# END OkHttp + Okio
# START Protobuf
-dontwarn com.google.protobuf.**
-keepclassmembers class com.google.protobuf.** {
*;
}
-keep class * extends com.google.protobuf.GeneratedMessageLite { *; }
# END Protobuf
-keepclassmembers class com.ironsource.sdk.controller.IronSourceWebView$JSInterface {
public *;
}
-keepclassmembers class * implements android.os.Parcelable {
public static final android.os.Parcelable$Creator *;
}
-keep public class com.google.android.gms.ads.** {
public *;
}
-keep class com.ironsource.adapters.** { *;
}
-dontwarn com.ironsource.mediationsdk.**
-dontwarn com.ironsource.adapters.**
-keepattributes JavascriptInterface
-keepclassmembers class * {
@android.webkit.JavascriptInterface <methods>;
}
-keep class com.bytedance.sdk.** { *; }
-keep class com.inmobi.** { *; }
-keep public class com.google.android.gms.**
-dontwarn com.google.android.gms.**
-dontwarn com.squareup.picasso.**
-keep class com.google.android.gms.ads.identifier.AdvertisingIdClient{
public *;
}
-keep class com.google.android.gms.ads.identifier.AdvertisingIdClient$Info{
public *;
}
# skip the Picasso library classes
-keep class com.squareup.picasso.** {*;}
-dontwarn com.squareup.okhttp.**
# skip Moat classes
-keep class com.moat.** {*;}
-dontwarn com.moat.**
# skip IAB classes
-keep class com.iab.** {*;}
-dontwarn com.iab.**
-keepattributes Signature
-keepattributes *Annotation*
-keep class com.mbridge.** {*; }
-keep interface com.mbridge.** {*; }
-keep class android.support.v4.** { *; }
-dontwarn com.mbridge.**
-keep class **.R$* { public static final int mbridge*; }
-keep public class com.mbridge.* extends androidx.** { *; }
-keep public class androidx.viewpager.widget.PagerAdapter{ *; }
-keep public class androidx.viewpager.widget.ViewPager.OnPageChangeListener{ *; }
-keep interface androidx.annotation.IntDef{ *; }
-keep interface androidx.annotation.Nullable{ *; }
-keep interface androidx.annotation.CheckResult{ *; }
-keep interface androidx.annotation.NonNull{ *; }
-keep public class androidx.fragment.app.Fragment{ *; }
-keep public class androidx.core.content.FileProvider{ *; }
-keep public class androidx.core.app.NotificationCompat{ *; }
-keep public class androidx.appcompat.widget.AppCompatImageView { *; }
-keep public class androidx.recyclerview.*{ *; }
-keep class com.chartboost.** { *; }

View File

@ -1,4 +1,4 @@
package com.hd.phone.fresh.walls; package com.hd.wallpaper.free.walls;
import android.content.Context; import android.content.Context;

View File

@ -1,8 +0,0 @@
package com.hd.phone.fresh.walls.mylistener;
import com.hd.phone.fresh.walls.json.Data;
public interface ItemClickListener {
public void onItemClickAction(Data info);
}

View File

@ -1,15 +1,15 @@
package com.hd.phone.fresh.walls; package com.hd.wallpaper.free.walls;
import android.app.Application; import android.app.Application;
import android.content.Context; import android.content.Context;
import android.graphics.Typeface; import android.graphics.Typeface;
import android.util.Log; import android.util.Log;
import com.hd.phone.fresh.walls.json.Category; import com.hd.wallpaper.free.walls.json.Category;
import com.hd.phone.fresh.walls.utils.CommonUtils; import com.hd.wallpaper.free.walls.utils.CommonUtils;
import com.hd.phone.fresh.walls.utils.CommonKt; import com.hd.wallpaper.free.walls.utils.CommonKt;
import com.hd.phone.fresh.walls.db.DbManager; import com.hd.wallpaper.free.walls.db.DbManager;
import com.hd.phone.fresh.walls.json.Data; import com.hd.wallpaper.free.walls.json.Data;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;

View File

@ -1,4 +1,4 @@
package com.hd.phone.fresh.walls.adapter; package com.hd.wallpaper.free.walls.adapter;
import android.content.Context; import android.content.Context;
import android.graphics.Bitmap; import android.graphics.Bitmap;
@ -14,12 +14,12 @@ import androidx.recyclerview.widget.RecyclerView;
import com.bumptech.glide.Glide; import com.bumptech.glide.Glide;
import com.bumptech.glide.load.MultiTransformation; import com.bumptech.glide.load.MultiTransformation;
import com.bumptech.glide.load.resource.bitmap.CenterCrop; import com.bumptech.glide.load.resource.bitmap.CenterCrop;
import com.hd.phone.fresh.walls.MyWallpaper; import com.hd.wallpaper.free.walls.MyWallpaper;
import com.hd.phone.fresh.walls.R; import com.hd.wallpaper.free.walls.R;
import com.hd.phone.fresh.walls.mylistener.ItemClickListener; import com.hd.wallpaper.free.walls.mylistener.ItemClickListener;
import com.hd.phone.fresh.walls.utils.CommonUtils; import com.hd.wallpaper.free.walls.utils.CommonUtils;
import com.hd.phone.fresh.walls.db.DbManager; import com.hd.wallpaper.free.walls.db.DbManager;
import com.hd.phone.fresh.walls.json.Data; import com.hd.wallpaper.free.walls.json.Data;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;

View File

@ -1,4 +1,4 @@
package com.hd.phone.fresh.walls.adapter; package com.hd.wallpaper.free.walls.adapter;
import android.content.Context; import android.content.Context;
import android.graphics.Bitmap; import android.graphics.Bitmap;
@ -25,13 +25,12 @@ import com.bumptech.glide.load.resource.bitmap.CenterCrop;
import com.bumptech.glide.request.RequestListener; import com.bumptech.glide.request.RequestListener;
import com.bumptech.glide.request.RequestOptions; import com.bumptech.glide.request.RequestOptions;
import com.bumptech.glide.request.target.Target; import com.bumptech.glide.request.target.Target;
import com.hd.phone.fresh.walls.MyWallpaper; import com.hd.wallpaper.free.walls.MyWallpaper;
import com.hd.phone.fresh.walls.R; import com.hd.wallpaper.free.walls.R;
import com.hd.phone.fresh.walls.mylistener.ItemClickListener; import com.hd.wallpaper.free.walls.mylistener.ItemClickListener;
import com.hd.phone.fresh.walls.ui.ActivitySet; import com.hd.wallpaper.free.walls.utils.CommonUtils;
import com.hd.phone.fresh.walls.utils.CommonUtils; import com.hd.wallpaper.free.walls.db.DbManager;
import com.hd.phone.fresh.walls.db.DbManager; import com.hd.wallpaper.free.walls.json.Data;
import com.hd.phone.fresh.walls.json.Data;
import java.lang.ref.WeakReference; import java.lang.ref.WeakReference;
import java.util.ArrayList; import java.util.ArrayList;
@ -111,7 +110,7 @@ public class AdapterPreView extends RecyclerView.Adapter<MyViewHolder> {
.skipMemoryCache(true) .skipMemoryCache(true)
.apply(options) .apply(options)
.diskCacheStrategy(DiskCacheStrategy.ALL) .diskCacheStrategy(DiskCacheStrategy.ALL)
.load(previewUrl200) .load(previewUrl400)
.listener(new RequestListener<Drawable>() { .listener(new RequestListener<Drawable>() {
@Override @Override
public boolean onLoadFailed(@Nullable GlideException e, @Nullable Object model, @NonNull Target<Drawable> target, boolean isFirstResource) { public boolean onLoadFailed(@Nullable GlideException e, @Nullable Object model, @NonNull Target<Drawable> target, boolean isFirstResource) {

View File

@ -1,4 +1,4 @@
package com.hd.phone.fresh.walls.adapter; package com.hd.wallpaper.free.walls.adapter;
import android.view.View; import android.view.View;
import android.widget.ImageView; import android.widget.ImageView;
@ -7,7 +7,7 @@ import android.widget.RelativeLayout;
import androidx.annotation.NonNull; import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView; import androidx.recyclerview.widget.RecyclerView;
import com.hd.phone.fresh.walls.R; import com.hd.wallpaper.free.walls.R;
public class MyViewHolder extends RecyclerView.ViewHolder{ public class MyViewHolder extends RecyclerView.ViewHolder{

View File

@ -1,19 +1,18 @@
package com.hd.phone.fresh.walls.db; package com.hd.wallpaper.free.walls.db;
import android.content.Context; import android.content.Context;
import android.util.Log; import android.util.Log;
import androidx.annotation.NonNull; import androidx.annotation.NonNull;
import com.hd.phone.fresh.walls.MyWallpaper; import com.hd.wallpaper.free.walls.MyWallpaper;
import com.hd.phone.fresh.walls.mylistener.OnAddListener; import com.hd.wallpaper.free.walls.mylistener.OnAddListener;
import com.hd.phone.fresh.walls.mylistener.OnDownloadListener; import com.hd.wallpaper.free.walls.mylistener.OnDownloadListener;
import com.hd.phone.fresh.walls.mylistener.OnLikeListener; import com.hd.wallpaper.free.walls.mylistener.OnLikeListener;
import com.hd.phone.fresh.walls.json.Data; import com.hd.wallpaper.free.walls.json.Data;
import com.hd.phone.fresh.walls.json.Data_; import com.hd.wallpaper.free.walls.json.Data_;
import com.hd.phone.fresh.walls.json.MyObjectBox; import com.hd.wallpaper.free.walls.json.MyObjectBox;
import com.hd.phone.fresh.walls.utils.CommonKt; import com.hd.wallpaper.free.walls.utils.CommonKt;
import com.hd.phone.fresh.walls.utils.CommonUtils;
import java.io.File; import java.io.File;
import java.util.ArrayList; import java.util.ArrayList;

View File

@ -1,4 +1,4 @@
package com.hd.phone.fresh.walls.json; package com.hd.wallpaper.free.walls.json;
import java.util.List; import java.util.List;

View File

@ -1,4 +1,4 @@
package com.hd.phone.fresh.walls.json; package com.hd.wallpaper.free.walls.json;
import androidx.annotation.Nullable; import androidx.annotation.Nullable;

View File

@ -0,0 +1,8 @@
package com.hd.wallpaper.free.walls.mylistener;
import com.hd.wallpaper.free.walls.json.Data;
public interface ItemClickListener {
public void onItemClickAction(Data info);
}

View File

@ -1,6 +1,6 @@
package com.hd.phone.fresh.walls.mylistener; package com.hd.wallpaper.free.walls.mylistener;
import com.hd.phone.fresh.walls.json.Data; import com.hd.wallpaper.free.walls.json.Data;
public interface OnAddListener { public interface OnAddListener {
void onAdd(Data data); void onAdd(Data data);

View File

@ -1,6 +1,6 @@
package com.hd.phone.fresh.walls.mylistener; package com.hd.wallpaper.free.walls.mylistener;
import com.hd.phone.fresh.walls.json.Data; import com.hd.wallpaper.free.walls.json.Data;
import java.util.List; import java.util.List;

View File

@ -1,6 +1,6 @@
package com.hd.phone.fresh.walls.mylistener; package com.hd.wallpaper.free.walls.mylistener;
import com.hd.phone.fresh.walls.json.Data; import com.hd.wallpaper.free.walls.json.Data;
import java.util.List; import java.util.List;

View File

@ -1,4 +1,4 @@
package com.hd.phone.fresh.walls.mylistener; package com.hd.wallpaper.free.walls.mylistener;
public interface TypeListener { public interface TypeListener {

View File

@ -1,4 +1,4 @@
package com.hd.phone.fresh.walls.ui; package com.hd.wallpaper.free.walls.ui;
import android.os.Bundle; import android.os.Bundle;
import android.view.View; import android.view.View;
@ -10,10 +10,10 @@ import androidx.fragment.app.Fragment;
import androidx.viewpager2.adapter.FragmentStateAdapter; import androidx.viewpager2.adapter.FragmentStateAdapter;
import com.google.android.material.tabs.TabLayout; import com.google.android.material.tabs.TabLayout;
import com.hd.phone.fresh.walls.R; import com.hd.wallpaper.free.walls.R;
import com.hd.phone.fresh.walls.databinding.ActivityMainBinding; import com.hd.wallpaper.free.walls.databinding.ActivityMainBinding;
import com.hd.phone.fresh.walls.databinding.TabCustomViewBinding; import com.hd.wallpaper.free.walls.databinding.TabCustomViewBinding;
import com.hd.phone.fresh.walls.utils.CommonUtils; import com.hd.wallpaper.free.walls.utils.CommonUtils;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;

View File

@ -1,10 +1,7 @@
package com.hd.phone.fresh.walls.ui; package com.hd.wallpaper.free.walls.ui;
import android.app.WallpaperManager; import android.app.WallpaperManager;
import android.content.pm.PackageManager; import android.content.pm.PackageManager;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable; import android.graphics.drawable.Drawable;
import android.net.Uri; import android.net.Uri;
import android.os.Build; import android.os.Build;
@ -26,14 +23,14 @@ import com.bumptech.glide.load.resource.drawable.DrawableTransitionOptions;
import com.bumptech.glide.request.RequestListener; import com.bumptech.glide.request.RequestListener;
import com.bumptech.glide.request.RequestOptions; import com.bumptech.glide.request.RequestOptions;
import com.bumptech.glide.request.target.Target; import com.bumptech.glide.request.target.Target;
import com.hd.phone.fresh.walls.MyWallpaper; import com.hd.wallpaper.free.walls.MyWallpaper;
import com.hd.phone.fresh.walls.R; import com.hd.wallpaper.free.walls.R;
import com.hd.phone.fresh.walls.databinding.ActivitySetBinding; import com.hd.wallpaper.free.walls.databinding.ActivitySetBinding;
import com.hd.phone.fresh.walls.db.DbManager; import com.hd.wallpaper.free.walls.db.DbManager;
import com.hd.phone.fresh.walls.json.Data; import com.hd.wallpaper.free.walls.json.Data;
import com.hd.phone.fresh.walls.mylistener.TypeListener; import com.hd.wallpaper.free.walls.mylistener.TypeListener;
import com.hd.phone.fresh.walls.utils.CommonKt; import com.hd.wallpaper.free.walls.utils.CommonKt;
import com.hd.phone.fresh.walls.utils.CommonUtils; import com.hd.wallpaper.free.walls.utils.CommonUtils;
import java.io.File; import java.io.File;
import java.io.FileInputStream; import java.io.FileInputStream;
@ -118,7 +115,7 @@ public class ActivitySet extends AppCompatActivity implements TypeListener {
.thumbnail( .thumbnail(
Glide.with(ActivitySet.this) Glide.with(ActivitySet.this)
.asDrawable() .asDrawable()
.load(previewUrl200) .load(previewUrl400)
.apply(options) .apply(options)
.placeholder(R.mipmap.im_placeholder) .placeholder(R.mipmap.im_placeholder)
// .override(screenWidthHeight[0], screenWidthHeight[1]) // .override(screenWidthHeight[0], screenWidthHeight[1])

View File

@ -1,4 +1,4 @@
package com.hd.phone.fresh.walls.ui; package com.hd.wallpaper.free.walls.ui;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;
import android.content.Intent; import android.content.Intent;
@ -8,8 +8,8 @@ import android.widget.TextView;
import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.app.AppCompatActivity;
import com.hd.phone.fresh.walls.databinding.ActivityWelcomeBinding; import com.hd.wallpaper.free.walls.databinding.ActivityWelcomeBinding;
import com.hd.phone.fresh.walls.utils.CommonUtils; import com.hd.wallpaper.free.walls.utils.CommonUtils;
public class ActivityWelcome extends AppCompatActivity { public class ActivityWelcome extends AppCompatActivity {
private TextView textViewWallpaper; private TextView textViewWallpaper;

View File

@ -1,4 +1,4 @@
package com.hd.phone.fresh.walls.ui; package com.hd.wallpaper.free.walls.ui;
import android.app.Dialog; import android.app.Dialog;
import android.graphics.Color; import android.graphics.Color;
@ -13,8 +13,8 @@ import androidx.annotation.NonNull;
import androidx.annotation.Nullable; import androidx.annotation.Nullable;
import androidx.fragment.app.DialogFragment; import androidx.fragment.app.DialogFragment;
import com.hd.phone.fresh.walls.databinding.DialogTypeBinding; import com.hd.wallpaper.free.walls.databinding.DialogTypeBinding;
import com.hd.phone.fresh.walls.mylistener.TypeListener; import com.hd.wallpaper.free.walls.mylistener.TypeListener;
public class DialogSetType extends DialogFragment { public class DialogSetType extends DialogFragment {

View File

@ -1,4 +1,4 @@
package com.hd.phone.fresh.walls.ui; package com.hd.wallpaper.free.walls.ui;
import android.content.Intent; import android.content.Intent;
import android.os.Bundle; import android.os.Bundle;
@ -9,18 +9,15 @@ import android.view.ViewGroup;
import androidx.fragment.app.Fragment; import androidx.fragment.app.Fragment;
import androidx.recyclerview.widget.GridLayoutManager; import androidx.recyclerview.widget.GridLayoutManager;
import androidx.recyclerview.widget.StaggeredGridLayoutManager;
import com.bumptech.glide.Glide; import com.bumptech.glide.Glide;
import com.hd.phone.fresh.walls.MyWallpaper; import com.hd.wallpaper.free.walls.MyWallpaper;
import com.hd.phone.fresh.walls.adapter.AdapterPreView; import com.hd.wallpaper.free.walls.adapter.AdapterPreView;
import com.hd.phone.fresh.walls.databinding.FragmentChildBinding; import com.hd.wallpaper.free.walls.databinding.FragmentChildBinding;
import com.hd.phone.fresh.walls.db.DbManager; import com.hd.wallpaper.free.walls.json.Data;
import com.hd.phone.fresh.walls.json.Data; import com.hd.wallpaper.free.walls.mylistener.ItemClickListener;
import com.hd.phone.fresh.walls.mylistener.ItemClickListener; import com.hd.wallpaper.free.walls.utils.CommonUtils;
import com.hd.phone.fresh.walls.mylistener.OnAddListener; import com.hd.wallpaper.free.walls.utils.ItemSpace;
import com.hd.phone.fresh.walls.utils.CommonUtils;
import com.hd.phone.fresh.walls.utils.ItemSpace;
import java.util.List; import java.util.List;

View File

@ -1,4 +1,4 @@
package com.hd.phone.fresh.walls.ui; package com.hd.wallpaper.free.walls.ui;
import android.content.Intent; import android.content.Intent;
import android.os.Bundle; import android.os.Bundle;
@ -10,23 +10,18 @@ import android.view.ViewGroup;
import androidx.fragment.app.Fragment; import androidx.fragment.app.Fragment;
import androidx.recyclerview.widget.GridLayoutManager; import androidx.recyclerview.widget.GridLayoutManager;
import com.hd.phone.fresh.walls.MyWallpaper; import com.hd.wallpaper.free.walls.MyWallpaper;
import com.hd.phone.fresh.walls.R; import com.hd.wallpaper.free.walls.R;
import com.hd.phone.fresh.walls.adapter.AdapterFavorite; import com.hd.wallpaper.free.walls.adapter.AdapterPreView;
import com.hd.phone.fresh.walls.adapter.AdapterPreView; import com.hd.wallpaper.free.walls.databinding.FragmentLikeBinding;
import com.hd.phone.fresh.walls.databinding.FragmentLikeBinding; import com.hd.wallpaper.free.walls.db.DbManager;
import com.hd.phone.fresh.walls.db.DbManager; import com.hd.wallpaper.free.walls.json.Data;
import com.hd.phone.fresh.walls.json.Data; import com.hd.wallpaper.free.walls.mylistener.ItemClickListener;
import com.hd.phone.fresh.walls.mylistener.ItemClickListener; import com.hd.wallpaper.free.walls.mylistener.OnDownloadListener;
import com.hd.phone.fresh.walls.mylistener.OnDownloadListener; import com.hd.wallpaper.free.walls.utils.CommonUtils;
import com.hd.phone.fresh.walls.mylistener.OnLikeListener; import com.hd.wallpaper.free.walls.utils.ItemSpace;
import com.hd.phone.fresh.walls.utils.CommonKt;
import com.hd.phone.fresh.walls.utils.CommonUtils;
import com.hd.phone.fresh.walls.utils.ItemSpace;
import java.io.File;
import java.util.List; import java.util.List;
import java.util.Objects;
import io.objectbox.reactive.DataSubscription; import io.objectbox.reactive.DataSubscription;

View File

@ -1,4 +1,4 @@
package com.hd.phone.fresh.walls.ui; package com.hd.wallpaper.free.walls.ui;
import android.content.Intent; import android.content.Intent;
import android.os.Bundle; import android.os.Bundle;
@ -12,15 +12,15 @@ import androidx.fragment.app.Fragment;
import androidx.viewpager2.adapter.FragmentStateAdapter; import androidx.viewpager2.adapter.FragmentStateAdapter;
import com.google.android.material.tabs.TabLayout; import com.google.android.material.tabs.TabLayout;
import com.hd.phone.fresh.walls.MyWallpaper; import com.hd.wallpaper.free.walls.MyWallpaper;
import com.hd.phone.fresh.walls.R; import com.hd.wallpaper.free.walls.R;
import com.hd.phone.fresh.walls.databinding.ClassTabViewBinding; import com.hd.wallpaper.free.walls.databinding.ClassTabViewBinding;
import com.hd.phone.fresh.walls.databinding.FragmentMainBinding; import com.hd.wallpaper.free.walls.databinding.FragmentMainBinding;
import com.hd.phone.fresh.walls.json.Category; import com.hd.wallpaper.free.walls.json.Category;
import com.hd.phone.fresh.walls.json.Data; import com.hd.wallpaper.free.walls.json.Data;
import com.hd.phone.fresh.walls.mylistener.ItemClickListener; import com.hd.wallpaper.free.walls.mylistener.ItemClickListener;
import com.hd.phone.fresh.walls.utils.CommonUtils; import com.hd.wallpaper.free.walls.utils.CommonUtils;
import com.hd.phone.fresh.walls.utils.CustomerTv; import com.hd.wallpaper.free.walls.utils.CustomerTv;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;

View File

@ -1,4 +1,4 @@
package com.hd.phone.fresh.walls.ui; package com.hd.wallpaper.free.walls.ui;
import android.content.Intent; import android.content.Intent;
import android.os.Bundle; import android.os.Bundle;
@ -10,16 +10,16 @@ import android.view.ViewGroup;
import androidx.fragment.app.Fragment; import androidx.fragment.app.Fragment;
import androidx.recyclerview.widget.GridLayoutManager; import androidx.recyclerview.widget.GridLayoutManager;
import com.hd.phone.fresh.walls.MyWallpaper; import com.hd.wallpaper.free.walls.MyWallpaper;
import com.hd.phone.fresh.walls.R; import com.hd.wallpaper.free.walls.R;
import com.hd.phone.fresh.walls.adapter.AdapterFavorite; import com.hd.wallpaper.free.walls.adapter.AdapterFavorite;
import com.hd.phone.fresh.walls.databinding.FragmentLikeBinding; import com.hd.wallpaper.free.walls.databinding.FragmentLikeBinding;
import com.hd.phone.fresh.walls.db.DbManager; import com.hd.wallpaper.free.walls.db.DbManager;
import com.hd.phone.fresh.walls.json.Data; import com.hd.wallpaper.free.walls.json.Data;
import com.hd.phone.fresh.walls.mylistener.ItemClickListener; import com.hd.wallpaper.free.walls.mylistener.ItemClickListener;
import com.hd.phone.fresh.walls.mylistener.OnLikeListener; import com.hd.wallpaper.free.walls.mylistener.OnLikeListener;
import com.hd.phone.fresh.walls.utils.CommonUtils; import com.hd.wallpaper.free.walls.utils.CommonUtils;
import com.hd.phone.fresh.walls.utils.ItemSpace; import com.hd.wallpaper.free.walls.utils.ItemSpace;
import java.util.List; import java.util.List;

View File

@ -1,4 +1,4 @@
package com.hd.phone.fresh.walls.utils package com.hd.wallpaper.free.walls.utils
import android.Manifest import android.Manifest
import android.app.Activity import android.app.Activity
@ -12,8 +12,8 @@ import android.os.Build
import android.provider.MediaStore import android.provider.MediaStore
import android.util.Log import android.util.Log
import androidx.core.app.ActivityCompat import androidx.core.app.ActivityCompat
import com.hd.phone.fresh.walls.MyWallpaper import com.hd.wallpaper.free.walls.MyWallpaper
import com.hd.phone.fresh.walls.json.Data import com.hd.wallpaper.free.walls.json.Data
import okhttp3.Call import okhttp3.Call
import okhttp3.Callback import okhttp3.Callback
import okhttp3.OkHttpClient import okhttp3.OkHttpClient

View File

@ -1,10 +1,9 @@
package com.hd.phone.fresh.walls.utils; package com.hd.wallpaper.free.walls.utils;
import android.app.Activity; import android.app.Activity;
import android.app.ActivityManager; import android.app.ActivityManager;
import android.content.Context; import android.content.Context;
import android.graphics.Bitmap; import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas; import android.graphics.Canvas;
import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable; import android.graphics.drawable.Drawable;
@ -15,7 +14,7 @@ import android.view.View;
import android.view.Window; import android.view.Window;
import android.view.WindowManager; import android.view.WindowManager;
import com.hd.phone.fresh.walls.MyWallpaper; import com.hd.wallpaper.free.walls.MyWallpaper;
import java.io.BufferedReader; import java.io.BufferedReader;
import java.io.File; import java.io.File;

View File

@ -1,4 +1,4 @@
package com.hd.phone.fresh.walls.utils; package com.hd.wallpaper.free.walls.utils;
import android.content.Context; import android.content.Context;
import android.content.res.TypedArray; import android.content.res.TypedArray;
@ -6,8 +6,8 @@ import android.util.AttributeSet;
import androidx.annotation.Nullable; import androidx.annotation.Nullable;
import com.hd.phone.fresh.walls.MyWallpaper; import com.hd.wallpaper.free.walls.MyWallpaper;
import com.hd.phone.fresh.walls.R; import com.hd.wallpaper.free.walls.R;
public class CustomerTv extends androidx.appcompat.widget.AppCompatTextView { public class CustomerTv extends androidx.appcompat.widget.AppCompatTextView {

View File

@ -1,4 +1,4 @@
package com.hd.phone.fresh.walls.utils; package com.hd.wallpaper.free.walls.utils;
import android.graphics.Rect; import android.graphics.Rect;
import android.view.View; import android.view.View;

View File

@ -9,7 +9,7 @@
android:paddingTop="30dp" android:paddingTop="30dp"
tools:context=".ui.ActivityMain"> tools:context=".ui.ActivityMain">
<com.hd.phone.fresh.walls.utils.CustomerTv <com.hd.wallpaper.free.walls.utils.CustomerTv
android:id="@+id/textview_wallpaper" android:id="@+id/textview_wallpaper"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -69,7 +69,7 @@
android:layout_toEndOf="@id/image_header" android:layout_toEndOf="@id/image_header"
android:orientation="vertical"> android:orientation="vertical">
<com.hd.phone.fresh.walls.utils.CustomerTv <com.hd.wallpaper.free.walls.utils.CustomerTv
android:id="@+id/text_name" android:id="@+id/text_name"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -16,7 +16,7 @@
android:layout_marginTop="260dp" android:layout_marginTop="260dp"
android:src="@mipmap/logo_foreground" /> android:src="@mipmap/logo_foreground" />
<com.hd.phone.fresh.walls.utils.CustomerTv <com.hd.wallpaper.free.walls.utils.CustomerTv
android:id="@+id/textview_appname" android:id="@+id/textview_appname"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -6,7 +6,7 @@
android:gravity="center" android:gravity="center"
android:orientation="vertical"> android:orientation="vertical">
<com.hd.phone.fresh.walls.utils.CustomerTv <com.hd.wallpaper.free.walls.utils.CustomerTv
android:id="@+id/name" android:id="@+id/name"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"

View File

@ -1,4 +1,4 @@
package com.hd.phone.fresh.walls; package com.hd.wallpaper.free.walls;
import org.junit.Test; import org.junit.Test;

View File

@ -1,6 +1,6 @@
app_name=HD Wallpaper app_name=HD Wallpaper
package_name=com.hd.phone.mico.wallpaper package_name=com.hd.wallpaper.free
keystoreFile=app/micowallpaper.jks keystoreFile=app/HDWallpaper.jks
key_alias=micowallpaperkey0 key_alias=HDWallpaperkey0
key_store_password=micowallpaper key_store_password=HDWallpaper
key_password=micowallpaper key_password=HDWallpaper