Loading quickstep/res/values/dimens.xml +3 −3 Original line number Diff line number Diff line Loading @@ -73,9 +73,9 @@ <!-- The margin at the start of the task icon menu --> <dimen name="task_thumbnail_icon_menu_start_margin">12dp</dimen> <!-- The margin at the top of the task icon menu --> <dimen name="task_thumbnail_icon_menu_top_margin">6dp</dimen> <!-- The margin at the top of the task icon menu when expanded --> <dimen name="task_thumbnail_icon_menu_top_margin_expanded">4dp</dimen> <dimen name="task_thumbnail_icon_menu_top_margin">12dp</dimen> <!-- The gap at the top of the task icon menu when expanded --> <dimen name="task_thumbnail_icon_menu_expanded_gap">6dp</dimen> <!-- The margin at the start of the task icon view in the icon menu --> <dimen name="task_thumbnail_icon_view_start_margin">6dp</dimen> <!-- The space around the task icon arrow within the icon menu --> Loading quickstep/src/com/android/quickstep/views/TaskMenuView.java +5 −5 Original line number Diff line number Diff line Loading @@ -311,14 +311,14 @@ public class TaskMenuView extends AbstractFloatingView { - mActivity.getDeviceProfile().getOverviewActionsClaimedSpaceBelow(); float midpoint = (taskBottom + taskbarTop) / 2f; additionalTranslationY = -Math.max(menuBottom - midpoint, 0); } else { // Animate the menu to leave a small margin at the top of the task. additionalTranslationY = getResources().getDimensionPixelSize( R.dimen.task_thumbnail_icon_menu_top_margin_expanded); } // Translate the menu to account for the expansion of the app chip menu as well. float expandOffsetTranslationY = getResources().getDimensionPixelSize( R.dimen.task_thumbnail_icon_menu_expanded_gap); ObjectAnimator translationYAnim = ObjectAnimator.ofFloat(this, TRANSLATION_Y, closing ? mMenuTranslationYBeforeOpen : mMenuTranslationYBeforeOpen + additionalTranslationY); : mMenuTranslationYBeforeOpen + additionalTranslationY + expandOffsetTranslationY); translationYAnim.setInterpolator(EMPHASIZED); ObjectAnimator menuTranslationYAnim = ObjectAnimator.ofFloat( Loading Loading
quickstep/res/values/dimens.xml +3 −3 Original line number Diff line number Diff line Loading @@ -73,9 +73,9 @@ <!-- The margin at the start of the task icon menu --> <dimen name="task_thumbnail_icon_menu_start_margin">12dp</dimen> <!-- The margin at the top of the task icon menu --> <dimen name="task_thumbnail_icon_menu_top_margin">6dp</dimen> <!-- The margin at the top of the task icon menu when expanded --> <dimen name="task_thumbnail_icon_menu_top_margin_expanded">4dp</dimen> <dimen name="task_thumbnail_icon_menu_top_margin">12dp</dimen> <!-- The gap at the top of the task icon menu when expanded --> <dimen name="task_thumbnail_icon_menu_expanded_gap">6dp</dimen> <!-- The margin at the start of the task icon view in the icon menu --> <dimen name="task_thumbnail_icon_view_start_margin">6dp</dimen> <!-- The space around the task icon arrow within the icon menu --> Loading
quickstep/src/com/android/quickstep/views/TaskMenuView.java +5 −5 Original line number Diff line number Diff line Loading @@ -311,14 +311,14 @@ public class TaskMenuView extends AbstractFloatingView { - mActivity.getDeviceProfile().getOverviewActionsClaimedSpaceBelow(); float midpoint = (taskBottom + taskbarTop) / 2f; additionalTranslationY = -Math.max(menuBottom - midpoint, 0); } else { // Animate the menu to leave a small margin at the top of the task. additionalTranslationY = getResources().getDimensionPixelSize( R.dimen.task_thumbnail_icon_menu_top_margin_expanded); } // Translate the menu to account for the expansion of the app chip menu as well. float expandOffsetTranslationY = getResources().getDimensionPixelSize( R.dimen.task_thumbnail_icon_menu_expanded_gap); ObjectAnimator translationYAnim = ObjectAnimator.ofFloat(this, TRANSLATION_Y, closing ? mMenuTranslationYBeforeOpen : mMenuTranslationYBeforeOpen + additionalTranslationY); : mMenuTranslationYBeforeOpen + additionalTranslationY + expandOffsetTranslationY); translationYAnim.setInterpolator(EMPHASIZED); ObjectAnimator menuTranslationYAnim = ObjectAnimator.ofFloat( Loading