HomeSort by relevance Sort by last modified time
    Searched refs:createBitmap (Results 1 - 25 of 379) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/graphics/tests/graphicstests/src/android/graphics/
GraphicsPerformanceTests.java 92 mDestBitmap = Bitmap.createBitmap(SCREEN_WIDTH, SCREEN_HEIGHT,
163 /** Bitmap to draw. Allocated by subclass's createBitmap() function. */
171 mBitmap = createBitmap();
179 public abstract Bitmap createBitmap();
204 public Bitmap createBitmap() {
205 return Bitmap.createBitmap(7, 7, Bitmap.Config.RGB_565);
222 public Bitmap createBitmap() {
223 return Bitmap.createBitmap(15, 15, Bitmap.Config.RGB_565);
240 public Bitmap createBitmap() {
241 return Bitmap.createBitmap(31, 31, Bitmap.Config.RGB_565)
    [all...]
BitmapTest.java 27 Bitmap bm1 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888);
28 Bitmap bm2 = Bitmap.createBitmap(100, 200, Bitmap.Config.RGB_565);
29 Bitmap bm3 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_4444);
62 Bitmap bm1 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888);
63 Bitmap bm2 = Bitmap.createBitmap(new int[100 * 200], 100, 200,
86 Bitmap bm = Bitmap.createBitmap(colors, 10, 10,
112 Bitmap bm = Bitmap.createBitmap(colors, 10, 10, Bitmap.Config.RGB_565);
130 Bitmap bm1 = Bitmap.createBitmap(colors, 10, 10, config);
131 Bitmap bm2 = Bitmap.createBitmap(10, 10, config);
156 Bitmap bm1 = Bitmap.createBitmap(colors, 10, 10, config)
    [all...]
ThreadBitmapTest.java 41 b = Bitmap.createBitmap(300, 300, Bitmap.Config.RGB_565);
BitmapFactoryTest.java 33 Bitmap bitmap1 = Bitmap.createBitmap(
  /cts/tests/tests/graphics/src/android/graphics/cts/
Bitmap_ConfigTest.java 41 assertNotNull(Bitmap.createBitmap(10, 24, Config.ALPHA_8));
42 assertNotNull(Bitmap.createBitmap(10, 24, Config.ARGB_4444));
43 assertNotNull(Bitmap.createBitmap(10, 24, Config.ARGB_8888));
44 assertNotNull(Bitmap.createBitmap(10, 24, Config.RGB_565));
BitmapTest.java 109 mBitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888);
164 Bitmap bitmap = Bitmap.createBitmap(mBitmap.getWidth(), mBitmap.getHeight(),
183 Bitmap bitmap = Bitmap.createBitmap(colors, 10, 10, Config.RGB_565);
184 Bitmap ret = Bitmap.createBitmap(bitmap);
194 Bitmap.createBitmap(mBitmap, -100, 50, 50, 200);
200 mBitmap = Bitmap.createBitmap(new int[100 * 100], 100, 100, Config.ARGB_8888);
201 Bitmap ret = Bitmap.createBitmap(mBitmap, 0, 0, 100, 100);
206 mBitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888);
207 ret = Bitmap.createBitmap(mBitmap, 10, 10, 50, 50);
213 mBitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888)
    [all...]
PixelXorXfermodeTest.java 32 Bitmap b1 = Bitmap.createBitmap(width / 2, height, Config.ARGB_8888);
34 Bitmap b2 = Bitmap.createBitmap(width, height / 2, Config.ARGB_8888);
37 Bitmap target = Bitmap.createBitmap(width, height, Config.ARGB_8888);
PorterDuffColorFilterTest.java 34 Bitmap b1 = Bitmap.createBitmap(width / 2, height, Config.ARGB_8888);
36 Bitmap b2 = Bitmap.createBitmap(width, height / 2, Config.ARGB_8888);
39 Bitmap target = Bitmap.createBitmap(width, height, Config.ARGB_8888);
PorterDuffXfermodeTest.java 35 Bitmap target = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888);
37 Bitmap b1 = Bitmap.createBitmap(WIDTH / 2, HEIGHT, Config.ARGB_8888);
39 Bitmap b2 = Bitmap.createBitmap(WIDTH, HEIGHT / 2, Config.ARGB_8888);
ComposeShaderTest.java 48 Bitmap bitmap = Bitmap.createBitmap(SIZE, SIZE, Config.ARGB_8888);
74 Bitmap greenBitmap = Bitmap.createBitmap(1, 1, Config.ARGB_8888);
76 Bitmap cyanBitmap = Bitmap.createBitmap(1, 1, Config.ARGB_8888);
86 Bitmap bitmap = Bitmap.createBitmap(1, 1, Config.ARGB_8888);
ShaderTest.java 34 Bitmap bitmap = Bitmap.createBitmap(color, width, height, Bitmap.Config.RGB_565);
ComposePathEffectTest.java 53 Bitmap actual = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888);
59 Bitmap expected = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888);
SumPathEffectTest.java 40 Bitmap bitmap = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888);
42 Bitmap expected = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888);
  /external/glide/library/tests/src/com/bumptech/glide/load/engine/bitmap_recycle/
