/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
TextButtonTest.java | 20 import com.badlogic.gdx.graphics.GL20;
21 import com.badlogic.gdx.graphics.g2d.SpriteBatch;
39 t.setX(MathUtils.random(0, Gdx.graphics.getWidth()));
40 t.setY(MathUtils.random(0, Gdx.graphics.getHeight()));
52 Gdx.app.log("X", "FPS: " + Gdx.graphics.getFramesPerSecond());
|
DecalTest.java | 22 import com.badlogic.gdx.graphics.Camera;
23 import com.badlogic.gdx.graphics.GL20;
24 import com.badlogic.gdx.graphics.OrthographicCamera;
25 import com.badlogic.gdx.graphics.Texture;
26 import com.badlogic.gdx.graphics.g2d.TextureRegion;
27 import com.badlogic.gdx.graphics.g3d.decals.CameraGroupStrategy;
28 import com.badlogic.gdx.graphics.g3d.decals.Decal;
29 import com.badlogic.gdx.graphics.g3d.decals.DecalBatch;
61 w = Gdx.graphics.getWidth() / 0.8f;
62 h = Gdx.graphics.getHeight() / 0.8f; [all...] |
BitmapFontMetricsTest.java | 20 import com.badlogic.gdx.graphics.Color; 21 import com.badlogic.gdx.graphics.GL20; 22 import com.badlogic.gdx.graphics.g2d.BitmapFont; 23 import com.badlogic.gdx.graphics.g2d.GlyphLayout; 24 import com.badlogic.gdx.graphics.g2d.SpriteBatch; 25 import com.badlogic.gdx.graphics.g2d.TextureAtlas; 26 import com.badlogic.gdx.graphics.glutils.ShapeRenderer; 27 import com.badlogic.gdx.graphics.glutils.ShapeRenderer.ShapeType; 49 // red.a = (red.a + Gdx.graphics.getDeltaTime() * 0.1f) % 1; 51 int viewHeight = Gdx.graphics.getHeight() [all...] |
ParallaxTest.java | 20 import com.badlogic.gdx.graphics.GL20;
21 import com.badlogic.gdx.graphics.OrthographicCamera;
22 import com.badlogic.gdx.graphics.Texture;
23 import com.badlogic.gdx.graphics.g2d.BitmapFont;
24 import com.badlogic.gdx.graphics.g2d.SpriteBatch;
25 import com.badlogic.gdx.graphics.g2d.TextureRegion;
135 batch.getProjectionMatrix().setToOrtho2D(0, 0, Gdx.graphics.getWidth(), Gdx.graphics.getHeight());
137 font.draw(batch, "fps: " + Gdx.graphics.getFramesPerSecond(), 0, 30);
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/ |
BaseBulletTest.java | 22 import com.badlogic.gdx.graphics.Color; 23 import com.badlogic.gdx.graphics.GL20; 24 import com.badlogic.gdx.graphics.PerspectiveCamera; 25 import com.badlogic.gdx.graphics.VertexAttributes.Usage; 26 import com.badlogic.gdx.graphics.g3d.Environment; 27 import com.badlogic.gdx.graphics.g3d.Material; 28 import com.badlogic.gdx.graphics.g3d.Model; 29 import com.badlogic.gdx.graphics.g3d.ModelBatch; 30 import com.badlogic.gdx.graphics.g3d.attributes.ColorAttribute; 31 import com.badlogic.gdx.graphics.g3d.attributes.FloatAttribute [all...] |
BasicBulletTest.java | 20 import com.badlogic.gdx.graphics.Color; 21 import com.badlogic.gdx.graphics.GL20; 22 import com.badlogic.gdx.graphics.PerspectiveCamera; 23 import com.badlogic.gdx.graphics.VertexAttributes.Usage; 24 import com.badlogic.gdx.graphics.g3d.Environment; 25 import com.badlogic.gdx.graphics.g3d.Material; 26 import com.badlogic.gdx.graphics.g3d.Model; 27 import com.badlogic.gdx.graphics.g3d.ModelBatch; 28 import com.badlogic.gdx.graphics.g3d.ModelInstance; 29 import com.badlogic.gdx.graphics.g3d.attributes.ColorAttribute [all...] |
MeshShapeTest.java | 20 import com.badlogic.gdx.graphics.Color; 21 import com.badlogic.gdx.graphics.VertexAttribute; 22 import com.badlogic.gdx.graphics.VertexAttributes; 23 import com.badlogic.gdx.graphics.VertexAttributes.Usage; 24 import com.badlogic.gdx.graphics.g3d.Material; 25 import com.badlogic.gdx.graphics.g3d.Model; 26 import com.badlogic.gdx.graphics.g3d.attributes.ColorAttribute; 27 import com.badlogic.gdx.graphics.g3d.attributes.FloatAttribute; 28 import com.badlogic.gdx.graphics.glutils.ShaderProgram;
|
/external/libgdx/tests/gdx-tests-lwjgl3/src/com/badlogic/gdx/tests/lwjgl3/ |
MultiWindowCursorTest.java | 5 import com.badlogic.gdx.graphics.Cursor; 6 import com.badlogic.gdx.graphics.Pixmap; 24 Gdx.graphics.setSystemCursor(systemCursor); 32 Cursor cursor = Gdx.graphics.newCursor(pixmap, pixmap.getWidth() / 2, pixmap.getHeight() / 2); 33 Gdx.graphics.setCursor(cursor);
|
/frameworks/support/core-utils/java/android/support/v4/graphics/drawable/ |
RoundedBitmapDrawableFactory.java | 17 package android.support.v4.graphics.drawable; 20 import android.graphics.Bitmap; 21 import android.graphics.BitmapFactory; 22 import android.graphics.Rect; 24 import android.support.v4.graphics.BitmapCompat;
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
GuidedActionEditText.java | 17 import android.graphics.Canvas; 18 import android.graphics.ColorFilter; 19 import android.graphics.PixelFormat; 20 import android.graphics.Rect; 21 import android.graphics.drawable.Drawable;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
ImagePoint.java | 20 import android.graphics.Canvas; 21 import android.graphics.Color; 22 import android.graphics.Matrix; 23 import android.graphics.Paint; 24 import android.graphics.Paint.Style;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/ |
IconFactory.java | 19 import android.graphics.Bitmap; 20 import android.graphics.Canvas; 21 import android.graphics.Paint; 22 import android.graphics.Rect; 23 import android.graphics.RectF;
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
StringTexture.java | 19 import android.graphics.Bitmap; 20 import android.graphics.Canvas; 21 import android.graphics.Color; 22 import android.graphics.Paint.FontMetricsInt; 23 import android.graphics.Typeface;
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/ |
TextureArrayTest.java | 21 import com.badlogic.gdx.graphics.Color; 22 import com.badlogic.gdx.graphics.GL20; 23 import com.badlogic.gdx.graphics.Mesh; 24 import com.badlogic.gdx.graphics.PerspectiveCamera; 25 import com.badlogic.gdx.graphics.Pixmap; 26 import com.badlogic.gdx.graphics.Texture; 27 import com.badlogic.gdx.graphics.TextureArray; 28 import com.badlogic.gdx.graphics.VertexAttribute; 29 import com.badlogic.gdx.graphics.VertexAttributes; 30 import com.badlogic.gdx.graphics.g3d.utils.FirstPersonCameraController [all...] |
Animation3DTest.java | 21 import com.badlogic.gdx.graphics.GL20;
22 import com.badlogic.gdx.graphics.Texture;
23 import com.badlogic.gdx.graphics.VertexAttributes.Usage;
24 import com.badlogic.gdx.graphics.g3d.Environment;
25 import com.badlogic.gdx.graphics.g3d.Material;
26 import com.badlogic.gdx.graphics.g3d.Model;
27 import com.badlogic.gdx.graphics.g3d.ModelBatch;
28 import com.badlogic.gdx.graphics.g3d.ModelInstance;
29 import com.badlogic.gdx.graphics.g3d.attributes.BlendingAttribute;
30 import com.badlogic.gdx.graphics.g3d.attributes.ColorAttribute; [all...] |
/external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/ |
AndroidDaydream.java | 45 import com.badlogic.gdx.Graphics; 66 protected AndroidGraphics graphics; field in class:AndroidDaydream 120 return graphics.getView(); 124 graphics = new AndroidGraphics(this, config, config.resolutionStrategy == null ? new FillResolutionStrategy() 126 input = AndroidInputFactory.newAndroidInput(this, this, graphics.view, config); 159 Gdx.graphics = this.getGraphics(); 164 setContentView(graphics.getView(), createLayoutParams()); 200 boolean isContinuous = graphics.isContinuousRendering(); 201 graphics.setContinuousRendering(true); 202 graphics.pause() [all...] |
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
ShaderTests.java | 19 import android.graphics.Bitmap; 20 import android.graphics.BitmapShader; 21 import android.graphics.Canvas; 22 import android.graphics.Color; 23 import android.graphics.ComposeShader; 24 import android.graphics.Paint; 25 import android.graphics.PorterDuff; 26 import android.graphics.RadialGradient; 27 import android.graphics.Shader;
|
/developers/build/prebuilts/gradle/SkeletonWearableApp/Wearable/src/main/java/com/example/android/google/wearable/app/ |
GridExampleActivity.java | 23 import android.graphics.Bitmap; 24 import android.graphics.Canvas; 25 import android.graphics.Color; 26 import android.graphics.Paint; 27 import android.graphics.Point; 28 import android.graphics.Typeface; 29 import android.graphics.Paint.Align; 30 import android.graphics.drawable.BitmapDrawable; 31 import android.graphics.drawable.Drawable;
|
/developers/samples/android/wearable/wear/SkeletonWearableApp/Wearable/src/main/java/com/example/android/google/wearable/app/ |
GridExampleActivity.java | 23 import android.graphics.Bitmap; 24 import android.graphics.Canvas; 25 import android.graphics.Color; 26 import android.graphics.Paint; 27 import android.graphics.Point; 28 import android.graphics.Typeface; 29 import android.graphics.Paint.Align; 30 import android.graphics.drawable.BitmapDrawable; 31 import android.graphics.drawable.Drawable;
|
/development/samples/browseable/SkeletonWearableApp/src/com.example.android.google.wearable.app/ |
GridExampleActivity.java | 23 import android.graphics.Bitmap; 24 import android.graphics.Canvas; 25 import android.graphics.Color; 26 import android.graphics.Paint; 27 import android.graphics.Point; 28 import android.graphics.Typeface; 29 import android.graphics.Paint.Align; 30 import android.graphics.drawable.BitmapDrawable; 31 import android.graphics.drawable.Drawable;
|
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/utils/ |
ScreenUtils.java | 23 import com.badlogic.gdx.graphics.GL20;
24 import com.badlogic.gdx.graphics.Pixmap;
25 import com.badlogic.gdx.graphics.Pixmap.Format;
26 import com.badlogic.gdx.graphics.Texture;
27 import com.badlogic.gdx.graphics.g2d.TextureRegion;
43 final int w = Gdx.graphics.getBackBufferWidth();
44 final int h = Gdx.graphics.getBackBufferHeight();
106 final int w = Gdx.graphics.getBackBufferWidth();
107 final int h = Gdx.graphics.getBackBufferHeight();
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/ |
Environment.java | 17 package com.badlogic.gdx.graphics.g3d;
19 import com.badlogic.gdx.graphics.g3d.attributes.DirectionalLightsAttribute;
20 import com.badlogic.gdx.graphics.g3d.attributes.PointLightsAttribute;
21 import com.badlogic.gdx.graphics.g3d.attributes.SpotLightsAttribute;
22 import com.badlogic.gdx.graphics.g3d.environment.BaseLight;
23 import com.badlogic.gdx.graphics.g3d.environment.DirectionalLight;
24 import com.badlogic.gdx.graphics.g3d.environment.PointLight;
25 import com.badlogic.gdx.graphics.g3d.environment.ShadowMap;
26 import com.badlogic.gdx.graphics.g3d.environment.SpotLight;
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/renderers/ |
ModelInstanceRenderer.java | 1 package com.badlogic.gdx.graphics.g3d.particles.renderers; 3 import com.badlogic.gdx.graphics.g3d.ModelInstance; 4 import com.badlogic.gdx.graphics.g3d.attributes.BlendingAttribute; 5 import com.badlogic.gdx.graphics.g3d.attributes.ColorAttribute; 6 import com.badlogic.gdx.graphics.g3d.particles.ParticleChannels; 7 import com.badlogic.gdx.graphics.g3d.particles.ParticleControllerComponent; 8 import com.badlogic.gdx.graphics.g3d.particles.batches.BillboardParticleBatch; 9 import com.badlogic.gdx.graphics.g3d.particles.batches.ModelInstanceParticleBatch; 10 import com.badlogic.gdx.graphics.g3d.particles.batches.ParticleBatch;
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bench/ |
TiledMapBench.java | 21 import com.badlogic.gdx.graphics.GL20;
22 import com.badlogic.gdx.graphics.OrthographicCamera;
23 import com.badlogic.gdx.graphics.Texture;
24 import com.badlogic.gdx.graphics.g2d.BitmapFont;
25 import com.badlogic.gdx.graphics.g2d.SpriteBatch;
26 import com.badlogic.gdx.graphics.g2d.TextureRegion;
51 float w = Gdx.graphics.getWidth();
52 float h = Gdx.graphics.getHeight();
96 font.draw(batch, "FPS: " + Gdx.graphics.getFramesPerSecond(), 10, 20);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
ShadersActivity.java | 21 import android.graphics.Bitmap; 22 import android.graphics.BitmapFactory; 23 import android.graphics.BitmapShader; 24 import android.graphics.Canvas; 25 import android.graphics.Color; 26 import android.graphics.LinearGradient; 27 import android.graphics.Matrix; 28 import android.graphics.Paint; 29 import android.graphics.Shader;
|