add TAG everywhere

results of running a script that adds TAG to every top-level class. It
compiles, but I'm not using them yet.
This commit is contained in:
Eric House 2016-11-22 22:10:05 -08:00
parent 927c181ccc
commit 97c1091d0c
80 changed files with 86 additions and 11 deletions

View file

@ -23,6 +23,7 @@ package org.eehouse.android.xw4;
import android.os.Bundle;
public class BTInviteActivity extends InviteActivity {
private static final String TAG = BTInviteActivity.class.getSimpleName();
@Override
protected void onCreate( Bundle savedInstanceState )

View file

@ -46,6 +46,7 @@ import java.util.Map;
import java.util.Set;
public class BTInviteDelegate extends InviteDelegate {
private static final String TAG = BTInviteDelegate.class.getSimpleName();
private Activity m_activity;

View file

@ -27,6 +27,7 @@ import android.content.Context;
import android.content.Intent;
public class BTReceiver extends BroadcastReceiver {
private static final String TAG = BTReceiver.class.getSimpleName();
@Override
public void onReceive( Context context, Intent intent )

View file

@ -53,6 +53,7 @@ import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.TimeUnit;
public class BTService extends XWService {
private static final String TAG = BTService.class.getSimpleName();
private static final String BOGUS_MARSHMALLOW_ADDR = "02:00:00:00:00:00";
private static final long RESEND_TIMEOUT = 5; // seconds

View file

@ -28,6 +28,7 @@ import android.view.Window;
import org.eehouse.android.xw4.jni.CommonPrefs;
public class BoardActivity extends XWActivity {
private static final String TAG = BoardActivity.class.getSimpleName();
private BoardDelegate m_dlgt;

View file

@ -43,6 +43,7 @@ import org.eehouse.android.xw4.jni.XwJNI.DictWrapper;
import org.eehouse.android.xw4.loc.LocUtils;
public class BoardCanvas extends Canvas implements DrawCtx {
private static final String TAG = BoardCanvas.class.getSimpleName();
private static final int BLACK = 0xFF000000;
private static final int WHITE = 0xFFFFFFFF;
private static final int FRAME_GREY = 0xFF101010;

View file

@ -32,6 +32,7 @@ import android.graphics.Rect;
import junit.framework.Assert;
public class BoardContainer extends ViewGroup {
private static final String TAG = BoardContainer.class.getSimpleName();
// If the ratio of height/width exceeds this, use portrait layout
private static final int PORTRAIT_THRESHHOLD = 105;
@ -54,7 +55,7 @@ public class BoardContainer extends ViewGroup {
void sizeChanged( int width, int height, boolean isPortrait );
}
private static WeakReference<SizeChangeListener> s_scl;
public static void registerSizeChangeListener(SizeChangeListener scl)
{
s_scl = new WeakReference<SizeChangeListener>(scl);
@ -62,7 +63,7 @@ public class BoardContainer extends ViewGroup {
}
public static boolean getIsPortrait() { return s_isPortrait; }
public BoardContainer( Context context, AttributeSet as ) {
super( context, as );
s_height = s_width = 0;
@ -158,7 +159,7 @@ public class BoardContainer extends ViewGroup {
.setVisibility( s_isPortrait ? VISIBLE : GONE );
findViewById( R.id.tbar_parent_vert )
.setVisibility( s_isPortrait ? GONE : VISIBLE );
callSCL();
}
}

View file

@ -2039,7 +2039,7 @@ public class BoardDelegate extends DelegateBase
m_handler = new Handler();
m_blockingDlgID = DlgID.NONE;
m_jniThreadRef.configure( m_activity, m_view, m_utils, this,
m_jniThreadRef.configure( m_activity, m_view, m_utils, this,
makeJNIHandler() );
m_jniGamePtr = m_jniThreadRef.getGamePtr();
Assert.assertNotNull( m_jniGamePtr );

View file

@ -23,6 +23,7 @@ package org.eehouse.android.xw4;
import android.os.Bundle;
public class BoardFrag extends XWFragment {
private static final String TAG = BoardFrag.class.getSimpleName();
public BoardFrag() {}

View file

@ -43,6 +43,7 @@ import org.eehouse.android.xw4.jni.SyncedDraw;
import org.eehouse.android.xw4.jni.XwJNI;
public class BoardView extends View implements BoardHandler, SyncedDraw {
private static final String TAG = BoardView.class.getSimpleName();
private static final float MIN_FONT_DIPS = 10.0f;
private static final int MULTI_INACTIVE = -1;

View file

@ -23,6 +23,7 @@ package org.eehouse.android.xw4;
import android.os.Bundle;
public class ChatActivity extends XWActivity {
private static final String TAG = ChatActivity.class.getSimpleName();
@Override
public void onCreate( Bundle savedInstanceState )

View file

@ -43,6 +43,7 @@ import org.eehouse.android.xw4.DlgDelegate.Action;
import org.eehouse.android.xw4.jni.JNIThread;
public class ChatDelegate extends DelegateBase {
private static final String TAG = ChatDelegate.class.getSimpleName();
private static final String INTENT_KEY_PLAYER = "intent_key_player";
private static final String INTENT_KEY_NAMES = "intent_key_names";

View file

@ -22,6 +22,7 @@ package org.eehouse.android.xw4;
import android.os.Bundle;
public class ChatFrag extends XWFragment {
private static final String TAG = ChatFrag.class.getSimpleName();
public ChatFrag() {}

View file

@ -34,6 +34,7 @@ import org.eehouse.android.xw4.jni.CommsAddrRec.CommsConnTypeSet;
import org.eehouse.android.xw4.loc.LocUtils;
public class ConnViaViewLayout extends LinearLayout {
private static final String TAG = ConnViaViewLayout.class.getSimpleName();
private CommsConnTypeSet m_curSet;
private DlgDelegate.HasDlgDelegate m_dlgDlgt;

View file

@ -33,6 +33,7 @@ import java.util.ArrayList;
import java.util.Arrays;
public class DBHelper extends SQLiteOpenHelper {
private static final String TAG = DBHelper.class.getSimpleName();
public static final String TABLE_NAME_SUM = "summaries";
public static final String TABLE_NAME_OBITS = "obits";

View file

@ -23,6 +23,7 @@ package org.eehouse.android.xw4;
import android.os.Bundle;
public class DictBrowseActivity extends XWActivity {
private static final String TAG = DictBrowseActivity.class.getSimpleName();
private DictBrowseDelegate m_dlgt;

View file

@ -22,6 +22,7 @@ package org.eehouse.android.xw4;
import android.os.Bundle;
public class DictBrowseFrag extends XWFragment {
private static final String TAG = DictBrowseFrag.class.getSimpleName();
public DictBrowseFrag() {}

View file

@ -26,6 +26,7 @@ import android.util.AttributeSet;
import java.util.ArrayList;
public class DictListPreference extends XWListPreference {
private static final String TAG = DictListPreference.class.getSimpleName();
public DictListPreference( Context context, AttributeSet attrs )
{

View file

@ -23,6 +23,7 @@ package org.eehouse.android.xw4;
import android.os.Bundle;
public class DictsActivity extends XWActivity {
private static final String TAG = DictsActivity.class.getSimpleName();
// I can't provide a subclass of MenuItem to hold DictAndLoc, so
// settle for a hash on the side.

View file

@ -385,7 +385,7 @@ public class DictsDelegate extends ListDelegateBase
if ( fromLoc == toLoc ) {
DbgUtils.logw( getClass(), "not moving %s: same loc", name );
} else if ( DictUtils.moveDict( self.m_activity,
name, fromLoc,
name, fromLoc,
toLoc ) ) {
selItem.setComment( self.m_locNames[toLoc.ordinal()] );
selItem.setCached( toLoc );

View file

@ -22,6 +22,7 @@ package org.eehouse.android.xw4;
import android.os.Bundle;
public class DictsFrag extends XWFragment {
private static final String TAG = DictsFrag.class.getSimpleName();
public DictsFrag() {}

View file

@ -25,6 +25,7 @@ import android.net.Uri;
import android.os.Bundle;
public class DispatchNotify extends Activity {
private static final String TAG = DispatchNotify.class.getSimpleName();
@Override
protected void onCreate( Bundle savedInstanceState )

View file

@ -27,6 +27,7 @@ import org.eehouse.android.xw4.DlgDelegate.Action;
import org.eehouse.android.xw4.DlgDelegate.ActionPair;
public class DlgState implements Parcelable {
private static final String TAG = DlgState.class.getSimpleName();
public DlgID m_id;
public String m_msg;
public int m_posButton;

View file

@ -30,6 +30,7 @@ import android.view.MenuItem;
import android.view.View;
public class DualpaneDelegate extends DelegateBase {
private static final String TAG = DualpaneDelegate.class.getSimpleName();
private Activity m_activity;
public DualpaneDelegate( Delegator delegator, Bundle sis )
@ -80,7 +81,7 @@ public class DualpaneDelegate extends DelegateBase {
}
@Override
protected void onCreateContextMenu( ContextMenu menu, View view,
protected void onCreateContextMenu( ContextMenu menu, View view,
ContextMenuInfo menuInfo )
{
MainActivity main = (MainActivity)m_activity;

View file

@ -24,6 +24,7 @@ import android.os.Bundle;
import android.view.Window;
public class DwnldActivity extends XWActivity {
private static final String TAG = DwnldActivity.class.getSimpleName();
@Override
protected void onCreate( Bundle savedInstanceState )

View file

@ -47,6 +47,7 @@ import java.util.List;
import java.util.Map;
public class DwnldDelegate extends ListDelegateBase {
private static final String TAG = DwnldDelegate.class.getSimpleName();
// URIs coming in in intents
private static final String APK_EXTRA = "APK";

View file

@ -36,6 +36,7 @@ import android.widget.SeekBar;
import org.eehouse.android.xw4.loc.LocUtils;
public class EditColorPreference extends DialogPreference {
private static final String TAG = EditColorPreference.class.getSimpleName();
private Context m_context;
private int m_curColor;

View file

@ -26,6 +26,7 @@ import android.util.AttributeSet;
import android.widget.LinearLayout;
public class ExpiringLinearLayout extends LinearLayout {
private static final String TAG = ExpiringLinearLayout.class.getSimpleName();
private ExpiringDelegate m_delegate;
public ExpiringLinearLayout( Context context, AttributeSet as ) {

View file

@ -30,6 +30,7 @@ import com.google.android.gcm.GCMRegistrar;
import org.json.JSONArray;
public class GCMIntentService extends GCMBaseIntentService {
private static final String TAG = GCMIntentService.class.getSimpleName();
public GCMIntentService()
{

View file

@ -23,6 +23,7 @@ package org.eehouse.android.xw4;
import android.os.Bundle;
public class GameConfigActivity extends XWActivity {
private static final String TAG = GameConfigActivity.class.getSimpleName();
@Override
public void onCreate( Bundle savedInstanceState )

View file

@ -22,6 +22,7 @@ package org.eehouse.android.xw4;
import android.os.Bundle;
public class GameConfigFrag extends XWFragment {
private static final String TAG = GameConfigFrag.class.getSimpleName();
public GameConfigFrag() {}

View file

@ -30,6 +30,7 @@ import android.widget.TextView;
import org.eehouse.android.xw4.loc.LocUtils;
public class GameNamer extends LinearLayout {
private static final String TAG = GameNamer.class.getSimpleName();
private Context m_context;

View file

@ -23,6 +23,7 @@ package org.eehouse.android.xw4;
import android.os.Bundle;
public class GamesListFrag extends XWFragment {
private static final String TAG = GamesListFrag.class.getSimpleName();
public GamesListFrag() {}

View file

@ -26,6 +26,7 @@ import android.util.AttributeSet;
import org.eehouse.android.xw4.loc.LocUtils;
public class LangListPreference extends XWListPreference {
private static final String TAG = LangListPreference.class.getSimpleName();
private Context m_context;
public LangListPreference( Context context, AttributeSet attrs )

View file

@ -26,6 +26,7 @@ import android.widget.ListAdapter;
import android.widget.ListView;
public class ListDelegateBase extends DelegateBase {
private static final String TAG = ListDelegateBase.class.getSimpleName();
private Activity m_activity;
private Delegator m_delegator;

View file

@ -237,7 +237,7 @@ public class MainActivity extends XWActivity
return handled;
}
protected void dispatchOnActivityResult( RequestCode requestCode,
protected void dispatchOnActivityResult( RequestCode requestCode,
int resultCode, Intent data )
{
XWFragment frag = getTopFragment();

View file

@ -28,6 +28,7 @@ import java.util.HashSet;
import java.util.Iterator;
public class MountEventReceiver extends BroadcastReceiver {
private static final String TAG = MountEventReceiver.class.getSimpleName();
public interface SDCardNotifiee {
void cardMounted( boolean nowMounted );

View file

@ -32,6 +32,7 @@ import java.util.HashSet;
import java.util.Set;
public class MultiMsgSink implements TransportProcs {
private static final String TAG = MultiMsgSink.class.getSimpleName();
private long m_rowid;
private Context m_context;
// Use set to count so message sent over both BT and Relay is counted only

View file

@ -38,6 +38,7 @@ import java.util.Date;
import java.util.Iterator;
public class NagTurnReceiver extends BroadcastReceiver {
private static final String TAG = NagTurnReceiver.class.getSimpleName();
private static final long INTERVAL_MILLIS = 1000 * 30; // every half minute for now
private static final long[] NAG_INTERVAL_SECONDS = {// 2*60, // two minutes (for testing)

View file

@ -28,6 +28,7 @@ import android.widget.ScrollView;
import android.widget.TextView;
public class NotAgainView extends ScrollView {
private static final String TAG = NotAgainView.class.getSimpleName();
public NotAgainView( Context cx, AttributeSet as ) {
super( cx, as );

View file

@ -25,6 +25,7 @@ import android.content.Context;
import android.content.Intent;
public class OnBootReceiver extends BroadcastReceiver {
private static final String TAG = OnBootReceiver.class.getSimpleName();
@Override
public void onReceive( Context context, Intent intent )

View file

@ -34,6 +34,7 @@ import java.net.Socket;
import java.util.ArrayList;
public class RefreshNamesTask extends AsyncTask<Void, Void, String[]> {
private static final String TAG = RefreshNamesTask.class.getSimpleName();
public interface NoNameFound {
public void NoNameFound();

View file

@ -27,6 +27,7 @@ import org.eehouse.android.xw4.DlgDelegate.Action;
import org.eehouse.android.xw4.loc.LocUtils;
public class RelayCheckBoxPreference extends ConfirmingCheckBoxPreference {
private static final String TAG = RelayCheckBoxPreference.class.getSimpleName();
private static ConfirmingCheckBoxPreference s_this = null;
public RelayCheckBoxPreference( Context context, AttributeSet attrs )

View file

@ -23,6 +23,7 @@ package org.eehouse.android.xw4;
import android.os.Bundle;
public class RelayInviteActivity extends InviteActivity {
private static final String TAG = RelayInviteActivity.class.getSimpleName();
private RelayInviteDelegate m_dlgt;
@Override

View file

@ -49,6 +49,7 @@ import java.util.Iterator;
import java.util.Set;
public class RelayInviteDelegate extends InviteDelegate {
private static final String TAG = RelayInviteDelegate.class.getSimpleName();
// private static final int GET_CONTACT = 1;
private static final String SAVE_NAME = "SAVE_NAME";

View file

@ -28,6 +28,7 @@ import android.content.Intent;
import android.os.SystemClock;
public class RelayReceiver extends BroadcastReceiver {
private static final String TAG = RelayReceiver.class.getSimpleName();
@Override
public void onReceive( Context context, Intent intent )

View file

@ -27,6 +27,7 @@ import java.lang.ref.WeakReference;
import org.eehouse.android.xw4.DlgDelegate.Action;
public class SMSCheckBoxPreference extends ConfirmingCheckBoxPreference {
private static final String TAG = SMSCheckBoxPreference.class.getSimpleName();
private static WeakReference<ConfirmingCheckBoxPreference> s_this = null;
public SMSCheckBoxPreference( Context context, AttributeSet attrs )

View file

@ -23,6 +23,7 @@ package org.eehouse.android.xw4;
import android.os.Bundle;
public class SMSInviteActivity extends InviteActivity {
private static final String TAG = SMSInviteActivity.class.getSimpleName();
private SMSInviteDelegate m_dlgt;

View file

@ -51,6 +51,7 @@ import java.util.Comparator;
import java.util.Iterator;
public class SMSInviteDelegate extends InviteDelegate {
private static final String TAG = SMSInviteDelegate.class.getSimpleName();
private static final String SAVE_NAME = "SAVE_NAME";
private static final String SAVE_NUMBER = "SAVE_NUMBER";

View file

@ -28,6 +28,7 @@ import android.widget.LinearLayout;
import android.widget.TextView;
public class SMSListItem extends LinearLayout {
private static final String TAG = SMSListItem.class.getSimpleName();
public SMSListItem( Context cx, AttributeSet as )
{

View file

@ -27,6 +27,7 @@ import android.os.Bundle;
import android.telephony.SmsMessage;
public class SMSReceiver extends BroadcastReceiver {
private static final String TAG = SMSReceiver.class.getSimpleName();
@Override
public void onReceive( Context context, Intent intent )

View file

@ -53,6 +53,7 @@ import java.util.Map;
import java.util.Set;
public class SMSService extends XWService {
private static final String TAG = SMSService.class.getSimpleName();
private static final String INSTALL_URL = "http://eehouse.org/_/a.py/a ";
private static final int MAX_SMS_LEN = 140; // ??? differs by network

View file

@ -22,6 +22,7 @@ package org.eehouse.android.xw4;
import android.os.Bundle;
public class StudyListActivity extends XWActivity {
private static final String TAG = StudyListActivity.class.getSimpleName();
@Override
protected void onCreate( Bundle savedInstanceState )

View file

@ -23,6 +23,7 @@ package org.eehouse.android.xw4;
import android.os.Bundle;
public class StudyListFrag extends XWFragment {
private static final String TAG = StudyListFrag.class.getSimpleName();
public StudyListFrag() {}

View file

@ -27,6 +27,7 @@ import android.graphics.Rect;
import org.eehouse.android.xw4.jni.XwJNI;
public class ThumbCanvas extends BoardCanvas {
private static final String TAG = ThumbCanvas.class.getSimpleName();
public ThumbCanvas( Context context, Bitmap bitmap )
{

View file

@ -39,6 +39,7 @@ import org.eehouse.android.xw4.DlgDelegate.HasDlgDelegate;
import org.eehouse.android.xw4.loc.LocUtils;
public class Toolbar implements BoardContainer.SizeChangeListener {
private static final String TAG = Toolbar.class.getSimpleName();
public enum Buttons {
BUTTON_BROWSE_DICT(R.id.dictlist_button),
BUTTON_HINT_PREV(R.id.prevhint_button),

View file

@ -39,6 +39,7 @@ import java.io.File;
import java.net.HttpURLConnection;
public class UpdateCheckReceiver extends BroadcastReceiver {
private static final String TAG = UpdateCheckReceiver.class.getSimpleName();
public static final String NEW_DICT_URL = "NEW_DICT_URL";
public static final String NEW_DICT_LOC = "NEW_DICT_LOC";

View file

@ -23,6 +23,7 @@ package org.eehouse.android.xw4;
import android.os.Bundle;
public class WiDirInviteActivity extends InviteActivity {
private static final String TAG = WiDirInviteActivity.class.getSimpleName();
private WiDirInviteDelegate m_dlgt;

View file

@ -70,6 +70,7 @@ import org.eehouse.android.xw4.loc.LocUtils;
import junit.framework.Assert;
public class WiDirService extends XWService {
private static final String TAG = WiDirService.class.getSimpleName();
private static final Class CLAZZ = WiDirService.class;
private static final String MAC_ADDR_KEY = "p2p_mac_addr";
private static final String SERVICE_NAME = "srvc_" + BuildConstants.VARIANT;
@ -298,7 +299,7 @@ public class WiDirService extends XWService {
}
return nSent;
}
public static void activityResumed( Activity activity )
{
if ( WIFI_DIRECT_ENABLED ) {
@ -854,7 +855,7 @@ public class WiDirService extends XWService {
DbgUtils.loge( CLAZZ, "can't forward; not group owner (any more?)" );
}
}
private static void startAcceptThread()
{
sAmServer = true;

View file

@ -37,6 +37,7 @@ import android.widget.ListView;
import junit.framework.Assert;
public class XWActivity extends FragmentActivity implements Delegator {
private static final String TAG = XWActivity.class.getSimpleName();
private DelegateBase m_dlgt;

View file

@ -33,6 +33,7 @@ import java.util.UUID;
import junit.framework.Assert;
public class XWApp extends Application {
private static final String TAG = XWApp.class.getSimpleName();
public static final boolean BTSUPPORTED = true;
public static final boolean SMSSUPPORTED = true;

View file

@ -35,6 +35,7 @@ import org.eehouse.android.xw4.jni.CommsAddrRec.CommsConnTypeSet;
import org.eehouse.android.xw4.loc.LocUtils;
public class XWConnAddrPreference extends DialogPreference {
private static final String TAG = XWConnAddrPreference.class.getSimpleName();
private Context m_context;
private ConnViaViewLayout m_view;

View file

@ -25,6 +25,7 @@ import android.preference.EditTextPreference;
import android.util.AttributeSet;
public class XWDevIDPreference extends EditTextPreference {
private static final String TAG = XWDevIDPreference.class.getSimpleName();
private Context m_context;
public XWDevIDPreference( Context context, AttributeSet attrs )

View file

@ -25,6 +25,7 @@ import android.preference.EditTextPreference;
import android.util.AttributeSet;
public class XWEditTextPreference extends EditTextPreference {
private static final String TAG = XWEditTextPreference.class.getSimpleName();
public XWEditTextPreference( Context context, AttributeSet attrs )
{

View file

@ -153,7 +153,7 @@ abstract class XWFragment extends Fragment implements Delegator {
public void onActivityResult( int requestCode, int resultCode, Intent data )
{
DbgUtils.logd( getClass(), "onActivityResult() called" );
m_dlgt.onActivityResult( RequestCode.values()[requestCode],
m_dlgt.onActivityResult( RequestCode.values()[requestCode],
resultCode, data );
}

View file

@ -27,6 +27,7 @@ import android.util.AttributeSet;
import org.eehouse.android.xw4.loc.LocUtils;
public class XWListPreference extends ListPreference {
private static final String TAG = XWListPreference.class.getSimpleName();
protected Context m_context;
public XWListPreference( Context context, AttributeSet attrs )

View file

@ -27,6 +27,7 @@ import org.eehouse.android.xw4.loc.LocUtils;
public class XWSumListPreference extends XWListPreference {
private static final String TAG = XWSumListPreference.class.getSimpleName();
private static final int[] s_ADDROWS = {
R.string.game_summary_field_npackets,

View file

@ -26,6 +26,7 @@ import android.util.AttributeSet;
import org.eehouse.android.xw4.loc.LocUtils;
public class XWThumbListPreference extends XWListPreference {
private static final String TAG = XWThumbListPreference.class.getSimpleName();
private Context m_context;
public XWThumbListPreference( Context context, AttributeSet attrs )

View file

@ -32,6 +32,7 @@ import org.eehouse.android.xw4.XWPrefs;
import org.eehouse.android.xw4.loc.LocUtils;
public class CommonPrefs extends XWPrefs {
private static final String TAG = CommonPrefs.class.getSimpleName();
public static final int COLOR_TILE_BACK = 0;
public static final int COLOR_NOTILE = 1;
public static final int COLOR_FOCUS = 2;

View file

@ -49,6 +49,7 @@ import java.util.Map;
import java.util.concurrent.LinkedBlockingQueue;
public class JNIThread extends Thread {
private static final String TAG = JNIThread.class.getSimpleName();
public enum JNICmd { CMD_NONE,
// CMD_RUN,

View file

@ -26,4 +26,4 @@ public interface JNIUtils {
String[][] splitFaces( byte[] chars, boolean isUTF8 );
String getMD5SumFor( byte[] bytes );
String getMD5SumFor( String dictName, byte[] bytes );
}
}

View file

@ -34,6 +34,7 @@ import java.security.MessageDigest;
import java.util.ArrayList;
public class JNIUtilsImpl implements JNIUtils {
private static final String TAG = JNIUtilsImpl.class.getSimpleName();
private static final char SYNONYM_DELIM = ' ';

View file

@ -33,6 +33,7 @@ import org.eehouse.android.xw4.jni.CommsAddrRec.CommsConnTypeSet;
import org.eehouse.android.xw4.loc.LocUtils;
public class UtilCtxtImpl implements UtilCtxt {
private static final String TAG = UtilCtxtImpl.class.getSimpleName();
private Context m_context;
private UtilCtxtImpl() {} // force subclasses to pass context

View file

@ -24,6 +24,7 @@ import android.os.Bundle;
import org.eehouse.android.xw4.XWActivity;
public class LocActivity extends XWActivity {
private static final String TAG = LocActivity.class.getSimpleName();
private LocDelegate m_dlgt;

View file

@ -27,6 +27,7 @@ import org.eehouse.android.xw4.DbgUtils;
import java.util.HashMap;
public class LocIDs extends LocIDsData {
private static final String TAG = LocIDs.class.getSimpleName();
private static String[] s_keys;
private static HashMap<String, Integer> S_MAP = null;

View file

@ -25,6 +25,7 @@ import android.os.Bundle;
import org.eehouse.android.xw4.XWActivity;
public class LocItemEditActivity extends XWActivity {
private static final String TAG = LocItemEditActivity.class.getSimpleName();
private LocItemEditDelegate m_dlgt;

View file

@ -44,6 +44,7 @@ import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class LocItemEditDelegate extends DelegateBase implements TextWatcher {
private static final String TAG = LocItemEditDelegate.class.getSimpleName();
private static final String KEY = "KEY";
private Activity m_activity;

View file

@ -28,6 +28,7 @@ import android.widget.ListView;
import org.eehouse.android.xw4.XWListAdapter;
public class LocListAdapter extends XWListAdapter {
private static final String TAG = LocListAdapter.class.getSimpleName();
private Context m_context;
private ListView m_listView;

View file

@ -29,6 +29,7 @@ import android.widget.TextView;
import org.eehouse.android.xw4.R;
public class LocListItem extends LinearLayout {
private static final String TAG = LocListItem.class.getSimpleName();
protected static final int LOCAL_COLOR = Color.argb( 0xFF, 0x7f, 0x00, 0x00 );

View file

@ -26,6 +26,7 @@ import android.view.ViewGroup;
import android.widget.SpinnerAdapter;
public class XlatingSpinnerAdapter implements SpinnerAdapter {
private static final String TAG = XlatingSpinnerAdapter.class.getSimpleName();
private SpinnerAdapter m_adapter;
private Context m_context;