/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/graph/ |
D | BatteryMeterDrawableBaseTest.java | 40 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/ |
D | AbsSeekBarTest.java | 50 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/ |
D | TvPipKeepClearAlgorithmTest.kt | 46 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/ |
D | LegacyLockIconViewControllerTest.java | 73 eq(PADDING)); in testUpdateFingerprintLocationOnInit() 87 eq(PADDING * 5)); in testUpdatePaddingBasedOnResolutionScale() 108 eq(PADDING)); in testUpdateLockIconLocationOnAuthenticatorsRegistered() 129 eq(PADDING)); in testUpdateLockIconLocationOnUdfpsLocationChanged()
|
D | LegacyLockIconViewControllerBaseTest.java | 76 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/ |
D | PeopleStoryIconFactory.java | 39 private static final int PADDING = 2; field in PeopleStoryIconFactory 150 int paddingInDp = (int) (PADDING * mDensity); in draw()
|
/frameworks/base/keystore/java/android/security/keystore2/ |
D | KeyStore2ParameterUtils.java | 90 case Tag.PADDING: in makeEnum()
|
/frameworks/base/core/java/android/security/keymaster/ |
D | KeymasterDefs.java | 65 public static final int KM_TAG_PADDING = Tag.PADDING; // KM_ENUM_REP | 6;
|