• Home
  • History
  • Annotate
  • only in /frameworks/opt/bitmap/sample/src/
History log of /frameworks/opt/bitmap/sample/src/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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
om/example/bitmapsample/BitmapView.java
om/example/bitmapsample/MainActivity.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
om/example/bitmapsample/BitmapRequestKeyImpl.java
om/example/bitmapsample/MainActivity.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
om/example/bitmapsample/BitmapRequestKeyImpl.java
om/example/bitmapsample/BitmapView.java
om/example/bitmapsample/MainActivity.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
om/example/bitmapsample/BitmapRequestKeyImpl.java
om/example/bitmapsample/BitmapView.java
om/example/bitmapsample/MainActivity.java
a23358fbfd62c7aa1c84bfa8395b4dc427a71ce6 23-Oct-2013 Mark Wei <markwei@google.com> Add BasicImageView to unbind on detach for clients with long-lived caches.

Change visibility of mBitmap back to private. Expose through getter.

Bug: 11337575
Change-Id: I511976388cc3b6962434416d9e7a632e6d8a1b72
om/example/bitmapsample/BitmapView.java
om/example/bitmapsample/MainActivity.java
912c58d2615936c63d235cb21db9315ddc8a81ab 22-Oct-2013 Mark Wei <markwei@google.com> Remove unused import.

Change-Id: I94aed7408c3765a2c2fc05573aa55bb98c72b17a
om/example/bitmapsample/BitmapRequestKeyImpl.java
ea356fbb2c76f0c8ed79901e800d0f7d62dc952d 22-Oct-2013 Mark Wei <markwei@google.com> Fix bitmap sample.

Change-Id: I067a1b7f49ef0ad6ba746b7c35efde61de2cfc88
om/example/bitmapsample/BitmapRequestKeyImpl.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
om/example/bitmapsample/BitmapView.java
9d46a01e044696eb4d101778992fed4966520251 17-Oct-2013 Mark Wei <markwei@google.com> Trace without reflection. Avoid crashing on ICS.

Change-Id: Ic75143a38d252278329a6f775c137ff1321eaf28
om/example/bitmapsample/BitmapView.java
om/example/bitmapsample/MainActivity.java
25ad6f98516a7af1ca71cfa07fb503d46dc8a7f1 17-Oct-2013 Sam Blitzstein <sblitz@google.com> Add copyright notices, and clarify documentation.

Remove ineffectual interface methods from RequestKey and replace with a comment in the class's
documentation to the same meaning.

Change-Id: I4d27407d18a798b27dfe138b38a5ee3a2718e127
om/example/bitmapsample/BitmapView.java
om/example/bitmapsample/MainActivity.java
d2e1718fa8e1199b03dc0d069711b24e946aa858 17-Oct-2013 Sam Blitzstein <sblitz@google.com> Add sample app to bitmap library.

Change-Id: Iec98361f576289447a274f51694d46974f1534ac
om/example/bitmapsample/BitmapRequestKeyImpl.java
om/example/bitmapsample/BitmapView.java
om/example/bitmapsample/MainActivity.java