Home
last modified time | relevance | path

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

12345678910>>...13

/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/
DGlifDimensionTest.java64 final int marginSides = a.getDimensionPixelSize(0, 0); in assertDividerInset()
71 res.getDimensionPixelSize(R.dimen.suw_items_glif_text_divider_inset)); in assertDividerInset()
76 marginSides + res.getDimensionPixelSize(R.dimen.suw_items_icon_container_width), in assertDividerInset()
77 res.getDimensionPixelSize(R.dimen.suw_items_glif_icon_divider_inset)); in assertDividerInset()
95 final int marginSides = a.getDimensionPixelSize(0, 0); in assertButtonMargin()
102 res.getDimensionPixelSize(R.dimen.suw_glif_button_margin_end)); in assertButtonMargin()
107 marginSides - res.getDimensionPixelSize(R.dimen.suw_glif_button_padding), in assertButtonMargin()
108 res.getDimensionPixelSize(R.dimen.suw_glif_button_margin_start)); in assertButtonMargin()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardStatusBarView.java91 lp.width = lp.height = getResources().getDimensionPixelSize( in onConfigurationChanged()
96 lp.width = getResources().getDimensionPixelSize( in onConfigurationChanged()
98 lp.setMarginEnd(getResources().getDimensionPixelSize( in onConfigurationChanged()
103 lp.height = getResources().getDimensionPixelSize( in onConfigurationChanged()
105 lp.setMarginStart(getResources().getDimensionPixelSize( in onConfigurationChanged()
110 getResources().getDimensionPixelSize(R.dimen.system_icons_keyguard_padding_end), in onConfigurationChanged()
114 lp.height = getResources().getDimensionPixelSize( in onConfigurationChanged()
120 getResources().getDimensionPixelSize( in onConfigurationChanged()
124 getResources().getDimensionPixelSize(R.dimen.keyguard_carrier_text_margin)); in onConfigurationChanged()
128 lp.height = getResources().getDimensionPixelSize( in onConfigurationChanged()
[all …]
DKeyguardClockPositionAlgorithm.java79 mClockNotificationsMarginMin = res.getDimensionPixelSize( in loadDimens()
81 mClockNotificationsMarginMax = res.getDimensionPixelSize( in loadDimens()
86 (float) res.getDimensionPixelSize(R.dimen.notification_shelf_height) / in loadDimens()
87 res.getDimensionPixelSize(R.dimen.notification_min_height); in loadDimens()
/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/compat/tests/java/android/support/v4/widget/
DTextViewCompatTest.java136 (float) res.getDimensionPixelSize(R.dimen.text_medium_size), 1.0f); in testStyle()
312 res.getDimensionPixelSize(R.dimen.drawable_small_size)); in testCompoundDrawablesRelativeWithIntrinsicBoundsById()
315 res.getDimensionPixelSize(R.dimen.drawable_medium_size)); in testCompoundDrawablesRelativeWithIntrinsicBoundsById()
324 res.getDimensionPixelSize(R.dimen.drawable_medium_size)); in testCompoundDrawablesRelativeWithIntrinsicBoundsById()
327 res.getDimensionPixelSize(R.dimen.drawable_large_size)); in testCompoundDrawablesRelativeWithIntrinsicBoundsById()
334 res.getDimensionPixelSize(R.dimen.drawable_large_size)); in testCompoundDrawablesRelativeWithIntrinsicBoundsById()
337 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.java321 final int fadeLength = rootView.getResources().getDimensionPixelSize( in ViewHolder()
657 lp.setMarginStart(v.getResources().getDimensionPixelSize( in onLayoutLogo()
661 lp.setMarginStart(v.getResources().getDimensionPixelSize(R.dimen.lb_details_v2_left) in onLayoutLogo()
670 v.getResources().getDimensionPixelSize(R.dimen.lb_details_v2_blank_height) in onLayoutLogo()
674 lp.topMargin = v.getResources().getDimensionPixelSize( in onLayoutLogo()
676 .getDimensionPixelSize(R.dimen.lb_details_v2_actions_height) + v in onLayoutLogo()
677 .getResources().getDimensionPixelSize( in onLayoutLogo()
711 frameMarginStart = res.getDimensionPixelSize( in onLayoutOverviewFrame()
716 descriptionMarginStart = logoWidth + res.getDimensionPixelSize( in onLayoutOverviewFrame()
722 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()
DDetailsParallaxDrawable.java106 int verticalMovementMax = -context.getResources().getDimensionPixelSize( in DetailsParallaxDrawable()
176 .getDimensionPixelSize(R.dimen.lb_details_v2_align_pos_for_actions); in connect()
178 .getDimensionPixelSize(R.dimen.lb_details_v2_align_pos_for_description); in connect()
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/base/packages/SystemUI/src/com/android/systemui/recents/views/grid/
DGridTaskView.java44 mHeaderHeight = context.getResources().getDimensionPixelSize( in GridTaskView()
61 return new AnimateableGridViewBounds(this, mContext.getResources().getDimensionPixelSize( in createOutlineProvider()
68 mHeaderHeight = mContext.getResources().getDimensionPixelSize( in onConfigurationChanged()
/frameworks/support/v7/cardview/src/android/support/v7/widget/
DCardView.java240 int defaultPadding = a.getDimensionPixelSize(R.styleable.CardView_contentPadding, 0); in initialize()
241 mContentPadding.left = a.getDimensionPixelSize(R.styleable.CardView_contentPaddingLeft, in initialize()
243 mContentPadding.top = a.getDimensionPixelSize(R.styleable.CardView_contentPaddingTop, in initialize()
245 mContentPadding.right = a.getDimensionPixelSize(R.styleable.CardView_contentPaddingRight, in initialize()
247 mContentPadding.bottom = a.getDimensionPixelSize(R.styleable.CardView_contentPaddingBottom, in initialize()
252 mUserSetMinWidth = a.getDimensionPixelSize(R.styleable.CardView_android_minWidth, 0); in initialize()
253 mUserSetMinHeight = a.getDimensionPixelSize(R.styleable.CardView_android_minHeight, 0); in initialize()
/frameworks/base/core/java/android/view/
DViewConfiguration.java402 mTouchSlop = res.getDimensionPixelSize( in ViewConfiguration()
404 mMinScrollbarTouchTarget = res.getDimensionPixelSize( in ViewConfiguration()
410 mMinimumFlingVelocity = res.getDimensionPixelSize( in ViewConfiguration()
412 mMaximumFlingVelocity = res.getDimensionPixelSize( in ViewConfiguration()
417 mHorizontalScrollFactor = res.getDimensionPixelSize( in ViewConfiguration()
419 mVerticalScrollFactor = res.getDimensionPixelSize( in ViewConfiguration()
/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/support/design/src/android/support/design/internal/
DSnackbarContentLayout.java51 mMaxWidth = a.getDimensionPixelSize(R.styleable.SnackbarLayout_android_maxWidth, -1); in SnackbarContentLayout()
52 mMaxInlineActionWidth = a.getDimensionPixelSize( in SnackbarContentLayout()
81 final int multiLineVPadding = getResources().getDimensionPixelSize( in onMeasure()
83 final int singleLineVPadding = getResources().getDimensionPixelSize( in onMeasure()
/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/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/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DHybridGroupManager.java55 mOverflowNumberSize = res.getDimensionPixelSize( in HybridGroupManager()
57 mOverflowNumberSizeDark = res.getDimensionPixelSize( in HybridGroupManager()
59 mOverflowNumberPadding = res.getDimensionPixelSize( in HybridGroupManager()
61 mOverflowNumberPaddingDark = mOverflowNumberPadding + res.getDimensionPixelSize( in HybridGroupManager()
/frameworks/base/core/java/com/android/internal/widget/
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()
DMediaNotificationView.java133 mSmallImageSize = context.getResources().getDimensionPixelSize( in MediaNotificationView()
135 mNotificationContentMarginEnd = context.getResources().getDimensionPixelSize( in MediaNotificationView()
137 mNotificationContentImageMarginEnd = context.getResources().getDimensionPixelSize( in MediaNotificationView()
/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/
DBatteryMeterView.java103 getResources().getDimensionPixelSize(R.dimen.status_bar_battery_icon_width), in BatteryMeterView()
104 getResources().getDimensionPixelSize(R.dimen.status_bar_battery_icon_height)); in BatteryMeterView()
228 int batteryHeight = res.getDimensionPixelSize(R.dimen.status_bar_battery_icon_height); in scaleBatteryMeterViews()
229 int batteryWidth = res.getDimensionPixelSize(R.dimen.status_bar_battery_icon_width); in scaleBatteryMeterViews()
230 int marginBottom = res.getDimensionPixelSize(R.dimen.battery_margin_bottom); in scaleBatteryMeterViews()
/frameworks/support/samples/SupportLeanbackJank/src/com/google/android/leanbackjank/presenter/
DGridItemPresenter.java36 int width = res.getDimensionPixelSize(R.dimen.grid_item_width); in onCreateViewHolder()
37 int height = res.getDimensionPixelSize(R.dimen.grid_item_height); in onCreateViewHolder()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
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/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/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DIntrinsicSizeFrameLayout.java61 a.getDimensionPixelSize(R.styleable.SuwMaxSizeFrameLayout_android_height, 0); in init()
63 a.getDimensionPixelSize(R.styleable.SuwMaxSizeFrameLayout_android_width, 0); in init()

12345678910>>...13