Home
last modified time | relevance | path

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

123

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/views/
DTaskCardView.java142 int width = res.getDimensionPixelOffset(R.dimen.recents_tv_card_width); in getStartingCardThumbnailRectForStartPosition()
143 int totalSpacing = res.getDimensionPixelOffset(R.dimen.recents_tv_gird_card_spacing) * 2; in getStartingCardThumbnailRectForStartPosition()
145 totalSpacing += res.getDimensionPixelOffset(R.dimen.recents_tv_gird_focused_card_delta); in getStartingCardThumbnailRectForStartPosition()
147 int height = res.getDimensionPixelOffset(R.dimen.recents_tv_screenshot_height); in getStartingCardThumbnailRectForStartPosition()
148 int topMargin = res.getDimensionPixelOffset(R.dimen.recents_tv_gird_row_top_margin); in getStartingCardThumbnailRectForStartPosition()
149 int headerHeight = res.getDimensionPixelOffset(R.dimen.recents_tv_card_extra_badge_size) + in getStartingCardThumbnailRectForStartPosition()
150 res.getDimensionPixelOffset(R.dimen.recents_tv_icon_padding_bottom); in getStartingCardThumbnailRectForStartPosition()
172 int width = res.getDimensionPixelOffset(R.dimen.recents_tv_card_width); in getStartingCardThumbnailRectForFocusedPosition()
174 int height = res.getDimensionPixelOffset(R.dimen.recents_tv_screenshot_height); in getStartingCardThumbnailRectForFocusedPosition()
176 int topMargin = res.getDimensionPixelOffset(R.dimen.recents_tv_gird_row_top_margin); in getStartingCardThumbnailRectForFocusedPosition()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/animations/
DViewFocusAnimator.java61 mUnselectedZ = res.getDimensionPixelOffset(R.dimen.recents_tv_unselected_item_z); in ViewFocusAnimator()
62 mSelectedZDelta = res.getDimensionPixelOffset(R.dimen.recents_tv_selected_item_z_delta); in ViewFocusAnimator()
64 mUnselectedSpacing = res.getDimensionPixelOffset(R.dimen.recents_tv_gird_card_spacing); in ViewFocusAnimator()
65 … mSelectedSpacingDelta = res.getDimensionPixelOffset(R.dimen.recents_tv_gird_focused_card_delta); in ViewFocusAnimator()
DDismissAnimationsHolder.java55 mDismissEnterYDelta = res.getDimensionPixelOffset(R.dimen.recents_tv_dismiss_shift_down); in DismissAnimationsHolder()
/frameworks/base/graphics/java/android/graphics/drawable/
DInsetDrawable.java158 final int inset = a.getDimensionPixelOffset(R.styleable.InsetDrawable_inset, 0); in updateStateFromTypedArray()
165 state.mInsetLeft = a.getDimensionPixelOffset( in updateStateFromTypedArray()
167 state.mInsetRight = a.getDimensionPixelOffset( in updateStateFromTypedArray()
169 state.mInsetTop = a.getDimensionPixelOffset( in updateStateFromTypedArray()
171 state.mInsetBottom = a.getDimensionPixelOffset( in updateStateFromTypedArray()
DLayerDrawable.java315 state.mPaddingTop = a.getDimensionPixelOffset(attr, state.mPaddingTop); in updateStateFromTypedArray()
318 state.mPaddingBottom = a.getDimensionPixelOffset(attr, state.mPaddingBottom); in updateStateFromTypedArray()
321 state.mPaddingLeft = a.getDimensionPixelOffset(attr, state.mPaddingLeft); in updateStateFromTypedArray()
324 state.mPaddingRight = a.getDimensionPixelOffset(attr, state.mPaddingRight); in updateStateFromTypedArray()
327 state.mPaddingStart = a.getDimensionPixelOffset(attr, state.mPaddingStart); in updateStateFromTypedArray()
330 state.mPaddingEnd = a.getDimensionPixelOffset(attr, state.mPaddingEnd); in updateStateFromTypedArray()
356 layer.mInsetL = a.getDimensionPixelOffset(attr, layer.mInsetL); in updateLayerFromTypedArray()
359 layer.mInsetT = a.getDimensionPixelOffset(attr, layer.mInsetT); in updateLayerFromTypedArray()
362 layer.mInsetR = a.getDimensionPixelOffset(attr, layer.mInsetR); in updateLayerFromTypedArray()
365 layer.mInsetB = a.getDimensionPixelOffset(attr, layer.mInsetB); in updateLayerFromTypedArray()
[all …]
DShapeDrawable.java364 a.getDimensionPixelOffset( in inflateTag()
366 a.getDimensionPixelOffset( in inflateTag()
368 a.getDimensionPixelOffset( in inflateTag()
370 a.getDimensionPixelOffset( in inflateTag()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DResizingSpace.java46 int width = getContext().getResources().getDimensionPixelOffset(mWidth); in onConfigurationChanged()
53 int height = getContext().getResources().getDimensionPixelOffset(mHeight); in onConfigurationChanged()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DResizingTextView.java64 mResizedPaddingAdjustmentTop = a.getDimensionPixelOffset( in ResizingTextView()
66 mResizedPaddingAdjustmentBottom = a.getDimensionPixelOffset( in ResizingTextView()
DPagingIndicator.java184 return typedArray.getDimensionPixelOffset(attr, in getDimensionFromTypedArray()
185 getResources().getDimensionPixelOffset(defaultId)); in getDimensionFromTypedArray()
/frameworks/base/core/java/android/widget/
DAbsoluteLayout.java205 x = a.getDimensionPixelOffset( in LayoutParams()
207 y = a.getDimensionPixelOffset( in LayoutParams()
DYearPickerView.java56 mViewSize = res.getDimensionPixelOffset(R.dimen.datepicker_view_animator_height); in YearPickerView()
57 mChildSize = res.getDimensionPixelOffset(R.dimen.datepicker_year_label_height); in YearPickerView()
DToolbar.java237 a.getDimensionPixelOffset(R.styleable.Toolbar_titleMargin, 0); in Toolbar()
239 final int marginStart = a.getDimensionPixelOffset(R.styleable.Toolbar_titleMarginStart, -1); in Toolbar()
244 final int marginEnd = a.getDimensionPixelOffset(R.styleable.Toolbar_titleMarginEnd, -1); in Toolbar()
249 final int marginTop = a.getDimensionPixelOffset(R.styleable.Toolbar_titleMarginTop, -1); in Toolbar()
254 final int marginBottom = a.getDimensionPixelOffset(R.styleable.Toolbar_titleMarginBottom, in Toolbar()
263 a.getDimensionPixelOffset(R.styleable.Toolbar_contentInsetStart, in Toolbar()
266 a.getDimensionPixelOffset(R.styleable.Toolbar_contentInsetEnd, in Toolbar()
281 mContentInsetStartWithNavigation = a.getDimensionPixelOffset( in Toolbar()
283 mContentInsetEndWithActions = a.getDimensionPixelOffset( in Toolbar()
DListPopupWindow.java222 mDropDownHorizontalOffset = a.getDimensionPixelOffset( in ListPopupWindow()
224 mDropDownVerticalOffset = a.getDimensionPixelOffset( in ListPopupWindow()
/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/support/v7/appcompat/src/android/support/v7/widget/
DTintTypedArray.java153 public int getDimensionPixelOffset(int index, int defValue) { in getDimensionPixelOffset() method in TintTypedArray
154 return mWrapped.getDimensionPixelOffset(index, defValue); in getDimensionPixelOffset()
DResourcesWrapper.java112 public int getDimensionPixelOffset(int id) throws NotFoundException { in getDimensionPixelOffset() method in ResourcesWrapper
113 return mResources.getDimensionPixelOffset(id); in getDimensionPixelOffset()
DToolbar.java247 int titleMargin = a.getDimensionPixelOffset(R.styleable.Toolbar_titleMargin, 0); in Toolbar()
250 titleMargin = a.getDimensionPixelOffset(R.styleable.Toolbar_titleMargins, titleMargin); in Toolbar()
254 final int marginStart = a.getDimensionPixelOffset(R.styleable.Toolbar_titleMarginStart, -1); in Toolbar()
259 final int marginEnd = a.getDimensionPixelOffset(R.styleable.Toolbar_titleMarginEnd, -1); in Toolbar()
264 final int marginTop = a.getDimensionPixelOffset(R.styleable.Toolbar_titleMarginTop, -1); in Toolbar()
269 final int marginBottom = a.getDimensionPixelOffset(R.styleable.Toolbar_titleMarginBottom, in Toolbar()
278 a.getDimensionPixelOffset(R.styleable.Toolbar_contentInsetStart, in Toolbar()
281 a.getDimensionPixelOffset(R.styleable.Toolbar_contentInsetEnd, in Toolbar()
296 mContentInsetStartWithNavigation = a.getDimensionPixelOffset( in Toolbar()
298 mContentInsetEndWithActions = a.getDimensionPixelOffset( in Toolbar()
DToolbarWidgetWrapper.java149 final int contentInsetStart = a.getDimensionPixelOffset( in ToolbarWidgetWrapper()
151 final int contentInsetEnd = a.getDimensionPixelOffset( in ToolbarWidgetWrapper()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationSettingsIconRow.java88 getResources().getDimensionPixelOffset(R.dimen.notification_gear_width); in onFinishInflate()
89 mVertSpaceForGear = getResources().getDimensionPixelOffset(R.dimen.notification_min_height); in onFinishInflate()
/frameworks/base/test-runner/src/android/test/mock/
DMockResources.java117 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.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()

123