code
stringlengths
3
1.18M
language
stringclasses
1 value
/* * Copyright (C) 2011 University of Washington * * 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 ...
Java
/* * Copyright (C) 2009 University of Washington * * 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 ...
Java
/* * Copyright (C) 2011 University of Washington * * 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 ...
Java
/* * Copyright (C) 2011 University of Washington * * 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 ...
Java
/* * Copyright (C) 2009 University of Washington * * 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 ...
Java
/* * Copyright (C) 2009 University of Washington * * 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 ...
Java
/* * Copyright (C) 2009 University of Washington * * 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 ...
Java
/* * Copyright (C) 2009 University of Washington * * 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 ...
Java
/* * Copyright (C) 2009 University of Washington * * 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 ...
Java
/* * Copyright (C) 2009 University of Washington * * 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 ...
Java
/* * Copyright (C) 2009 University of Washington * * 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 ...
Java
/* * Copyright (C) 2009 University of Washington * * 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 ...
Java
/* * Copyright (C) 2009 University of Washington * * 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 ...
Java
/* * Copyright (C) 2012 University of Washington * * 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 ...
Java
/* * Copyright (C) 2011 University of Washington * * 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 ...
Java
/* * Copyright (C) 2012 University of Washington * * 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 ...
Java
/* * Copyright (C) 2011 University of Washington * * 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 ...
Java
/* * Copyright (C) 2012 University of Washington * * 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 ...
Java
/* * Copyright (C) 2009 University of Washington * * 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 ...
Java
/* * Copyright (C) 2009 University of Washington * * 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 ...
Java
/* * Copyright (C) 2012 University of Washington * * 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 applica...
Java
/* * Copyright (C) 2009 University of Washington * * 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 ...
Java
/* * Copyright (C) 2009 University of Washington * * 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 ...
Java
/* * Copyright (C) 2009 University of Washington * * 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 ...
Java
/* * Copyright (C) 2012 University of Washington * * 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 applica...
Java
/* * Copyright (C) 2009 University of Washington * * 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 ...
Java
package org.odk.collect.android.receivers; import java.util.ArrayList; import java.util.HashMap; import org.odk.collect.android.R; import org.odk.collect.android.listeners.InstanceUploaderListener; import org.odk.collect.android.preferences.PreferencesActivity; import org.odk.collect.android.provider.InstanceProvider...
Java
/* * Copyright (C) 2011 University of Washington * * 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 ...
Java
/* * Copyright (C) 2011 University of Washington * * 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 ...
Java
package org.odk.collect.android.preferences; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface.OnClickListener; import android.preference.DialogPreference; import android.util.AttributeSet; import android.view.View; import android.view.WindowManager; import android...
Java
/* * Copyright (C) 2011 University of Washington * * 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 ...
Java
/* * Copyright (C) 2009 University of Washington * * 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 ...
Java
/** * */ package org.odk.collect.android.logic; import org.javarosa.core.reference.PrefixedRootFactory; import org.javarosa.core.reference.Reference; /** * @author ctsims */ public class FileReferenceFactory extends PrefixedRootFactory { String localRoot; public FileReferenceFactory(...
Java
/* * Copyright (C) 2011 University of Washington * * 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 ...
Java
/** * */ package org.odk.collect.android.logic; import org.javarosa.core.reference.Reference; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; /** * @author ctsims */ publ...
Java
/* * Copyright (C) 2009 University of Washington * * 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 ...
Java
/* * Copyright (C) 2009 JavaRosa * * 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 agreed to in wri...
Java
/* * Copyright (C) 2009 University of Washington * * 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 ...
Java
/* * Copyright (C) 2009 University of Washington * * 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 ...
Java
/* * Copyright (C) 2009 University of Washington * * 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 ...
Java
/* * Copyright (C) 2012 University of Washington * * 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 applica...
Java
/* * Copyright (C) 2012 University of Washington * * 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 applica...
Java
/* * Copyright (C) 2009 University of Washington * * 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 ...
Java
/* * Copyright (C) 2011 University of Washington * * 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 ...
Java
/* * Copyright (C) 2009 University of Washington * * 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 ...
Java
/* * Copyright (C) 2009 University of Washington * * 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 ...
Java
package org.anddev.andengine.sensor.accelerometer; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 16:58:38 - 10.03.2010 */ public interface IAccelerometerListener { // =========================================================== // Final Fields // ====...
Java
package org.anddev.andengine.sensor.accelerometer; import java.util.Arrays; import org.anddev.andengine.sensor.BaseSensorData; import android.hardware.SensorManager; import android.view.Surface; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 16:50:44...
Java
package org.anddev.andengine.sensor.accelerometer; import org.anddev.andengine.sensor.SensorDelay; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 11:10:34 - 31.10.2010 */ public class AccelerometerSensorOptions { // ====================================...
Java
package org.anddev.andengine.sensor.orientation; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 11:30:42 - 25.05.2010 */ public interface IOrientationListener { // =========================================================== // Final Fields // ========...
Java
package org.anddev.andengine.sensor.orientation; import java.util.Arrays; import org.anddev.andengine.sensor.BaseSensorData; import org.anddev.andengine.util.constants.MathConstants; import android.hardware.SensorManager; import android.view.Surface; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga I...
Java
package org.anddev.andengine.sensor.orientation; import org.anddev.andengine.sensor.SensorDelay; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 11:12:36 - 31.10.2010 */ public class OrientationSensorOptions { // ========================================...
Java
package org.anddev.andengine.sensor.location; import android.location.Location; import android.location.LocationListener; import android.os.Bundle; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 10:39:23 - 31.10.2010 */ public interface ILocationListen...
Java
package org.anddev.andengine.sensor.location; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 10:55:57 - 31.10.2010 */ public enum LocationProviderStatus { // =========================================================== // Elements // ==================...
Java
package org.anddev.andengine.sensor.location; import org.anddev.andengine.util.constants.TimeConstants; import android.location.Criteria; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 11:02:12 - 31.10.2010 */ public class LocationSensorOptions extend...
Java
package org.anddev.andengine.sensor; import java.util.Arrays; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 16:50:44 - 10.03.2010 */ public class BaseSensorData { // =========================================================== // Constants // =====...
Java
package org.anddev.andengine.sensor; import android.hardware.SensorManager; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 11:14:38 - 31.10.2010 */ public enum SensorDelay { // =========================================================== // Elements...
Java
package org.anddev.andengine.level.util.constants; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 14:23:27 - 11.10.2010 */ public interface LevelConstants { // =========================================================== // Final Fields // ==========...
Java
package org.anddev.andengine.level; import java.io.BufferedInputStream; import java.io.IOException; import java.io.InputStream; import java.util.HashMap; import javax.xml.parsers.ParserConfigurationException; import javax.xml.parsers.SAXParser; import javax.xml.parsers.SAXParserFactory; import org.anddev....
Java
package org.anddev.andengine.level; import java.util.HashMap; import org.anddev.andengine.level.LevelLoader.IEntityLoader; import org.anddev.andengine.level.util.constants.LevelConstants; import org.xml.sax.Attributes; import org.xml.sax.SAXException; import org.xml.sax.helpers.DefaultHandler; /** * (c) ...
Java
package org.anddev.andengine.util.pool; import org.anddev.andengine.entity.IEntity; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 00:53:22 - 28.08.2010 */ public class EntityDetachRunnablePoolItem extends RunnablePoolItem { // ========================...
Java
package org.anddev.andengine.util.pool; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 23:46:50 - 27.08.2010 */ public abstract class RunnablePoolItem extends PoolItem implements Runnable { // =========================================================== ...
Java
package org.anddev.andengine.util.pool; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 23:16:25 - 31.08.2010 */ public class EntityDetachRunnablePoolUpdateHandler extends RunnablePoolUpdateHandler<EntityDetachRunnablePoolItem> { // =======================...
Java
package org.anddev.andengine.util.pool; /** * @author Valentin Milea * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * * @since 23:00:21 - 21.08.2010 * @param <T> */ public abstract class Pool<T extends PoolItem> extends GenericPool<T>{ // ====================...
Java
package org.anddev.andengine.util.pool; import java.util.ArrayList; import org.anddev.andengine.engine.handler.IUpdateHandler; /** * @author Valentin Milea * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * * @since 23:02:58 - 21.08.2010 * @param <T> */ publi...
Java
package org.anddev.andengine.util.pool; /** * @author Valentin Milea * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * * @since 23:02:47 - 21.08.2010 */ public abstract class PoolItem { // =========================================================== // Constants ...
Java
package org.anddev.andengine.util.pool; import android.util.SparseArray; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 10:13:26 - 02.03.2011 */ public class MultiPool<T> { // =========================================================== // Constants ...
Java
package org.anddev.andengine.util.pool; import java.util.Collections; import java.util.Stack; import org.anddev.andengine.util.Debug; /** * @author Valentin Milea * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * * @since 22:19:55 - 31.08.2010 * @param <T> *...
Java
package org.anddev.andengine.util.pool; /** * @author Valentin Milea * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * * @since 23:03:58 - 21.08.2010 * @param <T> */ public abstract class RunnablePoolUpdateHandler<T extends RunnablePoolItem> extends PoolUpdateHand...
Java
package org.anddev.andengine.util; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FilenameFilter; import java.io.IOException; import java.io.InputStream; import android.content.Context; import android.os.Environment...
Java
package org.anddev.andengine.util; import org.anddev.andengine.util.constants.Constants; import android.content.Context; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import android.preference.PreferenceManager; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zyn...
Java
package org.anddev.andengine.util; import java.util.ArrayList; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 22:20:08 - 27.12.2010 */ public class SmartList<T> extends ArrayList<T> { // =========================================================== // ...
Java
package org.anddev.andengine.util; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 20:55:35 - 08.09.2009 */ public class ViewUt...
Java
package org.anddev.andengine.util; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 15:15:23 - 24.07.2010 */ public enum VerticalAlign { // =========================================================== // Elements // ======================================...
Java
package org.anddev.andengine.util.sort; import java.util.Comparator; import java.util.List; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 14:14:31 - 06.08.2010 * @param <T> */ public class InsertionSorter<T> extends Sorter<T> { // =================...
Java
package org.anddev.andengine.util.sort; import java.util.Comparator; import java.util.List; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 14:14:39 - 06.08.2010 * @param <T> */ public abstract class Sorter<T> { // ===================================...
Java
package org.anddev.andengine.util; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 10:47:33 - 11.05.2010 */ public enum HorizontalAlign { // =========================================================== // Elements // ====================================...
Java
package org.anddev.andengine.util; import java.util.concurrent.Callable; import org.anddev.andengine.ui.activity.BaseActivity.CancelledException; import org.anddev.andengine.util.progress.IProgressListener; import org.anddev.andengine.util.progress.ProgressCallable; import android.app.Activity; import andro...
Java
package org.anddev.andengine.util.path; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 23:00:24 - 16.08.2010 */ public interface ITiledMap<T> { // =========================================================== // Constants // ============================...
Java
package org.anddev.andengine.util.path; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 15:19:11 - 17.08.2010 */ public enum Direction { // =========================================================== // Elements // =====================================...
Java
package org.anddev.andengine.util.path; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 22:57:13 - 16.08.2010 */ public interface IPathFinder<T> { // =========================================================== // Constants // ==========================...
Java
package org.anddev.andengine.util.path.astar; import org.anddev.andengine.util.path.ITiledMap; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 22:58:01 - 16.08.2010 */ public class ManhattanHeuristic<T> implements IAStarHeuristic<T> { // ===============...
Java
package org.anddev.andengine.util.path.astar; import org.anddev.andengine.util.path.ITiledMap; import android.util.FloatMath; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 22:58:01 - 16.08.2010 */ public class EuclideanHeuristic<T> implements IAStarH...
Java
package org.anddev.andengine.util.path.astar; import org.anddev.andengine.util.path.ITiledMap; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 22:58:01 - 16.08.2010 */ public class NullHeuristic<T> implements IAStarHeuristic<T> { // ====================...
Java
package org.anddev.andengine.util.path.astar; import org.anddev.andengine.util.path.ITiledMap; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 22:59:20 - 16.08.2010 */ public interface IAStarHeuristic<T> { // ============================================...
Java
package org.anddev.andengine.util.path.astar; import java.util.ArrayList; import java.util.Collections; import org.anddev.andengine.util.path.IPathFinder; import org.anddev.andengine.util.path.ITiledMap; import org.anddev.andengine.util.path.Path; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. ...
Java
package org.anddev.andengine.util.path; import java.util.ArrayList; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 23:00:24 - 16.08.2010 */ public class Path { // =========================================================== // Constants // =========...
Java
package org.anddev.andengine.util; import java.io.ByteArrayOutputStream; import java.io.Closeable; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.Writer; import java.nio.ByteBuffer; import java.util.Scanner; /** * (c) 2010 Nicolas Gramlich * (c) 201...
Java
package org.anddev.andengine.util; import android.util.FloatMath; /** * <p>This class is basically a java-space replacement for the native {@link android.graphics.Matrix} class.</p> * * <p>Math taken from <a href="http://www.senocular.com/flash/tutorials/transformmatrix/">senocular.com</a>.</p> * * ...
Java
package org.anddev.andengine.util; import android.graphics.Color; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 11:13:45 - 04.08.2010 */ public class ColorUtils { // =========================================================== // Constants // =====...
Java
package org.anddev.andengine.util.levelstats; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.anddev.andengine.util.Callback; import org.anddev.andengine.util.Debug; import org.anddev.andengine.util.MathUtils; import org.anddev.andengine.util.SimplePreferences; impo...
Java
package org.anddev.andengine.util; import android.util.SparseArray; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 11:51:29 - 20.08.2010 * @param <T> */ public class Library<T> { // =========================================================== // Con...
Java
/* * Copyright (C) 2010 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 requir...
Java
package org.anddev.andengine.util; import org.anddev.andengine.util.pool.GenericPool; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 23:07:53 - 23.02.2011 */ public class TransformationPool { // =========================================================...
Java
package org.anddev.andengine.util; import java.io.IOException; import java.net.DatagramSocket; import java.net.ServerSocket; import java.net.Socket; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 14:42:15 - 18.09.2009 */ public class SocketUtils { /...
Java
package org.anddev.andengine.util; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 20:52:44 - 03.01.2010 */ public interface Callable<T> { // =========================================================== // Final Fields // ===============================...
Java
package org.anddev.andengine.util; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 22:35:42 - 01.05.2011 */ public class ArrayUtils { // =========================================================== // Constants // =======================================...
Java
package org.anddev.andengine.util; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 19:01:08 - 03.04.2010 */ public class StringUtils { // =========================================================== // Constants // ======================================...
Java
package org.anddev.andengine.util.modifier; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 10:48:13 - 03.09.2010 * @param <T> */ public abstract class BaseDurationModifier<T> extends BaseModifier<T> { // =============================================...
Java
package org.anddev.andengine.util.modifier; import org.anddev.andengine.util.modifier.IModifier.IModifierListener; import org.anddev.andengine.util.modifier.util.ModifierUtils; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 19:39:25 - 19.03.2010 */ pu...
Java