Home
last modified time | relevance | path

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

12

/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()
DBatteryMeterView.java145 getResources().getDimensionPixelOffset(R.dimen.battery_margin_bottom)); in BatteryMeterView()
/frameworks/base/core/java/com/android/internal/view/
DTooltipPopup.java98 final int tooltipPreciseAnchorThreshold = mContext.getResources().getDimensionPixelOffset( in computePosition()
114 final int offsetExtra = mContext.getResources().getDimensionPixelOffset( in computePosition()
126 final int tooltipOffset = mContext.getResources().getDimensionPixelOffset( in computePosition()
/frameworks/base/core/java/android/widget/
DAbsoluteLayout.java208 x = a.getDimensionPixelOffset( in LayoutParams()
210 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.java249 a.getDimensionPixelOffset(R.styleable.Toolbar_titleMargin, 0); in Toolbar()
251 final int marginStart = a.getDimensionPixelOffset(R.styleable.Toolbar_titleMarginStart, -1); in Toolbar()
256 final int marginEnd = a.getDimensionPixelOffset(R.styleable.Toolbar_titleMarginEnd, -1); in Toolbar()
261 final int marginTop = a.getDimensionPixelOffset(R.styleable.Toolbar_titleMarginTop, -1); in Toolbar()
266 final int marginBottom = a.getDimensionPixelOffset(R.styleable.Toolbar_titleMarginBottom, in Toolbar()
275 a.getDimensionPixelOffset(R.styleable.Toolbar_contentInsetStart, in Toolbar()
278 a.getDimensionPixelOffset(R.styleable.Toolbar_contentInsetEnd, in Toolbar()
293 mContentInsetStartWithNavigation = a.getDimensionPixelOffset( in Toolbar()
295 mContentInsetEndWithActions = a.getDimensionPixelOffset( in Toolbar()
DListPopupWindow.java231 mDropDownHorizontalOffset = a.getDimensionPixelOffset( in ListPopupWindow()
233 mDropDownVerticalOffset = a.getDimensionPixelOffset( in ListPopupWindow()
DGridView.java157 int hSpacing = a.getDimensionPixelOffset( in GridView()
161 int vSpacing = a.getDimensionPixelOffset( in GridView()
170 int columnWidth = a.getDimensionPixelOffset(R.styleable.GridView_columnWidth, -1); in GridView()
/frameworks/base/graphics/java/android/graphics/drawable/
DShapeDrawable.java386 a.getDimensionPixelOffset( in inflateTag()
388 a.getDimensionPixelOffset( in inflateTag()
390 a.getDimensionPixelOffset( in inflateTag()
392 a.getDimensionPixelOffset( in inflateTag()
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 …]
DGradientDrawable.java1622 pad.set(a.getDimensionPixelOffset(R.styleable.GradientDrawablePadding_left, pad.left),
1623 a.getDimensionPixelOffset(R.styleable.GradientDrawablePadding_top, pad.top),
1624 a.getDimensionPixelOffset(R.styleable.GradientDrawablePadding_right, pad.right),
1625 a.getDimensionPixelOffset(R.styleable.GradientDrawablePadding_bottom, pad.bottom));
DVectorDrawable.java797 final int insetLeft = a.getDimensionPixelOffset( in updateStateFromTypedArray()
799 final int insetTop = a.getDimensionPixelOffset( in updateStateFromTypedArray()
801 final int insetRight = a.getDimensionPixelOffset( in updateStateFromTypedArray()
803 final int insetBottom = a.getDimensionPixelOffset( in updateStateFromTypedArray()
DInsetDrawable.java216 int dimension = a.getDimensionPixelOffset(index, 0); in getInset()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSFooterView.java144 int defSpace = mContext.getResources().getDimensionPixelOffset(R.dimen.default_gear_space); in updateAnimator()
173 .getDimensionPixelOffset(R.dimen.qs_footer_tuner_icon_translation); in updateResources()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShelf.java117 mStatusBarHeight = res.getDimensionPixelOffset(R.dimen.status_bar_height); in initDimens()
121 layoutParams.height = res.getDimensionPixelOffset(R.dimen.notification_shelf_height); in initDimens()
124 int padding = res.getDimensionPixelOffset(R.dimen.shelf_icon_container_padding); in initDimens()
126 mScrollFastThreshold = res.getDimensionPixelOffset(R.dimen.scroll_fast_threshold); in initDimens()
/frameworks/base/test-mock/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/
DToolbarWidgetWrapper.java145 final int contentInsetStart = a.getDimensionPixelOffset( in ToolbarWidgetWrapper()
147 final int contentInsetEnd = a.getDimensionPixelOffset( in ToolbarWidgetWrapper()
DNotificationActionListLayout.java184 : getResources().getDimensionPixelOffset(mCollapsibleIndentDimen); in onMeasure()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubblePositioner.java341 final float startingVerticalOffset = mContext.getResources().getDimensionPixelOffset( in getDefaultStartPosition()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/
DAppearAnimationUtils.java54 mStartTranslation = ctx.getResources().getDimensionPixelOffset( in AppearAnimationUtils()
/frameworks/opt/chips/src/com/android/ex/chips/
DDropdownChipLayouter.java74 context.getResources().getDimensionPixelOffset(R.dimen.chip_wrapper_start_padding); in DropdownChipLayouter()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardBouncer.java459 mStatusBarHeight = mRoot.getResources().getDimensionPixelOffset( in inflateView()
/frameworks/base/core/java/com/android/internal/app/
DAlertController.java994 mPaddingBottomNoButtons = ta.getDimensionPixelOffset( in RecycleListView()
996 mPaddingTopNoTitle = ta.getDimensionPixelOffset( in RecycleListView()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java297 mVerticalCorrection = a.getDimensionPixelOffset(attr, 0); in KeyboardView()
303 mPreviewOffset = a.getDimensionPixelOffset(attr, 0); in KeyboardView()
/frameworks/base/core/java/android/content/res/
DTypedArray.java717 public int getDimensionPixelOffset(@StyleableRes int index, int defValue) { in getDimensionPixelOffset() method in TypedArray

12