/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | Config.java | 51 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/ |
D | DeviceProfile.java | 179 edgeMarginPx = res.getDimensionPixelSize(R.dimen.dynamic_grid_edge_margin); in DeviceProfile() 184 int cellLayoutPadding = res.getDimensionPixelSize(R.dimen.dynamic_grid_cell_layout_padding); in DeviceProfile() 193 verticalDragHandleSizePx = res.getDimensionPixelSize( in DeviceProfile() 196 res.getDimensionPixelSize(R.dimen.vertical_drag_handle_overlap_workspace); in DeviceProfile() 199 res.getDimensionPixelSize(R.dimen.dynamic_grid_icon_drawable_padding); in DeviceProfile() 200 dropTargetBarSizePx = res.getDimensionPixelSize(R.dimen.dynamic_grid_drop_target_size); in DeviceProfile() 202 res.getDimensionPixelSize(R.dimen.dynamic_grid_min_spring_loaded_space); in DeviceProfile() 204 workspaceCellPaddingXPx = res.getDimensionPixelSize(R.dimen.dynamic_grid_cell_padding_x); in DeviceProfile() 207 res.getDimensionPixelSize(R.dimen.dynamic_grid_hotseat_top_padding); in DeviceProfile() 209 : res.getDimensionPixelSize(R.dimen.dynamic_grid_hotseat_bottom_non_tall_padding)) in DeviceProfile() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | InterpolatingLayout.java | 85 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/Launcher3/src/com/android/launcher3/popup/ |
D | ArrowPopup.java | 99 final int arrowWidth = resources.getDimensionPixelSize(R.dimen.popup_arrow_width); in ArrowPopup() 100 final int arrowHeight = resources.getDimensionPixelSize(R.dimen.popup_arrow_height); in ArrowPopup() 103 mArrowOffset = resources.getDimensionPixelSize(R.dimen.popup_arrow_vertical_offset); in ArrowPopup() 172 final int arrowCenterOffset = res.getDimensionPixelSize(isAlignedWithStart() in reorderAndShow() 175 final int halfArrowWidth = res.getDimensionPixelSize(R.dimen.popup_arrow_width) / 2; in reorderAndShow() 194 int radius = getResources().getDimensionPixelSize(R.dimen.popup_arrow_corner_radius); in reorderAndShow() 237 + getResources().getDimensionPixelSize(R.dimen.popup_vertical_padding); in orientAboutObject() 262 … int shortcutIconWidth = resources.getDimensionPixelSize(R.dimen.deep_shortcut_icon_size); in orientAboutObject() 263 int shortcutPaddingStart = resources.getDimensionPixelSize( in orientAboutObject() 268 int shortcutDragHandleWidth = resources.getDimensionPixelSize( in orientAboutObject() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | Snackbar.java | 69 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()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/ |
D | AppsDividerView.java | 92 … mPaint.setStrokeWidth(getResources().getDimensionPixelSize(R.dimen.all_apps_divider_height)); in AppsDividerView() 157 .getDimensionPixelSize(R.dimen.all_apps_prediction_row_divider_height); in updateDividerType() 162 .getDimensionPixelSize(R.dimen.all_apps_label_top_padding); in updateDividerType() 164 .getDimensionPixelSize(R.dimen.all_apps_label_bottom_padding); in updateDividerType() 191 int side = getResources().getDimensionPixelSize(R.dimen.dynamic_grid_edge_margin); in onDraw() 211 getResources().getDimensionPixelSize(R.dimen.all_apps_label_text_size)); in getAllAppsLabelLayout()
|
/packages/apps/Car/Hvac/src/com/android/car/hvac/ |
D | HvacUiService.java | 94 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/ |
D | BaseCardView.java | 83 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/ |
D | UsageGraphTest.java | 50 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/Launcher3/src/com/android/launcher3/notification/ |
D | NotificationFooterLayout.java | 80 int iconSize = res.getDimensionPixelSize(R.dimen.notification_footer_icon_size); in NotificationFooterLayout() 85 int paddingEnd = res.getDimensionPixelSize(R.dimen.notification_footer_icon_row_padding); in NotificationFooterLayout() 86 int ellipsisSpace = res.getDimensionPixelSize(R.dimen.horizontal_ellipsis_offset) in NotificationFooterLayout() 87 + res.getDimensionPixelSize(R.dimen.horizontal_ellipsis_size); in NotificationFooterLayout() 88 int footerWidth = res.getDimensionPixelSize(R.dimen.bg_popup_item_width); in NotificationFooterLayout()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
D | ScheduleRowPresenter.java | 150 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/DocumentsUI/src/com/android/documentsui/ |
D | DragShadowBuilder.java | 44 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()
|
D | DropBadgeView.java | 43 .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/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | TileSizeCalculator.java | 165 gridPaddingPx = res.getDimensionPixelSize(R.dimen.grid_padding); in getTileSize() 167 gridPaddingPx = res.getDimensionPixelSize(R.dimen.grid_padding_desktop); in getTileSize() 178 * res.getDimensionPixelSize(R.dimen.grid_tile_aspect_height) in getTileSize() 179 / res.getDimensionPixelSize(R.dimen.grid_tile_aspect_width)); in getTileSize()
|
/packages/apps/TV/src/com/android/tv/recommendation/ |
D | NotificationService.java | 136 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/Contacts/src/com/android/contacts/quickcontact/ |
D | ExpandingEntryCardView.java | 310 .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/Contacts/src/com/android/contacts/list/ |
D | ContactListPinnedHeaderView.java | 44 int textOffsetTop = a.getDimensionPixelSize( in ContactListPinnedHeaderView() 46 int paddingStartOffset = a.getDimensionPixelSize( in ContactListPinnedHeaderView() 48 int textWidth = getResources().getDimensionPixelSize( in ContactListPinnedHeaderView()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | UsageGraph.java | 87 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/Settings/src/com/android/settings/widget/ |
D | UsageGraph.java | 87 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/dvr/ui/browse/ |
D | DetailsContentPresenter.java | 172 .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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/ |
D | ToggleScreenMagnificationPreferenceFragment.java | 59 final int backgroundAssetWidth = res.getDimensionPixelSize( in onBindViewHolder() 62 .getDimensionPixelSize(R.dimen.screen_magnification_video_width); in onBindViewHolder() 64 .getDimensionPixelSize(R.dimen.screen_magnification_video_height); in onBindViewHolder() 65 final int videoAssetMarginTop = res.getDimensionPixelSize( in onBindViewHolder()
|
/packages/apps/TV/src/com/android/tv/search/ |
D | ProgramGuideSearchFragment.java | 65 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/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/ |
D | PieRenderer.java | 153 mRadius = (int) res.getDimensionPixelSize(R.dimen.pie_radius_start); in init() 154 mCircleSize = mRadius - res.getDimensionPixelSize(R.dimen.focus_radius_offset); in init() 155 mRadiusInc = (int) res.getDimensionPixelSize(R.dimen.pie_radius_increment); in init() 156 mTouchOffset = (int) res.getDimensionPixelSize(R.dimen.pie_touch_offset); in init() 174 mInnerOffset = res.getDimensionPixelSize(R.dimen.focus_inner_offset); in init() 175 mOuterStroke = res.getDimensionPixelSize(R.dimen.focus_outer_stroke); in init() 176 mInnerStroke = res.getDimensionPixelSize(R.dimen.focus_inner_stroke); in init()
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/ |
D | PieRenderer.java | 155 radius = res.getDimensionPixelSize(R.dimen.pie_radius_start); in init() 156 circleSize = radius - res.getDimensionPixelSize(R.dimen.focus_radius_offset); in init() 157 radiusInc = res.getDimensionPixelSize(R.dimen.pie_radius_increment); in init() 158 touchOffset = res.getDimensionPixelSize(R.dimen.pie_touch_offset); in init() 176 innerOffset = res.getDimensionPixelSize(R.dimen.focus_inner_offset); in init() 177 outerStroke = res.getDimensionPixelSize(R.dimen.focus_outer_stroke); in init() 178 innerStroke = res.getDimensionPixelSize(R.dimen.focus_inner_stroke); in init()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | ToggleScreenMagnificationPreferenceFragment.java | 68 final int backgroundAssetWidth = res.getDimensionPixelSize( in onBindViewHolder() 71 .getDimensionPixelSize(R.dimen.screen_magnification_video_width); in onBindViewHolder() 73 .getDimensionPixelSize(R.dimen.screen_magnification_video_height); in onBindViewHolder() 74 final int videoAssetMarginTop = res.getDimensionPixelSize( in onBindViewHolder()
|