SizeStrategyTest.java 20 Bitmap bitmap = Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888);
26 Bitmap original = Bitmap.createBitmap(400, 400, Bitmap.Config.ARGB_8888);
32 Bitmap original = Bitmap.createBitmap(400, 400, Bitmap.Config.ARGB_8888);
38 Bitmap original = Bitmap.createBitmap(400, 400, Bitmap.Config.ARGB_8888);
44 Bitmap original = Bitmap.createBitmap(401, 401, Bitmap.Config.ARGB_8888);
50 Bitmap original = Bitmap.createBitmap(99, 99, Bitmap.Config.ARGB_8888);
56 Bitmap original = Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888);
64 Bitmap original = Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888);
71 Bitmap smallest = Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888);
72 Bitmap medium = Bitmap.createBitmap(120, 120, Bitmap.Config.ARGB_8888)
    [all...]
  /external/chromium_org/android_webview/java/src/org/chromium/android_webview/
JavaBrowserViewRendererHelper.java 26 private static Bitmap createBitmap(int width, int height, Canvas canvas) {
35 bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
CreateBitmap.java 26 public class CreateBitmap extends GraphicsActivity {
77 mBitmaps[0] = Bitmap.createBitmap(colors, 0, STRIDE, WIDTH, HEIGHT,
79 mBitmaps[1] = Bitmap.createBitmap(colors, 0, STRIDE, WIDTH, HEIGHT,
81 mBitmaps[2] = Bitmap.createBitmap(colors, 0, STRIDE, WIDTH, HEIGHT,
85 mBitmaps[3] = Bitmap.createBitmap(WIDTH, HEIGHT,
87 mBitmaps[4] = Bitmap.createBitmap(WIDTH, HEIGHT,
89 mBitmaps[5] = Bitmap.createBitmap(WIDTH, HEIGHT,
  /frameworks/base/graphics/java/android/graphics/
Bitmap.java 601 Bitmap b = Bitmap.createBitmap(src, 0, 0, width, height, m, filter);
618 public static Bitmap createBitmap(Bitmap src) {
619 return createBitmap(src, 0, 0, src.getWidth(), src.getHeight());
638 public static Bitmap createBitmap(Bitmap source, int x, int y, int width, int height) {
639 return createBitmap(source, x, y, width, height, null, false);
666 public static Bitmap createBitmap(Bitmap source, int x, int y, int width, int height,
714 bitmap = createBitmap(neww, newh, newConfig, source.hasAlpha());
725 bitmap = createBitmap(neww, newh, transformed ? Config.ARGB_8888 : newConfig,
760 public static Bitmap createBitmap(int width, int height, Config config) {
761 return createBitmap(width, height, config, true)
    [all...]
  /cts/tests/tests/text/src/android/text/cts/
MyanmarTest.java 57 Bitmap bitmapD = Bitmap.createBitmap(bitmapC.getWidth(), bitmapC.getHeight(),
80 Bitmap bitmap = Bitmap.createBitmap(getDrawingCache());
  /development/samples/devbytes/animation/CrossFading/src/com/example/android/crossfading/
CrossFading.java 48 Bitmap bitmap0 = Bitmap.createBitmap(500, 500, Bitmap.Config.ARGB_8888);
49 Bitmap bitmap1 = Bitmap.createBitmap(500, 500, Bitmap.Config.ARGB_8888);
  /external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
PopupZoomerTest.java 63 context, new Canvas(Bitmap.createBitmap(100, 100, Bitmap.Config.ALPHA_8)));
99 mPopupZoomer.setBitmap(Bitmap.createBitmap(10, 10, Bitmap.Config.ALPHA_8));
110 mPopupZoomer.setBitmap(Bitmap.createBitmap(10, 10, Bitmap.Config.ALPHA_8));
128 mPopupZoomer.setBitmap(Bitmap.createBitmap(10, 10, Bitmap.Config.ALPHA_8));
153 mPopupZoomer.setBitmap(Bitmap.createBitmap(10, 10, Bitmap.Config.ALPHA_8));
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DrawableTestingUtils.java 28 final Bitmap b = Bitmap.createBitmap(w, h, Config.ARGB_8888);
  /cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/
GoldenImageVerifier.java 38 mDifferenceBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
  /frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
CompareActivity.java 67 mSoftwareBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
68 mHardwareBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
83 mSoftwareBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
84 mHardwareBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
Bitmap_Delegate.java 102 public static Bitmap createBitmap(File input, boolean isMutable, Density density)
104 return createBitmap(input, getPremultipliedBitmapCreateFlags(isMutable), density);
117 public static Bitmap createBitmap(File input, Set<BitmapCreateFlags> createFlags,
122 return createBitmap(delegate, createFlags, density.getDpiValue());
135 public static Bitmap createBitmap(InputStream input, boolean isMutable, Density density)
137 return createBitmap(input, getPremultipliedBitmapCreateFlags(isMutable), density);
151 public static Bitmap createBitmap(InputStream input, Set<BitmapCreateFlags> createFlags,
156 return createBitmap(delegate, createFlags, density.getDpiValue());
169 public static Bitmap createBitmap(BufferedImage image, boolean isMutable,
171 return createBitmap(image, getPremultipliedBitmapCreateFlags(isMutable), density)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
CanvasTexture.java 38 Bitmap bitmap = Bitmap.createBitmap(mWidth, mHeight, mConfig);

Completed in 770 milliseconds

1 2 3 4 5 6 7 8 91011>>