Home
last modified time | relevance | path

Searched refs:numShownHotseatIcons (Results 1 – 25 of 32) sorted by relevance

12

/packages/apps/Launcher3/tests/src/com/android/launcher3/nonquickstep/
DHotseatWidthCalculationTest.kt43 assertThat(dp.numShownHotseatIcons).isEqualTo(6) in distribute_border_space_when_space_is_enough_portrait()
67 assertThat(dp.numShownHotseatIcons).isEqualTo(6) in decrease_num_of_icons_when_not_enough_space_portrait()
90 assertThat(dp.numShownHotseatIcons).isEqualTo(6) in distribute_border_space_when_space_is_enough_landscape()
114 assertThat(dp.numShownHotseatIcons).isEqualTo(6) in nav_buttons_dont_interfere_with_required_hotseat_width()
135 assertThat(dp.numShownHotseatIcons).isEqualTo(6) in decrease_qsb_when_not_enough_space_landscape()
159 assertThat(dp.numShownHotseatIcons).isEqualTo(6) in decrease_num_of_icons_when_not_enough_space_landscape()
176 val numShownHotseatIcons = listOf(-1, 0, 1) in border_space_should_be_zero_when_numHotseatIcons_is_smallerOrEqual_1() constant
177 for (numHotseatIcons in numShownHotseatIcons) { in border_space_should_be_zero_when_numHotseatIcons_is_smallerOrEqual_1()
178 inv?.numShownHotseatIcons = numHotseatIcons in border_space_should_be_zero_when_numHotseatIcons_is_smallerOrEqual_1()
183 assertThat(dp.numShownHotseatIcons).isEqualTo(numHotseatIcons) in border_space_should_be_zero_when_numHotseatIcons_is_smallerOrEqual_1()
[all …]
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/quickstep/
DHotseatWidthCalculationTest.kt43 assertThat(dp.numShownHotseatIcons).isEqualTo(6) in distribute_border_space_when_space_is_enough_portrait()
67 assertThat(dp.numShownHotseatIcons).isEqualTo(4) in decrease_num_of_icons_when_not_enough_space_portrait()
90 assertThat(dp.numShownHotseatIcons).isEqualTo(6) in distribute_border_space_when_space_is_enough_landscape()
114 assertThat(dp.numShownHotseatIcons).isEqualTo(6) in nav_buttons_dont_interfere_with_required_hotseat_width()
135 assertThat(dp.numShownHotseatIcons).isEqualTo(6) in decrease_qsb_when_not_enough_space_landscape()
159 assertThat(dp.numShownHotseatIcons).isEqualTo(5) in decrease_num_of_icons_when_not_enough_space_landscape()
178 assertThat(dp.numShownHotseatIcons).isEqualTo(6) in increase_span_when_space_between_icons_is_less_than_minimum()
/packages/apps/Launcher3/src/com/android/launcher3/
DDeviceProfile.java214 public int numShownHotseatIcons; field in DeviceProfile
555 numShownHotseatIcons = in DeviceProfile()
556 isTwoPanels ? inv.numDatabaseHotseatIcons : inv.numShownHotseatIcons; in DeviceProfile()
821 - iconSizePx * numShownHotseatIcons in calculateQsbWidth()
822 - hotseatBorderSpace * numShownHotseatIcons in calculateQsbWidth()
956 numShownHotseatIcons--; in recalculateHotseatWidthAndBorderSpace()
959 } while (hotseatBorderSpace < mMinHotseatIconSpacePx && numShownHotseatIcons > 1); in recalculateHotseatWidthAndBorderSpace()
1312 int numBorders = (numShownHotseatIcons - 1 + numExtraBorder);
1315 float hotseatIconsTotalPx = iconSizePx * numShownHotseatIcons;
1639 numShownHotseatIcons);
[all …]
DHotseat.java122 setGridSize(1, dp.numShownHotseatIcons); in resetLayout()
124 setGridSize(dp.numShownHotseatIcons, 1); in resetLayout()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/
DHotseatEduDialog.java96 mSampleHotseat.setGridSize(grid.numShownHotseatIcons, 1); in onFinishInflate()
185 for (int i = 0; i < mActivityContext.getDeviceProfile().numShownHotseatIcons; i++) { in populatePreview()
201 || predictions.size() < mActivityContext.getDeviceProfile().numShownHotseatIcons in show()
DHotseatEduController.java102 int hotseatItemsNum = mLauncher.getDeviceProfile().numShownHotseatIcons; in migrateHotseatWhole()
141 < mLauncher.getDeviceProfile().numShownHotseatIcons) { in showDimissTip()
DHotseatPredictionController.java131 mHotSeatItemsCount = mLauncher.getDeviceProfile().numShownHotseatIcons; in HotseatPredictionController()
435 this.mHotSeatItemsCount = profile.numShownHotseatIcons; in onDeviceProfileChanged()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/
DFakeInvariantDeviceProfileTest.kt156 numShownHotseatIcons = 4 in newDP()
238 numShownHotseatIcons = 6 in initializeVarsForTablet()
318 numShownHotseatIcons = 6 in initializeVarsForTwoPanel()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarViewController.java677 launcherDp.numShownHotseatIcons); in createIconAlignmentController()
774 ? taskbarDp.numShownHotseatIcons in createIconAlignmentController()
780 ? taskbarDp.numShownHotseatIcons - 0.5f in createIconAlignmentController()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/search/
DAppsSearchContainerLayout.java107 dp.cellLayoutBorderSpacePx.x, dp.numShownHotseatIcons); in onMeasure()
/packages/apps/Launcher3/tests/assets/dumpTests/DeviceProfileDumpTest/
DtabletPortrait3Button.txt88 numShownHotseatIcons: 6
DtabletLandscape3Button.txt88 numShownHotseatIcons: 6
DtwoPanelPortrait_decoupleDepth.txt88 numShownHotseatIcons: 6
DtwoPanelPortrait3Button_decoupleDepth.txt88 numShownHotseatIcons: 6
DtwoPanelPortrait3Button.txt88 numShownHotseatIcons: 6
DtabletPortrait.txt88 numShownHotseatIcons: 6
DtwoPanelPortrait.txt88 numShownHotseatIcons: 6
DphoneVerticalBar.txt88 numShownHotseatIcons: 5
DtabletLandscape.txt88 numShownHotseatIcons: 6
DtwoPanelLandscape3Button.txt88 numShownHotseatIcons: 6
DphonePortrait.txt88 numShownHotseatIcons: 5
DphonePortrait3Button.txt88 numShownHotseatIcons: 5
DtwoPanelLandscape3Button_decoupleDepth.txt88 numShownHotseatIcons: 6
DtwoPanelLandscape_decoupleDepth.txt88 numShownHotseatIcons: 6
DtwoPanelLandscape.txt88 numShownHotseatIcons: 6

12