summaryrefslogtreecommitdiff
path: root/src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java
diff options
context:
space:
mode:
authorOleksandr Kyreiev <shoora@google.com>2014-12-18 17:54:56 +0100
committerOleksandr Kyreiev <shoora@google.com>2014-12-18 17:54:56 +0100
commita8b1e1f5cad36086e89c052007473609c379ccbd (patch)
tree2938160ebeb973ba402a64b880311cfd994b8ab0 /src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java
parent4309c1f708f469a5ab3ac52b6b22cc6ede1d50ff (diff)
downloadbitmap-a8b1e1f5cad36086e89c052007473609c379ccbd.tar.gz
Import latest changes.
Change-Id: I27973b3441d3738a85481de9c774da0ac08afd7c
Diffstat (limited to 'src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java')
-rw-r--r--src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java b/src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java
index fc54419..2fcc412 100644
--- a/src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java
+++ b/src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java
@@ -712,11 +712,8 @@ public class ExtendedBitmapDrawable extends BasicBitmapDrawable implements
* This should not be confused with {@link #setParallaxFraction(float)}. This field
* determines the general section for decode. The parallax fraction then determines the
* slice from within that section for display.
- *
- * The default value of 1f / 3 provides a good heuristic for the subject's face in a
- * portrait photo.
*/
- public float decodeVerticalCenter = 1f / 3;
+ public float decodeVerticalCenter = 1f / 2;
/**
* Required field if {@link #FEATURE_ORDERED_DISPLAY} is supported.