Searched refs:createBitmap (Results 1 - 25 of 71) sorted by relevance

123

/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
H A DGraphicsPerformanceTests.java92 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(); method in class:GraphicsPerformanceTests.DrawBitmapTest
204 public Bitmap createBitmap() { method in class:GraphicsPerformanceTests.DrawBitmap7x7
205 return Bitmap.createBitmap(7, 7, Bitmap.Config.RGB_565);
222 public Bitmap createBitmap() { method in class:GraphicsPerformanceTests.DrawBitmap15x15
223 return Bitmap.createBitmap(15, 15, Bitmap.Config.RGB_565);
240 public Bitmap createBitmap() { method in class:GraphicsPerformanceTests.DrawBitmap31x31
241 return Bitmap.createBitmap(3
258 public Bitmap createBitmap() { method in class:GraphicsPerformanceTests.DrawBitmap63x63
276 public Bitmap createBitmap() { method in class:GraphicsPerformanceTests.DrawBitmap127x127
294 public Bitmap createBitmap() { method in class:GraphicsPerformanceTests.DrawBitmap319x239
312 public Bitmap createBitmap() { method in class:GraphicsPerformanceTests.DrawBitmap319x479
330 public Bitmap createBitmap() { method in class:GraphicsPerformanceTests.DrawBitmap8x8
348 public Bitmap createBitmap() { method in class:GraphicsPerformanceTests.DrawBitmap16x16
366 public Bitmap createBitmap() { method in class:GraphicsPerformanceTests.DrawBitmap32x32
384 public Bitmap createBitmap() { method in class:GraphicsPerformanceTests.DrawBitmap64x64
402 public Bitmap createBitmap() { method in class:GraphicsPerformanceTests.DrawBitmap128x128
420 public Bitmap createBitmap() { method in class:GraphicsPerformanceTests.DrawBitmap320x240
438 public Bitmap createBitmap() { method in class:GraphicsPerformanceTests.DrawBitmap320x480
[all...]
H A DBitmapTest.java27 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(color
[all...]
H A DThreadBitmapTest.java41 b = Bitmap.createBitmap(300, 300, Bitmap.Config.RGB_565);
H A DBitmapFactoryTest.java33 Bitmap bitmap1 = Bitmap.createBitmap(
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java479 Bitmap b = Bitmap.createBitmap(src, 0, 0, width, height, m, filter);
496 public static Bitmap createBitmap(Bitmap src) { method in class:Bitmap
497 return createBitmap(src, 0, 0, src.getWidth(), src.getHeight());
513 public static Bitmap createBitmap(Bitmap source, int x, int y, int width, int height) { method in class:Bitmap
514 return createBitmap(source, x, y, width, height, null, false);
540 public static Bitmap createBitmap(Bitmap source, int x, int y, int width, int height, method in class:Bitmap
588 bitmap = createBitmap(neww, newh, newConfig, source.hasAlpha());
599 bitmap = createBitmap(neww, newh, transformed ? Config.ARGB_8888 : newConfig,
632 public static Bitmap createBitmap(int width, int height, Config config) { method in class:Bitmap
633 return createBitmap(widt
647 public static Bitmap createBitmap(DisplayMetrics display, int width, method in class:Bitmap
665 private static Bitmap createBitmap(int width, int height, Config config, boolean hasAlpha) { method in class:Bitmap
684 private static Bitmap createBitmap(DisplayMetrics display, int width, int height, method in class:Bitmap
723 public static Bitmap createBitmap(int colors[], int offset, int stride, method in class:Bitmap
748 public static Bitmap createBitmap(DisplayMetrics display, int colors[], method in class:Bitmap
787 public static Bitmap createBitmap(int colors[], int width, int height, Config config) { method in class:Bitmap
808 public static Bitmap createBitmap(DisplayMetrics display, int colors[], method in class:Bitmap
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmap_Delegate.java93 public static Bitmap createBitmap(File input, boolean isMutable, Density density) method in class:Bitmap_Delegate
98 return createBitmap(delegate, isMutable, density.getDpiValue());
111 public static Bitmap createBitmap(InputStream input, boolean isMutable, Density density) method in class:Bitmap_Delegate
116 return createBitmap(delegate, isMutable, density.getDpiValue());
129 public static Bitmap createBitmap(BufferedImage image, boolean isMutable, method in class:Bitmap_Delegate
134 return createBitmap(delegate, isMutable, density.getDpiValue());
214 return createBitmap(delegate, mutable, Bitmap.getDefaultDensity());
242 return createBitmap(delegate, isMutable, Bitmap.getDefaultDensity());
451 return createBitmap(delegate, false /*isMutable*/,
522 private static Bitmap createBitmap(Bitmap_Delegat method in class:Bitmap_Delegate
[all...]
H A DBitmapFactory_Delegate.java115 bm = Bitmap_Delegate.createBitmap(ninePatch.getImage(), true /*isMutable*/,
130 bm = Bitmap_Delegate.createBitmap(is, true, density);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DBitmapMutateActivity.java71 mBitmap1 = Bitmap.createBitmap(PATTERN_SIZE, PATTERN_SIZE, Bitmap.Config.ARGB_8888);
H A DTextGammaActivity.java49 Bitmap b = Bitmap.createBitmap(gamma.getWidth(), gamma.getHeight(),
H A DThinPatchesActivity.java58 mTexture = Bitmap.createBitmap(4, 3, Bitmap.Config.ARGB_8888);
/frameworks/base/core/jni/android/graphics/
H A DGraphicsJNI.h55 static jobject createBitmap(JNIEnv* env, SkBitmap* bitmap, jbyteArray buffer,
59 static jobject createBitmap(JNIEnv* env, SkBitmap* bitmap, bool isMutable,
H A DGraphics.cpp347 jobject GraphicsJNI::createBitmap(JNIEnv* env, SkBitmap* bitmap, jbyteArray buffer, function in class:GraphicsJNI
360 jobject GraphicsJNI::createBitmap(JNIEnv* env, SkBitmap* bitmap, bool isMutable, function in class:GraphicsJNI
363 return createBitmap(env, bitmap, NULL, isMutable, ninepatch, NULL, density);
/frameworks/ex/carousel/test/src/com/android/carouseltest/
H A DCarouselTestActivity.java85 Bitmap bitmap = Bitmap.createBitmap(TEXTURE_WIDTH, TEXTURE_HEIGHT,
103 Bitmap bitmap = Bitmap.createBitmap(DETAIL_TEXTURE_WIDTH, DETAIL_TEXTURE_HEIGHT,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DIconLoader.java259 return Bitmap.createBitmap(pixels, width, height, Bitmap.Config.ARGB_8888);
321 return Bitmap.createBitmap(pixels, width, height,
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DIconUtilities.java154 final Bitmap bitmap = Bitmap.createBitmap(textureWidth, textureHeight,
180 final Bitmap result = Bitmap.createBitmap(mIconTextureWidth, mIconTextureHeight,
/frameworks/base/media/java/android/media/
H A DThumbnailUtils.java379 Bitmap b2 = Bitmap.createBitmap(targetWidth, targetHeight,
429 b1 = Bitmap.createBitmap(source, 0, 0,
442 Bitmap b2 = Bitmap.createBitmap(
/frameworks/base/core/tests/coretests/src/android/widget/
H A DTextViewPerformanceTest.java43 Bitmap mBitmap = Bitmap.createBitmap(320, 240, Bitmap.Config.RGB_565);
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardCircleFramedDrawable.java64 mBitmap = Bitmap.createBitmap(mSize, mSize, Bitmap.Config.ARGB_8888);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderDrawable.java103 Bitmap bitmap = Bitmap_Delegate.createBitmap(image,
/frameworks/ex/photoviewer/src/com/android/ex/photo/util/
H A DImageUtils.java162 return Bitmap.createBitmap(originalBitmap, 0, 0, originalBitmap.getWidth(),
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DNativeFrame.java192 Bitmap result = Bitmap.createBitmap(getFormat().getWidth(),
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DRedEyeFilter.java162 Bitmap redEyeBitmap = Bitmap.createBitmap(bitmapWidth, bitmapHeight, Bitmap.Config.ARGB_8888);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DMediaFrameworkTest.java92 mDestBitmap = Bitmap.createBitmap((int)640, (int)480, Bitmap.Config.ARGB_8888);
/frameworks/base/core/java/android/gesture/
H A DGesture.java186 final Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
221 final Bitmap bitmap = Bitmap.createBitmap(width, height,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DIccUtils.java414 return Bitmap.createBitmap(pixels, width, height, Bitmap.Config.ARGB_8888);
457 return Bitmap.createBitmap(resultArray, width, height,

Completed in 436 milliseconds

123