Merge "Taskbar in overview" into tm-qpr-dev am: 5e47e78a17 am: 6db97df61b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19866366 Change-Id: I1ef4ad30d59bf9422eead0bbc768bf9727a1d667 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
8a1237bf0d
4 files changed
+27
-6
No files matched your search
@@ -43,6 +43,7 @@ import androidx.annotation.Nullable;
|
||||
|
||||
import com.android.launcher3.CellLayout.ContainerType;
|
||||
import com.android.launcher3.DevicePaddings.DevicePadding;
|
||||
import com.android.launcher3.config.FeatureFlags;
|
||||
import com.android.launcher3.icons.DotRenderer;
|
||||
import com.android.launcher3.icons.IconNormalizer;
|
||||
import com.android.launcher3.model.data.ItemInfo;
|
||||
@@ -1276,7 +1277,10 @@ public class DeviceProfile {
|
||||
return ((taskbarSize - overviewActionsHeight) / 2) + getTaskbarOffsetY();
|
||||
}
|
||||
|
||||
return isTaskbarPresent ? stashedTaskbarSize : mInsets.bottom;
|
||||
if (isTaskbarPresent) {
|
||||
return FeatureFlags.ENABLE_TASKBAR_IN_OVERVIEW.get() ? taskbarSize : stashedTaskbarSize;
|
||||
}
|
||||
return mInsets.bottom;
|
||||
}
|
||||
|
||||
/** Gets the space that the overview actions will take, including bottom margin. */
|
||||
|
||||
@@ -235,6 +235,10 @@ public final class FeatureFlags {
|
||||
"ENABLE_ALL_APPS_ONE_SEARCH_IN_TASKBAR", false,
|
||||
"Enables One Search box in Taskbar All Apps.");
|
||||
|
||||
public static final BooleanFlag ENABLE_TASKBAR_IN_OVERVIEW = getDebugFlag(
|
||||
"ENABLE_TASKBAR_IN_OVERVIEW", false,
|
||||
"Enables accessing the system Taskbar in overview.");
|
||||
|
||||
public static final BooleanFlag ENABLE_SPLIT_FROM_WORKSPACE = getDebugFlag(
|
||||
"ENABLE_SPLIT_FROM_WORKSPACE", true,
|
||||
"Enable initiating split screen from workspace.");
|
||||
|
||||
Reference in new issue
Block a user