resolve merge conflicts of 3826bab27e to ub-launcher3-calgary.
Change-Id: I14ff2d67de4ba97628bdf651602724f9f4989173
This commit is contained in:
commit
7c50b31f57
22 files changed
+668
-698
No files matched your search
@@ -47,7 +47,6 @@ public class AppInfoDropTargetBar extends BaseDropTargetBar {
|
||||
dragController.addDragListener(this);
|
||||
|
||||
dragController.addDragListener(mAppInfoDropTarget);
|
||||
|
||||
dragController.addDropTarget(mAppInfoDropTarget);
|
||||
|
||||
mAppInfoDropTarget.setLauncher(launcher);
|
||||
@@ -64,7 +63,14 @@ public class AppInfoDropTargetBar extends BaseDropTargetBar {
|
||||
}
|
||||
|
||||
private void animateDropTargetBarToAlpha(float alpha, int duration) {
|
||||
animateViewAlpha(mDropTargetBarAnimator, mDropTargetBar, alpha,duration);
|
||||
resetAnimation(duration);
|
||||
if (duration > 0) {
|
||||
animateAlpha(mDropTargetBar, alpha, DEFAULT_INTERPOLATOR);
|
||||
mCurrentAnimation.start();
|
||||
} else {
|
||||
mDropTargetBar.setAlpha(alpha);
|
||||
AlphaUpdateListener.updateVisibility(mDropTargetBar, mAccessibilityEnabled);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user