wangkai

添加ImageActivity

Showing 100 changed files with 270 additions and 249 deletions

Too many changes to show.

To preserve performance only 100 of 100+ files are displayed.

... ... @@ -52,6 +52,7 @@
<activity
android:name=".MainActivity"
android:theme="@style/SplashTheme"
android:exported="true"
android:launchMode="singleTask">
<intent-filter>
... ...
... ... @@ -41,11 +41,11 @@ public class WCompTask extends Task {
// public void registerComponent(IComponentRegister iComponentRegister) {
// // 内容获取组件
// iComponentRegister.registerComponent("ContentComponent",
// "com.people.component.content.ContentComponent");
// "com.wd.component.content.ContentComponent");
// // comp组件
// iComponentRegister.registerComponent("CompComponent", "com.people.component.comp.CompComponent");
// iComponentRegister.registerComponent("CompComponent", "com.wd.component.comp.CompComponent");
// // 语音识别
// iComponentRegister.registerComponent("SpeechComponent", "com.people.speech.SpeechComponent");
// iComponentRegister.registerComponent("SpeechComponent", "com.wd.speech.SpeechComponent");
// }
//
// @Override
... ...
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item><color android:color="@color/res_color_common_C8_keep" /></item>
<item android:width="@dimen/rmrb_dp300"
android:height="@dimen/btmlogo_dimen"
android:gravity="bottom|center_horizontal">
<bitmap android:gravity="center"
android:src="@drawable/icon_splash_tra_bottom_logo"/></item>
</layer-list>
\ No newline at end of file
... ...
... ... @@ -7,4 +7,15 @@
<item name="colorAccent">@color/colorAccent</item>
<item name="android:forceDarkAllowed" tools:targetApi="q">false</item>
</style>
<style name="SplashTheme" parent="Theme.AppCompat.Light.NoActionBar">
<!-- <item name="android:windowNoTitle">true</item>-->
<item name="android:windowFullscreen">true</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowBackground">@drawable/startbg</item>
<item name="android:windowTranslucentStatus">true</item>
<item name="android:windowDrawsSystemBarBackgrounds" >false</item>
<item name="android:forceDarkAllowed" tools:targetApi="q">false</item>
</style>
</resources>
\ No newline at end of file
... ...
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.people.comment">
package="com.wd.comment">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
... ...
package com.people.comment.adapter;
package com.wd.comment.adapter;
import android.content.Context;
import android.view.LayoutInflater;
... ... @@ -8,13 +8,13 @@ import android.view.ViewGroup;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;
import com.people.comment.R;
import com.people.comment.view_holder.CommentChildViewHolder;
import com.people.comment.view_holder.CommentParentViewHolder;
import com.people.comment.view_holder.CommentTitleViewHolder;
import com.people.comment.view_holder.EmptyCommentViewHolder;
import com.people.comment.view_holder.MoreCommentViewHolder;
import com.people.comment.view_holder.NoMoreCommentViewHolder;
import com.wd.comment.R;
import com.wd.comment.view_holder.CommentChildViewHolder;
import com.wd.comment.view_holder.CommentParentViewHolder;
import com.wd.comment.view_holder.CommentTitleViewHolder;
import com.wd.comment.view_holder.EmptyCommentViewHolder;
import com.wd.comment.view_holder.MoreCommentViewHolder;
import com.wd.comment.view_holder.NoMoreCommentViewHolder;
import com.wd.foundation.wdkit.constant.PageNameConstants;
import com.wd.foundation.wdkit.view.DefaultView;
import com.wd.foundation.bean.custom.content.CommentItem;
... ...
package com.people.comment.adapter;
package com.wd.comment.adapter;
import android.content.Context;
import android.view.LayoutInflater;
... ... @@ -7,8 +7,8 @@ import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
import com.people.comment.R;
import com.people.comment.bean.EmojiEntity;
import com.wd.comment.R;
import com.wd.comment.bean.EmojiEntity;
import java.util.List;
... ...
package com.people.comment.adapter;
package com.wd.comment.adapter;
import android.view.View;
import android.view.ViewGroup;
... ...
package com.people.comment.adapter;
package com.wd.comment.adapter;
import android.content.Context;
import android.view.LayoutInflater;
... ... @@ -8,7 +8,7 @@ import android.widget.BaseAdapter;
import android.widget.FrameLayout;
import android.widget.ImageView;
import com.people.comment.R;
import com.wd.comment.R;
import com.wd.foundation.wdkit.imageglide.ImageUtils;
import com.wd.foundation.wdkit.utils.ScreenUtils;
... ...
package com.people.comment.adapter;
package com.wd.comment.adapter;
import android.graphics.Typeface;
... ... @@ -20,7 +20,7 @@ import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.core.content.ContextCompat;
import com.chad.library.adapter.base.BaseViewHolder;
import com.people.comment.R;
import com.wd.comment.R;
import com.wd.common.base.BaseSplitAdapter;
import com.wd.foundation.wdkit.imageglide.ImageUtils;
import com.wd.foundation.wdkit.viewclick.BaseClickListener;
... ...
package com.people.comment.adapter;
package com.wd.comment.adapter;
import android.graphics.Typeface;
import android.text.Spannable;
... ... @@ -17,7 +17,7 @@ import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.core.content.ContextCompat;
import com.chad.library.adapter.base.BaseViewHolder;
import com.people.comment.R;
import com.wd.comment.R;
import com.wd.common.base.BaseSplitAdapter;
import com.wd.foundation.wdkit.imageglide.ImageUtils;
import com.wd.foundation.wdkit.viewclick.BaseClickListener;
... ...
package com.people.comment.comment.listener;
package com.wd.comment.comment.listener;
import com.wd.foundation.bean.response.SpeechTokenBean;
import com.wd.foundation.wdkit.mvvm.vm.IVMCallback;
... ...
package com.people.comment.comment.listener;
package com.wd.comment.comment.listener;
import com.wd.foundation.bean.comment.CommentListBean;
... ...
package com.people.comment.comment.model;
package com.wd.comment.comment.model;
import android.text.TextUtils;
import com.people.comment.adapter.CommentListAdapter;
import com.people.comment.listener.BatchMyCommentListLikeStatusListener;
import com.people.comment.listener.DeleteMyCommentListListener;
import com.people.comment.listener.MyCommentListDataListener;
import com.people.comment.listener.SubmitMyCommentListListener;
import com.wd.comment.adapter.CommentListAdapter;
import com.wd.comment.listener.BatchMyCommentListLikeStatusListener;
import com.wd.comment.listener.DeleteMyCommentListListener;
import com.wd.comment.listener.MyCommentListDataListener;
import com.wd.comment.listener.SubmitMyCommentListListener;
import com.wd.capability.network.BaseObserver;
import com.wd.capability.network.bean.MetaBean;
import com.wd.foundation.wdkit.constant.EventConstants;
... ...
package com.people.comment.comment.model;
package com.wd.comment.comment.model;
import com.people.comment.comment.listener.AliTokenListener;
import com.wd.comment.comment.listener.AliTokenListener;
import com.wd.capability.network.BaseObserver;
import com.wd.capability.network.fetcher.BaseDataFetcher;
import com.wd.capability.network.response.BaseResponse;
... ...
package com.people.comment.comment.model;
package com.wd.comment.comment.model;
import com.people.comment.comment.listener.IVisitorCommentDataListener;
import com.wd.comment.comment.listener.IVisitorCommentDataListener;
import com.wd.capability.network.BaseObserver;
import com.wd.capability.network.constant.ParameterConstant;
import com.wd.capability.network.fetcher.BaseDataFetcher;
... ...
package com.people.comment.comment.vm;
package com.wd.comment.comment.vm;
import androidx.lifecycle.LifecycleOwner;
import com.people.comment.comment.model.CommentDataFetcher;
import com.people.comment.listener.BatchMyCommentListLikeStatusListener;
import com.people.comment.listener.DeleteMyCommentListListener;
import com.people.comment.listener.MyCommentListDataListener;
import com.people.comment.listener.SubmitMyCommentListListener;
import com.wd.comment.comment.model.CommentDataFetcher;
import com.wd.comment.listener.BatchMyCommentListLikeStatusListener;
import com.wd.comment.listener.DeleteMyCommentListListener;
import com.wd.comment.listener.MyCommentListDataListener;
import com.wd.comment.listener.SubmitMyCommentListListener;
import com.wd.foundation.wdkit.mvvm.vm.UIViewModel;
import com.wd.common.interact.ICommentDataNewListener;
import com.wd.common.interfaces.OnGetContentBeanSuccessListener;
... ...
package com.people.comment.comment.vm;
package com.wd.comment.comment.vm;
import androidx.lifecycle.LifecycleOwner;
import com.people.comment.comment.listener.IVisitorCommentDataListener;
import com.people.comment.comment.model.VisitorCommentDataFetcher;
import com.wd.comment.comment.listener.IVisitorCommentDataListener;
import com.wd.comment.comment.model.VisitorCommentDataFetcher;
import com.wd.foundation.wdkit.mvvm.vm.UIViewModel;
/**
... ...
package com.people.comment.commonpage;
package com.wd.comment.commonpage;
import android.content.Context;
import android.text.TextUtils;
import com.people.comment.fragment.TemplateFragment;
import com.people.room.SubscribeLivingHelper;
import com.people.room.entity.SubscribeLivingModel;
import com.wd.comment.fragment.TemplateFragment;
import com.wd.room.SubscribeLivingHelper;
import com.wd.room.entity.SubscribeLivingModel;
import com.wd.capability.layout.R;
import com.wd.capability.network.BaseObserver;
import com.wd.capability.network.constant.ParameterConstant;
... ...
package com.people.comment.commonpage;
package com.wd.comment.commonpage;
import com.wd.capability.layout.comp.layoutdata.Page;
import com.wd.foundation.bean.custom.comp.PageBean;
... ...
package com.people.comment.commonpage;
package com.wd.comment.commonpage;
import android.content.Context;
import androidx.lifecycle.LifecycleOwner;
import com.people.room.entity.ChannelBean;
import com.wd.room.entity.ChannelBean;
import com.wd.foundation.bean.RecListBean;
import com.wd.foundation.bean.custom.MenuBean;
import com.wd.foundation.bean.custom.content.ContentBean;
... ...
package com.people.comment.commonpage;
package com.wd.comment.commonpage;
import com.people.room.entity.ChannelBean;
import com.wd.room.entity.ChannelBean;
import com.wd.capability.layout.comp.layoutdata.AbsGroup;
import com.wd.capability.layout.comp.layoutdata.Page;
import com.wd.capability.layout.comp.parser.ChannelSectionParser;
... ...
package com.people.comment.dialog;
package com.wd.comment.dialog;
import android.app.Dialog;
import android.content.Context;
... ... @@ -20,7 +20,7 @@ import android.widget.TextView;
import androidx.core.content.ContextCompat;
import com.people.comment.R;
import com.wd.comment.R;
import com.wd.foundation.wdkit.utils.UiUtils;
import java.util.ArrayList;
... ...
package com.people.comment.dialog;
package com.wd.comment.dialog;
import android.app.Activity;
import android.graphics.Color;
... ... @@ -14,9 +14,9 @@ import android.widget.TextView;
import androidx.core.content.ContextCompat;
import com.people.comment.R;
import com.people.comment.listener.CommitDialogListener;
import com.people.comment.manager.ExpressionManager;
import com.wd.comment.R;
import com.wd.comment.listener.CommitDialogListener;
import com.wd.comment.manager.ExpressionManager;
import com.wd.foundation.wdkit.constant.PageNameConstants;
import com.wd.common.dialog.LayerDialog;
import com.wd.foundation.wdkit.imageglide.ImageUtils;
... ...
package com.people.comment.dialog;
package com.wd.comment.dialog;
import android.content.Context;
import android.os.Bundle;
... ... @@ -11,7 +11,7 @@ import androidx.annotation.NonNull;
import androidx.core.content.ContextCompat;
import com.google.android.material.bottomsheet.BottomSheetDialog;
import com.people.comment.R;
import com.wd.comment.R;
import com.wd.foundation.bean.custom.content.CommentItem;
/**
... ...
package com.people.comment.dialog;
package com.wd.comment.dialog;
import android.app.Activity;
import android.content.Context;
... ... @@ -17,11 +17,11 @@ import androidx.recyclerview.widget.SimpleItemAnimator;
import com.google.android.material.bottomsheet.BottomSheetBehavior;
import com.google.android.material.bottomsheet.BottomSheetDialog;
import com.people.comment.R;
import com.people.comment.adapter.CommentListAdapter;
import com.people.comment.bean.CommentClickShowType;
import com.people.comment.comment.vm.CommentViewModel;
import com.people.comment.listener.CommitDialogListener;
import com.wd.comment.R;
import com.wd.comment.adapter.CommentListAdapter;
import com.wd.comment.bean.CommentClickShowType;
import com.wd.comment.comment.vm.CommentViewModel;
import com.wd.comment.listener.CommitDialogListener;
import com.scwang.smart.refresh.layout.api.RefreshLayout;
import com.scwang.smart.refresh.layout.listener.OnLoadMoreListener;
import com.wd.base.log.Logger;
... ...
package com.people.comment.dialog;
package com.wd.comment.dialog;
import android.app.Dialog;
import android.content.Context;
... ... @@ -22,11 +22,11 @@ import androidx.annotation.NonNull;
import androidx.fragment.app.FragmentActivity;
import androidx.viewpager.widget.ViewPager;
import com.people.comment.R;
import com.people.comment.adapter.ExpressionGridViewAdapter;
import com.people.comment.adapter.ExpressionPagerAdapter;
import com.people.comment.bean.EmojiEntity;
import com.people.comment.listener.CommentSeedListener;
import com.wd.comment.R;
import com.wd.comment.adapter.ExpressionGridViewAdapter;
import com.wd.comment.adapter.ExpressionPagerAdapter;
import com.wd.comment.bean.EmojiEntity;
import com.wd.comment.listener.CommentSeedListener;
import com.wd.capability.network.BaseObserver;
import com.wd.capability.network.bean.MetaBean;
import com.wd.foundation.wdkit.constant.EventConstants;
... ...
... ... @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.people.comment.emjio;
package com.wd.comment.emjio;
import android.app.Activity;
import android.view.Window;
... ...
... ... @@ -13,14 +13,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.people.comment.emjio;
package com.wd.comment.emjio;
import android.content.Context;
import android.view.View;
import com.people.comment.emjio.handler.KPSwitchPanelLayoutHandler;
import com.people.comment.emjio.util.KPSwitchConflictUtil;
import com.people.comment.emjio.util.KeyboardUtil;
import com.wd.comment.emjio.handler.KPSwitchPanelLayoutHandler;
import com.wd.comment.emjio.util.KPSwitchConflictUtil;
import com.wd.comment.emjio.util.KeyboardUtil;
/**
* @Author :张泽昊
... ...
... ... @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.people.comment.emjio;
package com.wd.comment.emjio;
/**
* @Author :张泽昊
... ...
... ... @@ -13,13 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.people.comment.emjio.handler;
package com.wd.comment.emjio.handler;
import android.view.View;
import android.view.Window;
import com.people.comment.emjio.IFSPanelConflictLayout;
import com.people.comment.emjio.util.KeyboardUtil;
import com.wd.comment.emjio.IFSPanelConflictLayout;
import com.wd.comment.emjio.util.KeyboardUtil;
/**
* @Author :张泽昊
... ...
... ... @@ -13,16 +13,16 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.people.comment.emjio.handler;
package com.wd.comment.emjio.handler;
import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.view.View;
import com.people.comment.R;
import com.people.comment.emjio.IPanelConflictLayout;
import com.people.comment.emjio.util.ViewUtil;
import com.wd.comment.R;
import com.wd.comment.emjio.IPanelConflictLayout;
import com.wd.comment.emjio.util.ViewUtil;
/**
... ...
... ... @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.people.comment.emjio.handler;
package com.wd.comment.emjio.handler;
import android.annotation.TargetApi;
import android.app.Activity;
... ... @@ -23,9 +23,9 @@ import android.util.Log;
import android.view.View;
import android.view.ViewGroup;
import com.people.comment.emjio.IPanelConflictLayout;
import com.people.comment.emjio.util.StatusBarHeightUtil;
import com.people.comment.emjio.util.ViewUtil;
import com.wd.comment.emjio.IPanelConflictLayout;
import com.wd.comment.emjio.util.StatusBarHeightUtil;
import com.wd.comment.emjio.util.ViewUtil;
/**
* @Author :张泽昊
... ...
... ... @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.people.comment.emjio.util;
package com.wd.comment.emjio.util;
import android.app.Activity;
import android.view.MotionEvent;
... ...
... ... @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.people.comment.emjio.util;
package com.wd.comment.emjio.util;
import android.content.Context;
import android.content.SharedPreferences;
... ...
... ... @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.people.comment.emjio.util;
package com.wd.comment.emjio.util;
import android.app.Activity;
import android.content.Context;
... ... @@ -26,8 +26,8 @@ import android.view.ViewGroup;
import android.view.ViewTreeObserver;
import android.view.inputmethod.InputMethodManager;
import com.people.comment.R;
import com.people.comment.emjio.IPanelHeightTarget;
import com.wd.comment.R;
import com.wd.comment.emjio.IPanelHeightTarget;
/**
... ...
... ... @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.people.comment.emjio.util;
package com.wd.comment.emjio.util;
import android.content.Context;
import android.util.Log;
... ...
... ... @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.people.comment.emjio.util;
package com.wd.comment.emjio.util;
import android.annotation.TargetApi;
import android.app.Activity;
... ...
... ... @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.people.comment.emjio.widget;
package com.wd.comment.emjio.widget;
import android.annotation.TargetApi;
import android.content.Context;
... ... @@ -22,10 +22,10 @@ import android.util.AttributeSet;
import android.view.Window;
import android.widget.FrameLayout;
import com.people.comment.emjio.IFSPanelConflictLayout;
import com.people.comment.emjio.IPanelHeightTarget;
import com.people.comment.emjio.handler.KPSwitchFSPanelLayoutHandler;
import com.people.comment.emjio.util.ViewUtil;
import com.wd.comment.emjio.IFSPanelConflictLayout;
import com.wd.comment.emjio.IPanelHeightTarget;
import com.wd.comment.emjio.handler.KPSwitchFSPanelLayoutHandler;
import com.wd.comment.emjio.util.ViewUtil;
/**
... ...
... ... @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.people.comment.emjio.widget;
package com.wd.comment.emjio.widget;
import android.annotation.TargetApi;
import android.content.Context;
... ... @@ -22,10 +22,10 @@ import android.util.AttributeSet;
import android.view.Window;
import android.widget.LinearLayout;
import com.people.comment.emjio.IFSPanelConflictLayout;
import com.people.comment.emjio.IPanelHeightTarget;
import com.people.comment.emjio.handler.KPSwitchFSPanelLayoutHandler;
import com.people.comment.emjio.util.ViewUtil;
import com.wd.comment.emjio.IFSPanelConflictLayout;
import com.wd.comment.emjio.IPanelHeightTarget;
import com.wd.comment.emjio.handler.KPSwitchFSPanelLayoutHandler;
import com.wd.comment.emjio.util.ViewUtil;
/**
... ...
... ... @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.people.comment.emjio.widget;
package com.wd.comment.emjio.widget;
import android.annotation.TargetApi;
import android.content.Context;
... ... @@ -22,10 +22,10 @@ import android.util.AttributeSet;
import android.view.Window;
import android.widget.RelativeLayout;
import com.people.comment.emjio.IFSPanelConflictLayout;
import com.people.comment.emjio.IPanelHeightTarget;
import com.people.comment.emjio.handler.KPSwitchFSPanelLayoutHandler;
import com.people.comment.emjio.util.ViewUtil;
import com.wd.comment.emjio.IFSPanelConflictLayout;
import com.wd.comment.emjio.IPanelHeightTarget;
import com.wd.comment.emjio.handler.KPSwitchFSPanelLayoutHandler;
import com.wd.comment.emjio.util.ViewUtil;
/**
... ...
... ... @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.people.comment.emjio.widget;
package com.wd.comment.emjio.widget;
import android.annotation.TargetApi;
import android.content.Context;
... ... @@ -22,9 +22,9 @@ import android.util.AttributeSet;
import android.view.View;
import android.widget.FrameLayout;
import com.people.comment.emjio.IPanelConflictLayout;
import com.people.comment.emjio.IPanelHeightTarget;
import com.people.comment.emjio.handler.KPSwitchPanelLayoutHandler;
import com.wd.comment.emjio.IPanelConflictLayout;
import com.wd.comment.emjio.IPanelHeightTarget;
import com.wd.comment.emjio.handler.KPSwitchPanelLayoutHandler;
/**
... ...
... ... @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.people.comment.emjio.widget;
package com.wd.comment.emjio.widget;
import android.annotation.TargetApi;
import android.content.Context;
... ... @@ -22,9 +22,9 @@ import android.util.AttributeSet;
import android.view.View;
import android.widget.LinearLayout;
import com.people.comment.emjio.IPanelConflictLayout;
import com.people.comment.emjio.IPanelHeightTarget;
import com.people.comment.emjio.handler.KPSwitchPanelLayoutHandler;
import com.wd.comment.emjio.IPanelConflictLayout;
import com.wd.comment.emjio.IPanelHeightTarget;
import com.wd.comment.emjio.handler.KPSwitchPanelLayoutHandler;
/**
... ...
... ... @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.people.comment.emjio.widget;
package com.wd.comment.emjio.widget;
import android.annotation.TargetApi;
import android.content.Context;
... ... @@ -22,9 +22,9 @@ import android.util.AttributeSet;
import android.view.View;
import android.widget.RelativeLayout;
import com.people.comment.emjio.IPanelConflictLayout;
import com.people.comment.emjio.IPanelHeightTarget;
import com.people.comment.emjio.handler.KPSwitchPanelLayoutHandler;
import com.wd.comment.emjio.IPanelConflictLayout;
import com.wd.comment.emjio.IPanelHeightTarget;
import com.wd.comment.emjio.handler.KPSwitchPanelLayoutHandler;
/**
... ...
... ... @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.people.comment.emjio.widget;
package com.wd.comment.emjio.widget;
import android.annotation.TargetApi;
import android.content.Context;
... ... @@ -21,7 +21,7 @@ import android.os.Build;
import android.util.AttributeSet;
import android.widget.FrameLayout;
import com.people.comment.emjio.handler.KPSwitchRootLayoutHandler;
import com.wd.comment.emjio.handler.KPSwitchRootLayoutHandler;
/**
... ...
... ... @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.people.comment.emjio.widget;
package com.wd.comment.emjio.widget;
import android.annotation.TargetApi;
import android.content.Context;
... ... @@ -21,7 +21,7 @@ import android.os.Build;
import android.util.AttributeSet;
import android.widget.LinearLayout;
import com.people.comment.emjio.handler.KPSwitchRootLayoutHandler;
import com.wd.comment.emjio.handler.KPSwitchRootLayoutHandler;
/**
... ...
... ... @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.people.comment.emjio.widget;
package com.wd.comment.emjio.widget;
import android.annotation.TargetApi;
import android.content.Context;
... ... @@ -21,7 +21,7 @@ import android.os.Build;
import android.util.AttributeSet;
import android.widget.RelativeLayout;
import com.people.comment.emjio.handler.KPSwitchRootLayoutHandler;
import com.wd.comment.emjio.handler.KPSwitchRootLayoutHandler;
/**
... ...
package com.people.comment.fragment;
package com.wd.comment.fragment;
import android.os.Bundle;
import android.view.View;
... ... @@ -10,12 +10,12 @@ import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import androidx.recyclerview.widget.SimpleItemAnimator;
import com.people.comment.R;
import com.people.comment.adapter.CommentListAdapter;
import com.people.comment.bean.CommentClickShowType;
import com.people.comment.comment.vm.CommentViewModel;
import com.people.comment.dialog.CommentCommitDialog;
import com.people.comment.listener.CommitDialogListener;
import com.wd.comment.R;
import com.wd.comment.adapter.CommentListAdapter;
import com.wd.comment.bean.CommentClickShowType;
import com.wd.comment.comment.vm.CommentViewModel;
import com.wd.comment.dialog.CommentCommitDialog;
import com.wd.comment.listener.CommitDialogListener;
import com.scwang.smart.refresh.layout.api.RefreshLayout;
import com.scwang.smart.refresh.layout.listener.OnLoadMoreListener;
import com.wd.foundation.wdkit.constant.EventConstants;
... ...
package com.people.comment.fragment;
package com.wd.comment.fragment;
import android.content.res.Configuration;
import android.os.Bundle;
... ... @@ -18,15 +18,15 @@ import androidx.recyclerview.widget.GridLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import androidx.recyclerview.widget.SimpleItemAnimator;
import com.people.comment.R;
import com.people.comment.bean.CommentClickShowType;
import com.people.comment.comment.vm.CommentViewModel;
import com.people.comment.commonpage.TemplatePageDataFetcher;
import com.people.comment.commonpage.TemplatePageDataListener;
import com.people.comment.commonpage.TemplatePageDataViewModel;
import com.people.comment.dialog.CommentCommitDialog;
import com.people.comment.listener.CommitDialogListener;
import com.people.room.entity.ChannelBean;
import com.wd.comment.R;
import com.wd.comment.bean.CommentClickShowType;
import com.wd.comment.comment.vm.CommentViewModel;
import com.wd.comment.commonpage.TemplatePageDataFetcher;
import com.wd.comment.commonpage.TemplatePageDataListener;
import com.wd.comment.commonpage.TemplatePageDataViewModel;
import com.wd.comment.dialog.CommentCommitDialog;
import com.wd.comment.listener.CommitDialogListener;
import com.wd.room.entity.ChannelBean;
import com.scwang.smart.refresh.layout.api.RefreshLayout;
import com.scwang.smart.refresh.layout.listener.OnRefreshLoadMoreListener;
import com.wd.base.log.Logger;
... ... @@ -1266,11 +1266,11 @@ public class TemplateFragment extends BaseAutoLazyFragment implements OnRefreshL
//删除评论
else if (showType == CommentClickShowType.delete) {
new AlertDialog(getActivity()).builder()
.setTitle(ResUtils.getString(com.people.comment.R.string.del_comment_tip))
.setPositiveButton(ResUtils.getString(com.people.comment.R.string.res_cancel), v -> {
.setTitle(ResUtils.getString(com.wd.comment.R.string.del_comment_tip))
.setPositiveButton(ResUtils.getString(com.wd.comment.R.string.res_cancel), v -> {
})
.setNegativeButton(ResUtils.getString(com.people.comment.R.string.yes_btn), v -> {
.setNegativeButton(ResUtils.getString(com.wd.comment.R.string.yes_btn), v -> {
delComment(selectCompBean, position);
})
.show();
... ... @@ -1284,9 +1284,9 @@ public class TemplateFragment extends BaseAutoLazyFragment implements OnRefreshL
}
//是否复制成功
if (isCopySuccess) {
ToastNightUtil.showShort(ResUtils.getString(com.people.comment.R.string.comment_copy_success));
ToastNightUtil.showShort(ResUtils.getString(com.wd.comment.R.string.comment_copy_success));
} else {
ToastNightUtil.showShort(ResUtils.getString(com.people.comment.R.string.comment_copy_fail));
ToastNightUtil.showShort(ResUtils.getString(com.wd.comment.R.string.comment_copy_fail));
}
}
//举报
... ...
package com.people.comment.helper;
package com.wd.comment.helper;
import android.text.TextUtils;
import com.people.comment.adapter.MyCommentListAdapter;
import com.people.comment.comment.vm.CommentViewModel;
import com.people.comment.listener.BatchMyCommentListLikeStatusListener;
import com.wd.comment.adapter.MyCommentListAdapter;
import com.wd.comment.comment.vm.CommentViewModel;
import com.wd.comment.listener.BatchMyCommentListLikeStatusListener;
import com.wd.foundation.bean.comment.CommentStatusBean;
import com.wd.foundation.bean.custom.content.CommentItem;
import com.wd.foundation.wdkit.utils.CommonUtil;
... ...
package com.people.comment.listener;
package com.wd.comment.listener;
import com.people.comment.bean.CommentClickShowType;
import com.wd.comment.bean.CommentClickShowType;
/**
* @author LiuKun
... ...
package com.people.comment.listener;
package com.wd.comment.listener;
import com.wd.foundation.wdkit.mvvm.vm.IVMCallback;
... ...
package com.people.comment.listener;
package com.wd.comment.listener;
import com.wd.foundation.wdkit.mvvm.vm.IVMCallback;
... ...
package com.people.comment.listener;
package com.wd.comment.listener;
import com.wd.foundation.bean.response.OssParamsBean;
import com.wd.foundation.wdkit.mvvm.vm.IVMCallback;
... ...
package com.people.comment.listener;
package com.wd.comment.listener;
import com.wd.foundation.bean.response.OssTokenBean;
import com.wd.foundation.wdkit.mvvm.vm.IVMCallback;
... ...
package com.people.comment.listener;
package com.wd.comment.listener;
import com.wd.foundation.bean.comment.CommentListBean;
... ...
package com.people.comment.listener;
package com.wd.comment.listener;
import com.wd.foundation.bean.custom.content.CommentItem;
... ...
package com.people.comment.manager;
package com.wd.comment.manager;
import android.animation.Animator;
import android.annotation.SuppressLint;
... ... @@ -20,17 +20,17 @@ import androidx.viewpager.widget.ViewPager;
import com.airbnb.lottie.LottieAnimationView;
import com.airbnb.lottie.LottieDrawable;
import com.wd.base.log.Logger;
import com.people.comment.R;
import com.people.comment.adapter.ExpressionGridViewAdapter;
import com.people.comment.adapter.ExpressionPagerAdapter;
import com.people.comment.adapter.ImageAdapter;
import com.people.comment.bean.CommentEventBean;
import com.people.comment.bean.EmojiEntity;
import com.people.comment.comment.listener.AliTokenListener;
import com.people.comment.comment.model.GetAliTokenFetcher;
import com.people.comment.listener.SpeechResultCallback;
import com.people.comment.utils.KeyBoardObserver;
import com.people.comment.utils.KeyboardHelper;
import com.wd.comment.R;
import com.wd.comment.adapter.ExpressionGridViewAdapter;
import com.wd.comment.adapter.ExpressionPagerAdapter;
import com.wd.comment.adapter.ImageAdapter;
import com.wd.comment.bean.CommentEventBean;
import com.wd.comment.bean.EmojiEntity;
import com.wd.comment.comment.listener.AliTokenListener;
import com.wd.comment.comment.model.GetAliTokenFetcher;
import com.wd.comment.listener.SpeechResultCallback;
import com.wd.comment.utils.KeyBoardObserver;
import com.wd.comment.utils.KeyboardHelper;
import com.wd.common.permissions.IPmsCallBack;
import com.wd.common.permissions.PermissionsUtils;
import com.wd.common.widget.InnerGridView;
... ... @@ -201,7 +201,7 @@ public class ExpressionManager implements KeyBoardObserver {
public void start() {
ThreadPoolUtils.postToMain(() -> {
isRecording = true;
voiceBottomTip.setText(com.people.speech.R.string.dialog_comment_stop_tips);
voiceBottomTip.setText(com.wd.speech.R.string.dialog_comment_stop_tips);
startVoiceInputAnimation();
});
}
... ... @@ -211,9 +211,9 @@ public class ExpressionManager implements KeyBoardObserver {
ThreadPoolUtils.postToMain(() -> {
voicePressUpLift();
if(StringUtils.isEmpty(editText.getText().toString())){
voiceBottomTip.setText(ResUtils.getString(com.people.speech.R.string.str_no_voice_recognized_tips));
voiceBottomTip.setText(ResUtils.getString(com.wd.speech.R.string.str_no_voice_recognized_tips));
}else {
voiceBottomTip.setText(ResUtils.getString(com.people.speech.R.string.dialog_comment_long_an));
voiceBottomTip.setText(ResUtils.getString(com.wd.speech.R.string.dialog_comment_long_an));
}
Logger.t("ExpressionManager").d("识别暂停");
});
... ... @@ -223,7 +223,7 @@ public class ExpressionManager implements KeyBoardObserver {
public void error() {
ThreadPoolUtils.postToMain(() -> {
voicePressUpLift();
voiceBottomTip.setText(ResUtils.getString(com.people.speech.R.string.str_no_voice_recognized_tips));
voiceBottomTip.setText(ResUtils.getString(com.wd.speech.R.string.str_no_voice_recognized_tips));
});
}
... ... @@ -232,7 +232,7 @@ public class ExpressionManager implements KeyBoardObserver {
ThreadPoolUtils.postToMain(() -> {
appendString(result);
voicePressUpLift();
voiceBottomTip.setText(ResUtils.getString(com.people.speech.R.string.dialog_comment_long_an));
voiceBottomTip.setText(ResUtils.getString(com.wd.speech.R.string.dialog_comment_long_an));
});
}
});
... ...
package com.people.comment.manager;
package com.wd.comment.manager;
import android.annotation.SuppressLint;
import android.content.Context;
... ... @@ -22,9 +22,9 @@ import com.alibaba.idst.nui.INativeNuiCallback;
import com.alibaba.idst.nui.KwsResult;
import com.alibaba.idst.nui.NativeNui;
import com.wd.base.log.Logger;
import com.people.comment.listener.SpeechResultCallback;
import com.people.speech.Auth;
import com.people.speech.Utils;
import com.wd.comment.listener.SpeechResultCallback;
import com.wd.speech.Auth;
import com.wd.speech.Utils;
import com.wd.common.callback.RouterCallBack;
import com.wd.common.permissions.IPmsCallBack;
import com.wd.common.permissions.PermissionsUtils;
... ...
package com.people.comment.utils;
package com.wd.comment.utils;
import android.app.Activity;
import android.view.View;
import androidx.appcompat.widget.AppCompatTextView;
import com.people.comment.R;
import com.people.comment.bean.CommentClickShowType;
import com.people.comment.listener.CommentClickListener;
import com.people.comment.view.easy_pop.EasyPopup;
import com.people.comment.view.easy_pop.XGravity;
import com.people.comment.view.easy_pop.YGravity;
import com.wd.comment.R;
import com.wd.comment.bean.CommentClickShowType;
import com.wd.comment.listener.CommentClickListener;
import com.wd.comment.view.easy_pop.EasyPopup;
import com.wd.comment.view.easy_pop.XGravity;
import com.wd.comment.view.easy_pop.YGravity;
import com.wd.foundation.wdkit.utils.PDUtils;
import com.wd.common.utils.ProcessUtils;
import com.wd.foundation.wdkitcore.tools.AppContext;
... ...
package com.people.comment.utils;
package com.wd.comment.utils;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Paint;
import com.people.comment.R;
import com.wd.comment.R;
import com.wd.foundation.wdkit.utils.UiUtils;
import com.wd.foundation.wdkitcore.tools.ResUtils;
... ...
package com.people.comment.utils;
package com.wd.comment.utils;
import android.content.Context;
import android.view.View;
import androidx.annotation.NonNull;
import com.people.comment.view.SharedPreferencesUtils;
import com.wd.comment.view.SharedPreferencesUtils;
import java.util.ArrayList;
import java.util.List;
... ...
package com.people.comment.utils;
package com.wd.comment.utils;
import android.app.Activity;
import android.content.Context;
... ...
package com.people.comment.utils;
package com.wd.comment.utils;
import android.content.Context;
import android.content.res.AssetManager;
... ...
package com.people.comment.view;
package com.wd.comment.view;
import android.annotation.SuppressLint;
import android.content.Context;
... ... @@ -9,7 +9,7 @@ import android.graphics.Path;
import android.util.AttributeSet;
import android.view.View;
import com.people.comment.R;
import com.wd.comment.R;
/**
* @author LiuKun
... ...
package com.people.comment.view;
package com.wd.comment.view;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.FrameLayout;
import com.people.comment.utils.KeyBoardObservable;
import com.wd.comment.utils.KeyBoardObservable;
/**
* @author LiuKun
... ...
package com.people.comment.view;
package com.wd.comment.view;
import android.content.Context;
import android.content.res.TypedArray;
... ... @@ -17,7 +17,7 @@ import android.util.AttributeSet;
import androidx.appcompat.widget.AppCompatImageView;
import com.people.comment.R;
import com.wd.comment.R;
import com.wd.common.widget.image.ImageType;
import java.util.Arrays;
... ...
package com.people.comment.view.easy_pop;
package com.wd.comment.view.easy_pop;
import android.app.Activity;
import android.content.Context;
... ...
package com.people.comment.view.easy_pop;
package com.wd.comment.view.easy_pop;
import android.content.Context;
import android.view.View;
... ...
package com.people.comment.view.easy_pop;
package com.wd.comment.view.easy_pop;
import android.widget.PopupWindow;
... ...
package com.people.comment.view.easy_pop;
package com.wd.comment.view.easy_pop;
import android.content.Context;
import android.content.res.TypedArray;
... ... @@ -14,7 +14,7 @@ import android.widget.FrameLayout;
import androidx.core.content.ContextCompat;
import com.people.comment.R;
import com.wd.comment.R;
/**
* @author prim
... ...
package com.people.comment.view.easy_pop;
package com.wd.comment.view.easy_pop;
import android.graphics.Canvas;
import android.graphics.Color;
... ...
package com.people.comment.view.easy_pop;
package com.wd.comment.view.easy_pop;
import androidx.annotation.IntDef;
... ...
package com.people.comment.view.easy_pop;
package com.wd.comment.view.easy_pop;
import androidx.annotation.IntDef;
... ...
package com.people.comment.view_holder;
package com.wd.comment.view_holder;
import android.content.Context;
import android.os.Build;
... ... @@ -16,8 +16,8 @@ import androidx.annotation.NonNull;
import androidx.core.content.ContextCompat;
import androidx.recyclerview.widget.RecyclerView;
import com.people.comment.R;
import com.people.comment.adapter.CommentListAdapter;
import com.wd.comment.R;
import com.wd.comment.adapter.CommentListAdapter;
import com.wd.foundation.wdkit.imageglide.ImageUtils;
import com.wd.foundation.wdkit.utils.FontSettingUtil;
import com.wd.common.utils.TimeTools;
... ...
package com.people.comment.view_holder;
package com.wd.comment.view_holder;
import android.content.Context;
import android.os.Build;
... ... @@ -16,8 +16,8 @@ import androidx.annotation.NonNull;
import androidx.core.content.ContextCompat;
import androidx.recyclerview.widget.RecyclerView;
import com.people.comment.R;
import com.people.comment.adapter.CommentListAdapter;
import com.wd.comment.R;
import com.wd.comment.adapter.CommentListAdapter;
import com.wd.foundation.wdkit.imageglide.ImageUtils;
import com.wd.foundation.wdkit.utils.FontSettingUtil;
import com.wd.common.utils.TimeTools;
... ...
package com.people.comment.view_holder;
package com.wd.comment.view_holder;
import android.view.View;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;
import com.people.comment.R;
import com.wd.comment.R;
import com.wd.foundation.bean.custom.content.CommentItem;
/**
... ...
package com.people.comment.view_holder;
package com.wd.comment.view_holder;
import android.view.View;
import androidx.recyclerview.widget.RecyclerView;
import com.people.comment.R;
import com.wd.comment.R;
import com.wd.foundation.wdkit.view.DefaultView;
import com.wd.foundation.wdkit.constant.DefaultViewConstant;
... ...
package com.people.comment.view_holder;
package com.wd.comment.view_holder;
import android.text.TextUtils;
import android.view.View;
... ... @@ -7,8 +7,8 @@ import android.widget.TextView;
import androidx.recyclerview.widget.RecyclerView;
import com.people.comment.R;
import com.people.comment.adapter.CommentListAdapter;
import com.wd.comment.R;
import com.wd.comment.adapter.CommentListAdapter;
import com.wd.foundation.wdkit.viewclick.BaseClickListener;
/**
... ...
package com.people.comment.view_holder;
package com.wd.comment.view_holder;
import android.text.TextUtils;
import android.view.View;
... ... @@ -6,8 +6,8 @@ import android.widget.TextView;
import androidx.recyclerview.widget.RecyclerView;
import com.people.comment.R;
import com.people.comment.adapter.CommentListAdapter;
import com.wd.comment.R;
import com.wd.comment.adapter.CommentListAdapter;
import com.wd.foundation.wdkitcore.tools.AppContext;
/**
... ...
... ... @@ -39,7 +39,7 @@
tools:visibility="visible"
android:background="@color/res_color_common_C8">
<com.people.comment.view.ShapedImageView
<com.wd.comment.view.ShapedImageView
android:id="@+id/cd_iv_img"
android:layout_width="match_parent"
android:layout_height="match_parent"
... ...
... ... @@ -7,7 +7,7 @@
android:background="@drawable/res_shape_white_fix_background_disappearance_issue"
android:descendantFocusability="blocksDescendants"
android:orientation="vertical"
tools:context="com.people.comment.fragment.CommentFragment">
tools:context="com.wd.comment.fragment.CommentFragment">
<RelativeLayout
android:id="@+id/rltop"
... ...
... ... @@ -213,7 +213,7 @@
tools:background="@color/blue_theme_bg"
>
<com.people.comment.view.ShapedImageView
<com.wd.comment.view.ShapedImageView
android:id="@+id/commentHead_Iv"
android:layout_width="@dimen/rmrb_dp54"
android:layout_height="@dimen/rmrb_dp54"
... ...
... ... @@ -32,7 +32,7 @@
android:layout_marginBottom="@dimen/rmrb_dp15"
android:layout_marginTop="@dimen/rmrb_dp15">
<com.people.comment.view.CommentVoiceLineView
<com.wd.comment.view.CommentVoiceLineView
android:id="@+id/dv_view_voice_line"
android:layout_width="match_parent"
android:layout_height="@dimen/rmrb_dp120"
... ...
package com.people.location;
package com.wd.location;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
... ... @@ -20,6 +20,6 @@ public class ExampleInstrumentedTest {
public void useAppContext() {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
assertEquals("com.people.location.test", appContext.getPackageName());
assertEquals("com.wd.location.test", appContext.getPackageName());
}
}
\ No newline at end of file
... ...
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.people.location">
package="com.wd.location">
<application>
<activity
android:name=".ChooseAddressActivity"
android:name="com.wd.location.ChooseAddressActivity"
android:exported="false"
android:launchMode="singleTask"
android:screenOrientation="portrait" />
... ...