Searched refs:ApplicationType (Results 1 - 25 of 41) sorted by relevance

12

/external/libgdx/gdx/src/com/badlogic/gdx/graphics/glutils/
H A DGLVersion.java40 public GLVersion (Application.ApplicationType appType, String versionString, String vendorString, String rendererString) {
41 if (appType == Application.ApplicationType.Android) this.type = Type.GLES;
42 else if (appType == Application.ApplicationType.iOS) this.type = Type.GLES;
43 else if (appType == Application.ApplicationType.Desktop) this.type = Type.OpenGL;
44 else if (appType == Application.ApplicationType.Applet) this.type = Type.OpenGL;
45 else if (appType == Application.ApplicationType.WebGL) this.type = Type.WebGL;
H A DFloatTextureData.java21 import com.badlogic.gdx.Application.ApplicationType;
62 if (Gdx.app.getType() == ApplicationType.Android || Gdx.app.getType() == ApplicationType.iOS
63 || Gdx.app.getType() == ApplicationType.WebGL) {
H A DFloatFrameBuffer.java19 import com.badlogic.gdx.Application.ApplicationType;
43 if (Gdx.app.getType() == ApplicationType.Desktop || Gdx.app.getType() == ApplicationType.Applet)
H A DMipMapGenerator.java19 import com.badlogic.gdx.Application.ApplicationType;
54 if (Gdx.app.getType() == ApplicationType.Android || Gdx.app.getType() == ApplicationType.WebGL
55 || Gdx.app.getType() == ApplicationType.iOS) {
H A DGLFrameBuffer.java26 import com.badlogic.gdx.Application.ApplicationType;
135 if (Gdx.app.getType() == ApplicationType.iOS) {
/external/libgdx/extensions/gdx-controllers/gdx-controllers/src/com/badlogic/gdx/controllers/
H A DControllers.java24 import com.badlogic.gdx.Application.ApplicationType;
77 ApplicationType type = Gdx.app.getType();
80 if (type == ApplicationType.Android) {
87 } else if (type == ApplicationType.Desktop) {
93 } else if (type == ApplicationType.WebGL) {
/external/libgdx/backends/gdx-backend-lwjgl/src/com/badlogic/gdx/backends/lwjgl/
H A DLwjglApplet.java42 public ApplicationType getType () {
43 return ApplicationType.Applet;
H A DLwjglAWTCanvas.java213 public ApplicationType getType () {
214 return ApplicationType.Desktop;
H A DLwjglApplication.java293 public ApplicationType getType () {
294 return ApplicationType.Desktop;
/external/libgdx/gdx/src/com/badlogic/gdx/
H A DApplication.java101 public enum ApplicationType { enum in interface:Application
154 /** @return what {@link ApplicationType} this application has, e.g. Android or Desktop */
155 public ApplicationType getType ();
H A DNet.java25 import com.badlogic.gdx.Application.ApplicationType;
208 if (followRedirects == true || Gdx.app.getType() != ApplicationType.WebGL) {
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
H A DFilesTest.java26 import com.badlogic.gdx.Application.ApplicationType;
164 if (Gdx.app.getType() == ApplicationType.iOS) return;
203 if (Gdx.app.getType() != ApplicationType.Android) {
212 if (Gdx.app.getType() == ApplicationType.Android || Gdx.app.getType() == ApplicationType.iOS)
216 if (Gdx.app.getType() != ApplicationType.Android) {
225 if (Gdx.app.getType() != ApplicationType.Android) {
/external/libgdx/backends/gdx-backend-headless/src/com/badlogic/gdx/backends/headless/mock/graphics/
H A DMockGraphics.java38 GLVersion glVersion = new GLVersion(Application.ApplicationType.HeadlessDesktop, "", "", "");
/external/libgdx/backends/gdx-backend-headless/src/com/badlogic/gdx/backends/headless/
H A DHeadlessApplication.java187 public ApplicationType getType() {
188 return ApplicationType.HeadlessDesktop;
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/
H A DTextureArrayTest.java54 ShaderProgram.prependVertexCode = Gdx.app.getType().equals(Application.ApplicationType.Desktop) ? "#version 140\n #extension GL_EXT_texture_array : enable\n" : "#version 300 es\n";
55 ShaderProgram.prependFragmentCode = Gdx.app.getType().equals(Application.ApplicationType.Desktop) ? "#version 140\n #extension GL_EXT_texture_array : enable\n" : "#version 300 es\n";
H A DShaderCollectionTest.java19 import com.badlogic.gdx.Application.ApplicationType;
91 if (tempFolder != null && Gdx.app.getType() == ApplicationType.Desktop)
106 && Gdx.app.getType() == ApplicationType.Desktop) {
112 if (tempFolder != null && Gdx.app.getType() == ApplicationType.Desktop)
147 shaderRoot = (hotLoadFolder != null && Gdx.app.getType() == ApplicationType.Desktop) ? Gdx.files.absolute(hotLoadFolder)
/external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/
H A DAndroidDaydream.java279 public ApplicationType getType () {
280 return ApplicationType.Android;
H A DAndroidLiveWallpaper.java232 public ApplicationType getType () {
233 return ApplicationType.Android;
H A DAndroidApplication.java357 public ApplicationType getType () {
358 return ApplicationType.Android;
H A DAndroidFragmentApplication.java293 public ApplicationType getType () {
294 return ApplicationType.Android;
/external/libgdx/backends/gdx-backend-jglfw/src/com/badlogic/gdx/backends/jglfw/
H A DJglfwApplication.java304 public ApplicationType getType () {
305 return ApplicationType.Desktop;
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/batches/
H A DPointSpriteParticleBatch.java3 import com.badlogic.gdx.Application.ApplicationType;
48 if(Gdx.app.getType() == ApplicationType.Desktop) {
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/
H A DBaseBulletTest.java19 import com.badlogic.gdx.Application.ApplicationType;
58 if (Gdx.app.getType() == ApplicationType.Desktop && customDesktopLib != null) {
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/
H A DStage.java19 import com.badlogic.gdx.Application.ApplicationType;
218 ApplicationType type = Gdx.app.getType();
219 if (type == ApplicationType.Desktop || type == ApplicationType.Applet || type == ApplicationType.WebGL)
/external/libgdx/backends/gdx-backend-lwjgl3/src/com/badlogic/gdx/backends/lwjgl3/
H A DLwjgl3Application.java249 public ApplicationType getType() {
250 return ApplicationType.Desktop;
421 glVersion = new GLVersion(Application.ApplicationType.Desktop, versionString, vendorString, rendererString);

Completed in 761 milliseconds

12