Home
last modified time | relevance | path

Searched refs:hotseatQsbWidth (Results 1 – 24 of 24) sorted by relevance

/packages/apps/Launcher3/tests/src/com/android/launcher3/nonquickstep/
DHotseatWidthCalculationTest.kt52 assertThat(dp.hotseatQsbWidth).isEqualTo(1435) in distribute_border_space_when_space_is_enough_portrait()
76 assertThat(dp.hotseatQsbWidth).isEqualTo(1070) in decrease_num_of_icons_when_not_enough_space_portrait()
99 assertThat(dp.hotseatQsbWidth).isEqualTo(1455) in distribute_border_space_when_space_is_enough_landscape()
123 assertThat(dp.hotseatQsbWidth).isEqualTo(1950) in nav_buttons_dont_interfere_with_required_hotseat_width()
144 assertThat(dp.hotseatQsbWidth).isEqualTo(1875) in decrease_qsb_when_not_enough_space_landscape()
168 assertThat(dp.hotseatQsbWidth).isEqualTo(1735) in decrease_num_of_icons_when_not_enough_space_landscape()
188 assertThat(dp.hotseatQsbWidth).isEqualTo(1435) in border_space_should_be_zero_when_numHotseatIcons_is_smallerOrEqual_1()
208 assertThat(dp.hotseatQsbWidth).isEqualTo(1372) in increase_span_when_space_between_icons_is_less_than_minimum()
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/quickstep/
DHotseatWidthCalculationTest.kt52 assertThat(dp.hotseatQsbWidth).isEqualTo(1435) in distribute_border_space_when_space_is_enough_portrait()
76 assertThat(dp.hotseatQsbWidth).isEqualTo(1070) in decrease_num_of_icons_when_not_enough_space_portrait()
99 assertThat(dp.hotseatQsbWidth).isEqualTo(1455) in distribute_border_space_when_space_is_enough_landscape()
123 assertThat(dp.hotseatQsbWidth).isEqualTo(1965) in nav_buttons_dont_interfere_with_required_hotseat_width()
144 assertThat(dp.hotseatQsbWidth).isEqualTo(542) in decrease_qsb_when_not_enough_space_landscape()
168 assertThat(dp.hotseatQsbWidth).isEqualTo(480) in decrease_num_of_icons_when_not_enough_space_landscape()
187 assertThat(dp.hotseatQsbWidth).isEqualTo(1372) in increase_span_when_space_between_icons_is_less_than_minimum()
/packages/apps/Launcher3/src/com/android/launcher3/
DHotseat.java107 final float insetFraction = (float) dp.iconSizePx / dp.hotseatQsbWidth; in resetLayout()
175 ? (float) dp.iconSizePx * fraction / dp.hotseatQsbWidth in adjustForBubbleBar()
176 : (float) dp.iconSizePx * (1 - fraction) / dp.hotseatQsbWidth; in adjustForBubbleBar()
251 mQsb.measure(MeasureSpec.makeMeasureSpec(dp.hotseatQsbWidth, MeasureSpec.EXACTLY), in onMeasure()
DDeviceProfile.java230 public int hotseatQsbWidth; // only used when isQsbInline field in DeviceProfile
919 hotseatQsbWidth = calculateQsbWidth(hotseatBorderSpace); in recalculateHotseatWidthAndBorderSpace()
929 int maxHotseatIconsWidthPx = maxHotseatWidthPx - (isQsbInline ? hotseatQsbWidth : 0); in recalculateHotseatWidthAndBorderSpace()
943 hotseatQsbWidth -= requiredWidth - maxHotseatWidthPx; in recalculateHotseatWidthAndBorderSpace()
944 if (hotseatQsbWidth >= mMinHotseatQsbWidthPx) { in recalculateHotseatWidthAndBorderSpace()
949 hotseatQsbWidth = mMinHotseatQsbWidthPx; in recalculateHotseatWidthAndBorderSpace()
952 maxHotseatIconsWidthPx = maxHotseatWidthPx - (isQsbInline ? hotseatQsbWidth : 0); in recalculateHotseatWidthAndBorderSpace()
1842 int sideSpacing = (availableWidthPx - (hotseatQsbWidth + iconExtraSpacePx)) / 2;
1900 return isQsbInline ? hotseatQsbWidth + hotseatBorderSpace : 0;
2188 writer.println(prefix + pxToDpStr("hotseatQsbWidth", hotseatQsbWidth));
DLauncherState.java244 return dp.widthPx - marginStart - dp.hotseatQsbWidth; in getFloatingSearchBarRestingMarginEnd()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarViewController.java732 + launcherDp.hotseatQsbWidth / 2f in createIconAlignmentController()
733 : hotseatPadding.left - borderSpacing - launcherDp.hotseatQsbWidth / 2f; in createIconAlignmentController()
738 (launcherDp.hotseatQsbWidth - taskbarDp.taskbarIconSize) / 2f; in createIconAlignmentController()
DTaskbarView.java524 qsbEnd = qsbStart + deviceProfile.hotseatQsbWidth; in onLayout()
527 qsbStart = qsbEnd - deviceProfile.hotseatQsbWidth; in onLayout()
DTaskbarActivityContext.java328 deviceProfile.hotseatQsbWidth = originDeviceProfile.hotseatQsbWidth; in applyDeviceProfile()
/packages/apps/Launcher3/tests/assets/dumpTests/DeviceProfileDumpTest/
DtabletPortrait3Button.txt91 hotseatQsbWidth: 1290.0px (645.0dp)
DtabletLandscape3Button.txt91 hotseatQsbWidth: 1950.0px (975.0dp)
DtwoPanelPortrait_decoupleDepth.txt91 hotseatQsbWidth: 0.0px (0.0dp)
DtwoPanelPortrait3Button_decoupleDepth.txt91 hotseatQsbWidth: 0.0px (0.0dp)
DtwoPanelPortrait3Button.txt91 hotseatQsbWidth: 0.0px (0.0dp)
DtabletPortrait.txt91 hotseatQsbWidth: 1290.0px (645.0dp)
DtwoPanelPortrait.txt91 hotseatQsbWidth: 0.0px (0.0dp)
DphoneVerticalBar.txt91 hotseatQsbWidth: 0.0px (0.0dp)
DtabletLandscape.txt91 hotseatQsbWidth: 1950.0px (975.0dp)
DtwoPanelLandscape3Button.txt91 hotseatQsbWidth: 0.0px (0.0dp)
DphonePortrait.txt91 hotseatQsbWidth: 0.0px (0.0dp)
DphonePortrait3Button.txt91 hotseatQsbWidth: 0.0px (0.0dp)
DtwoPanelLandscape3Button_decoupleDepth.txt91 hotseatQsbWidth: 0.0px (0.0dp)
DtwoPanelLandscape_decoupleDepth.txt91 hotseatQsbWidth: 0.0px (0.0dp)
DtwoPanelLandscape.txt91 hotseatQsbWidth: 0.0px (0.0dp)
DphoneVerticalBar3Button.txt91 hotseatQsbWidth: 0.0px (0.0dp)