summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Winson <winsonc@google.com> 2016-04-19 10:51:12 -0700
committer Winson <winsonc@google.com> 2016-04-19 10:51:12 -0700
commit0a461f0111287a0c0b77dd7ec0454b40195c8d88 (patch)
tree5b1ed9f09aa01114fe1e816272167b697e127117
parent863828763a4c94f44b67bc4aac0d2cde8b458797 (diff)
Ensure that the drag view is not dimmed.
- When picking up a task view to dock it, we should animate remove the dim on the task view so that when you drop it, there is no jump from the dimmed version to non-dimmed app. Bug: 27154882 Change-Id: Ifa1493227593dd950e49650b69f178cef82bc82e
-rw-r--r--packages/SystemUI/src/com/android/systemui/recents/views/TaskStackView.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackView.java b/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackView.java
index 6176d99a7c17..33d3dc06724e 100644
--- a/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackView.java
+++ b/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackView.java
@@ -1765,6 +1765,7 @@ public class TaskStackView extends FrameLayout implements TaskStack.TaskStackCal
mTmpTransform, null);
mTmpTransform.scale = finalScale;
mTmpTransform.translationZ = mLayoutAlgorithm.mMaxTranslationZ + 1;
+ mTmpTransform.dimAlpha = 0f;
updateTaskViewToTransform(event.taskView, mTmpTransform,
new AnimationProps(DRAG_SCALE_DURATION, Interpolators.FAST_OUT_SLOW_IN));
}