- 11 10月, 2017 4 次提交
-
-
由 Sam Judd 提交于
It’s perfectly possible to load a valid image or video frame from raw resources as well as drawables resources.
-
由 Sam Judd 提交于
-
由 judds 提交于
I've basically just added a helper method that calls thumbnail() recursively for you. It seems like it eliminates some of the especially confusing nested thumbnail logic. Unfortunately it requires @SuppressWarnings("unchecked") whever it's used because it uses varags with a parameterized type (RequestBuilder). I can't currently use @SafeVarargs because that requires a final method. I can't make the method final without preventing mocking in tests (minor) and breaking the generated API (major). By splitting out a separate base class for RequestBuilder I actually probably can fix this in the future, but that's a pretty substantial change that I don't want to make right now. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=171694145
-
由 judds 提交于
This should also be a slight accuracy improvement since we're now using a somewhat more efficient density multiplier in some cases, especially when downsampling. Fixes #2459. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=171601510
-
- 10 10月, 2017 6 次提交
- 08 10月, 2017 1 次提交
-
-
由 Sam Judd 提交于
Unless you override the jar task completely, any files you specified are added to the original files, not replaced. To make matters worse, gradle does not fail jar tasks when duplicate classes are added by default. We’ve fixed the immediate issue with compiler’s jar file by excluding classes that do not originate from our repackaged/proguarded jar to avoid duplicate class files.We’ve hopefully also prevented future occurrences by forcing all jar tasks in the project to fail by default if duplicate classes are added. Fixes #2452.
-
- 07 10月, 2017 3 次提交
-
-
由 Sam Judd 提交于
As a fallback for drawables that we either can’t obtain an InputStream for or can’t decode as Bitmaps, Glide will now also call Resources#getDrawable with the given resource id. Fixes #350.
-
由 Sam Judd 提交于
-
由 Sam Judd 提交于
We’re going with .error() to match the behavior of the .error Drawable and resource id methods. fallback() is a somewhat better name, but we unfortunately already use it to handle cases where models are null and expected to be null. Fixes #451.
-
- 06 10月, 2017 3 次提交
-
-
由 Sam Judd 提交于
-
由 judds 提交于
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=171204273
-
由 judds 提交于
More progress towards #738. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=170938515
-
- 05 10月, 2017 4 次提交
-
-
由 Sam Judd 提交于
-
由 Robert Papp 提交于
-
由 Antonio Nicolás Pina 提交于
-
由 Róbert Papp 提交于
* Update Gradle version to latest * Fix typo in dependency name (Gradle was resolving support-annotations:{26}) * Bump Android Gradle Plugin version to latest stable * Remove deprecation warning during compile. (@SuppressWarnings("deprecation") has no effect on imports) * Force LF as the line separator to make sure checkstyle is runnable on Windows * Constrain deprecation of GlideModule to a single method (suppresses javac warning) * Make sure compiledJar's output is unique. archivePath was the same as jar's archivePath, which triggered a rebuild and re-proguard every time, even on incremental builds. * Move quality tool initializations near the tasks Extract version constant for PMD * Minor gradle improvements: warnings, Java compatiblity * Extract test JVM memory size to gradle.properties * Enable auto-completion in IDEA by using tasks.create instead of task shorthand * Reduce amount of hard-coded paths * Reduce amount of missing files when running findbugs * Add missing test for setMemoryCategory return value * Simplify JavaDoc classpath calculation * Change JavaDoc {@link}s to {@code} as they're not linkable. This reduces the noise during build. * Fix invalid missing references in JavaDoc. The equals/hashCode method doesn't exist in the classes, so need to reference the super-class. * Fix checkstyle, javadoc alignment, typo and codify class-name-like concepts.
-
- 04 10月, 2017 2 次提交
- 03 10月, 2017 5 次提交
-
-
由 Sam Judd 提交于
-
由 asuszek 提交于
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=170774550
-
由 asuszek 提交于
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=170742776
-
由 Yutaro Iino 提交于
That was wrong class name
-
由 Pierre-Luc Paour 提交于
-
- 27 9月, 2017 1 次提交
-
-
由 Sam Judd 提交于
Fixes #2434.
-
- 26 9月, 2017 8 次提交
-
-
由 Sam Judd 提交于
-
由 Sam Judd 提交于
Progress towards #2431.
-
由 Sam Judd 提交于
Progress towards #2431.
-
由 Sam Judd 提交于
In some cases wrap_content may be used as a default layout parameter, so we should at least wait for any pending layout passes before using it. Progress towards #2431.
-
由 Sam Judd 提交于
See #2431 for details on what this does and why. This will introduce some behavior changes, especially if you’re not using fixed dimensions in your layout parameters.
-
由 judds 提交于
May or may not be related to b/65655184. It could cause us to decode very large images. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=169734472
-
由 judds 提交于
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=169730418
-
由 judds 提交于
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=169726622
-
- 25 9月, 2017 1 次提交
-
-
由 Róbert Papp 提交于
* Remove unneeded excludes from imgur sample jsr305 is repackaged, so there won't be a conflict on annotationProcessor classpath * Increment Dagger version to 2.11 There are breaking API changes (renames) and use the new API to reduce custom code. * Further simplify injection by using the Dagger library components
-
- 22 9月, 2017 2 次提交
-
-
由 Stéphane Nicolas 提交于
-
由 Sam Judd 提交于
Fixes #2413.
-