/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/ |
D | GlifDimensionTest.java | 61 final int marginSides = a.getDimensionPixelSize(0, 0); in assertDividerInset() 67 .that(res.getDimensionPixelSize(R.dimen.suw_items_glif_text_divider_inset)) in assertDividerInset() 73 .that(res.getDimensionPixelSize(R.dimen.suw_items_glif_icon_divider_inset)) in assertDividerInset() 74 .isEqualTo(marginSides + res.getDimensionPixelSize(R.dimen.suw_items_icon_container_width)); in assertDividerInset() 92 final int marginSides = a.getDimensionPixelSize(0, 0); in assertButtonMargin() 98 .that(res.getDimensionPixelSize(R.dimen.suw_glif_button_margin_end)) in assertButtonMargin() 104 .that(res.getDimensionPixelSize(R.dimen.suw_glif_button_margin_start)) in assertButtonMargin() 105 .isEqualTo(marginSides - res.getDimensionPixelSize(R.dimen.suw_glif_button_padding)); in assertButtonMargin()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/ |
D | DisplayLayoutTest.java | 103 doReturn(navLand).when(res).getDimensionPixelSize( in createResources() 105 doReturn(navPort).when(res).getDimensionPixelSize(R.dimen.navigation_bar_height_car_mode); in createResources() 106 doReturn(navLand).when(res).getDimensionPixelSize(R.dimen.navigation_bar_width_car_mode); in createResources() 107 doReturn(navLand).when(res).getDimensionPixelSize(R.dimen.navigation_bar_height_landscape); in createResources() 108 doReturn(navPort).when(res).getDimensionPixelSize(R.dimen.navigation_bar_height); in createResources() 109 doReturn(navLand).when(res).getDimensionPixelSize(R.dimen.navigation_bar_width); in createResources() 111 doReturn(statusLand).when(res).getDimensionPixelSize(R.dimen.status_bar_height_landscape); in createResources() 112 doReturn(statusPort).when(res).getDimensionPixelSize(R.dimen.status_bar_height_portrait); in createResources()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/ |
D | SmallClockPosition.java | 44 this(res.getDimensionPixelSize(R.dimen.status_bar_height), in SmallClockPosition() 45 res.getDimensionPixelSize(R.dimen.keyguard_lock_padding), in SmallClockPosition() 46 res.getDimensionPixelSize(R.dimen.keyguard_lock_height), in SmallClockPosition() 47 res.getDimensionPixelSize(R.dimen.burn_in_prevention_offset_y) in SmallClockPosition()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | PaintDrawable.java | 78 int radius = a.getDimensionPixelSize( in inflateTag() 84 int topLeftRadius = a.getDimensionPixelSize( in inflateTag() 86 int topRightRadius = a.getDimensionPixelSize( in inflateTag() 88 int bottomLeftRadius = a.getDimensionPixelSize( in inflateTag() 90 int bottomRightRadius = a.getDimensionPixelSize( in inflateTag()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
D | DismissView.kt | 38 val targetSize: Int = context.resources.getDimensionPixelSize(R.dimen.dismiss_circle_size) in <lambda>() 43 resources.getDimensionPixelSize(R.dimen.floating_dismiss_gradient_height).toFloat()) in <lambda>() 53 resources.getDimensionPixelSize(R.dimen.floating_dismiss_gradient_height), 55 setPadding(0, 0, 0, resources.getDimensionPixelSize(R.dimen.floating_dismiss_bottom_margin)) 94 val targetSize: Int = context.resources.getDimensionPixelSize(R.dimen.dismiss_circle_size) in updateResources()
|
D | BubblePositioner.java | 153 mBubbleSize = res.getDimensionPixelSize(R.dimen.bubble_size); in updateInternal() 154 mBubbleBadgeSize = res.getDimensionPixelSize(R.dimen.bubble_badge_size); in updateInternal() 155 mSpacingBetweenBubbles = res.getDimensionPixelSize(R.dimen.bubble_spacing); in updateInternal() 158 mExpandedViewLargeScreenWidth = res.getDimensionPixelSize( in updateInternal() 160 mExpandedViewPadding = res.getDimensionPixelSize(R.dimen.bubble_expanded_view_padding); in updateInternal() 161 mPointerWidth = res.getDimensionPixelSize(R.dimen.bubble_pointer_width); in updateInternal() 162 mPointerHeight = res.getDimensionPixelSize(R.dimen.bubble_pointer_height); in updateInternal() 163 mPointerMargin = res.getDimensionPixelSize(R.dimen.bubble_pointer_margin); in updateInternal()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/television/ |
D | PrivacyChipDrawable.java | 96 mBgWidth = context.getResources().getDimensionPixelSize(R.dimen.privacy_chip_dot_bg_width); in PrivacyChipDrawable() 97 mBgHeight = context.getResources().getDimensionPixelSize( in PrivacyChipDrawable() 99 mBgRadius = context.getResources().getDimensionPixelSize( in PrivacyChipDrawable() 102 mMinWidth = context.getResources().getDimensionPixelSize(R.dimen.privacy_chip_min_width); in PrivacyChipDrawable() 103 mIconWidth = context.getResources().getDimensionPixelSize(R.dimen.privacy_chip_icon_size); in PrivacyChipDrawable() 104 mIconPadding = context.getResources().getDimensionPixelSize( in PrivacyChipDrawable() 106 mDotSize = context.getResources().getDimensionPixelSize(R.dimen.privacy_chip_dot_size); in PrivacyChipDrawable() 109 mHeight = context.getResources().getDimensionPixelSize(R.dimen.privacy_chip_height); in PrivacyChipDrawable() 110 mRadius = context.getResources().getDimensionPixelSize(R.dimen.privacy_chip_radius); in PrivacyChipDrawable()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | SeekBarObserver.kt | 32 .getDimensionPixelSize(R.dimen.qs_media_enabled_seekbar_height) 34 .getDimensionPixelSize(R.dimen.qs_media_disabled_seekbar_height) 36 .getDimensionPixelSize(R.dimen.qs_media_enabled_seekbar_vertical_padding) 38 .getDimensionPixelSize(R.dimen.qs_media_disabled_seekbar_vertical_padding)
|
/frameworks/base/core/java/android/view/ |
D | ViewConfiguration.java | 423 mScrollbarSize = res.getDimensionPixelSize( in ViewConfiguration() 474 mTouchSlop = res.getDimensionPixelSize( in ViewConfiguration() 476 mHoverSlop = res.getDimensionPixelSize( in ViewConfiguration() 478 mMinScrollbarTouchTarget = res.getDimensionPixelSize( in ViewConfiguration() 484 mMinimumFlingVelocity = res.getDimensionPixelSize( in ViewConfiguration() 486 mMaximumFlingVelocity = res.getDimensionPixelSize( in ViewConfiguration() 491 mHorizontalScrollFactor = res.getDimensionPixelSize( in ViewConfiguration() 493 mVerticalScrollFactor = res.getDimensionPixelSize( in ViewConfiguration() 499 mMinScalingSpan = res.getDimensionPixelSize( in ViewConfiguration()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardPINView.java | 66 mDisappearYTranslation = getResources().getDimensionPixelSize( in KeyguardPINView() 85 int bottomMargin = mContext.getResources().getDimensionPixelSize( in updateMargins() 92 bottomMargin = mContext.getResources().getDimensionPixelSize( in updateMargins() 97 int ecaTopMargin = mContext.getResources().getDimensionPixelSize( in updateMargins() 99 int ecaBottomMargin = mContext.getResources().getDimensionPixelSize( in updateMargins() 107 lp.height = mContext.getResources().getDimensionPixelSize(R.dimen.keyguard_password_height); in updateMargins()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
D | BaseTooltipView.java | 180 res.getDimensionPixelSize(R.dimen.accessibility_floating_tooltip_arrow_width); in updateDimensions() 182 res.getDimensionPixelSize(R.dimen.accessibility_floating_tooltip_arrow_height); in updateDimensions() 184 res.getDimensionPixelSize( in updateDimensions() 187 res.getDimensionPixelSize( in updateDimensions() 190 res.getDimensionPixelSize(R.dimen.accessibility_floating_tooltip_font_size); in updateDimensions() 192 res.getDimensionPixelSize(R.dimen.accessibility_floating_tooltip_margin); in updateDimensions() 194 res.getDimensionPixelSize(R.dimen.accessibility_floating_tooltip_padding); in updateDimensions() 196 res.getDimensionPixelSize( in updateDimensions()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | ScreenRecordDrawable.java | 64 mHorizontalPadding = r.getDimensionPixelSize(R.dimen.status_bar_horizontal_padding); in inflate() 66 mTextSize = r.getDimensionPixelSize(R.dimen.screenrecord_status_text_size); in inflate() 67 mIconRadius = r.getDimensionPixelSize(R.dimen.screenrecord_status_icon_radius); in inflate() 76 mWidthPx = r.getDimensionPixelSize(R.dimen.screenrecord_status_icon_width); in inflate() 77 mHeightPx = r.getDimensionPixelSize(R.dimen.screenrecord_status_icon_height); in inflate()
|
/frameworks/opt/setupwizard/library/gingerbread/test/robotest/src/com/android/setupwizardlib/util/ |
D | DimensionConsistencyTest.java | 56 res.getDimensionPixelSize(R.dimen.suw_switch_divider_padding_top) in testSwitchPaddingTop() 57 + (res.getDimensionPixelSize(R.dimen.suw_switch_divider_height) / 2), in testSwitchPaddingTop() 58 res.getDimensionPixelSize(R.dimen.suw_switch_padding_top) + (dp2Px(SWTICH_HEIGHT_DP) / 2)); in testSwitchPaddingTop()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | KeyguardClockPositionAlgorithm.java | 156 mStatusViewBottomMargin = res.getDimensionPixelSize( in loadDimens() 160 res.getDimensionPixelSize(R.dimen.keyguard_clock_top_margin) / 2; in loadDimens() 161 mBurnInPreventionOffsetX = res.getDimensionPixelSize( in loadDimens() 163 mBurnInPreventionOffsetY = res.getDimensionPixelSize( in loadDimens() 165 mBurnInPreventionOffsetYLargeClock = res.getDimensionPixelSize( in loadDimens()
|
D | KeyguardStatusBarView.java | 155 lp.width = lp.height = getResources().getDimensionPixelSize( in onConfigurationChanged() 161 lp.setMarginStart(getResources().getDimensionPixelSize( in onConfigurationChanged() 166 getResources().getDimensionPixelSize(R.dimen.system_icons_keyguard_padding_end), in onConfigurationChanged() 171 getResources().getDimensionPixelSize( in onConfigurationChanged() 176 getResources().getDimensionPixelSize(R.dimen.keyguard_carrier_text_margin), in onConfigurationChanged() 188 lp.height = getResources().getDimensionPixelSize( in updateKeyguardStatusBarHeight() 195 mSystemIconsSwitcherHiddenExpandedMargin = res.getDimensionPixelSize( in loadDimens() 197 mSystemIconsBaseMargin = res.getDimensionPixelSize( in loadDimens() 199 mCutoutSideNudge = getResources().getDimensionPixelSize( in loadDimens() 203 mRoundedCornerPadding = res.getDimensionPixelSize( in loadDimens() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/ |
D | DisplayUtils.java | 90 radius = context.getResources().getDimensionPixelSize(resourceId); in getCornerRadiusBottom() 109 radius = context.getResources().getDimensionPixelSize(resourceId); in getCornerRadiusTop() 124 radius = context.getResources().getDimensionPixelSize(resourceId); in getCornerRadiusDefault()
|
/frameworks/base/core/java/android/preference/ |
D | PreferenceFrameLayout.java | 70 mBorderTop = a.getDimensionPixelSize( in PreferenceFrameLayout() 73 mBorderBottom = a.getDimensionPixelSize( in PreferenceFrameLayout() 76 mBorderLeft = a.getDimensionPixelSize( in PreferenceFrameLayout() 79 mBorderRight = a.getDimensionPixelSize( in PreferenceFrameLayout()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | NotificationActionListLayout.java | 300 int paddingTop = getResources().getDimensionPixelSize( in updateHeights() 303 int paddingBottom = getResources().getDimensionPixelSize( in updateHeights() 305 mEmphasizedHeight = paddingBottom + paddingTop + getResources().getDimensionPixelSize( in updateHeights() 307 mRegularHeight = getResources().getDimensionPixelSize( in updateHeights() 334 int paddingTop = getResources().getDimensionPixelSize( in setEmphasizedMode() 337 int paddingBottom = getResources().getDimensionPixelSize( in setEmphasizedMode() 340 int buttonPaddingInternal = getResources().getDimensionPixelSize( in setEmphasizedMode()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | HybridConversationNotificationView.java | 70 .getDimensionPixelSize(R.dimen.conversation_single_line_face_pile_size); in onFinishInflate() 72 .getDimensionPixelSize(R.dimen.conversation_single_line_face_pile_avatar_size); in onFinishInflate() 74 .getDimensionPixelSize(R.dimen.conversation_single_line_avatar_size); in onFinishInflate() 75 mFacePileProtectionWidth = getResources().getDimensionPixelSize( in onFinishInflate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/ |
D | DotIndicatorDecoration.java | 44 context.getResources().getDimensionPixelSize( in DotIndicatorDecoration() 47 context.getResources().getDimensionPixelSize( in DotIndicatorDecoration() 49 mDotMargin = context.getResources().getDimensionPixelSize(R.dimen.card_carousel_dot_margin); in DotIndicatorDecoration() 61 view.getResources().getDimensionPixelSize(R.dimen.card_carousel_dot_offset); in getItemOffsets()
|
/frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/ |
D | AdaptiveOutlineDrawable.java | 83 mStrokeWidth = resources.getDimensionPixelSize(R.dimen.adaptive_outline_stroke); in init() 90 mInsetPx = getDimensionPixelSize(resources, type); in init() 108 private int getDimensionPixelSize(Resources resources, @AdaptiveOutlineIconType int type) { in getDimensionPixelSize() method in AdaptiveOutlineDrawable 119 return resources.getDimensionPixelSize(resId); in getDimensionPixelSize()
|
/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
D | ColorPickerPalette.java | 61 mSwatchLength = res.getDimensionPixelSize(R.dimen.color_swatch_large); in init() 62 mMarginSize = res.getDimensionPixelSize(R.dimen.color_swatch_margins_large); in init() 64 mSwatchLength = res.getDimensionPixelSize(R.dimen.color_swatch_small); in init() 65 mMarginSize = res.getDimensionPixelSize(R.dimen.color_swatch_margins_small); in init()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/ |
D | OngoingPrivacyChip.kt | 90 .getDimensionPixelSize(R.dimen.ongoing_appops_chip_icon_margin) in <lambda>() 92 .getDimensionPixelSize(R.dimen.ongoing_appops_chip_icon_size) in <lambda>() 97 .getDimensionPixelSize(R.dimen.ongoing_appops_chip_side_padding) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/ |
D | MLand.java | 103 OBSTACLE_SPACING = res.getDimensionPixelSize(R.dimen.obstacle_spacing); in Params() 105 BOOST_DV = res.getDimensionPixelSize(R.dimen.boost_dv); in Params() 106 PLAYER_HIT_SIZE = res.getDimensionPixelSize(R.dimen.player_hit_size); in Params() 107 PLAYER_SIZE = res.getDimensionPixelSize(R.dimen.player_size); in Params() 108 OBSTACLE_WIDTH = res.getDimensionPixelSize(R.dimen.obstacle_width); in Params() 109 OBSTACLE_STEM_WIDTH = res.getDimensionPixelSize(R.dimen.obstacle_stem_width); in Params() 110 OBSTACLE_GAP = res.getDimensionPixelSize(R.dimen.obstacle_gap); in Params() 111 OBSTACLE_MIN = res.getDimensionPixelSize(R.dimen.obstacle_height_min); in Params() 112 BUILDING_HEIGHT_MIN = res.getDimensionPixelSize(R.dimen.building_height_min); in Params() 113 BUILDING_WIDTH_MIN = res.getDimensionPixelSize(R.dimen.building_width_min); in Params() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ScreenshotActionChip.java | 107 int paddingHorizontal = mContext.getResources().getDimensionPixelSize( in updatePadding() 109 int spacing = mContext.getResources().getDimensionPixelSize( in updatePadding() 115 int paddingHorizontal = mContext.getResources().getDimensionPixelSize( in updatePadding()
|