From c0269fcfa876b9c5cf309b2006462b4d09c5ef95 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 28 七月 2021 18:09:02 +0800 Subject: [PATCH] 包名及目录修改 --- library-mine/src/com/lcjian/library/widget/TagCloudLayout.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/library-mine/src/com/lcjian/library/widget/TagCloudLayout.java b/library-mine/src/com/lcjian/library/widget/TagCloudLayout.java index aeda900..4147193 100644 --- a/library-mine/src/com/lcjian/library/widget/TagCloudLayout.java +++ b/library-mine/src/com/lcjian/library/widget/TagCloudLayout.java @@ -46,13 +46,13 @@ public interface OnScrollListener { - public static int SCROLL_STATE_IDLE = 0; + int SCROLL_STATE_IDLE = 0; - public static int SCROLL_STATE_TOUCH_SCROLL = 1; + int SCROLL_STATE_TOUCH_SCROLL = 1; - public static int SCROLL_STATE_FLING = 2; + int SCROLL_STATE_FLING = 2; - public void onScrollStateChanged(int scrollState); + void onScrollStateChanged(int scrollState); } public TagCloudLayout(Context context) { @@ -97,7 +97,7 @@ mcList[i].alpha = (mcList[i].alpha - 0.6) * (10d / 6d); ((TextView) mcList[i].mTarget).setTextSize((float) Math.ceil(12 * mcList[i].scale / 2) + 8); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { - ((TextView) mcList[i].mTarget).setAlpha((float) mcList[i].alpha); + mcList[i].mTarget.setAlpha((float) mcList[i].alpha); } } } @@ -218,7 +218,7 @@ ((TextView) child.mTarget).setTextSize((float) Math.ceil(12 * mcList[i].scale / 2) + 8); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { - ((TextView) child.mTarget).setAlpha((float) mcList[i].alpha); + child.mTarget.setAlpha((float) mcList[i].alpha); } } requestLayout(); -- Gitblit v1.8.0