Home
last modified time | relevance | path

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

1234567891011

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardStatusBarView.java85 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 …]
DKeyguardClockPositionAlgorithm.java76 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()
DStatusBarHeaderView.java230 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 …]
DKeyguardBottomAreaView.java221 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()
DStatusBarIconController.java160 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()
DIconMerger.java47 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/
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/support/v4/tests/java/android/support/v4/widget/
DTextViewCompatTest.java130 (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/
DFullWidthDetailsOverviewRowPresenter.java328 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 …]
DAbstractDetailsDescriptionPresenter.java63 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()
DActionPresenterSelector.java97 .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/
DCardView.java239 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/
DMLand.java103 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/
DPreferenceFrameLayout.java63 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/
DColorPickerPalette.java61 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/
DMediaNotificationView.java141 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()
DSubtitleView.java108 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/
DTaskCardView.java90 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/
DQSTileView.java51 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()
DTileLayout.java78 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/
DFloatingActionButtonTest.java80 .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/
DUsageGraph.java77 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/
DAssistOrbView.java110 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/
DExpandableListView.java243 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/
DPreferenceImageView.java48 setMaxWidth(a.getDimensionPixelSize( in PreferenceImageView()
51 setMaxHeight(a.getDimensionPixelSize( in PreferenceImageView()

1234567891011