History log of /frameworks/opt/bitmap/src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a8b1e1f5cad36086e89c052007473609c379ccbd 18-Dec-2014 Oleksandr Kyreiev <shoora@google.com> Import latest changes.

Change-Id: I27973b3441d3738a85481de9c774da0ac08afd7c
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java
3a79e2002f9f6114b549c4bc2cc08bb10e75a4d2 10-Sep-2014 James Kung <kingkung@google.com> Allow user to choose horizontal crop alignment

Bug: 17272990
Change-Id: I8622d7e837dc1045a9b41c86dc91727bf152c8d3
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java
c5644927c0e7e121049b063046296ee8a59a4b37 15-Jul-2014 Mark Wei <markwei@google.com> Import latest bitmap library changes.

Change-Id: Ic3a79a1154fb1329bf4c163ea6aeb32f8bd3857d
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java
09f46006437e7de33afdb51192bf0bdc08e97040 03-Mar-2014 Mark Wei <markwei@google.com> CircularBitmapDrawable is now an ExtendedBitmapDrawable. Avatars can now fade in!

Change-Id: I79fae35f0949a17309bce0cffd6b10e7e6d8db2c
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java
89e59f00d67791754e44e65413baa95f94056df4 21-Nov-2013 Mark Wei <markwei@google.com> Decouple parallaxSpeedMultiplier from setDecodeDimensions().

Expose decode vertical center through ExtendedOptions.

Genericize BitmapDrawableImageView#getTypedDrawable().

Bug: 11691744
Change-Id: I62e05ab2136cf031eaf1752dba728156c97c87a6
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java
4d404fe4edb0b5074ed9d3e90dd7aa942f252692 17-Jan-2014 Mark Wei <markwei@google.com> Restore bounds when we recreate the placeholder and progress drawables.

Change-Id: I9b63360a2bd34355c87528d143139764ec9aec38
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java
5d6521e290594fe0851086b0c27413e9709e437f 06-Jan-2014 Mark Wei <markwei@google.com> Allow non-changeable placeholder and progress drawable fields in ExtendedOptions
to be modified after ExtendedBitmapDrawable creation.

Change-Id: Ia24ed7665df2a7ebe4359908c578a15e11e3801c
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java
b6ec2afe9710112214d79b36b2233fef6a52845a 08-Dec-2013 Mark Wei <markwei@google.com> Allow placeholder drawable to be sized by the client. First try to use the
bounds, then try to use the intrinsic bounds.

When a key is null, set load state to FAILED instead of UNINITIALIZED. The
difference is that FAILED shows the placeholder as a static image while
UNINITIALIZED hides it.

Fix bug in BitmapDrawableImageView where detaching from the window would set
its drawable to null, throwing away state.

Change-Id: I0b3f6c931d750ec4042e13bc1cbcf2d63e260168
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java
19a41ec7aaace2ab0b117d0baaeb544c5667b240 02-Dec-2013 Mark Wei <markwei@google.com> Fix state changes bug that caused bitmaps in the cache to be faded in instead of
instantly shown.

Change-Id: Ic2ba2d2ebe01badc881d1c43071a42bcf6f2b687
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java
df3da61c8f2f54604376d9761649bdba54aa858b 23-Nov-2013 Mark Wei <markwei@google.com> Background color of TileDrawable must be opaque.

Change-Id: I6ac7b4ba6f68181424064377464e1896c2129f13
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java
4a1464aad9c626bd63821697b215a16ee21db824 21-Nov-2013 Mark Wei <markwei@google.com> Clarify ExtendedOptions validation documentation.

Change-Id: Ib89cb3268866888003567d76da45f0d6980dcc76
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java
5f42121579221299e02f6d4627725814ed3d0fbf 21-Nov-2013 Mark Wei <markwei@google.com> Allow clients to override draw(). This is useful for clients who wish to
provide a border on top of all drawable layers, for instance.

Change-Id: Ibcb4218bf213d9b0cc02256efdb6346043c0ee7e
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java
88e3100ef41cf50e4f40bbaab661df41e176dae2 11-Nov-2013 Mark Wei <markwei@google.com> Fix NPE in Robolectric tests.

