- 09 Jul, 2014 1 commit
-
-
Leon Scroggins III authored
This is now required in order to affect the Paint. BUG:14315916 Change-Id: I7afa525d4a1d0e71d0ca5c79780c7d8b9100a959
-
- 25 Jun, 2014 1 commit
-
-
Mark Wei authored
Main development is now going on in the Bigtop fork. This import includes the following changes: cl/68071490 Cache BitmapShader instance in CircularBitmapDrawable. This simple implementation is eliminating almost all of the BitmapShader construction during startup. cl/69907083 Add compatibility mode to StyledCornersBitmapDrawable for b/15023700 in 4.4.3 The rounded corners and flaps are now drawn on the canvas, instead of clipped with a path. This part is in the bitmap library. The drawn corners must match the color of the background color of the container. The bt_megalist_selected_item_background color has been pre-mixed with @android:color/white so it's in a ColorDrawable instead of a LayerDrawable, and so its color can be used to draw the fake corners. This part is in the Bigtop codebase. Change-Id: I21a22d8550fbe1dd3de7410cd82969ff947c27ea
-
- 25 Apr, 2014 1 commit
-
-
Ruben authored
Change-Id: Ib55c3ca461778a7efb21c4558efe7c4bfe27eb95
-
- 27 Mar, 2014 1 commit
-
-
Mark Wei authored
Bug: 13563559 Change-Id: Iea22f1a4ae7b71dd6a555fdd2efb9047a61522a6
-
- 18 Mar, 2014 1 commit
-
-
Mark Wei authored
unbind is temporary. This prevents race conditions that cause an old key to be bound on attach to window. Bug: 13507371 Change-Id: I5187ddd956fe28472fde1ef11360840059d15423
-
- 04 Mar, 2014 1 commit
-
-
Mark Wei authored
Change-Id: I2827419544383b355a7a858cf35a0577f8f8446a
-
- 03 Mar, 2014 3 commits
-
-
Mark Wei authored
Change-Id: Ie83f3fc85043d1e27fbc2932d14ae1ec961b963e
-
Mark Wei authored
Change-Id: I79fae35f0949a17309bce0cffd6b10e7e6d8db2c
-
Mark Wei authored
When detached from window, the last known RequestKey is saved inside of the BasicBitmapDrawable instead of referenced separately in the BitmapDrawableImageView. This fixes a bug where you could bind() a stale RequestKey to the drawable, after having called drawable.unbind() before it is attached back to the window. Change-Id: Idba62fea647871d5c1c495b2c89e10779289a53b
-
- 21 Feb, 2014 1 commit
-
-
Mark Wei authored
Change-Id: I67d83689de85e14a5b20b644e2dbcc533ac544dd
-
- 14 Feb, 2014 1 commit
-
-
Mark Wei authored
Change-Id: Id7c6c550960949af51357062b13bb19a161a469d
-
- 07 Feb, 2014 1 commit
-
-
Mark Wei authored
during animations. Change-Id: I9275ef69f52058de1f6a1b3bb574b9fd5e030c82
-
- 25 Jan, 2014 1 commit
-
-
Scott Kennedy authored
We use APIs from 18, and ADT, by default, sets the build target to targetSdkVersion. Change-Id: I75e04b30e42de2eb92ec6a705252415114324c18
-
- 23 Jan, 2014 2 commits
-
-
Mark Wei authored
Expose decode vertical center through ExtendedOptions. Genericize BitmapDrawableImageView#getTypedDrawable(). Bug: 11691744 Change-Id: I62e05ab2136cf031eaf1752dba728156c97c87a6
-
Mark Wei authored
null cases without filling up the Executor queue. Bug: 11789572 Change-Id: Icef2f8da1239fdd8db9d74480a147081a15456bc
-
- 21 Jan, 2014 1 commit
-
-
Mark Wei authored
Bug: 12617030 Change-Id: I5882be1f02413dd55f44bf09b68257e9690abb6c
-
- 17 Jan, 2014 2 commits
- 14 Jan, 2014 1 commit
-
-
James Kung authored
Change-Id: I034fa56a8c646a65781236fe832c0f54d9f86984
-
- 07 Jan, 2014 2 commits
-
-
Mark Wei authored
Added: - CircularBitmapDrawable: Use this if you want to display circular images with an optional border stroke. This class uses BitmapShaders, the preferred way of masking a bitmap, instead of using a non-rectangular clip region or overlaying views. - StyledCornersBitmapDrawable: Use this if you want the corners of your images to be stylized. You can choose from rounded or flap corners, with an optional border stroke and optional flap color. This class uses a non-rectangular clip region. In the future, this may change to use a BitmapShader. - ResourceRequestKey: Use this if you want a simple RequestKey implementation that loads images from a resource asset. Change-Id: If64440f3389f56f8a5b799a32a2660f3f9a19385
-
Mark Wei authored
to be modified after ExtendedBitmapDrawable creation. Change-Id: Ia24ed7665df2a7ebe4359908c578a15e11e3801c
-
- 11 Dec, 2013 1 commit
-
-
Mark Wei authored
InputStream so the BitmapFactory decoder doesn't choke on a consumed InputStream. Bug: 12099499 Change-Id: Ie066e04f369cc51b783e2ce95ca4be5e5f8e8871
-
- 08 Dec, 2013 1 commit
-
-
Mark Wei authored
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
-
- 02 Dec, 2013 1 commit
-
-
Mark Wei authored
instantly shown. Change-Id: Ic2ba2d2ebe01badc881d1c43071a42bcf6f2b687
-
- 23 Nov, 2013 2 commits
- 21 Nov, 2013 2 commits
- 11 Nov, 2013 1 commit
-
-
Mark Wei authored
Change-Id: Ib9422cd23940409c8301ea59f72e041972f5c58b
-
- 08 Nov, 2013 1 commit
-
-
Sam Blitzstein authored
If the parallax feature is turned on, validate() should check that parallaxSpeedMultiplier != 1. Change-Id: Id660c300cf86db62778f77acb2890a0ca9e8f6e0
-
- 07 Nov, 2013 1 commit
-
-
Mark Wei authored
Change-Id: I73564b39333c10876b4dbd4532da327b8cf45265
-
- 06 Nov, 2013 3 commits
-
-
Mark Wei authored
-
Mark Wei authored
The bitmap's bounds is not the true bounds, since the bitmaps are being reused. The true bounds are the decode bounds, or logical bounds of the ReusableBitmap. Bug: 11534712 Change-Id: I8fd5c35feacccbbfe6b625591cd56dec9ff3d716
-
Mark Wei authored
Change-Id: I8a5e739c14d357b0b6b724cdbff45cd116458660
-
- 05 Nov, 2013 2 commits
- 04 Nov, 2013 4 commits
-
-
Mark Wei authored
Change-Id: I5dba01d388189bd840cadb4543baf2544a4b2ca9
-
Mark Wei authored
Change-Id: I6fb90cc9f18abc97c17e5603b588039c717b63bb
-
Mark Wei authored
Change-Id: I22294a19e6dd2247cc9679470b7b69089ba17228
-
Mark Wei authored
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
-