/cts/tests/tests/graphics/src/android/graphics/cts/ |
PictureTest.java | 17 package android.graphics.cts; 24 import android.graphics.Bitmap; 25 import android.graphics.Canvas; 26 import android.graphics.Color; 27 import android.graphics.Matrix; 28 import android.graphics.Paint; 29 import android.graphics.Picture; 30 import android.graphics.Rect; 31 import android.graphics.Paint.Style; 32 import android.graphics.Region.Op [all...] |
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
BitmapFontDistanceFieldTest.java | 20 import com.badlogic.gdx.graphics.Color; 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.Texture.TextureFilter; 25 import com.badlogic.gdx.graphics.g2d.BitmapFont; 26 import com.badlogic.gdx.graphics.g2d.GlyphLayout; 27 import com.badlogic.gdx.graphics.g2d.SpriteBatch; 28 import com.badlogic.gdx.graphics.g2d.TextureRegion; 29 import com.badlogic.gdx.graphics.glutils.ShaderProgram [all...] |
BitmapFontFlipTest.java | 21 import com.badlogic.gdx.graphics.Color;
22 import com.badlogic.gdx.graphics.GL20;
23 import com.badlogic.gdx.graphics.Texture;
24 import com.badlogic.gdx.graphics.g2d.BitmapFont;
25 import com.badlogic.gdx.graphics.g2d.BitmapFontCache;
26 import com.badlogic.gdx.graphics.g2d.Sprite;
27 import com.badlogic.gdx.graphics.g2d.SpriteBatch;
52 spriteBatch.setProjectionMatrix(new Matrix4().setToOrtho(0, Gdx.graphics.getWidth(), Gdx.graphics.getHeight(), 0, 0, 1));
100 red.a = (red.a + Gdx.graphics.getDeltaTime() * 0.1f) % 1; [all...] |
ShapeRendererTest.java | 21 import com.badlogic.gdx.graphics.Color;
22 import com.badlogic.gdx.graphics.GL20;
23 import com.badlogic.gdx.graphics.PerspectiveCamera;
24 import com.badlogic.gdx.graphics.g2d.BitmapFont;
25 import com.badlogic.gdx.graphics.g2d.SpriteBatch;
26 import com.badlogic.gdx.graphics.glutils.ShapeRenderer;
27 import com.badlogic.gdx.graphics.glutils.ShapeRenderer.ShapeType;
42 cam = new PerspectiveCamera(47, Gdx.graphics.getWidth(), Gdx.graphics.getHeight());
125 font.draw(batch, "fps: " + Gdx.graphics.getFramesPerSecond(), 0, 20); [all...] |
TiledMapObjectLoadingTest.java | 22 import com.badlogic.gdx.graphics.Color; 23 import com.badlogic.gdx.graphics.GL20; 24 import com.badlogic.gdx.graphics.OrthographicCamera; 25 import com.badlogic.gdx.graphics.g2d.BitmapFont; 26 import com.badlogic.gdx.graphics.g2d.SpriteBatch; 27 import com.badlogic.gdx.graphics.g2d.TextureRegion; 28 import com.badlogic.gdx.graphics.glutils.ShapeRenderer; 57 float w = Gdx.graphics.getWidth(); 58 float h = Gdx.graphics.getHeight(); 121 font.draw(batch, "FPS: " + Gdx.graphics.getFramesPerSecond(), 10, 20) [all...] |
BitmapFontTest.java | 20 import com.badlogic.gdx.graphics.Color; 21 import com.badlogic.gdx.graphics.Colors; 22 import com.badlogic.gdx.graphics.GL20; 23 import com.badlogic.gdx.graphics.Texture.TextureFilter; 24 import com.badlogic.gdx.graphics.g2d.BitmapFont; 25 import com.badlogic.gdx.graphics.g2d.BitmapFontCache; 26 import com.badlogic.gdx.graphics.g2d.GlyphLayout; 27 import com.badlogic.gdx.graphics.g2d.GlyphLayout.GlyphRun; 28 import com.badlogic.gdx.graphics.g2d.SpriteBatch; 29 import com.badlogic.gdx.graphics.glutils.ShapeRenderer [all...] |
IsometricTileTest.java | 22 import com.badlogic.gdx.graphics.GL20;
23 import com.badlogic.gdx.graphics.OrthographicCamera;
24 import com.badlogic.gdx.graphics.Texture;
25 import com.badlogic.gdx.graphics.g2d.SpriteCache;
26 import com.badlogic.gdx.graphics.glutils.ShapeRenderer;
27 import com.badlogic.gdx.graphics.glutils.ShapeRenderer.ShapeType;
|
TableTest.java | 20 import com.badlogic.gdx.graphics.GL20;
21 import com.badlogic.gdx.graphics.Texture;
22 import com.badlogic.gdx.graphics.g2d.Batch;
23 import com.badlogic.gdx.graphics.g2d.NinePatch;
24 import com.badlogic.gdx.graphics.g2d.TextureRegion;
109 stage.act(Math.min(Gdx.graphics.getDeltaTime(), 1 / 30f));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
BarTransitions.java | 22 import android.graphics.Canvas; 23 import android.graphics.Color; 24 import android.graphics.ColorFilter; 25 import android.graphics.Paint; 26 import android.graphics.PixelFormat; 27 import android.graphics.PorterDuff; 28 import android.graphics.PorterDuffColorFilter; 29 import android.graphics.Rect; 30 import android.graphics.PorterDuff.Mode; 31 import android.graphics.drawable.Drawable [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
ViewGroup_Delegate.java | 22 import android.graphics.Bitmap; 23 import android.graphics.Bitmap_Delegate; 24 import android.graphics.Canvas; 25 import android.graphics.Outline; 26 import android.graphics.Path_Delegate; 27 import android.graphics.Rect; 28 import android.graphics.Region.Op; 99 Graphics2D graphics = image.createGraphics(); local 100 graphics.draw(Path_Delegate.getDelegate(outline.mPath.mNativePath).getJavaShape()); 101 graphics.dispose() [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/lettertiles/ |
LetterTileDrawable.java | 21 import android.graphics.Bitmap; 22 import android.graphics.BitmapFactory; 23 import android.graphics.Canvas; 24 import android.graphics.ColorFilter; 25 import android.graphics.Paint; 26 import android.graphics.Paint.Align; 27 import android.graphics.Rect; 28 import android.graphics.Typeface; 29 import android.graphics.drawable.Drawable; 216 return android.graphics.PixelFormat.OPAQUE [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/ |
ColorSVRectView.java | 20 import android.graphics.Bitmap; 21 import android.graphics.Canvas; 22 import android.graphics.Color; 23 import android.graphics.LinearGradient; 24 import android.graphics.Paint; 25 import android.graphics.RadialGradient; 26 import android.graphics.Rect; 27 import android.graphics.RectF; 28 import android.graphics.Shader; 29 import android.graphics.SweepGradient [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/ |
AbstractAvatarDrawable.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.ColorFilter; 24 import android.graphics.Matrix; 25 import android.graphics.Paint; 26 import android.graphics.Rect; 27 import android.graphics.Shader; 28 import android.graphics.drawable.Drawable [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
ImageDraw.java | 6 import android.graphics.Bitmap; 7 import android.graphics.BitmapFactory; 8 import android.graphics.BitmapShader; 9 import android.graphics.Canvas; 10 import android.graphics.Color; 11 import android.graphics.Matrix; 12 import android.graphics.Paint; 13 import android.graphics.PorterDuff; 14 import android.graphics.PorterDuffColorFilter; 15 import android.graphics.RectF [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/ |
ParticleShader.java | 17 package com.badlogic.gdx.graphics.g3d.particles; 21 import com.badlogic.gdx.graphics.Camera; 22 import com.badlogic.gdx.graphics.GL20; 23 import com.badlogic.gdx.graphics.g3d.Attribute; 24 import com.badlogic.gdx.graphics.g3d.Attributes; 25 import com.badlogic.gdx.graphics.g3d.Material; 26 import com.badlogic.gdx.graphics.g3d.Renderable; 27 import com.badlogic.gdx.graphics.g3d.Shader; 28 import com.badlogic.gdx.graphics.g3d.attributes.BlendingAttribute; 29 import com.badlogic.gdx.graphics.g3d.attributes.DepthTestAttribute [all...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
RippleDrawableTest.java | 17 package android.graphics.drawable.cts; 27 import android.graphics.Color; 28 import android.graphics.cts.R; 29 import android.graphics.drawable.Drawable; 30 import android.graphics.drawable.Drawable.ConstantState; 31 import android.graphics.drawable.RippleDrawable;
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
LayerTests.java | 20 import android.graphics.Color; 21 import android.graphics.ColorMatrix; 22 import android.graphics.ColorMatrixColorFilter; 23 import android.graphics.Paint; 24 import android.graphics.PorterDuff; 25 import android.graphics.PorterDuffXfermode;
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
AnimationSeeking.java | 31 import android.graphics.Canvas; 32 import android.graphics.Paint; 33 import android.graphics.RadialGradient; 34 import android.graphics.Shader; 35 import android.graphics.drawable.ShapeDrawable; 36 import android.graphics.drawable.shapes.OvalShape;
|
CustomEvaluator.java | 30 import android.graphics.Canvas; 31 import android.graphics.Paint; 32 import android.graphics.RadialGradient; 33 import android.graphics.Shader; 34 import android.graphics.drawable.ShapeDrawable; 35 import android.graphics.drawable.shapes.OvalShape;
|
ReversingAnimation.java | 29 import android.graphics.Canvas; 30 import android.graphics.Paint; 31 import android.graphics.RadialGradient; 32 import android.graphics.Shader; 33 import android.graphics.drawable.ShapeDrawable; 34 import android.graphics.drawable.shapes.OvalShape;
|
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/texturepacker/ |
TexturePackerTest.java | 24 import com.badlogic.gdx.graphics.Color; 25 import com.badlogic.gdx.graphics.GL20; 26 import com.badlogic.gdx.graphics.glutils.ShapeRenderer; 27 import com.badlogic.gdx.graphics.glutils.ShapeRenderer.ShapeType; 107 renderer.setProjectionMatrix(new Matrix4().setToOrtho2D(0, 0, Gdx.graphics.getWidth(), Gdx.graphics.getHeight()));
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/values/ |
MeshSpawnShapeValue.java | 1 package com.badlogic.gdx.graphics.g3d.particles.values; 5 import com.badlogic.gdx.graphics.Mesh; 6 import com.badlogic.gdx.graphics.VertexAttributes.Usage; 7 import com.badlogic.gdx.graphics.g3d.Model; 8 import com.badlogic.gdx.graphics.g3d.particles.ResourceData; 9 import com.badlogic.gdx.graphics.g3d.particles.ResourceData.SaveData;
|
/external/libgdx/tests/gdx-tests-lwjgl3/src/com/badlogic/gdx/tests/lwjgl3/ |
DragNDropTest.java | 7 import com.badlogic.gdx.Graphics.DisplayMode; 15 import com.badlogic.gdx.graphics.FPSLogger; 16 import com.badlogic.gdx.graphics.GL20; 17 import com.badlogic.gdx.graphics.Texture; 18 import com.badlogic.gdx.graphics.g2d.BitmapFont; 19 import com.badlogic.gdx.graphics.g2d.SpriteBatch; 20 import com.badlogic.gdx.graphics.glutils.HdpiUtils;
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
BitmapDrawableTest.java | 4 import android.graphics.Canvas; 5 import android.graphics.ColorMatrix; 6 import android.graphics.ColorMatrixColorFilter; 7 import android.graphics.Shader; 8 import android.graphics.drawable.BitmapDrawable; 9 import android.graphics.drawable.Drawable;
|
ImageViewTest.java | 4 import android.graphics.Bitmap; 5 import android.graphics.BitmapFactory; 6 import android.graphics.Matrix; 7 import android.graphics.drawable.AnimationDrawable; 8 import android.graphics.drawable.Drawable; 9 import android.graphics.drawable.LayerDrawable;
|