Change-Id: Ib9422cd23940409c8301ea59f72e041972f5c58b
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java
be9a52bfb24c55b6b0e0bcc5ed1859245d63dc8e 08-Nov-2013 Sam Blitzstein <sblitz@google.com> Have validate() ensure parllaxMultiplier is not 1

If the parallax feature is turned on, validate() should check that
parallaxSpeedMultiplier != 1.

Change-Id: Id660c300cf86db62778f77acb2890a0ca9e8f6e0
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java
c4ba226c78b8478de6ac8e293d7f9bc64cba36ec 07-Nov-2013 Mark Wei <markwei@google.com> Allow clients to customize the placeholder pulse animation.

Change-Id: I73564b39333c10876b4dbd4532da327b8cf45265
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java
41af50eb1ac488572b066629c3954b23c21dfa76 05-Nov-2013 Mark Wei <markwei@google.com> Change state from UNINITIALIZED to NOT_YET_LOADED earlier.

Relax restrictions on subclass.

Change-Id: I456ed06e244de0ab794372b74094f9e94ed4b3f9
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java
10dddd8a24a80d1d539997d8eaa9763c62bd02ad 05-Nov-2013 Mark Wei <markwei@google.com> Add some documentation.

Change-Id: Ie32f29997946714d10318b111fabf4ed04e042e3
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java
5030ae34cd5978a8ab8a06f6c3b69b8645873122 01-Nov-2013 Mark Wei <markwei@google.com> Modify ExtendedBitmapDrawable to be more flexible for clients.

Introducing ExtendedOptions:

Clients can now specify the features they want out of a ExtendedBitmapDrawable:
1) Ordered display (decode aggregator)
2) Parallax
3) State changes (placeholder and/or progress bar)

Clients can also specify parameters to those features. These parameters can be
modified and changes take effect immediately.

Change-Id: I15e4f1dbc20473db6798888b07b4bd34c712db21
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java
2e4d0863dba53435372ec96538f2ef3e1c3675bf 30-Oct-2013 Mark Wei <markwei@google.com> Make ExtendedBitmapDrawable extend BasicBitmapDrawable.

Modify sample app to use ExtendedBitmapDrawable with the following features:
Parallax,
Placholder and progress,
Decode aggregator.

Change-Id: Ia9e0fe6e6fdab018077a465ddf2a40109efbddf7
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java
9c6ac19d4a3d39b7c2992060957920118ff56a65 24-Oct-2013 Mark Wei <markwei@google.com> Relax BasicBitmapView to allow non-BasicBitmapDrawables to be assigned to it.

Rename BasicBitmapView to BitmapDrawableImageView.

Allow asynchronous creating of file.

Change-Id: I0407bf0bf36ae92ce45d2175121a15483f8f72f2
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java
cea0c012d538f11b3ee97d4b7e78f4c1ea73d5be 22-Oct-2013 Mark Wei <markwei@google.com> Modifications to bitmap library to make integrating into BigTop simpler.

RequestKey returns ParcelFileDescriptor instead of AssetFileDescriptor to make
it easier to read files off of internal cache.

Do not assume we want a top-1/3 crop. Provide vertical center in DecodeTask
constructor.

Move DecodeTask params into DecodeOptions to avoid param bloat.

Add option to not limit bitmap density in BasicBitmapDrawable.

Name AsyncTask threads in pool. Link DEBUG flags.

Change-Id: I9416ac647c0c4935ee488b7db43cccd9de565c54
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java
40662f4b39e795d9c64502b13036e7c37fa2d373 16-Oct-2013 Sam Blitzstein <sblitz@google.com> Change BitmapRequestKey to be more cleanly implementable.

Change-Id: I831586688605e6c6c2f2f7a879c6be23175f71de
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java
93a35b93dc582e38ff8ee5979754a16b4bf4da0c 09-Oct-2013 Sam Blitzstein <sblitz@google.com> Initial commit from Gmail's Cache system.

Change-Id: I14168ab3bc02b77399a1812f62bd77ac797232c5
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java