History log of /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ShadowBitmapTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
084d588b645d53c1110ff24b82433b5a331cc6d3 18-Jan-2018 James Lemieux <jplemieux@google.com> Merge robolectric/master up to commit 2e97d70

Test: make -j56 Run_all_robolectric_tests
Change-Id: I0158d74ad9ce9e412d396993e0bfbd50ecd412c2
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ShadowBitmapTest.java
492357cb8a092a209d8dcfe3c5e69f9052b622d2 11-Nov-2017 Christian Williams <christianw@google.com> Kinda implement Bitmap.getPixels() for a subset of pixels.

Probably super buggy, sorry. Better than throwing an exception maybe.
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ShadowBitmapTest.java
ceb8863e0cd0706c72351f063bc7af3c7d76d120 22-Sep-2017 Jonathan Gerrish <jonathan@indiekid.rg> Remove custom subclasses of RobolectricTestRunner.

Use standard RobolectricTestRunner instead. Configure default SDKs to
use from properties file.
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ShadowBitmapTest.java
851f2a9519be23c73a9e2929128179b405e2e7a6 26-Jul-2017 Christian Williams <christianw@google.com> Optimize imports.
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ShadowBitmapTest.java
a09e6f7e24d708115c39c16b5ee4ff806e29bca5 26-Jan-2017 Christian Williams <christianw@google.com> Move Shadow to org.robolectric.shadow.api.

Retain original class and @Deprecate.
Rename shadows-api module to shadow-api.
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ShadowBitmapTest.java
feb50ebe73ed058676f5027d5f77235d1cb2697b 23-Dec-2016 Christian Williams <christianw@google.com> Rename WithDefaults runner to SelfTest.
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ShadowBitmapTest.java
2022e7b2ef8ba02101a4a09b823907022b40eb90 25-May-2016 CeĢsar Puerta <cpuerta@twitter.com> Adjust created bitmap size when given a matrix

Bitmap.create() adjusts the size of the bitmap according to a given
Matrix transformation. Since Matrix is now available (through the
updated implementation of ShadowMatrix), it's easy to update the
size of the transformed bitmap.
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ShadowBitmapTest.java
a20451907b8002305abba8ab2ee63a6ad3c06775 20-Nov-2016 Christian Williams <christianw@google.com> Backwards compat for Matrix

Retain old behavior of Matrix.toString() as Matrix.describe().
Retain old text, more or less, of shadowOf(Bitmap).getDescription().
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ShadowBitmapTest.java
8a15973027ac5e93c3da04ed90b0d3d86a9f8dd0 01-Nov-2016 Jonathan Gerrish <jongerrish@google.com> For Shadow tests use @Config(minSdk = ..., maxSdk=...) rather than sdk to ensure tests run against all new SDKs.
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ShadowBitmapTest.java
62f1d7343d4195f36f12da19e944f9713e5826d2 17-May-2016 Timon Van Overveldt <timonvo@users.noreply.github.com> Add copyPixelsToBuffer/copyPixelsFromBuffer to ShadowBitmap. (#2452)

The support is currently limited to ByteBuffers and 4-byte-per-pixel Bitmaps.
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ShadowBitmapTest.java
2d2f627aa7627bd22e27c593cf3d12090f7a01cc 10-Mar-2016 Nikolas Bravo <nikolasr@google.com> Extended ShadowBitmap to write and be created from Parcel
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ShadowBitmapTest.java
9eb30bb0a44c556635b867b152cc28b2e1b5ac0c 16-Feb-2016 Jonathan Gerrish <jongerrish@google.com> Ensure ShadowBitmaps.pixels are set from ShadowBitmap.createScaledBitmap
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ShadowBitmapTest.java
d9cabd904dc9e13250a1effcea1036ef0e162616 11-Feb-2016 Nikolas Bravo <nikolasbra@gmail.com> Extended ShadowBitmap to include setPixels()

Fixed comments
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ShadowBitmapTest.java
ca5612df980bad71b1eff69ccb41e21f0e8114e2 10-Feb-2016 Jonathan Gerrish <jongerrish@google.com> Add support for Bitmap.getPixels() - previously unimplemented in ShadowBitmap but invoking on API 23 caused an NPE.
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ShadowBitmapTest.java
343cc1c100915a8033c1cd757b65548ca306e737 22-Dec-2015 Jonathan Gerrish <jongerrish@google.com> Add shadow support for Bitmap.hasMipmap() usage of this method previously returned false in all cases but on API 23 caused an NPE.
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ShadowBitmapTest.java
9a622d79ba7ebc2e71a11bb8fa379ef19b85635c 20-Dec-2015 Jonathan Gerrish <jongerrish@google.com> Implement ShadowBitmap.hasAlpha() ShadowBitmap.setHasAlpha() - previous unimplemented (always returned false) started to throw an NPE on API 23
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ShadowBitmapTest.java
455d8f2cc6cba8b27804fe082d96e67d61a48d66 04-Jun-2015 Jonathan Gerrish <jongerrish@google.com> Switch shadow tests to run using MultiApiRobolectricTestRunner.
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ShadowBitmapTest.java
5905f9e0bf3d9989e1c1fda4a57b2fd45a80eaed 20-Apr-2015 Erich Douglass <erich.douglass@gmail.com> Add shadow for Bitmap.createBitmap that marks the bitmap as mutable.

Closes #1220.
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ShadowBitmapTest.java
803604b6535ca806271fc50995e20dbbf576359f 16-Apr-2015 Erich Douglass <erich.douglass@gmail.com> Removed equals for ShadowBitmap and ShadowBitmapDrawable.

Converted the tests to use assertj matchers.

Closes #1684.
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ShadowBitmapTest.java
1d57c0b9a4026fb554fedb6f6a73cd8e3f60f987 22-Jan-2015 David Dietrich <drdietri@google.com> Create a mutable bitmap when createBitmap(int, int, Config) is used.
This matches the behaviour on android.
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ShadowBitmapTest.java
72cf654d6d3a933e426506345ded34cf39a669a2 16-Dec-2014 Erich Douglass <erich.douglass@gmail.com> Rename tests to match standard JUnit naming convention.
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ShadowBitmapTest.java