Home
last modified time | relevance | path

Searched refs:getDimensionPixelOffset (Results 1 – 25 of 40) 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.java155 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.java156 int hSpacing = a.getDimensionPixelOffset( in GridView()
160 int vSpacing = a.getDimensionPixelOffset( in GridView()
169 int columnWidth = a.getDimensionPixelOffset(R.styleable.GridView_columnWidth, -1); in GridView()
/frameworks/base/graphics/java/android/graphics/drawable/
DLayerDrawable.java314 state.mPaddingTop = a.getDimensionPixelOffset(attr, state.mPaddingTop); in updateStateFromTypedArray()
317 state.mPaddingBottom = a.getDimensionPixelOffset(attr, state.mPaddingBottom); in updateStateFromTypedArray()
320 state.mPaddingLeft = a.getDimensionPixelOffset(attr, state.mPaddingLeft); in updateStateFromTypedArray()
323 state.mPaddingRight = a.getDimensionPixelOffset(attr, state.mPaddingRight); in updateStateFromTypedArray()
326 state.mPaddingStart = a.getDimensionPixelOffset(attr, state.mPaddingStart); in updateStateFromTypedArray()
329 state.mPaddingEnd = a.getDimensionPixelOffset(attr, state.mPaddingEnd); in updateStateFromTypedArray()
355 layer.mInsetL = a.getDimensionPixelOffset(attr, layer.mInsetL); in updateLayerFromTypedArray()
358 layer.mInsetT = a.getDimensionPixelOffset(attr, layer.mInsetT); in updateLayerFromTypedArray()
361 layer.mInsetR = a.getDimensionPixelOffset(attr, layer.mInsetR); in updateLayerFromTypedArray()
364 layer.mInsetB = a.getDimensionPixelOffset(attr, layer.mInsetB); in updateLayerFromTypedArray()
[all …]
DShapeDrawable.java387 a.getDimensionPixelOffset( in inflateTag()
389 a.getDimensionPixelOffset( in inflateTag()
391 a.getDimensionPixelOffset( in inflateTag()
393 a.getDimensionPixelOffset( in inflateTag()
DVectorDrawable.java793 final int insetLeft = a.getDimensionPixelOffset( in updateStateFromTypedArray()
795 final int insetTop = a.getDimensionPixelOffset( in updateStateFromTypedArray()
797 final int insetRight = a.getDimensionPixelOffset( in updateStateFromTypedArray()
799 final int insetBottom = a.getDimensionPixelOffset( in updateStateFromTypedArray()
DGradientDrawable.java1619 pad.set(a.getDimensionPixelOffset(R.styleable.GradientDrawablePadding_left, pad.left),
1620 a.getDimensionPixelOffset(R.styleable.GradientDrawablePadding_top, pad.top),
1621 a.getDimensionPixelOffset(R.styleable.GradientDrawablePadding_right, pad.right),
1622 a.getDimensionPixelOffset(R.styleable.GradientDrawablePadding_bottom, pad.bottom));
DInsetDrawable.java215 int dimension = a.getDimensionPixelOffset(index, 0); in getInset()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShelf.java152 mStatusBarHeight = res.getDimensionPixelOffset(R.dimen.status_bar_height); in initDimens()
153 mStatusBarPaddingStart = res.getDimensionPixelOffset(R.dimen.status_bar_padding_start); in initDimens()
157 layoutParams.height = res.getDimensionPixelOffset(R.dimen.notification_shelf_height); in initDimens()
160 int padding = res.getDimensionPixelOffset(R.dimen.shelf_icon_container_padding); in initDimens()
162 mScrollFastThreshold = res.getDimensionPixelOffset(R.dimen.scroll_fast_threshold); in initDimens()
165 mHiddenShelfIconSize = res.getDimensionPixelOffset(R.dimen.hidden_shelf_icon_size); 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()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/hvac/
DAnimatedTemperatureView.java110 typedArray.getDimensionPixelOffset( in AnimatedTemperatureView()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/
DAppearAnimationUtils.java54 mStartTranslation = ctx.getResources().getDimensionPixelOffset( in AppearAnimationUtils()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardBouncer.java444 mStatusBarHeight = mRoot.getResources().getDimensionPixelOffset( in inflateView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSFooterImpl.java184 int defSpace = mContext.getResources().getDimensionPixelOffset(R.dimen.default_gear_space); in updateAnimator()
/frameworks/opt/chips/src/com/android/ex/chips/
DDropdownChipLayouter.java74 context.getResources().getDimensionPixelOffset(R.dimen.chip_wrapper_start_padding); in DropdownChipLayouter()
/frameworks/base/core/java/com/android/internal/app/
DAlertController.java993 mPaddingBottomNoButtons = ta.getDimensionPixelOffset( in RecycleListView()
995 mPaddingTopNoTitle = ta.getDimensionPixelOffset( in RecycleListView()
/frameworks/layoutlib/bridge/src/android/content/res/
DBridgeTypedArray.java419 public int getDimensionPixelOffset(int index, int defValue) { in getDimensionPixelOffset() method in BridgeTypedArray
/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.java716 public int getDimensionPixelOffset(@StyleableRes int index, int defValue) { in getDimensionPixelOffset() method in TypedArray

12