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

12345

/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.java596 Bitmap b = Bitmap.createBitmap(src, 0, 0, width, height, m, filter);
613 public static Bitmap createBitmap(Bitmap src) { method in class:Bitmap
614 return createBitmap(src, 0, 0, src.getWidth(), src.getHeight());
633 public static Bitmap createBitmap(Bitmap source, int x, int y, int width, int height) { method in class:Bitmap
634 return createBitmap(source, x, y, width, height, null, false);
661 public static Bitmap createBitmap(Bitmap source, int x, int y, int width, int height, method in class:Bitmap
709 bitmap = createBitmap(neww, newh, newConfig, source.hasAlpha());
720 bitmap = createBitmap(neww, newh, transformed ? Config.ARGB_8888 : newConfig,
755 public static Bitmap createBitmap(int width, int height, Config config) { method in class:Bitmap
756 return createBitmap(widt
770 public static Bitmap createBitmap(DisplayMetrics display, int width, method in class:Bitmap
788 private static Bitmap createBitmap(int width, int height, Config config, boolean hasAlpha) { method in class:Bitmap
807 private static Bitmap createBitmap(DisplayMetrics display, int width, int height, method in class:Bitmap
844 public static Bitmap createBitmap(int colors[], int offset, int stride, method in class:Bitmap
869 public static Bitmap createBitmap(DisplayMetrics display, int colors[], method in class:Bitmap
908 public static Bitmap createBitmap(int colors[], int width, int height, Config config) { method in class:Bitmap
929 public static Bitmap createBitmap(DisplayMetrics display, int colors[], method in class:Bitmap
[all...]
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DCompareActivity.java67 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/
H A DBitmap_Delegate.java102 public static Bitmap createBitmap(File input, boolean isMutable, Density density) method in class:Bitmap_Delegate
104 return createBitmap(input, getPremultipliedBitmapCreateFlags(isMutable), density);
117 public static Bitmap createBitmap(File input, Set<BitmapCreateFlags> createFlags, method in class:Bitmap_Delegate
122 return createBitmap(delegate, createFlags, density.getDpiValue());
135 public static Bitmap createBitmap(InputStream input, boolean isMutable, Density density) method in class:Bitmap_Delegate
137 return createBitmap(input, getPremultipliedBitmapCreateFlags(isMutable), density);
150 public static Bitmap createBitmap(InputStream input, Set<BitmapCreateFlags> createFlags, method in class:Bitmap_Delegate
155 return createBitmap(delegate, createFlags, density.getDpiValue());
168 public static Bitmap createBitmap(BufferedImage image, boolean isMutable, Density density) { method in class:Bitmap_Delegate
169 return createBitmap(imag
182 public static Bitmap createBitmap(BufferedImage image, Set<BitmapCreateFlags> createFlags, method in class:Bitmap_Delegate
609 private static Bitmap createBitmap(Bitmap_Delegate delegate, method in class:Bitmap_Delegate
[all...]
H A DBitmapFactory_Delegate.java74 bm = Bitmap_Delegate.createBitmap(ninePatch.getImage(), bitmapCreateFlags,
91 bm = Bitmap_Delegate.createBitmap(is, bitmapCreateFlags, density);
/frameworks/base/core/java/com/android/internal/util/
H A DUserIcons.java51 Bitmap bitmap = Bitmap.createBitmap(icon.getIntrinsicWidth(), icon.getIntrinsicHeight(),
H A DImageUtils.java62 mTempCompactBitmap = Bitmap.createBitmap(
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DBitmapHelper.java41 final Bitmap output = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
/frameworks/rs/java/tests/HelloComputeNDK/src/com/example/android/rs/hellocomputendk/
H A DHelloComputeNDK.java42 mBitmapOut = Bitmap.createBitmap(mBitmapIn.getWidth(), mBitmapIn.getHeight(),
/frameworks/base/core/jni/android/graphics/
H A DGraphicsJNI.h77 static jobject createBitmap(JNIEnv* env, SkBitmap* bitmap, jbyteArray buffer,
80 static jobject createBitmap(JNIEnv* env, SkBitmap* bitmap, int bitmapCreateFlags, function in class:GraphicsJNI
82 return createBitmap(env, bitmap, NULL, bitmapCreateFlags, ninePatch, NULL, density);
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
H A DBitmapUtils.java122 Bitmap target = Bitmap.createBitmap(width, height, getConfig(bitmap));
158 Bitmap target = Bitmap.createBitmap(size, size, getConfig(bitmap));
185 Bitmap bitmap = Bitmap.createBitmap(source, 0, 0, w, h, m, true);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DPlaybackControlsRow.java437 createBitmap(repeatDrawable.getBitmap(), repeatAllColor));
439 createBitmap(repeatOneDrawable.getBitmap(), repeatOneColor));
479 createBitmap(uncoloredDrawable.getBitmap(), highlightColor));
517 createBitmap(uncoloredDrawable.getBitmap(), highlightColor));
555 createBitmap(uncoloredDrawable.getBitmap(), highlightColor));
565 private static Bitmap createBitmap(Bitmap bitmap, int color) { method in class:PlaybackControlsRow
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DAlpha8BitmapActivity.java50 mBitmap1 = Bitmap.createBitmap(texture.getWidth(), texture.getHeight(),
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/ex/framesequence/samples/RastermillSamples/src/com/android/rastermill/samples/
H A DAnimatedGifTest.java39 Bitmap.createBitmap(minWidth + 1, minHeight + 4, Bitmap.Config.ARGB_8888);
/frameworks/base/core/java/android/transition/
H A DTransitionUtils.java129 Bitmap bitmap = Bitmap.createBitmap(bitmapWidth, bitmapHeight, Bitmap.Config.ARGB_8888);
165 bitmap = Bitmap.createBitmap(bitmapWidth, bitmapHeight, Bitmap.Config.ARGB_8888);
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DUploadedTexture.java127 ? Bitmap.createBitmap(1, length, config)
128 : Bitmap.createBitmap(length, 1, config);
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DIconUtilities.java145 final Bitmap bitmap = Bitmap.createBitmap(textureWidth, textureHeight,
171 final Bitmap result = Bitmap.createBitmap(mIconTextureWidth, mIconTextureHeight,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DIconLoader.java262 return Bitmap.createBitmap(pixels, width, height, Bitmap.Config.ARGB_8888);
324 return Bitmap.createBitmap(pixels, width, height,
/frameworks/support/v4/java/android/support/v4/app/
H A DSharedElementCallback.java183 bitmap = Bitmap.createBitmap(bitmapWidth, bitmapHeight, Bitmap.Config.ARGB_8888);
207 Bitmap bitmap = Bitmap.createBitmap(bitmapWidth, bitmapHeight, Bitmap.Config.ARGB_8888);

Completed in 491 milliseconds

12345