/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/ |
D | GlifDimensionTest.java | 61 final int marginSides = a.getDimensionPixelSize(0, 0); in assertDividerInset() 67 .that(res.getDimensionPixelSize(R.dimen.suw_items_glif_text_divider_inset)) in assertDividerInset() 73 .that(res.getDimensionPixelSize(R.dimen.suw_items_glif_icon_divider_inset)) in assertDividerInset() 74 .isEqualTo(marginSides + res.getDimensionPixelSize(R.dimen.suw_items_icon_container_width)); in assertDividerInset() 92 final int marginSides = a.getDimensionPixelSize(0, 0); in assertButtonMargin() 98 .that(res.getDimensionPixelSize(R.dimen.suw_glif_button_margin_end)) in assertButtonMargin() 104 .that(res.getDimensionPixelSize(R.dimen.suw_glif_button_margin_start)) in assertButtonMargin() 105 .isEqualTo(marginSides - res.getDimensionPixelSize(R.dimen.suw_glif_button_padding)); in assertButtonMargin()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | KeyguardClockPositionAlgorithm.java | 129 mClockNotificationsMargin = res.getDimensionPixelSize( in loadDimens() 133 mContainerTopPadding = Math.max(res.getDimensionPixelSize( in loadDimens() 135 res.getDimensionPixelSize(R.dimen.keyguard_lock_height) in loadDimens() 136 + res.getDimensionPixelSize(R.dimen.keyguard_lock_padding) in loadDimens() 137 + res.getDimensionPixelSize(R.dimen.keyguard_clock_lock_margin)); in loadDimens() 138 mBurnInPreventionOffsetX = res.getDimensionPixelSize( in loadDimens() 140 mBurnInPreventionOffsetY = res.getDimensionPixelSize( in loadDimens()
|
D | KeyguardStatusBarView.java | 130 lp.width = lp.height = getResources().getDimensionPixelSize( in onConfigurationChanged() 136 lp.width = getResources().getDimensionPixelSize( in onConfigurationChanged() 138 lp.setMarginEnd(getResources().getDimensionPixelSize( in onConfigurationChanged() 144 lp.setMarginStart(getResources().getDimensionPixelSize( in onConfigurationChanged() 149 getResources().getDimensionPixelSize(R.dimen.system_icons_keyguard_padding_end), in onConfigurationChanged() 154 getResources().getDimensionPixelSize( in onConfigurationChanged() 158 getResources().getDimensionPixelSize(R.dimen.keyguard_carrier_text_margin)); in onConfigurationChanged() 162 lp.height = getResources().getDimensionPixelSize( in onConfigurationChanged() 169 mSystemIconsSwitcherHiddenExpandedMargin = res.getDimensionPixelSize( in loadDimens() 171 mSystemIconsBaseMargin = res.getDimensionPixelSize( in loadDimens() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/ |
D | SmallClockPosition.java | 44 this(res.getDimensionPixelSize(R.dimen.status_bar_height), in SmallClockPosition() 45 res.getDimensionPixelSize(R.dimen.keyguard_lock_padding), in SmallClockPosition() 46 res.getDimensionPixelSize(R.dimen.keyguard_lock_height), in SmallClockPosition() 47 res.getDimensionPixelSize(R.dimen.burn_in_prevention_offset_y) in SmallClockPosition()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | PaintDrawable.java | 78 int radius = a.getDimensionPixelSize( in inflateTag() 84 int topLeftRadius = a.getDimensionPixelSize( in inflateTag() 86 int topRightRadius = a.getDimensionPixelSize( in inflateTag() 88 int bottomLeftRadius = a.getDimensionPixelSize( in inflateTag() 90 int bottomRightRadius = a.getDimensionPixelSize( in inflateTag()
|
/frameworks/base/core/java/android/view/ |
D | ViewConfiguration.java | 396 mScrollbarSize = res.getDimensionPixelSize( in ViewConfiguration() 442 mTouchSlop = res.getDimensionPixelSize( in ViewConfiguration() 444 mHoverSlop = res.getDimensionPixelSize( in ViewConfiguration() 446 mMinScrollbarTouchTarget = res.getDimensionPixelSize( in ViewConfiguration() 452 mMinimumFlingVelocity = res.getDimensionPixelSize( in ViewConfiguration() 454 mMaximumFlingVelocity = res.getDimensionPixelSize( in ViewConfiguration() 459 mHorizontalScrollFactor = res.getDimensionPixelSize( in ViewConfiguration() 461 mVerticalScrollFactor = res.getDimensionPixelSize( in ViewConfiguration() 467 mMinScalingSpan = res.getDimensionPixelSize( in ViewConfiguration()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/ |
D | BubbleFlyoutView.java | 148 mFlyoutPadding = res.getDimensionPixelSize(R.dimen.bubble_flyout_padding_x); in BubbleFlyoutView() 149 mFlyoutSpaceFromBubble = res.getDimensionPixelSize(R.dimen.bubble_flyout_space_from_bubble); in BubbleFlyoutView() 150 mPointerSize = res.getDimensionPixelSize(R.dimen.bubble_flyout_pointer_size); in BubbleFlyoutView() 152 mBubbleSize = res.getDimensionPixelSize(R.dimen.individual_bubble_size); in BubbleFlyoutView() 153 mBubbleIconBitmapSize = res.getDimensionPixelSize(R.dimen.bubble_icon_bitmap_size); in BubbleFlyoutView() 156 mBubbleElevation = res.getDimensionPixelSize(R.dimen.bubble_elevation); in BubbleFlyoutView() 157 mFlyoutElevation = res.getDimensionPixelSize(R.dimen.bubble_flyout_elevation); in BubbleFlyoutView() 168 mCornerRadius = ta.getDimensionPixelSize(1, 0); in BubbleFlyoutView()
|
D | BubbleIconFactory.java | 31 context.getResources().getDimensionPixelSize(R.dimen.individual_bubble_size)); in BubbleIconFactory() 35 return mContext.getResources().getDimensionPixelSize( in getBadgeSize()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/grid/ |
D | GridTaskView.java | 44 mHeaderHeight = context.getResources().getDimensionPixelSize( in GridTaskView() 61 return new AnimateableGridViewBounds(this, mContext.getResources().getDimensionPixelSize( in createOutlineProvider() 68 mHeaderHeight = mContext.getResources().getDimensionPixelSize( in onConfigurationChanged()
|
/frameworks/opt/setupwizard/library/gingerbread/test/robotest/src/com/android/setupwizardlib/util/ |
D | DimensionConsistencyTest.java | 56 res.getDimensionPixelSize(R.dimen.suw_switch_divider_padding_top) in testSwitchPaddingTop() 57 + (res.getDimensionPixelSize(R.dimen.suw_switch_divider_height) / 2), in testSwitchPaddingTop() 58 res.getDimensionPixelSize(R.dimen.suw_switch_padding_top) + (dp2Px(SWTICH_HEIGHT_DP) / 2)); in testSwitchPaddingTop()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | NotificationActionListLayout.java | 265 int paddingTop = getResources().getDimensionPixelSize( in updateHeights() 268 int paddingBottom = getResources().getDimensionPixelSize( in updateHeights() 270 mEmphasizedHeight = paddingBottom + paddingTop + getResources().getDimensionPixelSize( in updateHeights() 272 mRegularHeight = getResources().getDimensionPixelSize( in updateHeights() 286 int paddingTop = getResources().getDimensionPixelSize( in setEmphasizedMode() 289 int paddingBottom = getResources().getDimensionPixelSize( in setEmphasizedMode() 292 int buttonPaddingInternal = getResources().getDimensionPixelSize( in setEmphasizedMode()
|
D | SubtitleView.java | 108 mSpacingAdd = a.getDimensionPixelSize(attr, (int) mSpacingAdd); in SubtitleView() 114 textSize = a.getDimensionPixelSize(attr, textSize); in SubtitleView() 122 … mCornerRadius = res.getDimensionPixelSize(com.android.internal.R.dimen.subtitle_corner_radius); in SubtitleView() 123 … mOutlineWidth = res.getDimensionPixelSize(com.android.internal.R.dimen.subtitle_outline_width); in SubtitleView() 124 … mShadowRadius = res.getDimensionPixelSize(com.android.internal.R.dimen.subtitle_shadow_radius); in SubtitleView() 125 … mShadowOffsetX = res.getDimensionPixelSize(com.android.internal.R.dimen.subtitle_shadow_offset); in SubtitleView()
|
D | MessagingImageMessage.java | 79 mMinImageHeight = context.getResources().getDimensionPixelSize( in MessagingImageMessage() 81 mMaxImageHeight = context.getResources().getDimensionPixelSize( in MessagingImageMessage() 83 mImageRounding = context.getResources().getDimensionPixelSize( in MessagingImageMessage() 85 mExtraSpacing = context.getResources().getDimensionPixelSize( in MessagingImageMessage() 88 mIsolatedSize = getResources().getDimensionPixelSize(R.dimen.messaging_avatar_size); in MessagingImageMessage()
|
/frameworks/base/core/java/android/preference/ |
D | PreferenceFrameLayout.java | 70 mBorderTop = a.getDimensionPixelSize( in PreferenceFrameLayout() 73 mBorderBottom = a.getDimensionPixelSize( in PreferenceFrameLayout() 76 mBorderLeft = a.getDimensionPixelSize( in PreferenceFrameLayout() 79 mBorderRight = a.getDimensionPixelSize( in PreferenceFrameLayout()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/ |
D | DisplayUtils.java | 90 radius = context.getResources().getDimensionPixelSize(resourceId); in getCornerRadiusBottom() 109 radius = context.getResources().getDimensionPixelSize(resourceId); in getCornerRadiusTop() 124 radius = context.getResources().getDimensionPixelSize(resourceId); in getCornerRadiusDefault()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/ |
D | MLand.java | 103 OBSTACLE_SPACING = res.getDimensionPixelSize(R.dimen.obstacle_spacing); in Params() 105 BOOST_DV = res.getDimensionPixelSize(R.dimen.boost_dv); in Params() 106 PLAYER_HIT_SIZE = res.getDimensionPixelSize(R.dimen.player_hit_size); in Params() 107 PLAYER_SIZE = res.getDimensionPixelSize(R.dimen.player_size); in Params() 108 OBSTACLE_WIDTH = res.getDimensionPixelSize(R.dimen.obstacle_width); in Params() 109 OBSTACLE_STEM_WIDTH = res.getDimensionPixelSize(R.dimen.obstacle_stem_width); in Params() 110 OBSTACLE_GAP = res.getDimensionPixelSize(R.dimen.obstacle_gap); in Params() 111 OBSTACLE_MIN = res.getDimensionPixelSize(R.dimen.obstacle_height_min); in Params() 112 BUILDING_HEIGHT_MIN = res.getDimensionPixelSize(R.dimen.building_height_min); in Params() 113 BUILDING_WIDTH_MIN = res.getDimensionPixelSize(R.dimen.building_width_min); in Params() [all …]
|
/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
D | ColorPickerPalette.java | 61 mSwatchLength = res.getDimensionPixelSize(R.dimen.color_swatch_large); in init() 62 mMarginSize = res.getDimensionPixelSize(R.dimen.color_swatch_margins_large); in init() 64 mSwatchLength = res.getDimensionPixelSize(R.dimen.color_swatch_small); in init() 65 mMarginSize = res.getDimensionPixelSize(R.dimen.color_swatch_margins_small); in init()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QuickStatusBarHeader.java | 292 int sbHeight = mContext.getResources().getDimensionPixelSize( in updateMinimumHeight() 294 int qqsHeight = mContext.getResources().getDimensionPixelSize( in updateMinimumHeight() 306 resources.getDimensionPixelSize(R.dimen.qs_header_tooltip_height); in updateResources() 309 mSystemIconsView.getLayoutParams().height = resources.getDimensionPixelSize( in updateResources() 315 lp.height = resources.getDimensionPixelSize( in updateResources() 319 resources.getDimensionPixelSize( in updateResources() 405 getResources().getDimensionPixelSize(R.dimen.status_bar_padding_start), in onApplyWindowInsets() 406 getResources().getDimensionPixelSize(R.dimen.status_bar_padding_top), in onApplyWindowInsets() 407 getResources().getDimensionPixelSize(R.dimen.status_bar_padding_end), in onApplyWindowInsets() 412 getResources().getDimensionPixelSize(R.dimen.status_bar_padding_top), in onApplyWindowInsets()
|
D | TileLayout.java | 86 mCellHeight = mContext.getResources().getDimensionPixelSize(R.dimen.qs_tile_height); in updateResources() 87 mCellMarginHorizontal = res.getDimensionPixelSize(R.dimen.qs_tile_margin_horizontal); in updateResources() 88 mCellMarginVertical= res.getDimensionPixelSize(R.dimen.qs_tile_margin_vertical); in updateResources() 89 mCellMarginTop = res.getDimensionPixelSize(R.dimen.qs_tile_margin_top); in updateResources()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/animation/ |
D | StackAnimationController.java | 702 mStackOffset = res.getDimensionPixelSize(R.dimen.bubble_stack_offset); 703 mBubbleSize = res.getDimensionPixelSize(R.dimen.individual_bubble_size); 704 mBubbleIconBitmapSize = res.getDimensionPixelSize(R.dimen.bubble_icon_bitmap_size); 705 mBubblePaddingTop = res.getDimensionPixelSize(R.dimen.bubble_padding_top); 706 mBubbleOffscreen = res.getDimensionPixelSize(R.dimen.bubble_stack_offscreen); 708 res.getDimensionPixelSize(R.dimen.bubble_stack_starting_offset_y); 710 res.getDimensionPixelSize(com.android.internal.R.dimen.status_bar_height); 720 mBubblePaddingTop = res.getDimensionPixelSize(R.dimen.bubble_padding_top); 721 mStatusBarHeight = res.getDimensionPixelSize(
|
D | ExpandedAnimationController.java | 149 mBubblePaddingTop = res.getDimensionPixelSize(R.dimen.bubble_padding_top); in updateOrientation() 150 mStatusBarHeight = res.getDimensionPixelSize( in updateOrientation() 382 mStackOffsetPx = res.getDimensionPixelSize(R.dimen.bubble_stack_offset); in onActiveControllerForLayout() 383 mBubblePaddingTop = res.getDimensionPixelSize(R.dimen.bubble_padding_top); in onActiveControllerForLayout() 384 mBubbleSizePx = res.getDimensionPixelSize(R.dimen.individual_bubble_size); in onActiveControllerForLayout() 386 res.getDimensionPixelSize(com.android.internal.R.dimen.status_bar_height); in onActiveControllerForLayout()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/ |
D | ListMixin.java | 66 int dividerInset = a.getDimensionPixelSize(R.styleable.SuwListMixin_suwDividerInset, -1); in ListMixin() 71 a.getDimensionPixelSize(R.styleable.SuwListMixin_suwDividerInsetStart, 0); in ListMixin() 72 int dividerInsetEnd = a.getDimensionPixelSize(R.styleable.SuwListMixin_suwDividerInsetEnd, 0); in ListMixin()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ |
D | AssistOrbView.java | 110 mCircleMinSize = context.getResources().getDimensionPixelSize( in AssistOrbView() 112 mBaseMargin = context.getResources().getDimensionPixelSize( in AssistOrbView() 114 mStaticOffset = context.getResources().getDimensionPixelSize( in AssistOrbView() 116 mMaxElevation = context.getResources().getDimensionPixelSize( in AssistOrbView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | CornerHandleView.java | 154 int radius = getResources().getDimensionPixelSize( in getOuterRadiusPx() 157 radius = getResources().getDimensionPixelSize( in getOuterRadiusPx() 161 radius = getResources().getDimensionPixelSize( in getOuterRadiusPx()
|
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/template/ |
D | RecyclerMixin.java | 111 int dividerInset = a.getDimensionPixelSize(R.styleable.SuwRecyclerMixin_suwDividerInset, -1); in parseAttributes() 116 a.getDimensionPixelSize(R.styleable.SuwRecyclerMixin_suwDividerInsetStart, 0); in parseAttributes() 118 a.getDimensionPixelSize(R.styleable.SuwRecyclerMixin_suwDividerInsetEnd, 0); in parseAttributes()
|