• Home
  • History
  • Annotate
  • only in /frameworks/opt/bitmap/sample/
History log of /frameworks/opt/bitmap/sample/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a0d4e3108663202564a6833b76770075b8e5b767 05-Dec-2015 Ying Wang <wangying@google.com> Remove duplicate res dir.

Change-Id: Ie5a9daa3740af630972028eadc4911d72482b9df
ndroid.mk
5b1cf894eed356a0c0a729e7b2175473dfea5fed 27-Mar-2015 Mark Wei <markwei@google.com> Update bitmap library to latest.

Change-Id: I2ed852f74980968a78a4355f41a35b230ccc0824
UILD
c5644927c0e7e121049b063046296ee8a59a4b37 15-Jul-2014 Mark Wei <markwei@google.com> Import latest bitmap library changes.

Change-Id: Ic3a79a1154fb1329bf4c163ea6aeb32f8bd3857d
UILD
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
rc/com/example/bitmapsample/BitmapView.java
rc/com/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
es/drawable-hdpi/ic_placeholder.png
es/drawable-mdpi/ic_placeholder.png
es/drawable-xhdpi/ic_placeholder.png
es/drawable-xxhdpi/ic_placeholder.png
rc/com/example/bitmapsample/BitmapRequestKeyImpl.java
rc/com/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
es/drawable-hdpi/ic_placeholder.png
es/drawable-hdpi/ic_progress_inner.png
es/drawable-hdpi/ic_progress_outer.png
es/drawable-mdpi/ic_placeholder.png
es/drawable-mdpi/ic_progress_inner.png
es/drawable-mdpi/ic_progress_outer.png
es/drawable-xhdpi/ic_placeholder.png
es/drawable-xhdpi/ic_progress_inner.png
es/drawable-xhdpi/ic_progress_outer.png
es/drawable-xxhdpi/ic_placeholder.png
es/drawable-xxhdpi/ic_progress_inner.png
es/drawable-xxhdpi/ic_progress_outer.png
es/drawable/progress.xml
es/layout/activity_main.xml
rc/com/example/bitmapsample/BitmapRequestKeyImpl.java
rc/com/example/bitmapsample/BitmapView.java
rc/com/example/bitmapsample/MainActivity.java
56b1c7c9a875f6dd7a733e72e3413b4569ac6ef9 31-Oct-2013 Mark Wei <markwei@google.com> Merge "Make the bitmap sample app buildable in git." into klp-ub-dev
144b2addf23646c813252995dfbc6e8c398df925 31-Oct-2013 Mark Wei <markwei@google.com> Make the bitmap sample app buildable in git.

The proguard config file causes proguard to fail on the analysis step when
building with blaze in google3, proguard 4.9

It does not cause proguard to fail when building in git, proguard 4.4

Bug: 11437985
Change-Id: I67b2fd749c54ae8f5c5fda0dd7742a0f88918685
ndroid.mk
UILD
roguard-config.pro
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
rc/com/example/bitmapsample/BitmapRequestKeyImpl.java
rc/com/example/bitmapsample/BitmapView.java
rc/com/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
es/layout/activity_main.xml
es/values/dimens.xml
rc/com/example/bitmapsample/BitmapView.java
rc/com/example/bitmapsample/MainActivity.java
912c58d2615936c63d235cb21db9315ddc8a81ab 22-Oct-2013 Mark Wei <markwei@google.com> Remove unused import.

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

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

Change-Id: Ic75143a38d252278329a6f775c137ff1321eaf28
rc/com/example/bitmapsample/BitmapView.java
rc/com/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
ndroidManifest.xml
es/layout/activity_main.xml
es/values/dimens.xml
es/values/strings.xml
es/values/styles.xml
rc/com/example/bitmapsample/BitmapView.java
rc/com/example/bitmapsample/MainActivity.java
d2e1718fa8e1199b03dc0d069711b24e946aa858 17-Oct-2013 Sam Blitzstein <sblitz@google.com> Add sample app to bitmap library.

Change-Id: Iec98361f576289447a274f51694d46974f1534ac
ndroid.mk
ndroidManifest.xml
es/drawable-mdpi/ic_launcher.png
es/layout/activity_main.xml
es/values/dimens.xml
es/values/strings.xml
es/values/styles.xml
rc/com/example/bitmapsample/BitmapRequestKeyImpl.java
rc/com/example/bitmapsample/BitmapView.java
rc/com/example/bitmapsample/MainActivity.java