Home
last modified time | relevance | path

Searched refs:getDimensionPixelSize (Results 1 – 25 of 547) sorted by relevance

12345678910>>...22

/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/
DGlifDimensionTest.java61 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/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DMenuViewAppearance.java91 mMargin = mRes.getDimensionPixelSize(R.dimen.accessibility_floating_menu_margin); in update()
93 mRes.getDimensionPixelSize(R.dimen.accessibility_floating_menu_small_padding); in update()
95 mRes.getDimensionPixelSize(R.dimen.accessibility_floating_menu_large_padding); in update()
97 mRes.getDimensionPixelSize(R.dimen.accessibility_floating_menu_small_width_height); in update()
99 mRes.getDimensionPixelSize(R.dimen.accessibility_floating_menu_large_width_height); in update()
101 mRes.getDimensionPixelSize(R.dimen.accessibility_floating_menu_small_single_radius); in update()
102 mSmallMultipleRadius = mRes.getDimensionPixelSize( in update()
106 mRes.getDimensionPixelSize(R.dimen.accessibility_floating_menu_large_single_radius); in update()
107 mLargeMultipleRadius = mRes.getDimensionPixelSize( in update()
109 mStrokeWidth = mRes.getDimensionPixelSize(R.dimen.accessibility_floating_menu_stroke_width); in update()
[all …]
DMenuMessageView.java144 res.getDimensionPixelSize( in updateResources()
146 final int margin = res.getDimensionPixelSize( in updateResources()
155 res.getDimensionPixelSize(R.dimen.accessibility_floating_menu_message_min_width)); in updateResources()
157 res.getDimensionPixelSize(R.dimen.accessibility_floating_menu_message_min_height)); in updateResources()
159 res.getDimensionPixelSize(R.dimen.accessibility_floating_menu_message_elevation)); in updateResources()
162 res.getDimensionPixelSize( in updateResources()
165 final int textSize = res.getDimensionPixelSize( in updateResources()
DMenuEduTooltipView.java137 res.getDimensionPixelSize(R.dimen.accessibility_floating_tooltip_arrow_width); in updateResources()
139 res.getDimensionPixelSize(R.dimen.accessibility_floating_tooltip_arrow_height); in updateResources()
141 res.getDimensionPixelSize( in updateResources()
144 res.getDimensionPixelSize( in updateResources()
147 res.getDimensionPixelSize(R.dimen.accessibility_floating_tooltip_font_size); in updateResources()
149 res.getDimensionPixelSize(R.dimen.accessibility_floating_tooltip_margin); in updateResources()
151 res.getDimensionPixelSize(R.dimen.accessibility_floating_tooltip_padding); in updateResources()
153 res.getDimensionPixelSize( in updateResources()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/shadow/
DDoubleShadowTextClock.kt72 attributes.getDimensionPixelSize(R.styleable.DoubleShadowTextClock_keyShadowBlur, 0) in initializeAttributes()
74 attributes.getDimensionPixelSize( in initializeAttributes()
79 attributes.getDimensionPixelSize( in initializeAttributes()
93 attributes.getDimensionPixelSize( in initializeAttributes()
98 attributes.getDimensionPixelSize( in initializeAttributes()
103 attributes.getDimensionPixelSize( in initializeAttributes()
119 attributes.getDimensionPixelSize( in initializeAttributes()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardPreviewSmartspaceViewModel.kt66 context.resources.getDimensionPixelSize( in <lambda>()
81 getDimensionPixelSize(R.dimen.keyguard_split_shade_top_margin) in <lambda>()
83 getDimensionPixelSize(R.dimen.keyguard_clock_top_margin) + in <lambda>()
84 getDimensionPixelSize(R.dimen.status_bar_header_height_keyguard) + in <lambda>()
85 getDimensionPixelSize(R.dimen.keyguard_smartspace_top_offset) in <lambda>()
DKeyguardSmartspaceViewModel.kt94 return context.resources.getDimensionPixelSize(R.dimen.below_clock_padding_start) + in <lambda>()
95 context.resources.getDimensionPixelSize(R.dimen.status_view_margin_horizontal) in <lambda>()
99 return context.resources.getDimensionPixelSize(R.dimen.below_clock_padding_end) + in <lambda>()
100 context.resources.getDimensionPixelSize(R.dimen.status_view_margin_horizontal) in <lambda>()
/frameworks/base/graphics/java/android/graphics/drawable/
DPaintDrawable.java78 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/packages/SystemUI/src/com/android/systemui/media/controls/ui/binder/
DSeekBarObserver.kt52 holder.seekBar.context.resources.getDimensionPixelSize(
56 holder.seekBar.context.resources.getDimensionPixelSize(
60 holder.seekBar.context.resources.getDimensionPixelSize(
64 holder.seekBar.context.resources.getDimensionPixelSize(
73 .getDimensionPixelSize(R.dimen.qs_media_seekbar_progress_wavelength)
77 .getDimensionPixelSize(R.dimen.qs_media_seekbar_progress_amplitude)
81 .getDimensionPixelSize(R.dimen.qs_media_seekbar_progress_phase)
85 .getDimensionPixelSize(R.dimen.qs_media_seekbar_progress_stroke_width)
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubblePositioner.java144 mBubbleSize = res.getDimensionPixelSize(R.dimen.bubble_size); in updateInternal()
145 mSpacingBetweenBubbles = res.getDimensionPixelSize(R.dimen.bubble_spacing); in updateInternal()
147 mExpandedViewPadding = res.getDimensionPixelSize(R.dimen.bubble_expanded_view_padding); in updateInternal()
148 mBubblePaddingTop = res.getDimensionPixelSize(R.dimen.bubble_padding_top); in updateInternal()
149 mBubbleOffscreenAmount = res.getDimensionPixelSize(R.dimen.bubble_stack_offscreen); in updateInternal()
150 mStackOffset = res.getDimensionPixelSize(R.dimen.bubble_stack_offset); in updateInternal()
151 mBubbleElevation = res.getDimensionPixelSize(R.dimen.bubble_elevation); in updateInternal()
155 res.getDimensionPixelSize(R.dimen.bubble_bar_expanded_view_width), in updateInternal()
163 res.getDimensionPixelSize(R.dimen.bubble_expanded_view_largescreen_width); in updateInternal()
171 mExpandedViewLargeScreenInsetClosestEdge = res.getDimensionPixelSize( in updateInternal()
[all …]
/frameworks/libs/systemui/toruslib/torus-wallpaper-settings/src/main/java/com/google/android/torus/settings/inlinecontrol/
DColorChipsRowBuilder.kt67 val iconHeight = res.getDimensionPixelSize(R.dimen.slice_icon_height) in create()
68 val iconWidth = res.getDimensionPixelSize(R.dimen.slice_icon_width) in create()
153 val iconHeight = res.getDimensionPixelSize(R.dimen.slice_icon_height) in makeColorOption()
154 val iconWidth = res.getDimensionPixelSize(R.dimen.slice_icon_width) in makeColorOption()
155 val colorChipHeight = res.getDimensionPixelSize(R.dimen.color_chips_height) in makeColorOption()
156 val colorChipPenWidth = res.getDimensionPixelSize(R.dimen.color_chips_pen_width) in makeColorOption()
157 val iconOnSize = res.getDimensionPixelSize(R.dimen.torus_slice_vector_icon_on_size) in makeColorOption()
159 res.getDimensionPixelSize(R.dimen.torus_slice_vector_icon_off_size) in makeColorOption()
161 res.getDimensionPixelSize(R.dimen.torus_slice_vector_icon_on_size) in makeColorOption()
/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/dagger/
DComplicationHostViewModule.java72 return resources.getDimensionPixelSize(R.dimen.dream_overlay_complication_margin); in providesComplicationPadding()
78 return resources.getDimensionPixelSize(R.dimen.dream_overlay_container_padding_start); in providesComplicationMarginPositionStart()
84 return resources.getDimensionPixelSize(R.dimen.dream_overlay_container_padding_top); in providesComplicationMarginPositionTop()
90 return resources.getDimensionPixelSize(R.dimen.dream_overlay_container_padding_end); in providesComplicationMarginPositionEnd()
96 return resources.getDimensionPixelSize(R.dimen.dream_overlay_container_padding_bottom); in providesComplicationMarginPositionBottom()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/backlight/ui/view/
DKeyboardBacklightDialog.kt127 getDimensionPixelSize(R.dimen.backlight_indicator_root_corner_radius) in <lambda>()
130 getDimensionPixelSize(R.dimen.backlight_indicator_root_vertical_padding), in <lambda>()
132 getDimensionPixelSize(R.dimen.backlight_indicator_root_horizontal_padding) in <lambda>()
136 width = getDimensionPixelSize(R.dimen.backlight_indicator_icon_width), in <lambda>()
137 height = getDimensionPixelSize(R.dimen.backlight_indicator_icon_height), in <lambda>()
138 padding = getDimensionPixelSize(R.dimen.backlight_indicator_icon_padding), in <lambda>()
142 width = getDimensionPixelSize(R.dimen.backlight_indicator_step_width), in <lambda>()
143 height = getDimensionPixelSize(R.dimen.backlight_indicator_step_height), in <lambda>()
145 getDimensionPixelSize(R.dimen.backlight_indicator_step_horizontal_margin), in <lambda>()
147 getDimensionPixelSize(R.dimen.backlight_indicator_step_small_radius) in <lambda>()
[all …]
/frameworks/base/core/java/android/view/
DViewConfiguration.java469 mScrollbarSize = res.getDimensionPixelSize( in ViewConfiguration()
519 mTouchSlop = res.getDimensionPixelSize( in ViewConfiguration()
521 mHandwritingSlop = res.getDimensionPixelSize( in ViewConfiguration()
523 mHoverSlop = res.getDimensionPixelSize( in ViewConfiguration()
525 mMinScrollbarTouchTarget = res.getDimensionPixelSize( in ViewConfiguration()
531 mHandwritingGestureLineMargin = res.getDimensionPixelSize( in ViewConfiguration()
534 mMinimumFlingVelocity = res.getDimensionPixelSize( in ViewConfiguration()
536 mMaximumFlingVelocity = res.getDimensionPixelSize( in ViewConfiguration()
539 int configMinRotaryEncoderFlingVelocity = res.getDimensionPixelSize( in ViewConfiguration()
541 int configMaxRotaryEncoderFlingVelocity = res.getDimensionPixelSize( in ViewConfiguration()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/assist/ui/
DDisplayUtilsTest.java59 when(mResources.getDimensionPixelSize(R.dimen.config_rounded_mask_size)).thenReturn(100); in testGetCornerRadii_onlyDefaultOverridden()
68 when(mResources.getDimensionPixelSize(R.dimen.config_rounded_mask_size)).thenReturn(100); in testGetCornerRadii_allOverridden()
69 when(mResources.getDimensionPixelSize(R.dimen.config_rounded_mask_size_top)).thenReturn( in testGetCornerRadii_allOverridden()
71 when(mResources.getDimensionPixelSize(R.dimen.config_rounded_mask_size_bottom)).thenReturn( in testGetCornerRadii_allOverridden()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DNotificationsQSContainerController.kt162 resources.getDimensionPixelSize(R.dimen.notification_panel_margin_bottom) in <lambda>()
166 resources.getDimensionPixelSize(R.dimen.notification_panel_margin_horizontal) in <lambda>()
171 resources.getDimensionPixelSize(R.dimen.notification_panel_margin_top) in <lambda>()
177 resources.getDimensionPixelSize( in <lambda>()
183 resources.getDimensionPixelSize(R.dimen.qs_footer_action_inset) + in <lambda>()
184 resources.getDimensionPixelSize(R.dimen.qs_footer_actions_bottom_padding) in <lambda>()
197 resources.getDimensionPixelSize(R.dimen.large_screen_shade_header_height) in <lambda>()
202 val minHeight = resources.getDimensionPixelSize(R.dimen.qs_header_height) in <lambda>()
209 2 * resources.getDimensionPixelSize(R.dimen.large_screen_shade_header_min_height) + in <lambda>()
210 resources.getDimensionPixelSize(R.dimen.new_qs_header_non_clickable_element_height) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/domain/interactor/
DSharedNotificationContainerInteractor.kt73 getDimensionPixelSize(R.dimen.notification_panel_margin_horizontal), in <lambda>()
75 getDimensionPixelSize(R.dimen.notification_panel_margin_bottom), in <lambda>()
76 marginTop = getDimensionPixelSize(R.dimen.notification_panel_margin_top), in <lambda>()
81 getDimensionPixelSize(R.dimen.large_screen_shade_header_height) in <lambda>()
84 getDimensionPixelSize(R.dimen.keyguard_split_shade_top_margin), in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardStatusBarView.java155 lp.width = lp.height = getResources().getDimensionPixelSize( in onConfigurationChanged()
165 getResources().getDimensionPixelSize(R.dimen.status_bar_padding_top), in onConfigurationChanged()
174 getResources().getDimensionPixelSize(R.dimen.signal_cluster_battery_padding), in onConfigurationChanged()
179 getResources().getDimensionPixelSize(R.dimen.status_bar_icons_padding_start), in onConfigurationChanged()
180 getResources().getDimensionPixelSize(R.dimen.status_bar_icons_padding_top), in onConfigurationChanged()
181 getResources().getDimensionPixelSize(R.dimen.status_bar_icons_padding_end), in onConfigurationChanged()
182 getResources().getDimensionPixelSize(R.dimen.status_bar_icons_padding_bottom) in onConfigurationChanged()
187 getResources().getDimensionPixelSize( in onConfigurationChanged()
192 getResources().getDimensionPixelSize(R.dimen.keyguard_carrier_text_margin), in onConfigurationChanged()
212 mSystemIconsSwitcherHiddenExpandedMargin = res.getDimensionPixelSize( in loadDimens()
[all …]
DPhoneStatusBarView.java230 mCutoutSideNudge = getResources().getDimensionPixelSize( in updateResources()
251 getResources().getDimensionPixelSize(R.dimen.status_bar_system_icons_height); in updateSystemIconsContainerHeight()
259 int statusBarPaddingStart = getResources().getDimensionPixelSize( in updatePaddings()
264 getResources().getDimensionPixelSize(R.dimen.status_bar_padding_top), in updatePaddings()
265 getResources().getDimensionPixelSize(R.dimen.status_bar_padding_end), in updatePaddings()
272 getResources().getDimensionPixelSize(R.dimen.status_bar_icons_padding_start), in updatePaddings()
273 getResources().getDimensionPixelSize(R.dimen.status_bar_icons_padding_top), in updatePaddings()
274 getResources().getDimensionPixelSize(R.dimen.status_bar_icons_padding_end), in updatePaddings()
275 getResources().getDimensionPixelSize(R.dimen.status_bar_icons_padding_bottom) in updatePaddings()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DScreenRecordDrawable.java64 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/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/sections/
DAodNotificationIconsSection.kt73 resources.getDimensionPixelSize(R.dimen.below_clock_padding_start_icons), in addViews()
111 context.resources.getDimensionPixelSize(R.dimen.keyguard_status_view_bottom_margin) in applyConstraints()
123 context.resources.getDimensionPixelSize(R.dimen.status_view_margin_horizontal) in applyConstraints()
130 context.resources.getDimensionPixelSize(R.dimen.status_view_margin_horizontal) in applyConstraints()
134 context.resources.getDimensionPixelSize(R.dimen.notification_shelf_height) in applyConstraints()
/frameworks/opt/setupwizard/library/gingerbread/test/robotest/src/com/android/setupwizardlib/util/
DDimensionConsistencyTest.java56 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/libs/WindowManager/Shell/src/com/android/wm/shell/common/bubbles/
DDismissView.kt117 resources.getDimensionPixelSize(config.floatingGradientHeightResId), in setup()
128 val targetSize: Int = resources.getDimensionPixelSize(config.targetSizeResId) in setup()
132 circle.translationY = resources.getDimensionPixelSize(config.floatingGradientHeightResId) in setup()
188 layoutParams.height = resources.getDimensionPixelSize(config.floatingGradientHeightResId) in updateResources()
189 val targetSize = resources.getDimensionPixelSize(config.targetSizeResId) in updateResources()
216 resources.getDimensionPixelSize(config.bottomMarginResId)) in updatePadding()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/
DDisplayLayoutTest.java137 doReturn(navLand).when(res).getDimensionPixelSize( in createResources()
139 doReturn(navPort).when(res).getDimensionPixelSize(R.dimen.navigation_bar_height_car_mode); in createResources()
140 doReturn(navLand).when(res).getDimensionPixelSize(R.dimen.navigation_bar_width_car_mode); in createResources()
141 doReturn(navLand).when(res).getDimensionPixelSize(R.dimen.navigation_bar_height_landscape); in createResources()
142 doReturn(navPort).when(res).getDimensionPixelSize(R.dimen.navigation_bar_height); in createResources()
143 doReturn(navLand).when(res).getDimensionPixelSize(R.dimen.navigation_bar_width); in createResources()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSFooterView.java116 lp.height = getResources().getDimensionPixelSize(R.dimen.qs_footer_height); in updateResources()
117 int sideMargin = getResources().getDimensionPixelSize(R.dimen.qs_footer_margin); in updateResources()
120 lp.bottomMargin = getResources().getDimensionPixelSize(R.dimen.qs_footers_margin_bottom); in updateResources()
125 int size = getResources().getDimensionPixelSize(R.dimen.qs_footer_action_button_size); in updateEditButtonResources()
126 int padding = getResources().getDimensionPixelSize(R.dimen.qs_footer_icon_padding); in updateEditButtonResources()

12345678910>>...22