Home
last modified time | relevance | path

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

12

/frameworks/base/graphics/java/android/graphics/drawable/
DInsetDrawable.java133 final int inset = a.getDimensionPixelOffset(attr, Integer.MIN_VALUE); in updateStateFromTypedArray()
142 state.mInsetLeft = a.getDimensionPixelOffset(attr, state.mInsetLeft); in updateStateFromTypedArray()
145 state.mInsetTop = a.getDimensionPixelOffset(attr, state.mInsetTop); in updateStateFromTypedArray()
148 state.mInsetRight = a.getDimensionPixelOffset(attr, state.mInsetRight); in updateStateFromTypedArray()
151 state.mInsetBottom = a.getDimensionPixelOffset(attr, state.mInsetBottom); in updateStateFromTypedArray()
DLayerDrawable.java190 state.mPaddingTop = a.getDimensionPixelOffset(attr, state.mPaddingTop); in updateStateFromTypedArray()
193 state.mPaddingBottom = a.getDimensionPixelOffset(attr, state.mPaddingBottom); in updateStateFromTypedArray()
196 state.mPaddingLeft = a.getDimensionPixelOffset(attr, state.mPaddingLeft); in updateStateFromTypedArray()
199 state.mPaddingRight = a.getDimensionPixelOffset(attr, state.mPaddingRight); in updateStateFromTypedArray()
202 state.mPaddingStart = a.getDimensionPixelOffset(attr, state.mPaddingStart); in updateStateFromTypedArray()
205 state.mPaddingEnd = a.getDimensionPixelOffset(attr, state.mPaddingEnd); in updateStateFromTypedArray()
276 layer.mInsetL = a.getDimensionPixelOffset( in updateLayerFromTypedArray()
278 layer.mInsetT = a.getDimensionPixelOffset( in updateLayerFromTypedArray()
280 layer.mInsetR = a.getDimensionPixelOffset( in updateLayerFromTypedArray()
282 layer.mInsetB = a.getDimensionPixelOffset( in updateLayerFromTypedArray()
[all …]
DShapeDrawable.java363 a.getDimensionPixelOffset( in inflateTag()
365 a.getDimensionPixelOffset( in inflateTag()
367 a.getDimensionPixelOffset( in inflateTag()
369 a.getDimensionPixelOffset( in inflateTag()
DGradientDrawable.java1238 pad.set(a.getDimensionPixelOffset(R.styleable.GradientDrawablePadding_left, pad.left),
1239 a.getDimensionPixelOffset(R.styleable.GradientDrawablePadding_top, pad.top),
1240 a.getDimensionPixelOffset(R.styleable.GradientDrawablePadding_right, pad.right),
1241 a.getDimensionPixelOffset(R.styleable.GradientDrawablePadding_bottom, pad.bottom));
/frameworks/base/core/java/android/widget/
DAbsoluteLayout.java205 x = a.getDimensionPixelOffset( in LayoutParams()
207 y = a.getDimensionPixelOffset( in LayoutParams()
DYearPickerView.java59 mViewSize = res.getDimensionPixelOffset(R.dimen.datepicker_view_animator_height); in YearPickerView()
60 mChildSize = res.getDimensionPixelOffset(R.dimen.datepicker_year_label_height); in YearPickerView()
DToolbar.java206 a.getDimensionPixelOffset(R.styleable.Toolbar_titleMargins, 0); in Toolbar()
208 final int marginStart = a.getDimensionPixelOffset(R.styleable.Toolbar_titleMarginStart, -1); in Toolbar()
213 final int marginEnd = a.getDimensionPixelOffset(R.styleable.Toolbar_titleMarginEnd, -1); in Toolbar()
218 final int marginTop = a.getDimensionPixelOffset(R.styleable.Toolbar_titleMarginTop, -1); in Toolbar()
223 final int marginBottom = a.getDimensionPixelOffset(R.styleable.Toolbar_titleMarginBottom, in Toolbar()
232 a.getDimensionPixelOffset(R.styleable.Toolbar_contentInsetStart, in Toolbar()
235 a.getDimensionPixelOffset(R.styleable.Toolbar_contentInsetEnd, in Toolbar()
DListPopupWindow.java219 mDropDownHorizontalOffset = a.getDimensionPixelOffset( in ListPopupWindow()
221 mDropDownVerticalOffset = a.getDimensionPixelOffset( in ListPopupWindow()
DGridView.java139 int hSpacing = a.getDimensionPixelOffset( in GridView()
143 int vSpacing = a.getDimensionPixelOffset( in GridView()
152 int columnWidth = a.getDimensionPixelOffset(R.styleable.GridView_columnWidth, -1); in GridView()
DAbsSeekBar.java109 …final int thumbOffset = a.getDimensionPixelOffset(R.styleable.SeekBar_thumbOffset, getThumbOffset(… in AbsSeekBar()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DTintTypedArray.java134 public int getDimensionPixelOffset(int index, int defValue) { in getDimensionPixelOffset() method in TintTypedArray
135 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.java151 final int contentInsetStart = a.getDimensionPixelOffset( in ToolbarWidgetWrapper()
153 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/test-runner/src/android/test/mock/
DMockResources.java112 public int getDimensionPixelOffset(int id) throws NotFoundException { in getDimensionPixelOffset() method in MockResources
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DToolbar.java222 a.getDimensionPixelOffset(R.styleable.Toolbar_titleMargins, 0); in Toolbar()
224 final int marginStart = a.getDimensionPixelOffset(R.styleable.Toolbar_titleMarginStart, -1); in Toolbar()
229 final int marginEnd = a.getDimensionPixelOffset(R.styleable.Toolbar_titleMarginEnd, -1); in Toolbar()
234 final int marginTop = a.getDimensionPixelOffset(R.styleable.Toolbar_titleMarginTop, -1); in Toolbar()
239 final int marginBottom = a.getDimensionPixelOffset(R.styleable.Toolbar_titleMarginBottom, in Toolbar()
248 a.getDimensionPixelOffset(R.styleable.Toolbar_contentInsetStart, in Toolbar()
251 a.getDimensionPixelOffset(R.styleable.Toolbar_contentInsetEnd, in Toolbar()
DListPopupWindow.java232 mDropDownHorizontalOffset = a.getDimensionPixelOffset( in ListPopupWindow()
234 mDropDownVerticalOffset = a.getDimensionPixelOffset( in ListPopupWindow()
/frameworks/support/design/src/android/support/design/internal/
DNavigationMenuPresenter.java89 mPaddingTopDefault = res.getDimensionPixelOffset( in initForMenu()
91 mPaddingSeparator = res.getDimensionPixelOffset( in initForMenu()
/frameworks/base/core/java/com/android/internal/widget/
DPasswordEntryKeyboard.java77 sSpacebarVerticalCorrection = res.getDimensionPixelOffset( in init()
DToolbarWidgetWrapper.java145 final int contentInsetStart = a.getDimensionPixelOffset( in ToolbarWidgetWrapper()
147 final int contentInsetEnd = a.getDimensionPixelOffset( in ToolbarWidgetWrapper()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/
DAppearAnimationUtils.java57 mStartTranslation = ctx.getResources().getDimensionPixelOffset( in AppearAnimationUtils()
/frameworks/opt/chips/src/com/android/ex/chips/
DDropdownChipLayouter.java56 context.getResources().getDimensionPixelOffset(R.dimen.chip_wrapper_start_padding); in DropdownChipLayouter()

12