text stringlengths 3 1.18M |
|---|
package com.dmt.gestureproject_1;
import org.ejml.data.DenseMatrix64F;
import org.ejml.factory.DecompositionFactory;
import org.ejml.interfaces.decomposition.SingularValueDecomposition;
import org.ejml.ops.CommonOps;
import org.ejml.ops.NormOps;
import org.ejml.ops.SingularOps;
/**
* <p>
* The following is a simple... |
/*
* Copyright (c) 2014-2015, Oke Uwechue. All Rights Reserved.
*
* This file is part of Android Wear Gesture Recognizer.
*
* 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:/... |
/*
* Copyright (c) 2014-2015, Oke Uwechue. All Rights Reserved.
*
* This file is part of Android Wear Gesture Recognizer.
*
* 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:/... |
/*
* Copyright (c) 2014-2015, Oke Uwechue. All Rights Reserved.
*
* This file is part of Android Wear Gesture Recognizer.
*
* 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:/... |
/*
* Copyright (c) 2014-2015, Oke Uwechue. All Rights Reserved.
*
* This file is part of Android Wear Gesture Recognizer.
*
* 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:/... |
/*
* Copyright (c) 2014-2015, Oke Uwechue. All Rights Reserved.
*
* This file is part of Android Wear Gesture Recognizer.
*
* 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:/... |
package com.dmt.gestureproject_1;
public class EllipticFourierDesc {
/**
* EllipticFD
* This class implements the Elliptic Fourier Descriptor EFD that is described
* (and implemented in Matlab code) in REF1 (see chapter 7). The EFD provides
* a normalized set oc coefficients that are rotatio... |
package com.dmt.gestureproject_1;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
... |
/*
* Copyright (c) 2014-2015, Oke Uwechue. All Rights Reserved.
*
* This file is part of Android Wear Gesture Recognizer.
*
* 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:/... |
package com.bmsym.astrolog;
import android.app.ActionBar;
import android.app.Activity;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.os.AsyncTask;
import android.os.Bundle;
import android.speech.tts.TextToSpeech;
import android.text.InputType;
im... |
package com.bmsym.astrolog.tests;
/* This stub is for using by IDE only. It is NOT the Manifest class actually packed into APK */
public final class Manifest {
} |
/** Automatically generated file. DO NOT MODIFY */
package com.bmsym.astrolog.tests;
public final class BuildConfig {
public final static boolean DEBUG = true;
} |
package com.bmsym.astrolog.tests;
/* This stub is for using by IDE only. It is NOT the R class actually packed into APK */
public final class R {
} |
package com.bmsym.astrolog;
import android.test.ActivityInstrumentationTestCase2;
/**
* This is a simple framework for a test of an Application. See
* {@link android.test.ApplicationTestCase ApplicationTestCase} for more information on
* how to write and extend Application tests.
* <p/>
* To run this test, you ... |
/** Automatically generated file. DO NOT MODIFY */
package clam.apps.vdme;
public final class BuildConfig {
public final static boolean DEBUG = true;
} |
package clam.apps.adu.activity;
import java.io.IOException;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.net.URL;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.TimeZone;
import android.app.Activity;
import androi... |
package clam.apps.adu.activity;
import android.app.Activity;
import android.content.Intent;
import android.support.v4.app.ActionBarDrawerToggle;
import android.support.v4.widget.DrawerLayout;
import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
im... |
package clam.apps.adu.activity;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.StrictMode;
import android.widget.Toast;
public class VieMerdeEtudiantActivity extends Activity{
private final static int DELAY = 3000;
... |
package clam.apps.adu.activity;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.MenuItem;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.TextView;
public class ContactActivity extends Activity implements OnC... |
package clam.apps.adu.activity;
import java.io.File;
import java.util.ArrayList;
import java.util.Iterator;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
import android.graphics.Bitmap;
import android.graphics.drawable.BitmapDraw... |
package clam.apps.adu.metier;
import java.util.ArrayList;
public class Etablissement
{
private static final String TAG_ID = "id";
private static final String TAG_LIBELLE = "libelle";
private static final String TAG_SITE = "site";
private int id;
private String libelle;
private Site site... |
package clam.apps.adu.metier;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.Map.Entry;
import org.apache.http.HttpResponse;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.HttpClient;
import org... |
package clam.apps.adu.metier;
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.TimeZ... |
package clam.apps.adu.metier;
import java.util.ArrayList;
public class Departement
{
private static final String TAG_ID = "id";
private static final String TAG_LIBELLE = "libelle";
private static final String TAG_ETABLISSEMENT = "etablissement";
private int id;
private String libelle;
... |
package clam.apps.adu.metier;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Date;
import org.apache.http.HttpResponse;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpPost;
import org.apache... |
package clam.apps.adu.metier;
public class Etat
{
private static final String TAG_ID = "id";
private static final String TAG_LIBELLE = "libelle";
private int id;
private String libelle;
public Etat()
{
}
public Etat(int id, String libelle)
{
this.setId(id);
this.setLibelle... |
package clam.apps.adu.metier;
import android.graphics.Bitmap;
import android.view.View;
import android.widget.ImageView;
import android.widget.SimpleAdapter.ViewBinder;
public class MyViewBinder implements ViewBinder {
@Override
public boolean setViewValue(View view, Object data, String textRepresentati... |
package clam.apps.adu.metier;
import java.util.ArrayList;
public class Theme
{
private static final String TAG_ID = "id";
private static final String TAG_LIBELLE = "libelle";
private int id;
private String libelle;
public Theme()
{
}
public Theme(int id)
{
this.setId(id... |
package clam.apps.adu.metier;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.HashMap;
/**
*
*/
/**
* @author AlexL
*/
public class ClassManager
{
private Class<?> c_class;
priva... |
package clam.apps.adu.metier;
public class Site
{
private static final String TAG_ID = "id";
private static final String TAG_LIBELLE = "libelle";
private int id;
private String libelle;
public Site()
{
}
public Site(int id, String libelle)
{
this.setId(id);
this.setLibe... |
package com.yggbra.apps.android.timenoticia;
import android.app.Activity;
import android.os.Bundle;
import android.widget.ArrayAdapter;
import android.widget.Spinner;
public class TimeNoticia extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedIn... |
package com.yggbra.apps.android.timenoticia;
import android.view.View;
import android.widget.AdapterView;
import android.widget.Toast;
import android.widget.AdapterView.OnItemSelectedListener;
public class OnCountySelectedListener implements OnItemSelectedListener {
public void onItemSelected(AdapterV... |
package com.google.dstepan76.yandexfoto;
public interface IAuthorizationResult
{
public void OnAuthorizationComplete(Authorizator authorizator);
}
|
package com.google.dstepan76.yandexfoto;
public interface IServiceDocumentResult
{
public void OnServiceDocumentLoad(ServiceDocument serviceDocument);
}
|
package com.google.dstepan76.yandexfoto;
public interface IAccountLogonResult
{
public void OnLoginComplete(int state);
}
|
package com.google.dstepan76.yandexfoto;
public class Yandex
{
public static final String ATOM_NAMESPACE = "http://www.w3.org/2005/Atom";
public static final String APP_NAMESPACE = "http://www.w3.org/2007/app";
public static final String YANDEX_NAMESPACE = "yandex:fotki";
public static final int SERVER_... |
package com.google.dstepan76.yandexfoto;
import android.content.Context;
import android.support.v4.view.ViewPager;
import android.util.AttributeSet;
import android.view.MotionEvent;
public class GalleryViewpager extends ViewPager {
private boolean enabled;
public GalleryViewpager(Context context,... |
package com.google.dstepan76.yandexfoto;
import java.util.Date;
public interface IAlbumsUpdatedResult
{
public void OnComplete(Date updated);
}
|
package com.google.dstepan76.yandexfoto.ZoomableImage;
public interface OnZoomListener
{
public void onZoom(boolean isZoomed);
}
|
/** Automatically generated file. DO NOT MODIFY */
package com.google.dstepan76.yandexfoto;
public final class BuildConfig {
public final static boolean DEBUG = true;
} |
/*
* 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... |
/*
* 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 com.myanroidapp;
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.view.MenuItem;
import android.support.v4.app.NavUtils;
public class MainActivity extends Activity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(saved... |
package com.nea.nehe.lesson08;
import java.io.IOException;
import java.io.InputStream;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.FloatBuffer;
import javax.microedition.khronos.opengles.GL10;
import javax.microedition.khronos.opengles.GL11;
import android.content.Context;
impo... |
package com.nea.nehe.lesson08;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.FloatBuffer;
import javax.microedition.khronos.egl.EGLConfig;
import javax.microedition.khronos.opengles.GL10;
import android.content.Context;
import android.opengl.GLSurfaceView;
import android.opengl.GL... |
package com.nea.nehe.lesson08;
import android.app.Activity;
import android.os.Bundle;
/**
* The initial Android Activity, setting and initiating
* the OpenGL ES Renderer Class @see Lesson08.java
*
* @author Savas Ziplies (nea/INsanityDesign)
*/
public class Run extends Activity {
/** Our own OpenGL View overr... |
package com.nea.nehe.lesson02;
import javax.microedition.khronos.egl.EGLConfig;
import javax.microedition.khronos.opengles.GL10;
import android.opengl.GLU;
import android.opengl.GLSurfaceView.Renderer;
/**
* This is a port of the {@link http://nehe.gamedev.net} OpenGL tutorials to the
* Android 1.5 OpenG... |
package com.nea.nehe.lesson02;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.FloatBuffer;
import javax.microedition.khronos.opengles.GL10;
/**
* This class is an object representation of
* a Triangle containing the vertex information
* and drawing functionality, which is calle... |
package com.nea.nehe.lesson02;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.FloatBuffer;
import javax.microedition.khronos.opengles.GL10;
/**
* This class is an object representation of
* a Square containing the vertex information
* and drawing functionality, which is called ... |
package com.nea.nehe.lesson02;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.FloatBuffer;
import javax.microedition.khronos.opengles.GL10;
public class Tex2Duv
{
protected float[] vf =
{ 0.0f, 0.0f, 800.0f, 0.0f, 0.0f, 480.0f, 480.0f, 800.0f, };
protected float[] ufv =
{ 0.0... |
package com.nea.nehe.lesson02;
import android.app.Activity;
import android.opengl.GLSurfaceView;
import android.os.Bundle;
/**
* The initial Android Activity, setting and initiating
* the OpenGL ES Renderer Class @see Lesson02.java
*
* @author Savas Ziplies (nea/INsanityDesign)
*/
public class Run extends Activ... |
package com.nea.nehe.lesson03;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.FloatBuffer;
import javax.microedition.khronos.opengles.GL10;
/**
* This class is an object representation of
* a Triangle containing the vertex information,
* color information and drawing functional... |
package com.nea.nehe.lesson03;
import javax.microedition.khronos.egl.EGLConfig;
import javax.microedition.khronos.opengles.GL10;
import android.opengl.GLU;
import android.opengl.GLSurfaceView.Renderer;
/**
* This is a port of the {@link http://nehe.gamedev.net} OpenGL
* tutorials to the Android 1.5 Open... |
package com.nea.nehe.lesson03;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.FloatBuffer;
import javax.microedition.khronos.opengles.GL10;
/**
* This class is an object representation of
* a Square containing the vertex information
* and drawing functionality, which is called ... |
package com.nea.nehe.lesson03;
import android.app.Activity;
import android.opengl.GLSurfaceView;
import android.os.Bundle;
/**
* The initial Android Activity, setting and initiating
* the OpenGL ES Renderer Class @see Lesson03.java
*
* @author Savas Ziplies (nea/INsanityDesign)
*/
public class Run extends Activ... |
package com.nea.nehe.lesson07;
import java.io.IOException;
import java.io.InputStream;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.FloatBuffer;
import javax.microedition.khronos.opengles.GL10;
import javax.microedition.khronos.opengles.GL11;
import android.content.Context;
impo... |
package com.nea.nehe.lesson07;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.FloatBuffer;
import javax.microedition.khronos.egl.EGLConfig;
import javax.microedition.khronos.opengles.GL10;
import android.content.Context;
import android.opengl.GLSurfaceView;
import android.opengl.GL... |
package com.nea.nehe.lesson07;
import android.app.Activity;
import android.os.Bundle;
/**
* The initial Android Activity, setting and initiating
* the OpenGL ES Renderer Class @see Lesson07.java
*
* @author Savas Ziplies (nea/INsanityDesign)
*/
public class Run extends Activity {
/** Our own OpenGL View overr... |
package com.gw.musicbox;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.FloatBuffer;
import javax.microedition.khronos.opengles.GL10;
public class tex2d
{
protected float[] vf =
{ 0.0f, 0.0f, 800.0f, 0.0f, 0.0f, 480.0f, 480.0f, 800.0f, };
protected float[] ufv =
{ 0.0f, 0.0f,... |
package com.gw.musicbox;
import android.app.Activity;
import android.opengl.GLSurfaceView;
import android.os.Bundle;
public class MusicBox extends Activity
{
/** The OpenGL View */
private GLSurfaceView glSurface;
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedIn... |
package com.gw.musicbox;
import javax.microedition.khronos.egl.EGLConfig;
import javax.microedition.khronos.opengles.GL10;
import android.content.Context;
import android.opengl.GLUtils;
import android.opengl.GLSurfaceView.Renderer;
import android.util.Log;
public class gameplay implements Renderer
{
... |
package com.gw.musicbox;
import android.content.Context;
public class hud extends tex2d
{
TextureMgr m_TextureMgr;
public hud(TextureMgr mgr)
{
m_TextureMgr = mgr;
TextureIndex = mgr.LoadTexture(R.drawable.key_as);
}
}
|
package aaa.bbb.ccc;
import android.app.Activity;
import android.os.Bundle;
public class Test_Api extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.mai... |
package com.nea.nehe.lesson16;
import java.io.IOException;
import java.io.InputStream;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.FloatBuffer;
import javax.microedition.khronos.opengles.GL10;
import javax.microedition.khronos.opengles.GL11;
import android.content.Context;
impo... |
package com.nea.nehe.lesson16;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.FloatBuffer;
import javax.microedition.khronos.egl.EGLConfig;
import javax.microedition.khronos.opengles.GL10;
import android.content.Context;
import android.opengl.GLSurfaceView;
import android.opengl.GL... |
package com.nea.nehe.lesson16;
import android.app.Activity;
import android.os.Bundle;
/**
* The initial Android Activity, setting and initiating
* the OpenGL ES Renderer Class @see Lesson16.java
*
* @author Savas Ziplies (nea/INsanityDesign)
*/
public class Run extends Activity {
/** Our own OpenGL View overr... |
package com.nea.nehe.lesson04;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.FloatBuffer;
import javax.microedition.khronos.opengles.GL10;
/**
* This class is an object representation of
* a Triangle containing the vertex information,
* color information and drawing functional... |
package com.nea.nehe.lesson04;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.FloatBuffer;
import javax.microedition.khronos.opengles.GL10;
/**
* This class is an object representation of
* a Square containing the vertex information
* and drawing functionality, which is called ... |
package com.nea.nehe.lesson04;
import javax.microedition.khronos.egl.EGLConfig;
import javax.microedition.khronos.opengles.GL10;
import android.opengl.GLU;
import android.opengl.GLSurfaceView.Renderer;
/**
* This is a port of the {@link http://nehe.gamedev.net} OpenGL
* tutorials to the Android 1.5 Open... |
package com.nea.nehe.lesson04;
import android.app.Activity;
import android.opengl.GLSurfaceView;
import android.os.Bundle;
/**
* The initial Android Activity, setting and initiating
* the OpenGL ES Renderer Class @see Lesson04.java
*
* @author Savas Ziplies (nea/INsanityDesign)
*/
public class Run extends Activ... |
package com.nea.nehe.lesson10;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.FloatBuffer;
import java.util.ArrayList;
import java.util.List;
import java.util.Stri... |
package com.nea.nehe.lesson10;
import javax.microedition.khronos.egl.EGLConfig;
import javax.microedition.khronos.opengles.GL10;
import android.content.Context;
import android.opengl.GLSurfaceView;
import android.opengl.GLU;
import android.opengl.GLSurfaceView.Renderer;
import android.view.KeyEvent;
import ... |
package com.nea.nehe.lesson10;
import android.app.Activity;
import android.os.Bundle;
/**
* The initial Android Activity, setting and initiating
* the OpenGL ES Renderer Class @see Lesson10.java
*
* @author Savas Ziplies (nea/INsanityDesign)
*/
public class Run extends Activity {
/** Our own OpenGL View overr... |
package com.nea.nehe.lesson06;
import javax.microedition.khronos.egl.EGLConfig;
import javax.microedition.khronos.opengles.GL10;
import android.content.Context;
import android.opengl.GLU;
import android.opengl.GLSurfaceView.Renderer;
/**
* This is a port of the {@link http://nehe.gamedev.net} OpenGL
* ... |
package com.nea.nehe.lesson06;
import java.io.IOException;
import java.io.InputStream;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.FloatBuffer;
import javax.microedition.khronos.opengles.GL10;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphi... |
package com.nea.nehe.lesson06;
import android.app.Activity;
import android.opengl.GLSurfaceView;
import android.os.Bundle;
/**
* The initial Android Activity, setting and initiating
* the OpenGL ES Renderer Class @see Lesson06.java
*
* @author Savas Ziplies (nea/INsanityDesign)
*/
public class Run extends Activ... |
package com.nea.nehe.lesson09;
import javax.microedition.khronos.egl.EGLConfig;
import javax.microedition.khronos.opengles.GL10;
import android.content.Context;
import android.opengl.GLSurfaceView;
import android.opengl.GLU;
import android.opengl.GLSurfaceView.Renderer;
import android.view.MotionEvent;
/*... |
package com.nea.nehe.lesson09;
import java.io.IOException;
import java.io.InputStream;
import java.util.Random;
import javax.microedition.khronos.opengles.GL10;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.opengl.GLUtils;
/**
* ... |
package com.nea.nehe.lesson09;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.FloatBuffer;
import javax.microedition.khronos.opengles.GL10;
/**
* This class is an object representation of
* a Star
*
* @author Savas Ziplies (nea/INsanityDesign)
*/
public class Star {
... |
package com.nea.nehe.lesson09;
import android.app.Activity;
import android.os.Bundle;
/**
* The initial Android Activity, setting and initiating
* the OpenGL ES Renderer Class @see Lesson09.java
*
* @author Savas Ziplies (nea/INsanityDesign)
*/
public class Run extends Activity {
/** Our own OpenGL View overr... |
package com.nea.nehe.lesson05;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.FloatBuffer;
import javax.microedition.khronos.opengles.GL10;
/**
* This class is an object representation of
* a Cube containing the vertex information,
* color information, the vertex indices
* an... |
package com.nea.nehe.lesson05;
import javax.microedition.khronos.egl.EGLConfig;
import javax.microedition.khronos.opengles.GL10;
import android.opengl.GLU;
import android.opengl.GLSurfaceView.Renderer;
/**
* This is a port of the {@link http://nehe.gamedev.net} OpenGL
* tutorials to the Android 1.5 Open... |
package com.nea.nehe.lesson05;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.FloatBuffer;
import javax.microedition.khronos.opengles.GL10;
/**
*
* @author Savas Ziplies (nea/INsanityDesign)
*/
public class Pyramid {
/** The buffer holding the vertices */
private FloatB... |
package com.nea.nehe.lesson05;
import android.app.Activity;
import android.opengl.GLSurfaceView;
import android.os.Bundle;
/**
* The initial Android Activity, setting and initiating
* the OpenGL ES Renderer Class @see Lesson05.java
*
* @author Savas Ziplies (nea/INsanityDesign)
*/
public class Run extends Activ... |
package com.sys.android.activity;
//downloda by http://www.codefans.net
import android.content.Context;
import android.content.SharedPreferences;
import android.widget.Toast;
public class Util
{
private final String PREFERENCE_NAME = "gtalk";
private Context mContext;
private SharedPreferences mSharedPref... |
package com.sys.android.activity;
//Download by http://www.codefans.net
public interface OnContactStateListener
{
public void contactStateChange();
}
|
package com.sys.android.activity;
//downloda by http://www.codefans.net
import org.jivesoftware.smack.packet.Message;
public interface OnMessageListener
{
public void processMessage(Message message);
}
|
package com.sys.android.db;
import java.util.ArrayList;
import java.util.List;
import com.sys.android.entity.ChatMsg;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOp... |
package com.sys.android.util;
public class TransferUtils {
public static String calculateSpeed(long bytediff, long timediff) {
double kB = calculateSpeedLong(bytediff, timediff);
if ((bytediff == 0L) && (timediff == 0L)) {
return "";
}
if (kB < 1024.0D) {
String KB = Double.toString(kB);
... |
package com.sys.android.util;
import java.text.SimpleDateFormat;
import java.util.Date;
public class TimeRender {
private static SimpleDateFormat formatBuilder;
public static String getDate(String format) {
formatBuilder = new SimpleDateFormat(format);
return formatBuilder.format(new Date());
}
... |
package com.sys.android.entity;
import java.io.Serializable;
import com.sys.android.xmppmanager.XmppConnection;
import android.text.TextUtils;
@SuppressWarnings("serial")
public class ChatMsg implements Serializable{
private int type;
private String username;
private String msg;
public Strin... |
package com.sys.android.entity;
import java.util.List;
public class GroupInfo {
private String groupName;
private List<FriendInfo> friendInfoList;
public String getGroupName() {
return groupName;
}
public void setGroupName(String groupName) {
this.groupName = groupName;
}
public List<Friend... |
package com.sys.android.entity;
import java.io.Serializable;
import com.sys.android.xmppmanager.XmppConnection;
import android.text.TextUtils;
@SuppressWarnings("serial")
public class FriendInfo implements Serializable{
private String username;
private String nickname;
private String mood;
... |
/*
* Copyright 2012 Dirk Vranckaert
*
* 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 applicable la... |
/*
* Copyright 2012 Dirk Vranckaert
*
* 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 applicable la... |
/*
* Copyright 2012 Dirk Vranckaert
*
* 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 applicable la... |
/*
* Copyright 2012 Dirk Vranckaert
*
* 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 applicable law or agre... |
package eu.vranckaert.calendar;
import android.app.Activity;
import eu.vranckaert.calendar.util.CalendarView;
import eu.vranckaert.calendar.util.WeekDay;
import eu.vranckaert.calendar.widget.MonthCellView;
import eu.vranckaert.calendar.widget.Workspace;
import java.util.Date;
import java.util.List;
/**
* User: Dirk... |
package eu.vranckaert.calendar;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.graphics.Rect;
import android.os.AsyncTask;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import eu.vranckaert.calendar.util.*;
import eu.vranckaert.calendar.wi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.