1. 09 Jul, 2014 1 commit
  2. 25 Jun, 2014 1 commit
    • Mark Wei's avatar
      Import latest changes to the bitmap library. · df01966f
      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
      df01966f
  3. 25 Apr, 2014 1 commit
  4. 27 Mar, 2014 1 commit
  5. 18 Mar, 2014 1 commit
  6. 04 Mar, 2014 1 commit
  7. 03 Mar, 2014 3 commits
  8. 21 Feb, 2014 1 commit
  9. 14 Feb, 2014 1 commit
  10. 07 Feb, 2014 1 commit
  11. 25 Jan, 2014 1 commit
    • Scott Kennedy's avatar
      Update targetSdkVersion to 18 · f19fbf57
      Scott Kennedy authored
      We use APIs from 18, and ADT, by default, sets the build target to
      targetSdkVersion.
      
      Change-Id: I75e04b30e42de2eb92ec6a705252415114324c18
      f19fbf57
  12. 23 Jan, 2014 2 commits
  13. 21 Jan, 2014 1 commit
  14. 17 Jan, 2014 2 commits
  15. 14 Jan, 2014 1 commit
  16. 07 Jan, 2014 2 commits
    • Mark Wei's avatar
      Export some useful custom classes that I wrote back into the bitmap library. · ad6ca3f8
      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
      ad6ca3f8
    • Mark Wei's avatar
      Allow non-changeable placeholder and progress drawable fields in ExtendedOptions · 5d6521e2
      Mark Wei authored
      to be modified after ExtendedBitmapDrawable creation.
      
      Change-Id: Ia24ed7665df2a7ebe4359908c578a15e11e3801c
      5d6521e2
  17. 11 Dec, 2013 1 commit
  18. 08 Dec, 2013 1 commit
    • Mark Wei's avatar
      Allow placeholder drawable to be sized by the client. First try to use the · b6ec2afe
      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
      b6ec2afe
  19. 02 Dec, 2013 1 commit
  20. 23 Nov, 2013 2 commits
  21. 21 Nov, 2013 2 commits
  22. 11 Nov, 2013 1 commit
  23. 08 Nov, 2013 1 commit
  24. 07 Nov, 2013 1 commit
  25. 06 Nov, 2013 3 commits
  26. 05 Nov, 2013 2 commits
  27. 04 Nov, 2013 4 commits