/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | KeyguardStatusBarView.java | 85 lp.width = lp.height = getResources().getDimensionPixelSize( in onConfigurationChanged() 90 lp.width = getResources().getDimensionPixelSize( in onConfigurationChanged() 92 lp.setMarginEnd(getResources().getDimensionPixelSize( in onConfigurationChanged() 97 lp.height = getResources().getDimensionPixelSize( in onConfigurationChanged() 99 lp.setMarginStart(getResources().getDimensionPixelSize( in onConfigurationChanged() 104 getResources().getDimensionPixelSize(R.dimen.system_icons_keyguard_padding_end), in onConfigurationChanged() 108 lp.height = getResources().getDimensionPixelSize( in onConfigurationChanged() 114 getResources().getDimensionPixelSize(R.dimen.header_battery_margin_keyguard)); in onConfigurationChanged() 118 getResources().getDimensionPixelSize(R.dimen.battery_level_padding_end), in onConfigurationChanged() 121 getResources().getDimensionPixelSize(R.dimen.battery_level_text_size)); in onConfigurationChanged() [all …]
|
D | KeyguardClockPositionAlgorithm.java | 76 mClockNotificationsMarginMin = res.getDimensionPixelSize( in loadDimens() 78 mClockNotificationsMarginMax = res.getDimensionPixelSize( in loadDimens() 83 (float) res.getDimensionPixelSize(R.dimen.notification_summary_height) / in loadDimens() 84 res.getDimensionPixelSize(R.dimen.notification_min_height); in loadDimens()
|
D | StatusBarHeaderView.java | 230 mClockCollapsedSize = getResources().getDimensionPixelSize(R.dimen.qs_time_collapsed_size); in onConfigurationChanged() 231 mClockExpandedSize = getResources().getDimensionPixelSize(R.dimen.qs_time_expanded_size); in onConfigurationChanged() 240 int padding = res.getDimensionPixelSize(R.dimen.clock_collapsed_bottom_margin); in updateClockCollapsedMargin() 241 int largePadding = res.getDimensionPixelSize( in updateClockCollapsedMargin() 255 mCollapsedHeight = getResources().getDimensionPixelSize(R.dimen.status_bar_header_height); in loadDimens() 256 mExpandedHeight = getResources().getDimensionPixelSize( in loadDimens() 259 getResources().getDimensionPixelSize(R.dimen.multi_user_switch_expanded_margin); in loadDimens() 261 getResources().getDimensionPixelSize(R.dimen.multi_user_switch_collapsed_margin); in loadDimens() 263 getResources().getDimensionPixelSize(R.dimen.clock_expanded_bottom_margin); in loadDimens() 266 getResources().getDimensionPixelSize(R.dimen.multi_user_switch_width_collapsed); in loadDimens() [all …]
|
D | KeyguardBottomAreaView.java | 221 int indicationBottomMargin = getResources().getDimensionPixelSize( in onConfigurationChanged() 231 getResources().getDimensionPixelSize( in onConfigurationChanged() 235 lp.width = getResources().getDimensionPixelSize(R.dimen.keyguard_affordance_width); in onConfigurationChanged() 236 lp.height = getResources().getDimensionPixelSize(R.dimen.keyguard_affordance_height); in onConfigurationChanged() 241 lp.width = getResources().getDimensionPixelSize(R.dimen.keyguard_affordance_width); in onConfigurationChanged() 242 lp.height = getResources().getDimensionPixelSize(R.dimen.keyguard_affordance_height); in onConfigurationChanged() 247 lp.width = getResources().getDimensionPixelSize(R.dimen.keyguard_affordance_width); in onConfigurationChanged() 248 lp.height = getResources().getDimensionPixelSize(R.dimen.keyguard_affordance_height); in onConfigurationChanged()
|
D | StatusBarIconController.java | 160 int batteryHeight = res.getDimensionPixelSize(R.dimen.status_bar_battery_icon_height); in scaleBatteryMeterViews() 161 int batteryWidth = res.getDimensionPixelSize(R.dimen.status_bar_battery_icon_width); in scaleBatteryMeterViews() 162 int marginBottom = res.getDimensionPixelSize(R.dimen.battery_margin_bottom); in scaleBatteryMeterViews() 194 mIconSize = mContext.getResources().getDimensionPixelSize( in loadDimens() 196 mIconHPadding = mContext.getResources().getDimensionPixelSize( in loadDimens() 240 int height = mContext.getResources().getDimensionPixelSize( in setExternalIcon() 604 mContext.getResources().getDimensionPixelSize( in updateClock() 607 mContext.getResources().getDimensionPixelSize( in updateClock()
|
D | IconMerger.java | 47 mIconSize = res.getDimensionPixelSize(R.dimen.status_bar_icon_size); in reloadDimens() 48 mIconHPadding = res.getDimensionPixelSize(R.dimen.status_bar_icon_padding); in reloadDimens()
|
/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/support/v4/tests/java/android/support/v4/widget/ |
D | TextViewCompatTest.java | 130 (float) res.getDimensionPixelSize(R.dimen.text_medium_size), 1.0f); in testStyle() 311 res.getDimensionPixelSize(R.dimen.drawable_small_size)); in testCompoundDrawablesRelativeWithIntrinsicBoundsById() 314 res.getDimensionPixelSize(R.dimen.drawable_medium_size)); in testCompoundDrawablesRelativeWithIntrinsicBoundsById() 323 res.getDimensionPixelSize(R.dimen.drawable_medium_size)); in testCompoundDrawablesRelativeWithIntrinsicBoundsById() 326 res.getDimensionPixelSize(R.dimen.drawable_large_size)); in testCompoundDrawablesRelativeWithIntrinsicBoundsById() 333 res.getDimensionPixelSize(R.dimen.drawable_large_size)); in testCompoundDrawablesRelativeWithIntrinsicBoundsById() 336 res.getDimensionPixelSize(R.dimen.drawable_small_size)); in testCompoundDrawablesRelativeWithIntrinsicBoundsById() 363 res.getDimensionPixelSize(R.dimen.drawable_medium_size)); in testCompoundDrawablesRelativeWithIntrinsicBoundsByIdRtl() 366 res.getDimensionPixelSize(R.dimen.drawable_large_size)); in testCompoundDrawablesRelativeWithIntrinsicBoundsByIdRtl() 375 res.getDimensionPixelSize(R.dimen.drawable_small_size)); in testCompoundDrawablesRelativeWithIntrinsicBoundsByIdRtl() [all …]
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | FullWidthDetailsOverviewRowPresenter.java | 328 final int fadeLength = rootView.getResources().getDimensionPixelSize( in ViewHolder() 664 lp.setMarginStart(v.getResources().getDimensionPixelSize( in onLayoutLogo() 668 lp.setMarginStart(v.getResources().getDimensionPixelSize(R.dimen.lb_details_v2_left) in onLayoutLogo() 677 v.getResources().getDimensionPixelSize(R.dimen.lb_details_v2_blank_height) in onLayoutLogo() 681 lp.topMargin = v.getResources().getDimensionPixelSize( in onLayoutLogo() 683 .getDimensionPixelSize(R.dimen.lb_details_v2_actions_height) + v in onLayoutLogo() 684 .getResources().getDimensionPixelSize( in onLayoutLogo() 718 frameMarginStart = res.getDimensionPixelSize( in onLayoutOverviewFrame() 723 descriptionMarginStart = logoWidth + res.getDimensionPixelSize( in onLayoutOverviewFrame() 729 frameMarginStart = res.getDimensionPixelSize(R.dimen.lb_details_v2_left) in onLayoutOverviewFrame() [all …]
|
D | AbstractDetailsDescriptionPresenter.java | 63 final int titleAscent = view.getResources().getDimensionPixelSize( in ViewHolder() 68 mUnderTitleBaselineMargin = view.getResources().getDimensionPixelSize( in ViewHolder() 70 mUnderSubtitleBaselineMargin = view.getResources().getDimensionPixelSize( in ViewHolder() 73 mTitleLineSpacing = view.getResources().getDimensionPixelSize( in ViewHolder() 75 mBodyLineSpacing = view.getResources().getDimensionPixelSize( in ViewHolder()
|
D | ActionPresenterSelector.java | 97 .getDimensionPixelSize(R.dimen.lb_action_with_icon_padding_start); in onBindViewHolder() 99 .getDimensionPixelSize(R.dimen.lb_action_with_icon_padding_end); in onBindViewHolder() 103 .getDimensionPixelSize(R.dimen.lb_action_padding_horizontal); in onBindViewHolder()
|
/frameworks/support/v7/cardview/src/android/support/v7/widget/ |
D | CardView.java | 239 int defaultPadding = a.getDimensionPixelSize(R.styleable.CardView_contentPadding, 0); in initialize() 240 mContentPadding.left = a.getDimensionPixelSize(R.styleable.CardView_contentPaddingLeft, in initialize() 242 mContentPadding.top = a.getDimensionPixelSize(R.styleable.CardView_contentPaddingTop, in initialize() 244 mContentPadding.right = a.getDimensionPixelSize(R.styleable.CardView_contentPaddingRight, in initialize() 246 mContentPadding.bottom = a.getDimensionPixelSize(R.styleable.CardView_contentPaddingBottom, in initialize() 251 mUserSetMinWidth = a.getDimensionPixelSize(R.styleable.CardView_android_minWidth, 0); in initialize() 252 mUserSetMinHeight = a.getDimensionPixelSize(R.styleable.CardView_android_minHeight, 0); in initialize()
|
/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/core/java/android/preference/ |
D | PreferenceFrameLayout.java | 63 mBorderTop = a.getDimensionPixelSize( in PreferenceFrameLayout() 66 mBorderBottom = a.getDimensionPixelSize( in PreferenceFrameLayout() 69 mBorderLeft = a.getDimensionPixelSize( in PreferenceFrameLayout() 72 mBorderRight = a.getDimensionPixelSize( in PreferenceFrameLayout()
|
/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/core/java/com/android/internal/widget/ |
D | MediaNotificationView.java | 141 mMaxImageSize = context.getResources().getDimensionPixelSize( in MediaNotificationView() 143 mImageMinTopMargin = (int) (context.getResources().getDimensionPixelSize( in MediaNotificationView() 146 mNotificationContentMarginEnd = context.getResources().getDimensionPixelSize( in MediaNotificationView() 148 mNotificationContentImageMarginEnd = context.getResources().getDimensionPixelSize( in MediaNotificationView()
|
D | SubtitleView.java | 108 mSpacingAdd = a.getDimensionPixelSize(attr, (int) mSpacingAdd); in SubtitleView() 114 textSize = a.getDimensionPixelSize(attr, textSize); in SubtitleView() 122 … mCornerRadius = res.getDimensionPixelSize(com.android.internal.R.dimen.subtitle_corner_radius); in SubtitleView() 123 … mOutlineWidth = res.getDimensionPixelSize(com.android.internal.R.dimen.subtitle_outline_width); in SubtitleView() 124 … mShadowRadius = res.getDimensionPixelSize(com.android.internal.R.dimen.subtitle_shadow_radius); in SubtitleView() 125 … mShadowOffsetX = res.getDimensionPixelSize(com.android.internal.R.dimen.subtitle_shadow_offset); in SubtitleView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/views/ |
D | TaskCardView.java | 90 mCornerRadius = getResources().getDimensionPixelSize( in onFinishInflate() 314 .getDimensionPixelSize(R.dimen.recents_tv_banner_width); in setAsBannerView() 316 .getDimensionPixelSize(R.dimen.recents_tv_banner_height); in setAsBannerView() 324 .getDimensionPixelSize(R.dimen.recents_tv_fallback_icon_width); in setAsIconView() 326 .getDimensionPixelSize(R.dimen.recents_tv_fallback_icon_height); in setAsIconView() 351 int cardWidth = res.getDimensionPixelSize(R.dimen.recents_tv_card_width); in getNumberOfVisibleTasks() 352 int spacing = res.getDimensionPixelSize(R.dimen.recents_tv_gird_card_spacing); in getNumberOfVisibleTasks()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSTileView.java | 51 mTileSpacingPx = res.getDimensionPixelSize(R.dimen.qs_tile_spacing); in QSTileView() 69 int padding = res.getDimensionPixelSize(R.dimen.qs_tile_padding_top); in updateTopPadding() 70 int largePadding = res.getDimensionPixelSize(R.dimen.qs_tile_padding_top_large_text); in updateTopPadding()
|
D | TileLayout.java | 78 mCellHeight = mContext.getResources().getDimensionPixelSize(R.dimen.qs_tile_height); in updateResources() 79 mCellMargin = res.getDimensionPixelSize(R.dimen.qs_tile_margin); in updateResources() 80 mCellMarginTop = res.getDimensionPixelSize(R.dimen.qs_tile_margin_top); in updateResources()
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
D | FloatingActionButtonTest.java | 80 .getDimensionPixelSize(R.dimen.fab_mini_height); in testSetMiniSize() 90 .getDimensionPixelSize(R.dimen.fab_mini_height); in testSetSizeToggle() 92 .getDimensionPixelSize(R.dimen.fab_normal_height); in testSetSizeToggle()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
D | UsageGraph.java | 77 mCornerRadius = resources.getDimensionPixelSize(R.dimen.usage_graph_line_corner_radius); in UsageGraph() 79 mLinePaint.setStrokeWidth(resources.getDimensionPixelSize(R.dimen.usage_graph_line_width)); in UsageGraph() 86 float dots = resources.getDimensionPixelSize(R.dimen.usage_graph_dot_size); in UsageGraph() 87 float interval = resources.getDimensionPixelSize(R.dimen.usage_graph_dot_interval); in UsageGraph() 96 mDividerSize = resources.getDimensionPixelSize(R.dimen.usage_graph_divider_size); in UsageGraph()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ |
D | AssistOrbView.java | 110 mCircleMinSize = context.getResources().getDimensionPixelSize( in AssistOrbView() 112 mBaseMargin = context.getResources().getDimensionPixelSize( in AssistOrbView() 114 mStaticOffset = context.getResources().getDimensionPixelSize( in AssistOrbView() 116 mMaxElevation = context.getResources().getDimensionPixelSize( in AssistOrbView()
|
/frameworks/base/core/java/android/widget/ |
D | ExpandableListView.java | 243 mIndicatorLeft = a.getDimensionPixelSize( in ExpandableListView() 245 mIndicatorRight = a.getDimensionPixelSize( in ExpandableListView() 250 mChildIndicatorLeft = a.getDimensionPixelSize( in ExpandableListView() 253 mChildIndicatorRight = a.getDimensionPixelSize( in ExpandableListView() 260 mIndicatorStart = a.getDimensionPixelSize( in ExpandableListView() 263 mIndicatorEnd = a.getDimensionPixelSize( in ExpandableListView() 267 mChildIndicatorStart = a.getDimensionPixelSize( in ExpandableListView() 270 mChildIndicatorEnd = a.getDimensionPixelSize( in ExpandableListView()
|
/frameworks/support/v7/preference/src/android/support/v7/internal/widget/ |
D | PreferenceImageView.java | 48 setMaxWidth(a.getDimensionPixelSize( in PreferenceImageView() 51 setMaxHeight(a.getDimensionPixelSize( in PreferenceImageView()
|