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

123456

/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/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.java109 public static Bitmap createBitmap(File input, boolean isMutable, Density density) method in class:Bitmap_Delegate
111 return createBitmap(input, getPremultipliedBitmapCreateFlags(isMutable), density);
124 private static Bitmap createBitmap(File input, Set<BitmapCreateFlags> createFlags, method in class:Bitmap_Delegate
144 return createBitmap(delegate, createFlags, density.getDpiValue());
157 public static Bitmap createBitmap(InputStream input, boolean isMutable, Density density) method in class:Bitmap_Delegate
159 return createBitmap(input, getPremultipliedBitmapCreateFlags(isMutable), density);
172 public static Bitmap createBitmap(InputStream input, Set<BitmapCreateFlags> createFlags, method in class:Bitmap_Delegate
177 return createBitmap(delegate, createFlags, density.getDpiValue());
190 public static Bitmap createBitmap(BufferedImage image, boolean isMutable, Density density) { method in class:Bitmap_Delegate
191 return createBitmap(imag
204 public static Bitmap createBitmap(BufferedImage image, Set<BitmapCreateFlags> createFlags, method in class:Bitmap_Delegate
619 private static Bitmap createBitmap(Bitmap_Delegate delegate, method in class:Bitmap_Delegate
[all...]
H A DBitmapFactory_Delegate.java75 bm = Bitmap_Delegate.createBitmap(ninePatch.getImage(), bitmapCreateFlags,
92 bm = Bitmap_Delegate.createBitmap(is, bitmapCreateFlags, density);
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/
H A DImageBuffersForRenderScript.java37 outputImage = Bitmap.createBitmap(inputImage.getWidth(),
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
H A DGlifPatternDrawableTest.java45 final Bitmap bitmap = Bitmap.createBitmap(1366, 768, Bitmap.Config.ARGB_8888);
63 final Bitmap bitmap = Bitmap.createBitmap(1366, 768, Bitmap.Config.ARGB_8888);
87 Bitmap mockBitmapCache = Bitmap.createBitmap(1366, 768, Bitmap.Config.ALPHA_8);
103 Bitmap mockBitmapCache = Bitmap.createBitmap(1366, 768, Bitmap.Config.ALPHA_8);
120 Bitmap mockBitmapCache = Bitmap.createBitmap(1366, 768, Bitmap.Config.ALPHA_8);
137 Bitmap mockBitmapCache = Bitmap.createBitmap(2049, 1152, Bitmap.Config.ALPHA_8);
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java663 Bitmap b = Bitmap.createBitmap(src, 0, 0, width, height, m, filter);
680 public static Bitmap createBitmap(Bitmap src) { method in class:Bitmap
681 return createBitmap(src, 0, 0, src.getWidth(), src.getHeight());
700 public static Bitmap createBitmap(Bitmap source, int x, int y, int width, int height) { method in class:Bitmap
701 return createBitmap(source, x, y, width, height, null, false);
728 public static Bitmap createBitmap(Bitmap source, int x, int y, int width, int height, method in class:Bitmap
776 bitmap = createBitmap(neww, newh, newConfig, source.hasAlpha());
787 bitmap = createBitmap(neww, newh, transformed ? Config.ARGB_8888 : newConfig,
822 public static Bitmap createBitmap(int width, int height, Config config) { method in class:Bitmap
823 return createBitmap(widt
837 public static Bitmap createBitmap(DisplayMetrics display, int width, method in class:Bitmap
855 private static Bitmap createBitmap(int width, int height, Config config, boolean hasAlpha) { method in class:Bitmap
874 private static Bitmap createBitmap(DisplayMetrics display, int width, int height, method in class:Bitmap
911 public static Bitmap createBitmap(int colors[], int offset, int stride, method in class:Bitmap
936 public static Bitmap createBitmap(DisplayMetrics display, int colors[], method in class:Bitmap
975 public static Bitmap createBitmap(int colors[], int width, int height, Config config) { method in class:Bitmap
996 public static Bitmap createBitmap(DisplayMetrics display, int colors[], method in class:Bitmap
[all...]
/frameworks/support/v7/palette/src/androidTest/java/android/support/v7/graphics/
H A DBucketTests.java104 final Bitmap bitmap = Bitmap.createBitmap(1000, 1, Bitmap.Config.ARGB_8888);
113 final Bitmap bitmap = Bitmap.createBitmap(1, 1000, Bitmap.Config.ARGB_8888);
122 final Bitmap bitmap = Bitmap.createBitmap(300, 300, Bitmap.Config.ARGB_8888);
137 final Bitmap bitmap = Bitmap.createBitmap(300, 300, Bitmap.Config.ARGB_8888);
154 final Bitmap bitmap = Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888);
/frameworks/base/core/java/com/android/internal/util/
H A DImageUtils.java65 mTempCompactBitmap = Bitmap.createBitmap(
150 Bitmap result = Bitmap.createBitmap(scaledWidth, scaledHeight, Config.ARGB_8888);
H A DUserIcons.java53 Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
/frameworks/rs/java/tests/HelloComputeNDK/src/com/example/android/rs/hellocomputendk/
H A DHelloComputeNDK.java41 mBitmapOut = Bitmap.createBitmap(mBitmapIn.getWidth(), mBitmapIn.getHeight(),
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/drawable/
H A DIconTest.java45 final Bitmap bm1 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888);
46 final Bitmap bm2 = Bitmap.createBitmap(100, 200, Bitmap.Config.RGB_565);
63 final Bitmap test1 = Bitmap.createBitmap(draw1.getIntrinsicWidth(),
65 final Bitmap test2 = Bitmap.createBitmap(draw2.getIntrinsicWidth(),
67 final Bitmap test3 = Bitmap.createBitmap(draw3.getIntrinsicWidth(),
117 final Bitmap test1 = Bitmap.createBitmap(draw1.getIntrinsicWidth(),
144 final Bitmap test1 = Bitmap.createBitmap(draw1.getIntrinsicWidth(),
177 final Bitmap test1 = Bitmap.createBitmap(draw1.getIntrinsicWidth(),
250 final Bitmap test1 = Bitmap.createBitmap(draw1.getIntrinsicWidth(),
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/content/
H A DFileProviderExample.java65 final Bitmap bitmap = Bitmap.createBitmap(
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/content/
H A DFileProviderExample.java65 final Bitmap bitmap = Bitmap.createBitmap(
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
H A DAppCompatVectorDrawableIntegrationTest.java54 mBitmap = Bitmap.createBitmap(WIDTH, HEIGHT, Bitmap.Config.ARGB_8888);
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
H A DBitmapUtils.java121 Bitmap target = Bitmap.createBitmap(width, height, getConfig(bitmap));
157 Bitmap target = Bitmap.createBitmap(size, size, getConfig(bitmap));
184 Bitmap bitmap = Bitmap.createBitmap(source, 0, 0, w, h, m, true);
/frameworks/opt/setupwizard/library/full-support/test/src/com/android/setupwizardlib/test/
H A DDividerItemDecorationTest.java64 Bitmap expectedBitmap = Bitmap.createBitmap(20, 20, Bitmap.Config.ARGB_4444);
109 Bitmap expectedBitmap = Bitmap.createBitmap(20, 20, Bitmap.Config.ARGB_4444);
139 Bitmap bitmap = Bitmap.createBitmap(20, 20, Bitmap.Config.ARGB_4444);
/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/
H A DHealing.java50 Bitmap bitmap = Bitmap.createBitmap(rec.width(), rec.height(), Bitmap.Config.ALPHA_8);
133 mUndoBitmap = Bitmap.createBitmap(mRoiBounds.width(), mRoiBounds.height(),
146 Bitmap ret = Bitmap.createBitmap(image, x, y, width, height);
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/
H A DTestUtils.java60 final Bitmap bitmap = Bitmap.createBitmap(bitmapWidth, bitmapHeight,
122 Bitmap bitmap = Bitmap.createBitmap(drawableWidth, drawableHeight,
187 Bitmap bitmap = Bitmap.createBitmap(drawableWidth, drawableHeight, Bitmap.Config.ARGB_8888);
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
H A DImageProcessingActivity2.java209 mBitmapOut1 = Bitmap.createBitmap(1920, 1080, Bitmap.Config.ARGB_8888);
210 mBitmapOut2 = Bitmap.createBitmap(1920, 1080, Bitmap.Config.ARGB_8888);
217 mBitmapOut1 = Bitmap.createBitmap(1280, 720, Bitmap.Config.ARGB_8888);
218 mBitmapOut2 = Bitmap.createBitmap(1280, 720, Bitmap.Config.ARGB_8888);
225 mBitmapOut1 = Bitmap.createBitmap(800, 450, Bitmap.Config.ARGB_8888);
226 mBitmapOut2 = Bitmap.createBitmap(800, 450, Bitmap.Config.ARGB_8888);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DPlaybackControlsRow.java464 createBitmap(repeatDrawable.getBitmap(), repeatAllColor));
467 createBitmap(repeatOneDrawable.getBitmap(), repeatOneColor));
506 createBitmap(uncoloredDrawable.getBitmap(), highlightColor));
543 createBitmap(uncoloredDrawable.getBitmap(), highlightColor));
580 createBitmap(uncoloredDrawable.getBitmap(), highlightColor));
590 static Bitmap createBitmap(Bitmap bitmap, int color) { method in class:PlaybackControlsRow
/frameworks/base/core/tests/coretests/src/android/graphics/
H A DPathOffsetTest.java82 Bitmap bitmap = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888);

Completed in 1706 milliseconds

123456