Home
last modified time | relevance | path

Searched refs:PADDING (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/graph/
DBatteryMeterDrawableBaseTest.java40 private static final int PADDING = 5; field in BatteryMeterDrawableBaseTest
59 mBatteryMeterDrawableBase.setPadding(PADDING, PADDING, PADDING, PADDING); in testDraw_hasPaddingAndBounds_drawWarningInCorrectPosition()
60 mBatteryMeterDrawableBase.setBounds(0, 0, WIDTH + 2 * PADDING, HEIGHT + 2 * PADDING); in testDraw_hasPaddingAndBounds_drawWarningInCorrectPosition()
72 mBatteryMeterDrawableBase.setPadding(PADDING, PADDING, PADDING, PADDING); in testDraw_hasPaddingAndBounds_drawBatteryLevelInCorrectPosition()
73 mBatteryMeterDrawableBase.setBounds(0, 0, WIDTH + 2 * PADDING, HEIGHT + 2 * PADDING); in testDraw_hasPaddingAndBounds_drawBatteryLevelInCorrectPosition()
/frameworks/base/core/tests/coretests/src/android/widget/
DAbsSeekBarTest.java50 public static final int PADDING = 10; field in AbsSeekBarTest
62 mBar.setPadding(PADDING, PADDING, PADDING, PADDING); in testExclusionForThumb_limitedTo48dp()
75 center(offset(mBar.getThumb().getBounds(), PADDING - thumbOffset, PADDING)), in testExclusionForThumb_limitedTo48dp()
83 mBar.setPadding(PADDING, PADDING, PADDING, PADDING); in testExclusionForThumb_limitedToHeight()
96 center(offset(mBar.getThumb().getBounds(), PADDING - thumbOffset, PADDING)), in testExclusionForThumb_limitedToHeight()
106 mBar.setPadding(PADDING, PADDING, PADDING, PADDING); in testExclusionForThumb_passesThroughUserExclusions()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/tv/
DTvPipKeepClearAlgorithmTest.kt46 private val PADDING = 16 constant
73 algorithm.pipAreaPadding = PADDING in setup()
193 val expectedBounds = anchorBoundsOffsetBy(SCREEN_EDGE_INSET - sidebar.width() - PADDING, 0) in test_AnchorBottomRight_UnrestrictedRightSidebar_PushedLeft()
208 val expectedBounds = anchorBoundsOffsetBy(SCREEN_EDGE_INSET - sidebar.width() - PADDING, 0) in test_AnchorTopRight_UnrestrictedRightSidebar_PushedLeft()
270 SCREEN_EDGE_INSET - bottomBar.height() - PADDING) in test_AnchorBottomRight_RestrictedSmallBottomBar_PushedUp()
304 SCREEN_EDGE_INSET - bottomBar.height() - PADDING) in test_AnchorBottomRight_UnrestrictedBottomSheet_PushUp()
325 anchorBoundsOffsetBy(0, SCREEN_EDGE_INSET - bottomBar.height() - PADDING) in test_AnchorBottomRight_UnrestrictedBottomSheet_RestrictedSidebar_StashAboveBottomSheet()
351 SCREEN_EDGE_INSET - sideBar.width() - PADDING, in test_AnchorBottomRight_UnrestrictedBottomSheet_UnrestrictedSidebar_PushUpLeft()
352 SCREEN_EDGE_INSET - bottomBar.height() - PADDING in test_AnchorBottomRight_UnrestrictedBottomSheet_UnrestrictedSidebar_PushUpLeft()
374 anchorBoundsOffsetBy(0, SCREEN_EDGE_INSET - bottomBar.height() - PADDING) in test_Stashed_UnstashBoundsBecomeUnobstructed_Unstashes()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DLegacyLockIconViewControllerTest.java73 eq(PADDING)); in testUpdateFingerprintLocationOnInit()
87 eq(PADDING * 5)); in testUpdatePaddingBasedOnResolutionScale()
108 eq(PADDING)); in testUpdateLockIconLocationOnAuthenticatorsRegistered()
129 eq(PADDING)); in testUpdateLockIconLocationOnUdfpsLocationChanged()
DLegacyLockIconViewControllerBaseTest.java76 protected static final int PADDING = 10; field in LegacyLockIconViewControllerBaseTest
144 when(mResources.getDimensionPixelSize(R.dimen.lock_icon_padding)).thenReturn(PADDING); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DPeopleStoryIconFactory.java39 private static final int PADDING = 2; field in PeopleStoryIconFactory
150 int paddingInDp = (int) (PADDING * mDensity); in draw()
/frameworks/base/keystore/java/android/security/keystore2/
DKeyStore2ParameterUtils.java90 case Tag.PADDING: in makeEnum()
/frameworks/base/core/java/android/security/keymaster/
DKeymasterDefs.java65 public static final int KM_TAG_PADDING = Tag.PADDING; // KM_ENUM_REP | 6;