Loading protos/launcher_atom.proto +11 −0 Original line number Diff line number Diff line Loading @@ -59,6 +59,7 @@ message ContainerInfo { SettingsContainer settings_container = 9; PredictedHotseatContainer predicted_hotseat_container = 10; TaskSwitcherContainer task_switcher_container = 11; TaskBarContainer task_bar_container = 12; ExtendedContainers extended_containers = 20; } } Loading Loading @@ -100,6 +101,16 @@ message SettingsContainer { message TaskSwitcherContainer { } // Container for taskbar. // Configured to show up on large screens(tablet-sized) such as foldables in expanded state, within // an app view(not in launcher screen). message TaskBarContainer { optional int32 index = 1; // Bit encoded value to capture pinned and predicted taskbar positions. optional int32 cardinality = 2; } enum Attribute { UNKNOWN = 0; DEFAULT_LAYOUT = 1; // icon automatically placed in workspace, folder, hotseat Loading quickstep/src/com/android/quickstep/logging/StatsLogCompatManager.java +4 −0 Original line number Diff line number Diff line Loading @@ -375,6 +375,8 @@ public class StatsLogCompatManager extends StatsLogManager { switch (info.getContainerInfo().getContainerCase()) { case PREDICTED_HOTSEAT_CONTAINER: return info.getContainerInfo().getPredictedHotseatContainer().getCardinality(); case TASK_BAR_CONTAINER: return info.getContainerInfo().getTaskBarContainer().getCardinality(); case SEARCH_RESULT_CONTAINER: return info.getContainerInfo().getSearchResultContainer().getQueryLength(); case EXTENDED_CONTAINERS: Loading Loading @@ -461,6 +463,8 @@ public class StatsLogCompatManager extends StatsLogManager { return info.getContainerInfo().getHotseat().getIndex(); case PREDICTED_HOTSEAT_CONTAINER: return info.getContainerInfo().getPredictedHotseatContainer().getIndex(); case TASK_BAR_CONTAINER: return info.getContainerInfo().getTaskBarContainer().getIndex(); default: return info.getContainerInfo().getWorkspace().getPageIndex(); } Loading Loading
protos/launcher_atom.proto +11 −0 Original line number Diff line number Diff line Loading @@ -59,6 +59,7 @@ message ContainerInfo { SettingsContainer settings_container = 9; PredictedHotseatContainer predicted_hotseat_container = 10; TaskSwitcherContainer task_switcher_container = 11; TaskBarContainer task_bar_container = 12; ExtendedContainers extended_containers = 20; } } Loading Loading @@ -100,6 +101,16 @@ message SettingsContainer { message TaskSwitcherContainer { } // Container for taskbar. // Configured to show up on large screens(tablet-sized) such as foldables in expanded state, within // an app view(not in launcher screen). message TaskBarContainer { optional int32 index = 1; // Bit encoded value to capture pinned and predicted taskbar positions. optional int32 cardinality = 2; } enum Attribute { UNKNOWN = 0; DEFAULT_LAYOUT = 1; // icon automatically placed in workspace, folder, hotseat Loading
quickstep/src/com/android/quickstep/logging/StatsLogCompatManager.java +4 −0 Original line number Diff line number Diff line Loading @@ -375,6 +375,8 @@ public class StatsLogCompatManager extends StatsLogManager { switch (info.getContainerInfo().getContainerCase()) { case PREDICTED_HOTSEAT_CONTAINER: return info.getContainerInfo().getPredictedHotseatContainer().getCardinality(); case TASK_BAR_CONTAINER: return info.getContainerInfo().getTaskBarContainer().getCardinality(); case SEARCH_RESULT_CONTAINER: return info.getContainerInfo().getSearchResultContainer().getQueryLength(); case EXTENDED_CONTAINERS: Loading Loading @@ -461,6 +463,8 @@ public class StatsLogCompatManager extends StatsLogManager { return info.getContainerInfo().getHotseat().getIndex(); case PREDICTED_HOTSEAT_CONTAINER: return info.getContainerInfo().getPredictedHotseatContainer().getIndex(); case TASK_BAR_CONTAINER: return info.getContainerInfo().getTaskBarContainer().getIndex(); default: return info.getContainerInfo().getWorkspace().getPageIndex(); } Loading