/packages/apps/Launcher3/tests/src/com/android/launcher3/nonquickstep/ |
D | HotseatWidthCalculationTest.kt | 43 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/ |
D | HotseatWidthCalculationTest.kt | 43 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/ |
D | DeviceProfile.java | 214 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 …]
|
D | Hotseat.java | 122 setGridSize(1, dp.numShownHotseatIcons); in resetLayout() 124 setGridSize(dp.numShownHotseatIcons, 1); in resetLayout()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/ |
D | HotseatEduDialog.java | 96 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()
|
D | HotseatEduController.java | 102 int hotseatItemsNum = mLauncher.getDeviceProfile().numShownHotseatIcons; in migrateHotseatWhole() 141 < mLauncher.getDeviceProfile().numShownHotseatIcons) { in showDimissTip()
|
D | HotseatPredictionController.java | 131 mHotSeatItemsCount = mLauncher.getDeviceProfile().numShownHotseatIcons; in HotseatPredictionController() 435 this.mHotSeatItemsCount = profile.numShownHotseatIcons; in onDeviceProfileChanged()
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/ |
D | FakeInvariantDeviceProfileTest.kt | 156 numShownHotseatIcons = 4 in newDP() 238 numShownHotseatIcons = 6 in initializeVarsForTablet() 318 numShownHotseatIcons = 6 in initializeVarsForTwoPanel()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/ |
D | TaskbarViewController.java | 677 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/ |
D | AppsSearchContainerLayout.java | 107 dp.cellLayoutBorderSpacePx.x, dp.numShownHotseatIcons); in onMeasure()
|
/packages/apps/Launcher3/tests/assets/dumpTests/DeviceProfileDumpTest/ |
D | tabletPortrait3Button.txt | 88 numShownHotseatIcons: 6
|
D | tabletLandscape3Button.txt | 88 numShownHotseatIcons: 6
|
D | twoPanelPortrait_decoupleDepth.txt | 88 numShownHotseatIcons: 6
|
D | twoPanelPortrait3Button_decoupleDepth.txt | 88 numShownHotseatIcons: 6
|
D | twoPanelPortrait3Button.txt | 88 numShownHotseatIcons: 6
|
D | tabletPortrait.txt | 88 numShownHotseatIcons: 6
|
D | twoPanelPortrait.txt | 88 numShownHotseatIcons: 6
|
D | phoneVerticalBar.txt | 88 numShownHotseatIcons: 5
|
D | tabletLandscape.txt | 88 numShownHotseatIcons: 6
|
D | twoPanelLandscape3Button.txt | 88 numShownHotseatIcons: 6
|
D | phonePortrait.txt | 88 numShownHotseatIcons: 5
|
D | phonePortrait3Button.txt | 88 numShownHotseatIcons: 5
|
D | twoPanelLandscape3Button_decoupleDepth.txt | 88 numShownHotseatIcons: 6
|
D | twoPanelLandscape_decoupleDepth.txt | 88 numShownHotseatIcons: 6
|
D | twoPanelLandscape.txt | 88 numShownHotseatIcons: 6
|