text stringlengths 3 1.18M |
|---|
/*
* Copyright (C) 2009 Jeff Sharkey, http://jsharkey.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... |
/*
* Copyright (C) 2009 Jeff Sharkey, http://jsharkey.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... |
package org.koxx.forecast_weather;
import android.location.Address;
import android.location.Location;
public class GeocodeQuery {
String name = null;
double lat = Double.NaN;
double lon = Double.NaN;
public GeocodeQuery(String query) {
name = query;
}
public GeocodeQuery(Location location)... |
/*
* Copyright (C) 2009 Jeff Sharkey, http://jsharkey.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... |
/*
* Copyright (C) 2009 Jeff Sharkey, http://jsharkey.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... |
/*
* Copyright (C) 2009 Jeff Sharkey, http://jsharkey.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... |
/*
* Copyright (C) 2009 Jeff Sharkey, http://jsharkey.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... |
/*
* Copyright (C) 2009 Jeff Sharkey, http://jsharkey.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... |
/*
* Copyright (C) 2009 Jeff Sharkey, http://jsharkey.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... |
/*
* Copyright (C) 2009 Jeff Sharkey, http://jsharkey.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... |
/*
* Copyright (C) 2009 Jeff Sharkey, http://jsharkey.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... |
/*
* Copyright (C) 2009 Jeff Sharkey, http://jsharkey.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... |
/*
* Copyright (C) 2009 Jeff Sharkey, http://jsharkey.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... |
/*
* Copyright (C) 2009 Jeff Sharkey, http://jsharkey.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... |
/*
* Copyright (C) 2009 Jeff Sharkey, http://jsharkey.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... |
/*
* Copyright (C) 2009 Jeff Sharkey, http://jsharkey.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... |
/*
* Copyright (C) 2009 Jeff Sharkey, http://jsharkey.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... |
/*
* Copyright (C) 2009 Jeff Sharkey, http://jsharkey.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... |
/*
* Copyright (C) 2009 Jeff Sharkey, http://jsharkey.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... |
/*
* Copyright (C) 2009 Jeff Sharkey, http://jsharkey.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... |
/*
* Copyright (C) 2009 Jeff Sharkey, http://jsharkey.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... |
/*
* Copyright (C) 2009 Jeff Sharkey, http://jsharkey.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... |
/*
* Copyright (C) 2009 Jeff Sharkey, http://jsharkey.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... |
/*
* Copyright (C) 2009 Jeff Sharkey, http://jsharkey.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... |
/*
* Copyright (C) 2009 Jeff Sharkey, http://jsharkey.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... |
/*
* Copyright (C) 2009 Jeff Sharkey, http://jsharkey.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... |
package org.glandais.android.livespheres.opengl;
import java.io.IOException;
import java.io.InputStream;
import javax.microedition.khronos.egl.EGLConfig;
import javax.microedition.khronos.opengles.GL10;
import javax.microedition.khronos.opengles.GL11;
import javax.microedition.khronos.opengles.GL11Ext;
import net.rb... |
package org.glandais.android.livespheres.opengl;
import java.util.List;
import net.rbgrn.android.glwallpaperservice.GLWallpaperService;
import org.jbox2d.common.Vec2;
import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.hardware.SensorEventListener;
import android.hardware.SensorManag... |
/*
* Copyright (C) 2009 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
* Copyright (C) 2009 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package org.glandais.android.livespheres.opengl;
import java.util.ArrayList;
import java.util.List;
import org.glandais.android.livespheres.opengl.sprites.GLSprite;
import org.jbox2d.collision.shapes.CircleShape;
import org.jbox2d.collision.shapes.PolygonShape;
import org.jbox2d.common.Vec2;
import org.jbox2d.dynamic... |
package org.glandais.android.livespheres;
import android.content.Intent;
import android.content.SharedPreferences;
import android.database.Cursor;
import android.net.Uri;
import android.os.Bundle;
import android.preference.Preference;
import android.preference.Preference.OnPreferenceClickListener;
import android.prefe... |
package org.glandais.android.livespheres;
import java.util.List;
import org.jbox2d.common.Vec2;
import org.jbox2d.dynamics.Body;
import android.app.Application;
import android.app.Service;
import android.content.SharedPreferences;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.... |
package org.glandais.android.livespheres;
import java.util.ArrayList;
import java.util.List;
import org.jbox2d.collision.shapes.CircleShape;
import org.jbox2d.collision.shapes.PolygonShape;
import org.jbox2d.common.Vec2;
import org.jbox2d.dynamics.Body;
import org.jbox2d.dynamics.BodyDef;
import org.jbox2d.dynamics.B... |
/*
* Copyright (C) 2008 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package com.timothy.config;
public class ConfigureS extends Configuration{
public final static int questionTextSize = 6;
public final static int choiceTextSize = 6;
public final static int answerTextSize = 6;
}
|
package com.timothy.config;
public class Configuration_800_480 extends Configuration {
public final static int questionTextSize = 15;
public final static int choiceTextSize = 15;
public final static int answerTextSize = 15;
}
|
package com.timothy.config;
import android.graphics.Color;
public class Configuration {
public static String background = null;
public static Integer backLight = null;
public static String bubbleBackColor = null;
public static String buttonBackColor = null;
public static String bubbleFontColor = null;
... |
package com.timothy.config;
public class ConfigureL extends Configuration{
public final static int questionTextSize = 15;
public final static int choiceTextSize = 15;
public final static int answerTextSize = 15;
}
|
package com.timothy.config;
public class ConfigureM extends Configuration{
public final static int questionTextSize = 10;
public final static int choiceTextSize = 10;
public final static int answerTextSize = 10;
}
|
package com.timothy.service;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.ArrayList;
import java.util.List;
import com.timothy.android.util.XMLUtil;
import com.timothy.config.Configuration;
i... |
package com.timothy.service;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import com.timothy.android.util.XMLUtil;
import com.timothy.config.Configuration;
import com.timothy.service.MessageReceiveService.IncomingHandler;
import eneter.messaging.diagnostic.EneterTrace;
impor... |
package com.timothy.service;
import java.io.BufferedWriter;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.net.InetSocketAddress;
import java.net.Socket;
import android.util.Log;
import com.timothy.answer.BaseAnswer;
import com.timothy.answer.BaseStationSelection;
public class MessageSe... |
package com.timothy.service;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.timothy.android.util.DatabaseUtil;
import android.app.Service;
import android.content.Intent;
import android.database.Cursor;
import andro... |
package com.timothy.service;
import java.lang.reflect.Method;
import com.android.internal.telephony.ITelephony;
import android.app.Service;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.media.Aud... |
package com.timothy.statistics;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.timothy.answer.BaseAnswer;
import com.timothy.answer.ChoiceResult;
public class PriorityStatistics extends BaseAnswer {
//key is priority
private Map<Integer,List<ChoiceResult>> priorityMap ... |
package com.timothy.statistics;
import java.util.ArrayList;
import java.util.List;
import com.timothy.answer.BaseAnswer;
import com.timothy.answer.ChoiceResult;
import com.timothy.service.MessageSender;
public class GradingStatistics extends BaseAnswer {
private String displayStyle;
private int slide;
... |
package com.timothy.statistics;
import java.util.ArrayList;
import java.util.List;
import com.timothy.answer.BaseAnswer;
import com.timothy.answer.ChoiceResult;
import com.timothy.service.MessageSender;
public class ButtonStatistics extends BaseAnswer {
private String displayStyle;
private int slide;
... |
package com.timothy.statistics;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.timothy.android.util.XMLUtil;
import com.timothy.answer.ChoiceResult;
import com.timothy.question.BaseQuestion;
import com.timothy.statistics.ButtonStatistics;
import com.timot... |
package com.timothy.android;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import com.timothy.answer.BaseStationSelection;
import com.timothy.answer.GradingAnswer;
import com.timothy.question.BaseStation;
import com.timothy.question.QuestionBuilder;
import com.timothy.service.MessageRec... |
package com.timothy.android;
import android.R.integer;
import android.content.Context;
import android.content.Intent;
import android.content.pm.ActivityInfo;
import android.net.wifi.WifiInfo;
import android.net.wifi.WifiManager;
import android.os.Bundle;
import android.util.Log;
import com.timothy.android.... |
package com.timothy.android;
import com.timothy.android.handler.MyCrashHandler;
import com.timothy.android.util.SysUtil;
import com.timothy.service.BackLightService;
import com.timothy.service.BlockService;
import com.timothy.service.CommunicationService;
import com.timothy.service.MessageReceiveService;
impor... |
package com.timothy.android.view;
import java.util.ArrayList;
import java.util.List;
import com.timothy.answer.ChoiceResult;
public class BaseBean {
private String questionText;
private List<ChoiceResult> crList = new ArrayList<ChoiceResult>();
public String getQuestionText() {
return questionText... |
package com.timothy.android.view;
import java.util.List;
import com.timothy.android.util.NumberUtil;
import com.timothy.answer.ChoiceResult;
import com.timothy.chart.CanvasSetting;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
... |
package com.timothy.android.view;
import java.util.List;
import com.timothy.android.util.NumberUtil;
import com.timothy.answer.ChoiceResult;
import com.timothy.chart.CanvasSetting;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
... |
package com.timothy.android.view;
import android.content.Context;
import android.graphics.Canvas;
import android.view.MotionEvent;
import android.view.SurfaceHolder;
import android.view.SurfaceView;
public class BaseView extends SurfaceView {
protected final static String questionTextColor = "#000000";
... |
package com.timothy.android;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.GridView;
import android.widget.Toast;
import android.widget.AdapterView.OnItemClickListener;
public class OfflineQuestionsActivity extends A... |
package com.timothy.android;
import java.util.List;
import com.timothy.answer.SingleSelectAnswer;
import com.timothy.question.Choice;
import com.timothy.question.QuestionBuilder;
import com.timothy.question.STCommonButtonAlpha;
import android.R.integer;
import android.graphics.drawable.Drawable;
import an... |
package com.timothy.android;
import java.io.IOException;
import java.net.InetAddress;
import java.net.UnknownHostException;
import com.timothy.android.handler.MyCrashHandler;
import com.timothy.android.util.SysUtil;
import com.timothy.service.MessageReceiveService;
import com.timothy.service.MessageSender;... |
package com.timothy.android;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.List;
import com.timothy.answer.BaseAnswer;
import com.timothy.service.MessageSender;
import android.content.Context;... |
package com.timothy.android;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import com.timothy.android.view.BaseBean;
import com.timothy.answer.ChoiceResult;
import com.timothy.chart.BaseChart;
import com.timothy.service.MessageReceiveService;
import com.timothy.statistics.ButtonSt... |
package com.timothy.android;
import android.os.Bundle;
import android.util.Log;
import android.widget.TextView;
public class LayoutError extends BaseProcessActivity {
private static final String LOG_TAG = "BaseProcessActivity";
private TextView errorXMLTV;
public void onCreate(Bundle savedInstance... |
package com.timothy.android;
import com.timothy.android.util.XMLUtil;
import com.timothy.service.MessageReceiveService;
import com.timothy.service.MessageSender;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import... |
package com.timothy.android;
import java.util.ArrayList;
import java.util.List;
import android.content.Context;
import android.graphics.Color;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.Button;
import android.widget.GridView;
public ... |
package com.timothy.android;
import android.graphics.Color;
public class LayoutSetting {
public int screenHeight;
public int screenWidth;
public int screenSize;
//Layout
public int layout_bg_color = Color.CYAN;
public int layout_padding = 4;
//tv_msg
public int tv_msg_bg_color = Color.WHITE;... |
package com.timothy.android;
import android.graphics.drawable.Drawable;
public class LayoutSettingButton {
private int height;
private int width;
private Drawable btnDrawable;
public LayoutSettingButton() {
super();
}
public LayoutSettingButton(int height, int width, Drawable btnDrawable) {
... |
package com.timothy.android.answer;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.util.Log;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.TableLayout;
import android.widget.TextView;
import com.tim... |
package com.timothy.android.answer;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import com.timothy.android.BaseProcessActivity;
import com.timothy.android.answer.Bar2DAnswerActivity.VerticalBar2DView;
import com.timothy.android.util.ValueCopyUtil;
import com.timothy.answer.Choice... |
package com.timothy.android.answer;
import java.util.ArrayList;
import java.util.List;
import com.timothy.android.BaseAnswerActivity;
import com.timothy.android.util.NumberUtil;
import com.timothy.android.util.ValueCopyUtil;
import com.timothy.android.util.XMLUtil;
import com.timothy.chart.BaseChart;
import... |
package com.timothy.android.answer;
import java.util.ArrayList;
import java.util.List;
import android.content.Context;
import android.content.pm.ActivityInfo;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.RectF;
import android.os.Bundl... |
package com.timothy.android.answer;
import java.util.ArrayList;
import java.util.List;
import android.content.Context;
import android.content.pm.ActivityInfo;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.os.Bundle;
import android.util.Log;
impo... |
package com.timothy.android.answer;
import java.util.ArrayList;
import java.util.List;
import com.timothy.android.BaseAnswerActivity;
import com.timothy.android.util.ValueCopyUtil;
import com.timothy.chart.BaseChart;
import com.timothy.chart.CanvasSetting;
import com.timothy.chart.Pie3D;
import com.timothy.... |
package com.timothy.android.answer;
import java.util.ArrayList;
import java.util.List;
import com.timothy.android.BaseAnswerActivity;
import com.timothy.android.util.NumberUtil;
import com.timothy.android.util.ValueCopyUtil;
import com.timothy.chart.BaseChart;
import com.timothy.chart.CanvasSetting;
import ... |
package com.timothy.android.answer;
import java.util.ArrayList;
import java.util.List;
import com.timothy.android.BaseAnswerActivity;
import com.timothy.android.util.NumberUtil;
import com.timothy.android.util.ValueCopyUtil;
import com.timothy.chart.BaseChart;
import com.timothy.chart.CanvasSetting;
import ... |
package com.timothy.android.answer;
import java.util.ArrayList;
import java.util.List;
import com.timothy.android.BaseProcessActivity;
import com.timothy.android.util.ValueCopyUtil;
import com.timothy.answer.ChoiceResult;
import com.timothy.chart.BaseChart;
import com.timothy.chart.CanvasSetting;
import com... |
package com.timothy.android.answer;
import java.util.ArrayList;
import java.util.List;
import android.R.integer;
import android.content.Context;
import android.content.pm.ActivityInfo;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Rect... |
package com.timothy.android.answer;
import com.timothy.android.BaseProcessActivity;
import com.timothy.android.R;
import com.timothy.android.R.id;
import com.timothy.android.R.layout;
import com.timothy.question.BaseQuestion;
import com.timothy.question.QuestionBuilder;
import com.timothy.statistics.SlideStati... |
package com.timothy.android.handler;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.io.Writer;
import java.lang.Thread.UncaughtExceptionHandler;
import java.lang.reflect.Field;
import java.text.SimpleDateFormat;
import com.timothy.android.LoginActivity;
import com.timothy.android.util.... |
package com.timothy.android.util;
import java.util.ArrayList;
import java.util.List;
import android.R.integer;
import android.app.Activity;
import android.util.Log;
/**
* Filename: ActivityStackControlUtil.java
* Package: info.wegosoft.android.util
* Description: activity栈管理类,每当新产生一个activ... |
package com.timothy.android.util;
public class NumberUtil {
/**
* 保留一位小数
* @param c
* @return
*/
public static String formatData0Deci(double c) {
java.text.DecimalFormat myformat = new java.text.DecimalFormat("#0");
return myformat.format(c);
}
/**
* 保留一位小数
... |
package com.timothy.android.util;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.SQLException;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.util.Log;
public class ... |
package com.timothy.android.util;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
public class ValueCopyUtil {
public static void valueCopy(Object fatherObj, Object childObj) throws Exception {
Class<?> objFirstClass = fatherObj.getClass();
Class<?> objTwoClass = childObj.getClass();
... |
package com.timothy.android.util;
import com.timothy.android.LoginActivity;
import android.content.Context;
import android.content.Intent;
public class SysUtil {
public static final int EXIT_APPLICATION = 0x0001;
private Context mContext;
public SysUtil(Context context){
this.mContext = context... |
package com.timothy.android.util;
import java.util.ArrayList;
import java.util.List;
public class XMLUtil {
public static String getPropertyValue( String xml, String property ){
int index = xml.indexOf( property+"=" );
String value = null;
if( index>0 ) {
index = xml.indexOf("\"", index)+1;
value = xm... |
package com.timothy.android;
import java.util.ArrayList;
import java.util.List;
import com.timothy.question.Choice;
import android.content.Context;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.util.Log;
import android.view.View;
import android.view.ViewGroup;
... |
package com.timothy.android;
import com.timothy.android.handler.MyCrashHandler;
import android.app.Application;
public class MyApplication extends Application {
// public NoteEntry entry;
@Override
public void onCreate() {
super.onCreate();
// String apiKey = "0fab7f9aa21f39cd2f027ecfe65dad67";... |
package com.timothy.question;
public class FreeformQuestion extends BaseQuestion {
}
|
package com.timothy.question;
public class SlideQuestion extends BaseQuestion{
private int max;
public int getMax() {
return max;
}
public void setMax(int max) {
this.max = max;
}
}
|
package com.timothy.question;
public class Choice {
private Integer index;
private String mark;
private String content;
private String score;
public Choice(){
}
public Choice(Integer index, String mark, String content, String score) {
super();
this.index = index;
this.mark = mark;
this.content = con... |
package com.timothy.question;
public class RangeQuestion extends BaseQuestion {
}
|
package com.timothy.question;
import java.util.ArrayList;
import java.util.List;
public class STCommonButtonAlpha extends BaseQuestion{
private List<Choice> choices = new ArrayList<Choice>();
public void addChoice(Choice choice){
choices.add( choice );
}
/*public String toString(){
return getQuestionNam... |
package com.timothy.question;
import java.util.ArrayList;
import java.util.List;
public class PriorityQuestion extends BaseQuestion{
private List<Choice> choices = new ArrayList<Choice>();
public void addChoice(Choice choice){
choices.add( choice );
}
public List<Choice> getChoices() {
return choices;
}... |
package com.timothy.question;
public class BaseStation {
private String name;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}
|
package com.timothy.question;
import java.util.ArrayList;
import java.util.List;
public class GradingQuestion extends BaseQuestion{
private List<Choice> choices = new ArrayList<Choice>();
private Integer scoreWeight;
private String teamCode;
public void addChoice(Choice choice){
choices.add( choi... |
package com.timothy.question;
public class BaseQuestion {
private int slideIndex;
private String questionName;
private String xmlString;
private int countDownTime;
public BaseQuestion() {
}
public BaseQuestion(int slideIndex, String questionName) {
super();
this.slideIndex = slideIndex;
this.questionNa... |
package com.timothy.question;
import java.util.ArrayList;
import java.util.List;
import android.util.Log;
import com.timothy.android.util.XMLUtil;
public class QuestionBuilder {
private final static String LOG_TAG = "QuestionBuilder";
/**
*
* @param content
* @return
*/
public static List<BaseStation> p... |
package com.timothy.answer;
import java.util.ArrayList;
import java.util.List;
import com.timothy.service.MessageSender;
public class GradingAnswer extends BaseAnswer{
private List<Integer> scoreList = new ArrayList<Integer>();
public List<Integer> getAnswerList() {
return scoreList;
}
public ... |
package com.timothy.answer;
import java.util.ArrayList;
import java.util.List;
import com.timothy.service.MessageSender;
public class MultiSelectAnswer extends BaseAnswer{
private List<Integer> valueList = new ArrayList<Integer>();
public List<Integer> getAnswerList() {
return valueList;
}
pub... |
package com.timothy.answer;
import com.timothy.service.MessageSender;
public class FreeFormAnswer extends BaseAnswer{
private String value;
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
@Override
public String getAnswerContent() {... |
package com.timothy.answer;
import com.timothy.service.MessageSender;
public class SlideAnswer extends BaseAnswer{
private String value;
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
@Override
public String getAnswerContent() {
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.