optimized imports
This commit is contained in:
parent
ab95aa71c1
commit
95d6e3f1dc
27 changed files with 57 additions and 84 deletions
|
@ -16,11 +16,6 @@
|
|||
|
||||
package github.ankushsachdeva.emojicon;
|
||||
|
||||
import github.ankushsachdeva.emojicon.EmojiconGridView.OnEmojiconClickedListener;
|
||||
import github.ankushsachdeva.emojicon.emoji.Emojicon;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import android.content.Context;
|
||||
import android.view.View;
|
||||
import android.view.View.OnClickListener;
|
||||
|
@ -28,7 +23,11 @@ import android.view.ViewGroup;
|
|||
import android.widget.ArrayAdapter;
|
||||
import android.widget.TextView;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import github.ankushsachdeva.emojicon.EmojiconGridView.OnEmojiconClickedListener;
|
||||
import github.ankushsachdeva.emojicon.R;
|
||||
import github.ankushsachdeva.emojicon.emoji.Emojicon;
|
||||
|
||||
/**
|
||||
* @author Ankush Sachdeva (sankush@yahoo.co.in)
|
||||
|
|
|
@ -16,13 +16,13 @@
|
|||
|
||||
package github.ankushsachdeva.emojicon;
|
||||
|
||||
import github.ankushsachdeva.emojicon.R;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.res.TypedArray;
|
||||
import android.util.AttributeSet;
|
||||
import android.widget.EditText;
|
||||
|
||||
import github.ankushsachdeva.emojicon.R;
|
||||
|
||||
/**
|
||||
* @author Hieu Rocker (rockerhieu@gmail.com).
|
||||
*/
|
||||
|
|
|
@ -16,18 +16,17 @@
|
|||
|
||||
package github.ankushsachdeva.emojicon;
|
||||
|
||||
import github.ankushsachdeva.emojicon.emoji.Emojicon;
|
||||
import github.ankushsachdeva.emojicon.emoji.People;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.content.Context;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.widget.GridView;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
import github.ankushsachdeva.emojicon.R;
|
||||
import github.ankushsachdeva.emojicon.emoji.Emojicon;
|
||||
import github.ankushsachdeva.emojicon.emoji.People;
|
||||
|
||||
/**
|
||||
* @author Hieu Rocker (rockerhieu@gmail.com)
|
||||
|
|
|
@ -15,12 +15,12 @@
|
|||
*/
|
||||
package github.ankushsachdeva.emojicon;
|
||||
|
||||
import github.ankushsachdeva.emojicon.R;
|
||||
|
||||
import android.content.Context;
|
||||
import android.text.Spannable;
|
||||
import android.util.SparseIntArray;
|
||||
|
||||
import github.ankushsachdeva.emojicon.R;
|
||||
|
||||
/**
|
||||
* @author Hieu Rocker (rockerhieu@gmail.com)
|
||||
*/
|
||||
|
|
|
@ -16,10 +16,10 @@
|
|||
|
||||
package github.ankushsachdeva.emojicon;
|
||||
|
||||
import github.ankushsachdeva.emojicon.emoji.Emojicon;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
import github.ankushsachdeva.emojicon.emoji.Emojicon;
|
||||
|
||||
/**
|
||||
* @author Daniele Ricci
|
||||
*/
|
||||
|
|
|
@ -16,11 +16,11 @@
|
|||
|
||||
package github.ankushsachdeva.emojicon;
|
||||
|
||||
import github.ankushsachdeva.emojicon.emoji.Emojicon;
|
||||
import android.content.Context;
|
||||
import android.widget.GridView;
|
||||
|
||||
import github.ankushsachdeva.emojicon.R;
|
||||
import github.ankushsachdeva.emojicon.emoji.Emojicon;
|
||||
|
||||
/**
|
||||
* @author Daniele Ricci
|
||||
|
|
|
@ -16,13 +16,13 @@
|
|||
|
||||
package github.ankushsachdeva.emojicon;
|
||||
|
||||
import github.ankushsachdeva.emojicon.emoji.Emojicon;
|
||||
import android.content.Context;
|
||||
import android.content.SharedPreferences;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.StringTokenizer;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.SharedPreferences;
|
||||
import github.ankushsachdeva.emojicon.emoji.Emojicon;
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
@ -16,14 +16,14 @@
|
|||
|
||||
package github.ankushsachdeva.emojicon;
|
||||
|
||||
import github.ankushsachdeva.emojicon.R;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.res.TypedArray;
|
||||
import android.text.SpannableStringBuilder;
|
||||
import android.util.AttributeSet;
|
||||
import android.widget.TextView;
|
||||
|
||||
import github.ankushsachdeva.emojicon.R;
|
||||
|
||||
/**
|
||||
* @author Hieu Rocker (rockerhieu@gmail.com).
|
||||
*/
|
||||
|
|
|
@ -16,17 +16,6 @@
|
|||
|
||||
package github.ankushsachdeva.emojicon;
|
||||
|
||||
import github.ankushsachdeva.emojicon.EmojiconGridView.OnEmojiconClickedListener;
|
||||
import github.ankushsachdeva.emojicon.emoji.Emojicon;
|
||||
import github.ankushsachdeva.emojicon.emoji.Nature;
|
||||
import github.ankushsachdeva.emojicon.emoji.Objects;
|
||||
import github.ankushsachdeva.emojicon.emoji.People;
|
||||
import github.ankushsachdeva.emojicon.emoji.Places;
|
||||
import github.ankushsachdeva.emojicon.emoji.Symbols;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.content.Context;
|
||||
import android.graphics.Rect;
|
||||
|
@ -47,6 +36,17 @@ import android.view.WindowManager;
|
|||
import android.view.WindowManager.LayoutParams;
|
||||
import android.widget.PopupWindow;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import github.ankushsachdeva.emojicon.EmojiconGridView.OnEmojiconClickedListener;
|
||||
import github.ankushsachdeva.emojicon.emoji.Emojicon;
|
||||
import github.ankushsachdeva.emojicon.emoji.Nature;
|
||||
import github.ankushsachdeva.emojicon.emoji.Objects;
|
||||
import github.ankushsachdeva.emojicon.emoji.People;
|
||||
import github.ankushsachdeva.emojicon.emoji.Places;
|
||||
import github.ankushsachdeva.emojicon.emoji.Symbols;
|
||||
|
||||
|
||||
/**
|
||||
* @author Ankush Sachdeva (sankush@yahoo.co.in).
|
||||
|
|
|
@ -16,11 +16,6 @@
|
|||
|
||||
package github.ankushsachdeva.emojicon;
|
||||
|
||||
import github.ankushsachdeva.emojicon.EmojiconGridView.OnEmojiconClickedListener;
|
||||
import github.ankushsachdeva.emojicon.emoji.Emojicon;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import android.content.Context;
|
||||
import android.view.View;
|
||||
import android.view.View.OnClickListener;
|
||||
|
@ -28,7 +23,10 @@ import android.view.ViewGroup;
|
|||
import android.widget.ArrayAdapter;
|
||||
import android.widget.TextView;
|
||||
|
||||
import github.ankushsachdeva.emojicon.R;
|
||||
import java.util.List;
|
||||
|
||||
import github.ankushsachdeva.emojicon.EmojiconGridView.OnEmojiconClickedListener;
|
||||
import github.ankushsachdeva.emojicon.emoji.Emojicon;
|
||||
|
||||
/**
|
||||
* @author Ankush Sachdeva (sankush@yahoo.co.in)
|
||||
|
|
|
@ -16,8 +16,6 @@
|
|||
|
||||
package github.ankushsachdeva.emojicon;
|
||||
|
||||
import github.ankushsachdeva.emojicon.R;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.res.TypedArray;
|
||||
import android.util.AttributeSet;
|
||||
|
|
|
@ -16,18 +16,16 @@
|
|||
|
||||
package github.ankushsachdeva.emojicon;
|
||||
|
||||
import github.ankushsachdeva.emojicon.emoji.Emojicon;
|
||||
import github.ankushsachdeva.emojicon.emoji.People;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.content.Context;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.widget.GridView;
|
||||
|
||||
import github.ankushsachdeva.emojicon.R;
|
||||
import java.util.Arrays;
|
||||
|
||||
import github.ankushsachdeva.emojicon.emoji.Emojicon;
|
||||
import github.ankushsachdeva.emojicon.emoji.People;
|
||||
|
||||
/**
|
||||
* @author Hieu Rocker (rockerhieu@gmail.com)
|
||||
|
|
|
@ -15,8 +15,6 @@
|
|||
*/
|
||||
package github.ankushsachdeva.emojicon;
|
||||
|
||||
import github.ankushsachdeva.emojicon.R;
|
||||
|
||||
import android.content.Context;
|
||||
import android.text.Spannable;
|
||||
import android.util.SparseIntArray;
|
||||
|
|
|
@ -16,10 +16,10 @@
|
|||
|
||||
package github.ankushsachdeva.emojicon;
|
||||
|
||||
import github.ankushsachdeva.emojicon.emoji.Emojicon;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
import github.ankushsachdeva.emojicon.emoji.Emojicon;
|
||||
|
||||
/**
|
||||
* @author Daniele Ricci
|
||||
*/
|
||||
|
|
|
@ -16,11 +16,10 @@
|
|||
|
||||
package github.ankushsachdeva.emojicon;
|
||||
|
||||
import github.ankushsachdeva.emojicon.emoji.Emojicon;
|
||||
import android.content.Context;
|
||||
import android.widget.GridView;
|
||||
|
||||
import github.ankushsachdeva.emojicon.R;
|
||||
import github.ankushsachdeva.emojicon.emoji.Emojicon;
|
||||
|
||||
/**
|
||||
* @author Daniele Ricci
|
||||
|
|
|
@ -16,13 +16,13 @@
|
|||
|
||||
package github.ankushsachdeva.emojicon;
|
||||
|
||||
import github.ankushsachdeva.emojicon.emoji.Emojicon;
|
||||
import android.content.Context;
|
||||
import android.content.SharedPreferences;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.StringTokenizer;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.SharedPreferences;
|
||||
import github.ankushsachdeva.emojicon.emoji.Emojicon;
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
@ -16,8 +16,6 @@
|
|||
|
||||
package github.ankushsachdeva.emojicon;
|
||||
|
||||
import github.ankushsachdeva.emojicon.R;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.res.TypedArray;
|
||||
import android.text.SpannableStringBuilder;
|
||||
|
|
|
@ -16,17 +16,6 @@
|
|||
|
||||
package github.ankushsachdeva.emojicon;
|
||||
|
||||
import github.ankushsachdeva.emojicon.EmojiconGridView.OnEmojiconClickedListener;
|
||||
import github.ankushsachdeva.emojicon.emoji.Emojicon;
|
||||
import github.ankushsachdeva.emojicon.emoji.Nature;
|
||||
import github.ankushsachdeva.emojicon.emoji.Objects;
|
||||
import github.ankushsachdeva.emojicon.emoji.People;
|
||||
import github.ankushsachdeva.emojicon.emoji.Places;
|
||||
import github.ankushsachdeva.emojicon.emoji.Symbols;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.content.Context;
|
||||
import android.graphics.Rect;
|
||||
|
@ -47,6 +36,17 @@ import android.view.WindowManager;
|
|||
import android.view.WindowManager.LayoutParams;
|
||||
import android.widget.PopupWindow;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import github.ankushsachdeva.emojicon.EmojiconGridView.OnEmojiconClickedListener;
|
||||
import github.ankushsachdeva.emojicon.emoji.Emojicon;
|
||||
import github.ankushsachdeva.emojicon.emoji.Nature;
|
||||
import github.ankushsachdeva.emojicon.emoji.Objects;
|
||||
import github.ankushsachdeva.emojicon.emoji.People;
|
||||
import github.ankushsachdeva.emojicon.emoji.Places;
|
||||
import github.ankushsachdeva.emojicon.emoji.Symbols;
|
||||
|
||||
|
||||
/**
|
||||
* @author Ankush Sachdeva (sankush@yahoo.co.in).
|
||||
|
|
|
@ -3,7 +3,6 @@ package de.pixart.messenger.entities;
|
|||
import android.util.Pair;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
import java.util.Hashtable;
|
||||
import java.util.List;
|
||||
|
|
|
@ -10,12 +10,10 @@ import android.graphics.BitmapFactory;
|
|||
import android.graphics.Canvas;
|
||||
import android.graphics.Matrix;
|
||||
import android.graphics.RectF;
|
||||
import android.media.ExifInterface;
|
||||
import android.media.MediaMetadataRetriever;
|
||||
import android.net.Uri;
|
||||
import android.os.Build;
|
||||
import android.os.Environment;
|
||||
import android.os.FileObserver;
|
||||
import android.os.ParcelFileDescriptor;
|
||||
import android.provider.MediaStore;
|
||||
import android.provider.OpenableColumns;
|
||||
|
|
|
@ -64,7 +64,6 @@ import java.util.List;
|
|||
import java.util.Locale;
|
||||
import java.util.Map;
|
||||
import java.util.concurrent.CopyOnWriteArrayList;
|
||||
import java.util.concurrent.ExecutionException;
|
||||
|
||||
import de.duenndns.ssl.MemorizingTrustManager;
|
||||
import de.pixart.messenger.Config;
|
||||
|
|
|
@ -84,8 +84,6 @@ import de.pixart.messenger.xmpp.jid.InvalidJidException;
|
|||
import de.pixart.messenger.xmpp.jid.Jid;
|
||||
import de.timroes.android.listview.EnhancedListView;
|
||||
|
||||
import static de.pixart.messenger.crypto.axolotl.AxolotlService.AxolotlCapability.MISSING_PRESENCE;
|
||||
|
||||
public class ConversationActivity extends XmppActivity
|
||||
implements OnAccountUpdate, OnConversationUpdate, OnRosterUpdate, OnUpdateBlocklist, XmppConnectionService.OnShowErrorToast, View.OnClickListener {
|
||||
|
||||
|
|
|
@ -43,7 +43,6 @@ import java.util.UUID;
|
|||
|
||||
import de.pixart.messenger.Config;
|
||||
import de.pixart.messenger.R;
|
||||
import de.pixart.messenger.crypto.axolotl.AxolotlService;
|
||||
import de.pixart.messenger.entities.Account;
|
||||
import de.pixart.messenger.entities.Contact;
|
||||
import de.pixart.messenger.entities.Conversation;
|
||||
|
|
|
@ -25,7 +25,6 @@ import android.nfc.NfcAdapter;
|
|||
import android.os.Build;
|
||||
import android.os.Bundle;
|
||||
import android.os.Parcelable;
|
||||
import android.support.v13.app.FragmentPagerAdapter;
|
||||
import android.support.v4.view.PagerAdapter;
|
||||
import android.support.v4.view.ViewPager;
|
||||
import android.text.Editable;
|
||||
|
|
|
@ -69,7 +69,6 @@ import java.io.FileNotFoundException;
|
|||
import java.lang.ref.WeakReference;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
import java.util.Hashtable;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
@ -91,13 +90,11 @@ import de.pixart.messenger.services.XmppConnectionService.XmppConnectionBinder;
|
|||
import de.pixart.messenger.ui.widget.Switch;
|
||||
import de.pixart.messenger.utils.CryptoHelper;
|
||||
import de.pixart.messenger.utils.ExceptionHelper;
|
||||
import de.pixart.messenger.utils.UIHelper;
|
||||
import de.pixart.messenger.xmpp.OnKeyStatusUpdated;
|
||||
import de.pixart.messenger.xmpp.OnUpdateBlocklist;
|
||||
import de.pixart.messenger.xmpp.jid.InvalidJidException;
|
||||
import de.pixart.messenger.xmpp.jid.Jid;
|
||||
import de.pixart.messenger.entities.Presence;
|
||||
import de.pixart.messenger.entities.ServiceDiscoveryResult;
|
||||
import de.pixart.messenger.utils.UIHelper;
|
||||
|
||||
public abstract class XmppActivity extends Activity {
|
||||
|
||||
|
|
|
@ -13,7 +13,6 @@ import android.view.View;
|
|||
import android.view.ViewGroup;
|
||||
import android.widget.ArrayAdapter;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.TextView;
|
||||
|
||||
import com.wefika.flowlayout.FlowLayout;
|
||||
|
|
|
@ -8,8 +8,6 @@ import com.google.android.gms.common.GoogleApiAvailability;
|
|||
import com.google.android.gms.gcm.GoogleCloudMessaging;
|
||||
import com.google.android.gms.iid.InstanceID;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
import de.pixart.messenger.Config;
|
||||
import de.pixart.messenger.R;
|
||||
import de.pixart.messenger.entities.Account;
|
||||
|
|
Reference in a new issue