version:1.1
update:2021-10-19 17:27:09 fix:更换包名,自更新 add:加入极光推送,发送正在运行的app信息
This commit is contained in:
@@ -16,5 +16,5 @@
|
||||
-->
|
||||
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.android.uiuios.icons">
|
||||
package="com.android.colorfulos.icons">
|
||||
</manifest>
|
||||
|
||||
@@ -13,6 +13,15 @@ android {
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
zhanRuiRelease.initWith(release)
|
||||
zhanRuiRelease {
|
||||
minifyEnabled false
|
||||
}
|
||||
|
||||
zhanRuiDebug.initWith(debug)
|
||||
zhanRuiDebug {
|
||||
minifyEnabled false
|
||||
}
|
||||
debug {
|
||||
minifyEnabled false
|
||||
}
|
||||
|
||||
@@ -17,6 +17,6 @@
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/legacy_icon_background"/>
|
||||
<foreground>
|
||||
<com.android.uiuios.icons.FixedScaleDrawable />
|
||||
<com.android.colorfulos.icons.FixedScaleDrawable />
|
||||
</foreground>
|
||||
</adaptive-icon>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
package com.android.uiuios.icons;
|
||||
package com.android.colorfulos.icons;
|
||||
|
||||
import static android.graphics.Paint.DITHER_FLAG;
|
||||
import static android.graphics.Paint.FILTER_BITMAP_FLAG;
|
||||
|
||||
import static com.android.uiuios.icons.ShadowGenerator.BLUR_FACTOR;
|
||||
import static com.android.colorfulos.icons.ShadowGenerator.BLUR_FACTOR;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
@@ -17,7 +17,6 @@ import android.graphics.Rect;
|
||||
import android.graphics.RectF;
|
||||
import android.graphics.drawable.AdaptiveIconDrawable;
|
||||
import android.graphics.drawable.BitmapDrawable;
|
||||
import android.graphics.drawable.ColorDrawable;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.os.Build;
|
||||
import android.os.Process;
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.android.uiuios.icons;
|
||||
package com.android.colorfulos.icons;
|
||||
|
||||
import android.graphics.Bitmap;
|
||||
import android.graphics.Bitmap.Config;
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.android.uiuios.icons;
|
||||
package com.android.colorfulos.icons;
|
||||
|
||||
import android.annotation.TargetApi;
|
||||
import android.graphics.Bitmap;
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.android.uiuios.icons;
|
||||
package com.android.colorfulos.icons;
|
||||
|
||||
import android.graphics.Bitmap;
|
||||
import android.graphics.Color;
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.uiuios.icons;
|
||||
package com.android.colorfulos.icons;
|
||||
|
||||
import static android.graphics.Paint.ANTI_ALIAS_FLAG;
|
||||
import static android.graphics.Paint.FILTER_BITMAP_FLAG;
|
||||
@@ -26,7 +26,6 @@ import android.graphics.Paint;
|
||||
import android.graphics.Path;
|
||||
import android.graphics.PathMeasure;
|
||||
import android.graphics.Rect;
|
||||
import android.graphics.RectF;
|
||||
import android.util.Log;
|
||||
import android.view.ViewDebug;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.android.uiuios.icons;
|
||||
package com.android.colorfulos.icons;
|
||||
|
||||
import android.content.res.Resources;
|
||||
import android.content.res.Resources.Theme;
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.android.uiuios.icons;
|
||||
package com.android.colorfulos.icons;
|
||||
|
||||
import android.graphics.Bitmap;
|
||||
import android.graphics.Rect;
|
||||
@@ -14,11 +14,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.uiuios.icons;
|
||||
package com.android.colorfulos.icons;
|
||||
|
||||
import android.annotation.TargetApi;
|
||||
import android.content.Context;
|
||||
import android.content.res.Resources;
|
||||
import android.graphics.Bitmap;
|
||||
import android.graphics.Canvas;
|
||||
import android.graphics.Color;
|
||||
@@ -14,9 +14,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.uiuios.icons;
|
||||
package com.android.colorfulos.icons;
|
||||
|
||||
import static com.android.uiuios.icons.GraphicsUtils.setColorAlphaBound;
|
||||
import static com.android.colorfulos.icons.GraphicsUtils.setColorAlphaBound;
|
||||
|
||||
import android.graphics.Bitmap;
|
||||
import android.graphics.Bitmap.Config;
|
||||
@@ -13,11 +13,11 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.android.uiuios.icons.cache;
|
||||
package com.android.colorfulos.icons.cache;
|
||||
|
||||
import static com.android.uiuios.icons.BaseIconFactory.getFullResDefaultActivityIcon;
|
||||
import static com.android.uiuios.icons.BitmapInfo.LOW_RES_ICON;
|
||||
import static com.android.uiuios.icons.GraphicsUtils.setColorAlphaBound;
|
||||
import static com.android.colorfulos.icons.BaseIconFactory.getFullResDefaultActivityIcon;
|
||||
import static com.android.colorfulos.icons.BitmapInfo.LOW_RES_ICON;
|
||||
import static com.android.colorfulos.icons.GraphicsUtils.setColorAlphaBound;
|
||||
|
||||
import android.content.ComponentName;
|
||||
import android.content.ContentValues;
|
||||
@@ -42,12 +42,12 @@ import android.os.UserHandle;
|
||||
import android.text.TextUtils;
|
||||
import android.util.Log;
|
||||
|
||||
import com.android.uiuios.icons.BaseIconFactory;
|
||||
import com.android.uiuios.icons.BitmapInfo;
|
||||
import com.android.uiuios.icons.BitmapRenderer;
|
||||
import com.android.uiuios.icons.GraphicsUtils;
|
||||
import com.android.uiuios.util.ComponentKey;
|
||||
import com.android.uiuios.util.SQLiteCacheHelper;
|
||||
import com.android.colorfulos.icons.BaseIconFactory;
|
||||
import com.android.colorfulos.icons.BitmapInfo;
|
||||
import com.android.colorfulos.icons.BitmapRenderer;
|
||||
import com.android.colorfulos.icons.GraphicsUtils;
|
||||
import com.android.colorfulos.util.ComponentKey;
|
||||
import com.android.colorfulos.util.SQLiteCacheHelper;
|
||||
|
||||
import java.util.AbstractMap;
|
||||
import java.util.Collections;
|
||||
@@ -13,13 +13,13 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.android.uiuios.icons.cache;
|
||||
package com.android.colorfulos.icons.cache;
|
||||
|
||||
import android.content.ComponentName;
|
||||
import android.content.Context;
|
||||
import android.os.UserHandle;
|
||||
|
||||
import com.android.uiuios.icons.BitmapInfo;
|
||||
import com.android.colorfulos.icons.BitmapInfo;
|
||||
|
||||
public interface CachingLogic<T> {
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.android.uiuios.icons.cache;
|
||||
package com.android.colorfulos.icons.cache;
|
||||
|
||||
import android.os.Handler;
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.android.uiuios.icons.cache;
|
||||
package com.android.colorfulos.icons.cache;
|
||||
|
||||
import android.content.ComponentName;
|
||||
import android.content.pm.ApplicationInfo;
|
||||
@@ -27,7 +27,7 @@ import android.text.TextUtils;
|
||||
import android.util.Log;
|
||||
import android.util.SparseBooleanArray;
|
||||
|
||||
import com.android.uiuios.icons.cache.BaseIconCache.IconDB;
|
||||
import com.android.colorfulos.icons.cache.BaseIconCache.IconDB;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.android.uiuios.util;
|
||||
package com.android.colorfulos.util;
|
||||
|
||||
/**
|
||||
* Copyright (C) 2015 The Android Open Source Project
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.uiuios.util;
|
||||
package com.android.colorfulos.util;
|
||||
|
||||
import static android.database.sqlite.SQLiteDatabase.NO_LOCALIZED_COLLATORS;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.android.uiuios.util;
|
||||
package com.android.colorfulos.util;
|
||||
|
||||
import android.content.ContentValues;
|
||||
import android.content.Context;
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.uiuios.icons;
|
||||
package com.android.colorfulos.icons;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.android.uiuios.icons;
|
||||
package com.android.colorfulos.icons;
|
||||
|
||||
import static android.content.Intent.ACTION_MANAGED_PROFILE_ADDED;
|
||||
import static android.content.Intent.ACTION_MANAGED_PROFILE_REMOVED;
|
||||
@@ -32,7 +32,7 @@ import android.os.UserHandle;
|
||||
import android.os.UserManager;
|
||||
import android.util.SparseLongArray;
|
||||
|
||||
import com.android.uiuios.icons.cache.BaseIconCache;
|
||||
import com.android.colorfulos.icons.cache.BaseIconCache;
|
||||
|
||||
/**
|
||||
* Wrapper class to provide access to {@link BaseIconFactory} and also to provide pool of this class
|
||||
Reference in New Issue
Block a user