This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.fly1tkg.view; | |
import android.content.Context; | |
import android.graphics.Bitmap; | |
import android.graphics.Bitmap.Config; | |
import android.graphics.Canvas; | |
import android.graphics.Color; | |
import android.graphics.Paint; | |
import android.graphics.PorterDuff.Mode; | |
import android.graphics.PorterDuffXfermode; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
author: Shoichi Takagi | |
*/ | |
var width; | |
var height; | |
var movieWidth; | |
var movieHeight; | |
var getImageSize = function() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
author: Shoichi Takagi | |
*/ | |
var width; | |
var height; | |
var movieWidth; | |
var movieHeight; | |
var getImageSize = function() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REPOS=("" "AugmentedRealityExtension" "LiveWallpaperExtension" "MODPlayerExtension" "MultiplayerExtension" "MultiTouchExtension" "PhysicsBox2DExtension" "RobotiumExtension" "ScriptingExtension" "ScriptingExtensionGenerator" "SVGTextureRegionExtension" "TexturePackerExtension" "TMXTiledMapExtension") | |
for ((l = 0; l < ${#REPOS[@]}; ++l )) | |
do | |
git clone "https://github.com/nicolasgramlich/AndEngine"${REPOS[$l]}".git" | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
NDK=/home/vagrant/android-ndk-r9d | |
SYSROOT=$NDK/platforms/android-9/arch-arm/ | |
TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86 | |
function build_one | |
{ | |
./configure \ | |
--prefix=$PREFIX \ | |
--disable-shared \ | |
--enable-static \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NDK=/home/vagrant/android-ndk-r9d | |
SYSROOT=$NDK/platforms/android-9/arch-arm/ | |
TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86 | |
./configure \ | |
--cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \ | |
--sysroot="$SYSROOT" \ | |
--host=arm-linux \ | |
--enable-pic \ | |
--enable-static \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.junit.Test; | |
import java.util.Arrays; | |
import rx.Observable; | |
import rx.observers.TestSubscriber; | |
public class RxJavaUnitTest { | |
@Test | |
public void observableTest() throws Exception { |