1. 05 9月, 2017 3 次提交
  2. 04 9月, 2017 1 次提交
  3. 01 9月, 2017 3 次提交
  4. 30 8月, 2017 1 次提交
  5. 29 8月, 2017 2 次提交
  6. 26 8月, 2017 10 次提交
    • S
      Fix lint/pmd/findbugs errors. · 48754e61
      Sam Judd 提交于
      48754e61
    • J
      Avoid hardware bitmaps when rotation is required. · d836ac20
      judds 提交于
      -------------
      Created by MOE: https://github.com/google/moe
      MOE_MIGRATED_REVID=166499393
      d836ac20
    • J
      Rollforward [] with a bit to track scale vs non-scale transformations. · f58e2daf
      judds 提交于
      This allows us to apply scale transformations if we decode from a video but
      still use the hardware config if we decode from an image. Unfortunately it
      won't work for custom transformations that only scale. We'd probably have to
      extend the Transformation API to let transformations indicate that they only
      scale and I'm not sure that that's common enough to be useful.
      
      -------------
      Created by MOE: https://github.com/google/moe
      MOE_MIGRATED_REVID=166406311
      f58e2daf
    • J
      Automated g4 rollback of changelist 166253525. · 06ce0136
      judds 提交于
      *** Reason for rollback ***
      
      b/64987553
      
      *** Original change description ***
      
      Choose whether or not to use HARDWARE bitmaps based on transformations in Glide.
      
      Previously we were checking only against the requested and actual size
      of the image as a heuristic to see if we thought a transformation would
      be applied. That doesn't work well for certain types of transformations
      that don't necessarily change the size of the image but do change its
      shape (rounded corners, circle crop etc).
      
      Now we're explicitly checking to see if a transformation will be applied
      to the load and I...
      
      ***
      
      -------------
      Created by MOE: https://github.com/google/moe
      MOE_MIGRATED_REVID=166268954
      06ce0136
    • J
      Choose whether or not to use HARDWARE bitmaps based on transformations in Glide. · 0b56d092
      judds 提交于
      Previously we were checking only against the requested and actual size
      of the image as a heuristic to see if we thought a transformation would
      be applied. That doesn't work well for certain types of transformations
      that don't necessarily change the size of the image but do change its
      shape (rounded corners, circle crop etc).
      
      Now we're explicitly checking to see if a transformation will be applied
      to the load and I've removed the heuristic. This should catch cases like
      CircleCrop and also allow us to use hardware bitmaps when doing scaling
      entirely within Downsampler.
      
      In addition, we're now not applying transformations to Bitmaps for scale
      only transformations that can be done with DownsampleStrategies alone.
      This is a change in behavior, but since the Transformations were no-ops
      previously, it should be low risk.
      
      -------------
      Created by MOE: https://github.com/google/moe
      MOE_MIGRATED_REVID=166253525
      0b56d092
    • J
      Use the return value of apply when updating RequestManagers' options. · d717e83e
      judds 提交于
      If the RequestOptions object has auto clone enabled, apply() will leave the original object unmodified and return a new mutated copy. Right now RequestManage is ignoring the new mutated copy and retaining the old unmodified object which causes Glide to ignore the applied options.
      
      -------------
      Created by MOE: https://github.com/google/moe
      MOE_MIGRATED_REVID=166084541
      d717e83e
    • J
      Default to ARGB_8888_DISALLOW_HARDWARE. · 03122080
      judds 提交于
      -------------
      Created by MOE: https://github.com/google/moe
      MOE_MIGRATED_REVID=165989169
      03122080
    • J
      Always use ARGB_8888 if PREFER_ARGB_8888_DISALLOW_HARDWARE is set · 669aceef
      judds 提交于
      Previously we'd use RGB_565 in a couple of cases.
      
      -------------
      Created by MOE: https://github.com/google/moe
      MOE_MIGRATED_REVID=165976352
      669aceef
    • J
      Rollforward [] with a way to disable hardware bitmaps. · 2214e929
      judds 提交于
      -------------
      Created by MOE: https://github.com/google/moe
      MOE_MIGRATED_REVID=165778077
      2214e929
    • J
      Automated g4 rollback of changelist 165717498. · 30c59048
      judds 提交于
      *** Reason for rollback ***
      
      b/64845448
      
      *** Original change description ***
      
      Support HARDWARE Bitmaps in Android O+ in Glide.
      
      From adb shell dumpsys meminfo com.google.android.apps.photos on a 2016
      Pixel on OPM1.170816.001:
      
      Before:
      App Summary
                             Pss(KB)
                              ------
                 Java Heap:    20360
               Native Heap:    66032
                      Code:    93336
                     Stack:     1192
                  Graphics:    85892
             Private Other:     8956
                    System:    19944
      
                     TOTAL:   295712       TOTAL SWAP PSS...
      
      ***
      
      -------------
      Created by MOE: https://github.com/google/moe
      MOE_MIGRATED_REVID=165772656
      30c59048
  7. 25 8月, 2017 2 次提交
  8. 23 8月, 2017 1 次提交
  9. 22 8月, 2017 1 次提交
  10. 19 8月, 2017 7 次提交
  11. 18 8月, 2017 3 次提交
  12. 16 8月, 2017 2 次提交
    • S
      Use generated API in giphy sample. · 49142cf1
      Sam Judd 提交于
      49142cf1
    • S
      Rewind ByteBuffers in ByteBufferUtil.toFile. · 1594655d
      Sam Judd 提交于
      This avoids writing partial data if the buffer is not at position 0 when the method is called. This fixes a bug where using DiskCacheStrategy.ALL
      or DiskCacheStrategy.RESOURCE with GifDrawables would result in partial
      and invalid gif files being written to Glide’s disk cache.
      1594655d
  13. 15 8月, 2017 4 次提交