Loading quickstep/src/com/android/launcher3/taskbar/StashedHandleViewController.java +1 −1 Original line number Diff line number Diff line Loading @@ -118,7 +118,7 @@ public class StashedHandleViewController implements TaskbarControllers.LoggableT mControllers = controllers; DeviceProfile deviceProfile = mActivity.getDeviceProfile(); Resources resources = mActivity.getResources(); if (mActivity.isPhoneGestureNavMode()) { if (mActivity.isPhoneGestureNavMode() || mActivity.isTinyTaskbar()) { mTaskbarSize = resources.getDimensionPixelSize(R.dimen.taskbar_phone_size); mStashedHandleWidth = resources.getDimensionPixelSize(R.dimen.taskbar_stashed_small_screen); Loading quickstep/src/com/android/launcher3/taskbar/TaskbarBackgroundRenderer.kt +5 −2 Original line number Diff line number Diff line Loading @@ -97,8 +97,11 @@ class TaskbarBackgroundRenderer(private val context: TaskbarActivityContext) { fun updateStashedHandleWidth(context: TaskbarActivityContext, res: Resources) { stashedHandleWidth = res.getDimensionPixelSize( if (context.isPhoneMode) R.dimen.taskbar_stashed_small_screen else R.dimen.taskbar_stashed_handle_width if (context.isPhoneMode || context.isTinyTaskbar) { R.dimen.taskbar_stashed_small_screen } else { R.dimen.taskbar_stashed_handle_width } ) } Loading Loading
quickstep/src/com/android/launcher3/taskbar/StashedHandleViewController.java +1 −1 Original line number Diff line number Diff line Loading @@ -118,7 +118,7 @@ public class StashedHandleViewController implements TaskbarControllers.LoggableT mControllers = controllers; DeviceProfile deviceProfile = mActivity.getDeviceProfile(); Resources resources = mActivity.getResources(); if (mActivity.isPhoneGestureNavMode()) { if (mActivity.isPhoneGestureNavMode() || mActivity.isTinyTaskbar()) { mTaskbarSize = resources.getDimensionPixelSize(R.dimen.taskbar_phone_size); mStashedHandleWidth = resources.getDimensionPixelSize(R.dimen.taskbar_stashed_small_screen); Loading
quickstep/src/com/android/launcher3/taskbar/TaskbarBackgroundRenderer.kt +5 −2 Original line number Diff line number Diff line Loading @@ -97,8 +97,11 @@ class TaskbarBackgroundRenderer(private val context: TaskbarActivityContext) { fun updateStashedHandleWidth(context: TaskbarActivityContext, res: Resources) { stashedHandleWidth = res.getDimensionPixelSize( if (context.isPhoneMode) R.dimen.taskbar_stashed_small_screen else R.dimen.taskbar_stashed_handle_width if (context.isPhoneMode || context.isTinyTaskbar) { R.dimen.taskbar_stashed_small_screen } else { R.dimen.taskbar_stashed_handle_width } ) } Loading