public View initializeForView(ApplicationListener paramApplicationListener, AndroidApplicationConfiguration paramAndroidApplicationConfiguration) { if (paramAndroidApplicationConfiguration.resolutionStrategy == null); for (Object localObject = new FillResolutionStrategy(); ; localObject = paramAndroidApplicationConfiguration.resolutionStrategy) { this.graphics = new AndroidGraphics(this, paramAndroidApplicationConfiguration, (ResolutionStrategy)localObject); this.input = new AndroidInput(this, this.graphics.view, paramAndroidApplicationConfiguration); this.audio = new AndroidAudio(this, paramAndroidApplicationConfiguration); this.files = new AndroidFiles(getAssets(), getFilesDir().getAbsolutePath()); this.listener = paramApplicationListener; this.handler = new Handler(); Gdx.app = this; Gdx.input = getInput(); Gdx.audio = getAudio(); Gdx.files = getFiles(); Gdx.graphics = getGraphics(); createWakeLock(paramAndroidApplicationConfiguration); return this.graphics.getView(); } }
private View createGLSurfaceView(Activity paramActivity, boolean paramBoolean, ResolutionStrategy paramResolutionStrategy) { if ((paramBoolean) && (checkGL20())) { GdxEglConfigChooser20 localGdxEglConfigChooser20 = getEglConfigChooser20(); GLSurfaceView20 localGLSurfaceView20 = new GLSurfaceView20(paramActivity, paramResolutionStrategy); if (localGdxEglConfigChooser20 != null) localGLSurfaceView20.setEGLConfigChooser(localGdxEglConfigChooser20); while (true) { localGLSurfaceView20.setRenderer(this); return localGLSurfaceView20; localGLSurfaceView20.setEGLConfigChooser(this.config.r, this.config.g, this.config.b, this.config.a, this.config.depth, this.config.stencil); } } return null; }
public CardBoardGraphics (AndroidApplicationBase application, AndroidApplicationConfiguration config, ResolutionStrategy resolutionStrategy, boolean focusableView) { this.config = config; this.app = application; view = createCardBoardView(application); preserveEGLContextOnPause(); if (focusableView) { view.setFocusable(true); view.setFocusableInTouchMode(true); } }
public AndroidGraphics (AndroidApplicationBase application, AndroidApplicationConfiguration config, ResolutionStrategy resolutionStrategy, boolean focusableView) { this.config = config; this.app = application; view = createGLSurfaceView(application, resolutionStrategy); preserveEGLContextOnPause(); if (focusableView) { view.setFocusable(true); view.setFocusableInTouchMode(true); } }
public AndroidMini2DxGraphics(AndroidMini2DxGame application, AndroidMini2DxConfig config, ResolutionStrategy resolutionStrategy, boolean focusableView) { super(application, config, resolutionStrategy, focusableView); maximumDelta = 1f / config.targetFPS; targetTimestep = config.targetTimestep; game = application; }
public AndroidGraphics(AndroidApplication paramAndroidApplication, AndroidApplicationConfiguration paramAndroidApplicationConfiguration, ResolutionStrategy paramResolutionStrategy) { this.config = paramAndroidApplicationConfiguration; this.view = createGLSurfaceView(paramAndroidApplication, paramAndroidApplicationConfiguration.useGL20, paramResolutionStrategy); setPreserveContext(this.view); this.view.setFocusable(true); this.view.setFocusableInTouchMode(true); this.app = paramAndroidApplication; }
public CardBoardGraphics (AndroidApplicationBase application, AndroidApplicationConfiguration config, ResolutionStrategy resolutionStrategy) { this(application, config, resolutionStrategy, true); }
public ARRenderer(AndroidApplicationBase application, AndroidApplicationConfiguration config, ResolutionStrategy resolutionStrategy) { super(application, config, resolutionStrategy); }
public SimpleRenderer(Context context, AndroidApplicationBase application, AndroidApplicationConfiguration config, ResolutionStrategy resolutionStrategy) { super(application, config, resolutionStrategy); this.context = context; // Save Specified Context }
public AndroidGraphics (AndroidApplicationBase application, AndroidApplicationConfiguration config, ResolutionStrategy resolutionStrategy) { this(application, config, resolutionStrategy, true); }
public AndroidGraphicsLiveWallpaper (AndroidLiveWallpaper lwp, AndroidApplicationConfiguration config, ResolutionStrategy resolutionStrategy) { super(lwp, config, resolutionStrategy, false); }
public AndroidMini2DxGraphics(AndroidMini2DxGame application, AndroidMini2DxConfig config, ResolutionStrategy resolutionStrategy) { this(application, config, resolutionStrategy, true); }