Home
last modified time | relevance | path

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

12345678910>>...15

/packages/apps/Gallery2/src/com/android/gallery3d/app/
DConfig.java51 slotViewSpec.slotGap = r.getDimensionPixelSize(R.dimen.albumset_slot_gap); in AlbumSetPage()
54 paddingTop = r.getDimensionPixelSize(R.dimen.albumset_padding_top); in AlbumSetPage()
55 paddingBottom = r.getDimensionPixelSize(R.dimen.albumset_padding_bottom); in AlbumSetPage()
58 labelSpec.labelBackgroundHeight = r.getDimensionPixelSize( in AlbumSetPage()
60 labelSpec.titleOffset = r.getDimensionPixelSize( in AlbumSetPage()
62 labelSpec.countOffset = r.getDimensionPixelSize( in AlbumSetPage()
64 labelSpec.titleFontSize = r.getDimensionPixelSize( in AlbumSetPage()
66 labelSpec.countFontSize = r.getDimensionPixelSize( in AlbumSetPage()
68 labelSpec.leftMargin = r.getDimensionPixelSize( in AlbumSetPage()
70 labelSpec.titleRightMargin = r.getDimensionPixelSize( in AlbumSetPage()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DDeviceProfile.java257 taskbarSize = res.getDimensionPixelSize(R.dimen.taskbar_size); in DeviceProfile()
271 edgeMarginPx = res.getDimensionPixelSize(R.dimen.dynamic_grid_edge_margin); in DeviceProfile()
274 ? res.getDimensionPixelSize(R.dimen.scalable_grid_left_right_margin) in DeviceProfile()
275 : res.getDimensionPixelSize(R.dimen.dynamic_grid_left_right_margin); in DeviceProfile()
279 allAppsOpenVerticalTranslate = res.getDimensionPixelSize( in DeviceProfile()
284 res.getDimensionPixelSize(R.dimen.folder_content_padding_left_right); in DeviceProfile()
285 folderContentPaddingTop = res.getDimensionPixelSize(R.dimen.folder_content_padding_top); in DeviceProfile()
295 : res.getDimensionPixelSize(R.dimen.dynamic_grid_cell_layout_padding); in DeviceProfile()
299 res.getDimensionPixelSize(R.dimen.two_panel_home_side_padding); in DeviceProfile()
309 workspacePageIndicatorHeight = res.getDimensionPixelSize( in DeviceProfile()
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DSizeCalculator.java169 res.getDimensionPixelSize(R.dimen.grid_item_category_padding_horizontal), in getCategoryTileSize()
170 res.getDimensionPixelSize(R.dimen.category_grid_edge_space)); in getCategoryTileSize()
182 res.getDimensionPixelSize(R.dimen.grid_item_category_padding_horizontal), in getFeaturedCategoryTileSize()
183 res.getDimensionPixelSize(R.dimen.category_grid_edge_space)); in getFeaturedCategoryTileSize()
195 res.getDimensionPixelSize(R.dimen.grid_item_individual_padding_horizontal), in getIndividualTileSize()
196 res.getDimensionPixelSize(R.dimen.wallpaper_grid_edge_space)); in getIndividualTileSize()
208 res.getDimensionPixelSize(R.dimen.grid_item_featured_individual_padding_horizontal), in getFeaturedIndividualTileSize()
209 res.getDimensionPixelSize(R.dimen.featured_wallpaper_grid_edge_space)); in getFeaturedIndividualTileSize()
254 gridPaddingPx = res.getDimensionPixelSize(R.dimen.grid_padding); in getTileSize()
256 gridPaddingPx = res.getDimensionPixelSize(R.dimen.grid_padding_desktop); in getTileSize()
[all …]
/packages/apps/Contacts/src/com/android/contacts/widget/
DInterpolatingLayout.java85 narrowParentWidth = a.getDimensionPixelSize( in LayoutParams()
87 narrowWidth = a.getDimensionPixelSize( in LayoutParams()
89 narrowMarginLeft = a.getDimensionPixelSize( in LayoutParams()
91 narrowPaddingLeft = a.getDimensionPixelSize( in LayoutParams()
93 narrowMarginRight = a.getDimensionPixelSize( in LayoutParams()
95 narrowPaddingRight = a.getDimensionPixelSize( in LayoutParams()
97 wideParentWidth = a.getDimensionPixelSize( in LayoutParams()
99 wideWidth = a.getDimensionPixelSize( in LayoutParams()
101 wideMarginLeft = a.getDimensionPixelSize( in LayoutParams()
103 widePaddingLeft = a.getDimensionPixelSize( in LayoutParams()
[all …]
/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/main/java/com/android/car/ui/
DFocusArea.java346 int paddingStart = a.getDimensionPixelSize( in initAttrs()
349 paddingStart = a.getDimensionPixelSize( in initAttrs()
353 int paddingEnd = a.getDimensionPixelSize( in initAttrs()
356 paddingEnd = a.getDimensionPixelSize( in initAttrs()
364 mPaddingTop = a.getDimensionPixelSize( in initAttrs()
367 mPaddingTop = a.getDimensionPixelSize( in initAttrs()
371 mPaddingBottom = a.getDimensionPixelSize( in initAttrs()
374 mPaddingBottom = a.getDimensionPixelSize( in initAttrs()
384 int startOffset = a.getDimensionPixelSize( in initAttrs()
387 startOffset = a.getDimensionPixelSize( in initAttrs()
[all …]
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/appstyledview/
DAppStyledViewControllerImpl.java73 int maxWidth = mContext.getResources().getDimensionPixelSize( in getDialogWindowLayoutParam()
75 int maxHeight = mContext.getResources().getDimensionPixelSize( in getDialogWindowLayoutParam()
86 int width = mContext.getResources().getDimensionPixelSize( in getDialogWindowLayoutParam()
88 int height = mContext.getResources().getDimensionPixelSize( in getDialogWindowLayoutParam()
94 int posX = mContext.getResources().getDimensionPixelSize( in getDialogWindowLayoutParam()
96 int posY = mContext.getResources().getDimensionPixelSize( in getDialogWindowLayoutParam()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DSnackbar.java69 int padding = res.getDimensionPixelSize(R.dimen.snackbar_padding); in show()
79 params.height = res.getDimensionPixelSize(R.dimen.snackbar_height); in show()
80 int maxMarginLeftRight = res.getDimensionPixelSize(R.dimen.snackbar_max_margin_left_right); in show()
81 int minMarginLeftRight = res.getDimensionPixelSize(R.dimen.snackbar_min_margin_left_right); in show()
82 int marginBottom = res.getDimensionPixelSize(R.dimen.snackbar_margin_bottom); in show()
105 int textHeight = res.getDimensionPixelSize(R.dimen.snackbar_content_height); in show()
DDoubleShadowBubbleTextView.java96 ambientShadowBlur = a.getDimensionPixelSize( in ShadowInfo()
100 keyShadowBlur = a.getDimensionPixelSize(R.styleable.ShadowInfo_keyShadowBlur, 0); in ShadowInfo()
101 keyShadowOffsetX = a.getDimensionPixelSize(R.styleable.ShadowInfo_keyShadowOffsetX, 0); in ShadowInfo()
102 keyShadowOffsetY = a.getDimensionPixelSize(R.styleable.ShadowInfo_keyShadowOffsetY, 0); in ShadowInfo()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DNavigationViewManager.java116 final int radius = resources.getDimensionPixelSize(R.dimen.search_bar_radius); in NavigationViewManager()
118 resources.getDimensionPixelSize(R.dimen.search_bar_background_margin_start); in NavigationViewManager()
120 resources.getDimensionPixelSize(R.dimen.search_bar_background_margin_end); in NavigationViewManager()
266 int searchBarMargin = mToolbar.getResources().getDimensionPixelSize( in updateToolbar()
272 mToolbar.getResources().getDimensionPixelSize(R.dimen.search_bar_elevation)); in updateToolbar()
277 int actionBarMargin = mToolbar.getResources().getDimensionPixelSize( in updateToolbar()
282 mToolbar.getResources().getDimensionPixelSize(R.dimen.action_bar_elevation)); in updateToolbar()
DDragShadowBuilder.java44 mWidth = context.getResources().getDimensionPixelSize(R.dimen.drag_shadow_width); in DragShadowBuilder()
45 mHeight = context.getResources().getDimensionPixelSize(R.dimen.drag_shadow_height); in DragShadowBuilder()
46 mShadowRadius = context.getResources().getDimensionPixelSize(R.dimen.drag_shadow_radius); in DragShadowBuilder()
47 mPadding = context.getResources().getDimensionPixelSize(R.dimen.drag_shadow_padding); in DragShadowBuilder()
DDropBadgeView.java43 .getDimensionPixelSize(R.dimen.drop_icon_height); in DropBadgeView()
45 .getDimensionPixelSize(R.dimen.drop_icon_width); in DropBadgeView()
46 final int iconSize = context.getResources().getDimensionPixelSize(R.dimen.root_icon_size); in DropBadgeView()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/appprediction/
DAppsDividerView.java93 getResources().getDimensionPixelSize(R.dimen.all_apps_divider_width), in AppsDividerView()
94 getResources().getDimensionPixelSize(R.dimen.all_apps_divider_height) in AppsDividerView()
160 .getDimensionPixelSize(R.dimen.all_apps_prediction_row_divider_height); in updateDividerType()
165 .getDimensionPixelSize(R.dimen.all_apps_label_top_padding); in updateDividerType()
167 .getDimensionPixelSize(R.dimen.all_apps_label_bottom_padding); in updateDividerType()
214 getResources().getDimensionPixelSize(R.dimen.all_apps_label_text_size)); in getAllAppsLabelLayout()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DBaseActivityInterface.java216 int verticalMargin = res.getDimensionPixelSize( in calculateTaskSize()
236 proactiveRowAndMargin = res.getDimensionPixelSize( in calculateTaskSize()
238 + res.getDimensionPixelSize(R.dimen.overview_proactive_row_bottom_margin); in calculateTaskSize()
243 res.getDimensionPixelSize(R.dimen.overview_minimum_next_prev_size) + taskMargin, in calculateTaskSize()
304 int topMargin = res.getDimensionPixelSize(R.dimen.overview_grid_top_margin); in calculateGridSize()
305 int bottomMargin = res.getDimensionPixelSize(R.dimen.overview_grid_bottom_margin); in calculateGridSize()
306 int sideMargin = res.getDimensionPixelSize(R.dimen.overview_grid_side_margin); in calculateGridSize()
323 int rowSpacing = res.getDimensionPixelSize(R.dimen.overview_grid_row_spacing); in calculateGridTaskSize()
355 + res.getDimensionPixelSize(R.dimen.overview_actions_height); in getOverviewActionsHeight()
/packages/apps/Car/Hvac/src/com/android/car/hvac/
DHvacUiService.java94 mPanelCollapsedHeight = res.getDimensionPixelSize(R.dimen.car_hvac_panel_collapsed_height); in onCreate()
96 = res.getDimensionPixelSize(R.dimen.car_hvac_panel_full_expanded_height); in onCreate()
98 mTemperatureSideMargin = res.getDimensionPixelSize(R.dimen.temperature_side_margin); in onCreate()
100 res.getDimensionPixelSize(R.dimen.temperature_bar_width_expanded); in onCreate()
102 = res.getDimensionPixelSize(R.dimen.car_hvac_panel_full_expanded_height); in onCreate()
113 res.getDimensionPixelSize(identifier) : 0; in onCreate()
/packages/apps/TV/src/com/android/tv/menu/
DBaseCardView.java83 mCardCornerRadius = getResources().getDimensionPixelSize(R.dimen.channel_card_round_radius); in BaseCardView()
92 mCardImageWidth = getResources().getDimensionPixelSize(R.dimen.card_image_layout_width); in BaseCardView()
93 mCardHeight = getResources().getDimensionPixelSize(R.dimen.card_layout_height); in BaseCardView()
95 getResources().getDimensionPixelSize(R.dimen.card_layout_height_extended); in BaseCardView()
96 mTextViewHeight = getResources().getDimensionPixelSize(R.dimen.card_meta_layout_height); in BaseCardView()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DUsageGraphTest.java50 doReturn(5).when(resources).getDimensionPixelSize(R.dimen.usage_graph_line_corner_radius); in setUp()
51 doReturn(1).when(resources).getDimensionPixelSize(R.dimen.usage_graph_line_width); in setUp()
52 doReturn(1).when(resources).getDimensionPixelSize(R.dimen.usage_graph_dot_size); in setUp()
53 doReturn(1).when(resources).getDimensionPixelSize(R.dimen.usage_graph_dot_interval); in setUp()
54 doReturn(1).when(resources).getDimensionPixelSize(R.dimen.usage_graph_divider_size); in setUp()
/packages/apps/TV/src/com/android/tv/dvr/ui/list/
DScheduleRowPresenter.java150 res.getDimensionPixelSize(R.dimen.dvr_schedules_item_section_margin) in ScheduleRowViewHolder()
151 - res.getDimensionPixelSize( in ScheduleRowViewHolder()
154 res.getDimensionPixelSize(R.dimen.dvr_schedules_item_focus_width_delta); in ScheduleRowViewHolder()
155 mRoundRectRadius = res.getDimensionPixelSize(R.dimen.dvr_schedules_selector_radius); in ScheduleRowViewHolder()
157 res.getDimensionPixelSize(R.dimen.dvr_schedules_item_width) in ScheduleRowViewHolder()
158 - 2 * res.getDimensionPixelSize(R.dimen.dvr_schedules_layout_padding); in ScheduleRowViewHolder()
162 - res.getDimensionPixelSize(R.dimen.dvr_schedules_item_section_margin) in ScheduleRowViewHolder()
163 - res.getDimensionPixelSize(R.dimen.dvr_schedules_item_delete_width) in ScheduleRowViewHolder()
168 - res.getDimensionPixelSize(R.dimen.dvr_schedules_item_section_margin) in ScheduleRowViewHolder()
169 - res.getDimensionPixelSize(R.dimen.dvr_schedules_item_icon_size); in ScheduleRowViewHolder()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactListPinnedHeaderView.java44 int textOffsetTop = a.getDimensionPixelSize( in ContactListPinnedHeaderView()
46 int paddingStartOffset = a.getDimensionPixelSize( in ContactListPinnedHeaderView()
48 int textWidth = getResources().getDimensionPixelSize( in ContactListPinnedHeaderView()
/packages/apps/TV/src/com/android/tv/recommendation/
DNotificationService.java136 getResources().getDimensionPixelSize(R.dimen.notif_card_img_max_width); in onCreate()
138 getResources().getDimensionPixelSize(R.dimen.notif_card_img_height); in onCreate()
139 mCardImageHeight = getResources().getDimensionPixelSize(R.dimen.notif_card_img_height); in onCreate()
140 mCardImageMaxWidth = getResources().getDimensionPixelSize(R.dimen.notif_card_img_max_width); in onCreate()
141 mCardImageMinWidth = getResources().getDimensionPixelSize(R.dimen.notif_card_img_min_width); in onCreate()
143 getResources().getDimensionPixelSize(R.dimen.notif_ch_logo_max_width); in onCreate()
145 getResources().getDimensionPixelSize(R.dimen.notif_ch_logo_max_height); in onCreate()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DDetailsContentPresenter.java172 .getDimensionPixelSize(R.dimen.lb_details_description_title_baseline); in ViewHolder()
178 .getDimensionPixelSize( in ViewHolder()
182 .getDimensionPixelSize( in ViewHolder()
187 .getDimensionPixelSize( in ViewHolder()
191 .getDimensionPixelSize( in ViewHolder()
/packages/apps/Settings/src/com/android/settings/widget/
DUsageGraph.java87 mCornerRadius = resources.getDimensionPixelSize(R.dimen.usage_graph_line_corner_radius); in UsageGraph()
89 mLinePaint.setStrokeWidth(resources.getDimensionPixelSize(R.dimen.usage_graph_line_width)); in UsageGraph()
96 float dots = resources.getDimensionPixelSize(R.dimen.usage_graph_dot_size); in UsageGraph()
97 float interval = resources.getDimensionPixelSize(R.dimen.usage_graph_dot_interval); in UsageGraph()
106 mDividerSize = resources.getDimensionPixelSize(R.dimen.usage_graph_divider_size); in UsageGraph()
/packages/apps/TV/src/com/android/tv/search/
DProgramGuideSearchFragment.java65 res.getDimensionPixelSize(R.dimen.card_image_layout_width),
66 res.getDimensionPixelSize(R.dimen.card_image_layout_height));
164 mMainCardWidth = res.getDimensionPixelSize(R.dimen.card_image_layout_width);
165 mMainCardHeight = res.getDimensionPixelSize(R.dimen.card_image_layout_height);
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DArrowPopup.java155 mMargin = resources.getDimensionPixelSize(R.dimen.popup_margin); in ArrowPopup()
156 mArrowWidth = resources.getDimensionPixelSize(R.dimen.popup_arrow_width); in ArrowPopup()
157 mArrowHeight = resources.getDimensionPixelSize(R.dimen.popup_arrow_height); in ArrowPopup()
160 mArrowOffsetVertical = resources.getDimensionPixelSize(R.dimen.popup_arrow_vertical_offset); in ArrowPopup()
161 mArrowOffsetHorizontal = resources.getDimensionPixelSize( in ArrowPopup()
163 mArrowPointRadius = resources.getDimensionPixelSize(R.dimen.popup_arrow_corner_radius); in ArrowPopup()
165 int smallerRadius = resources.getDimensionPixelSize(R.dimen.popup_smaller_radius); in ArrowPopup()
558 + getResources().getDimensionPixelSize(R.dimen.popup_vertical_padding); in orientAboutObject()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DExpandingEntryCardView.java310 .getDimensionPixelSize(R.dimen.divider_line_height); in ExpandingEntryCardView()
449 getResources().getDimensionPixelSize( in formatEntryIfFirst()
451 getResources().getDimensionPixelSize( in formatEntryIfFirst()
468 int marginStart = res.getDimensionPixelSize( in generateSeparator()
473 res.getDimensionPixelSize(R.dimen.expanding_entry_card_item_icon_width) + in generateSeparator()
474 res.getDimensionPixelSize(R.dimen.expanding_entry_card_item_image_spacing); in generateSeparator()
708 getResources().getDimensionPixelSize( in createEntryView()
912 getResources().getDimensionPixelSize( in setTitle()
919 getResources().getDimensionPixelSize( in setTitle()
921 getResources().getDimensionPixelSize( in setTitle()
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
DDeepShortcutTextView.java58 mDragHandleWidth = resources.getDimensionPixelSize(R.dimen.popup_padding_end) in DeepShortcutTextView()
59 + resources.getDimensionPixelSize(R.dimen.deep_shortcut_drag_handle_size) in DeepShortcutTextView()
60 + resources.getDimensionPixelSize(R.dimen.deep_shortcut_drawable_padding) / 2; in DeepShortcutTextView()

12345678910>>...15