Home
last modified time | relevance | path

Searched refs:getDimensionPixelOffset (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/base/graphics/java/android/graphics/drawable/
DInsetDrawable.java156 final int inset = a.getDimensionPixelOffset(attr, Integer.MIN_VALUE); in updateStateFromTypedArray()
165 state.mInsetLeft = a.getDimensionPixelOffset(attr, state.mInsetLeft); in updateStateFromTypedArray()
168 state.mInsetTop = a.getDimensionPixelOffset(attr, state.mInsetTop); in updateStateFromTypedArray()
171 state.mInsetRight = a.getDimensionPixelOffset(attr, state.mInsetRight); in updateStateFromTypedArray()
174 state.mInsetBottom = a.getDimensionPixelOffset(attr, state.mInsetBottom); in updateStateFromTypedArray()
DShapeDrawable.java364 a.getDimensionPixelOffset( in inflateTag()
366 a.getDimensionPixelOffset( in inflateTag()
368 a.getDimensionPixelOffset( in inflateTag()
370 a.getDimensionPixelOffset( in inflateTag()
DLayerDrawable.java226 layer.mInsetL = a.getDimensionPixelOffset( in updateLayerFromTypedArray()
228 layer.mInsetT = a.getDimensionPixelOffset( in updateLayerFromTypedArray()
230 layer.mInsetR = a.getDimensionPixelOffset( in updateLayerFromTypedArray()
232 layer.mInsetB = a.getDimensionPixelOffset( in updateLayerFromTypedArray()
DGradientDrawable.java1214 pad.set(a.getDimensionPixelOffset(R.styleable.GradientDrawablePadding_left, pad.left),
1215 a.getDimensionPixelOffset(R.styleable.GradientDrawablePadding_top, pad.top),
1216 a.getDimensionPixelOffset(R.styleable.GradientDrawablePadding_right, pad.right),
1217 a.getDimensionPixelOffset(R.styleable.GradientDrawablePadding_bottom, pad.bottom));
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DTintTypedArray.java124 public int getDimensionPixelOffset(int index, int defValue) { in getDimensionPixelOffset() method in TintTypedArray
125 return mWrapped.getDimensionPixelOffset(index, defValue); in getDimensionPixelOffset()
DResourcesWrapper.java115 public int getDimensionPixelOffset(int id) throws NotFoundException { in getDimensionPixelOffset() method in ResourcesWrapper
116 return mResources.getDimensionPixelOffset(id); in getDimensionPixelOffset()
DToolbarWidgetWrapper.java146 final int contentInsetStart = a.getDimensionPixelOffset( in ToolbarWidgetWrapper()
148 final int contentInsetEnd = a.getDimensionPixelOffset( in ToolbarWidgetWrapper()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DResizingTextView.java65 mResizedPaddingAdjustmentTop = a.getDimensionPixelOffset( in ResizingTextView()
67 mResizedPaddingAdjustmentBottom = a.getDimensionPixelOffset( in ResizingTextView()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DYearPickerView.java60 mViewSize = res.getDimensionPixelOffset(R.dimen.date_picker_view_animator_height); in YearPickerView()
61 mChildSize = res.getDimensionPixelOffset(R.dimen.year_label_height); in YearPickerView()
DTextViewWithCircularIndicator.java49 mRadius = res.getDimensionPixelOffset(R.dimen.month_select_circle_radius); in TextViewWithCircularIndicator()
DMonthView.java216 MONTH_HEADER_SIZE = res.getDimensionPixelOffset(R.dimen.month_list_item_header_height); in MonthView()
220 mRowHeight = (res.getDimensionPixelOffset(R.dimen.date_picker_view_animator_height) in MonthView()
/frameworks/base/core/java/android/widget/
DAbsoluteLayout.java205 x = a.getDimensionPixelOffset( in LayoutParams()
207 y = a.getDimensionPixelOffset( in LayoutParams()
DYearPickerView.java67 mViewSize = res.getDimensionPixelOffset(R.dimen.datepicker_view_animator_height); in YearPickerView()
68 mChildSize = res.getDimensionPixelOffset(R.dimen.datepicker_year_label_height); in YearPickerView()
DToolbar.java199 a.getDimensionPixelOffset(R.styleable.Toolbar_titleMargins, 0); in Toolbar()
201 final int marginStart = a.getDimensionPixelOffset(R.styleable.Toolbar_titleMarginStart, -1); in Toolbar()
206 final int marginEnd = a.getDimensionPixelOffset(R.styleable.Toolbar_titleMarginEnd, -1); in Toolbar()
211 final int marginTop = a.getDimensionPixelOffset(R.styleable.Toolbar_titleMarginTop, -1); in Toolbar()
216 final int marginBottom = a.getDimensionPixelOffset(R.styleable.Toolbar_titleMarginBottom, in Toolbar()
225 a.getDimensionPixelOffset(R.styleable.Toolbar_contentInsetStart, in Toolbar()
228 a.getDimensionPixelOffset(R.styleable.Toolbar_contentInsetEnd, in Toolbar()
DSimpleMonthView.java171 mMonthHeaderSize = res.getDimensionPixelOffset( in SimpleMonthView()
176 mRowHeight = (res.getDimensionPixelOffset(R.dimen.datepicker_view_animator_height) in SimpleMonthView()
DListPopupWindow.java216 mDropDownHorizontalOffset = a.getDimensionPixelOffset( in ListPopupWindow()
218 mDropDownVerticalOffset = a.getDimensionPixelOffset( in ListPopupWindow()
DGridView.java134 int hSpacing = a.getDimensionPixelOffset( in GridView()
138 int vSpacing = a.getDimensionPixelOffset( in GridView()
147 …int columnWidth = a.getDimensionPixelOffset(com.android.internal.R.styleable.GridView_columnWidth,… in GridView()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DToolbar.java207 a.getDimensionPixelOffset(R.styleable.Toolbar_titleMargins, 0); in Toolbar()
209 final int marginStart = a.getDimensionPixelOffset(R.styleable.Toolbar_titleMarginStart, -1); in Toolbar()
214 final int marginEnd = a.getDimensionPixelOffset(R.styleable.Toolbar_titleMarginEnd, -1); in Toolbar()
219 final int marginTop = a.getDimensionPixelOffset(R.styleable.Toolbar_titleMarginTop, -1); in Toolbar()
224 final int marginBottom = a.getDimensionPixelOffset(R.styleable.Toolbar_titleMarginBottom, in Toolbar()
233 a.getDimensionPixelOffset(R.styleable.Toolbar_contentInsetStart, in Toolbar()
236 a.getDimensionPixelOffset(R.styleable.Toolbar_contentInsetEnd, in Toolbar()
DListPopupWindow.java232 mDropDownHorizontalOffset = a.getDimensionPixelOffset( in ListPopupWindow()
234 mDropDownVerticalOffset = a.getDimensionPixelOffset( in ListPopupWindow()
/frameworks/base/test-runner/src/android/test/mock/
DMockResources.java112 public int getDimensionPixelOffset(int id) throws NotFoundException { in getDimensionPixelOffset() method in MockResources
/frameworks/base/core/java/com/android/internal/widget/
DPasswordEntryKeyboard.java77 sSpacebarVerticalCorrection = res.getDimensionPixelOffset( in init()
DToolbarWidgetWrapper.java144 final int contentInsetStart = a.getDimensionPixelOffset( in ToolbarWidgetWrapper()
146 final int contentInsetEnd = a.getDimensionPixelOffset( in ToolbarWidgetWrapper()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DAppearAnimationUtils.java48 mStartTranslation = ctx.getResources().getDimensionPixelOffset( in AppearAnimationUtils()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
DRecentsHorizontalScrollView.java301 .getDimensionPixelOffset(R.dimen.status_bar_recents_thumbnail_left_margin); in onFinishInflate()
DRecentsVerticalScrollView.java310 .getDimensionPixelOffset(R.dimen.status_bar_recents_thumbnail_left_margin); in onFinishInflate()

12