Home
last modified time | relevance | path

Searched refs:newBitmap (Results 1 – 5 of 5) sorted by relevance

/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowLegacyBitmap.java146 Bitmap newBitmap = ReflectionHelpers.callConstructor(Bitmap.class); in createBitmap() local
147 ShadowLegacyBitmap shadowNewBitmap = Shadow.extract(newBitmap); in createBitmap()
180 newBitmap.setDensity(src.getDensity()); in createBitmap()
189 return newBitmap; in createBitmap()
243 Bitmap newBitmap = Bitmap.createBitmap(width, height, config); in createBitmap() local
244 ShadowLegacyBitmap shadowBitmap = Shadow.extract(newBitmap); in createBitmap()
246 return newBitmap; in createBitmap()
540 Bitmap newBitmap = ReflectionHelpers.callConstructor(Bitmap.class); in copy() local
541 ShadowLegacyBitmap shadowBitmap = Shadow.extract(newBitmap); in copy()
553 return newBitmap; in copy()
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowBitmapFactoryTest.java363 Bitmap newBitmap = BitmapFactory.decodeStream(inStream); in decodeStream_shouldSameAsCompressedBefore() local
364 assertThat(bitmap.sameAs(newBitmap)).isTrue(); in decodeStream_shouldSameAsCompressedBefore()
499 Bitmap newBitmap = BitmapFactory.decodeFile(tempFile.toAbsolutePath().toString()); in decodeFile_shouldGetCorrectColorFromCompressedFile() local
504 ByteBuffer newBuffer = ByteBuffer.allocate(newBitmap.getHeight() * newBitmap.getRowBytes()); in decodeFile_shouldGetCorrectColorFromCompressedFile()
505 newBitmap.copyPixelsToBuffer(newBuffer); in decodeFile_shouldGetCorrectColorFromCompressedFile()
DShadowBitmapTest.java155 Bitmap newBitmap = Bitmap.createBitmap(originalBitmap, 0, 0, 100, 50, m, true); in shouldCreateBitmapWithMatrix() local
157 ShadowLegacyBitmap shadowBitmap = Shadow.extract(newBitmap); in shouldCreateBitmapWithMatrix()
/external/grpc-grpc-java/context/src/main/java/io/grpc/
DPersistentHashArrayMappedTrie.java222 int newBitmap = bitmap | indexBit; in put() local
233 return new CompressedIndex<>(newBitmap, newValues, size() + 1); in put()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/service/
DTerminalBridge.java489 boolean newBitmap = (bitmap == null); in parentChanged()
491 newBitmap = (bitmap.getWidth() != width || bitmap.getHeight() != height); in parentChanged()
494 if (newBitmap) { in parentChanged()