/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | ScreenDecorationsTest.java | 52 import com.android.systemui.R.dimen; 144 com.android.internal.R.dimen.rounded_corner_radius, 0); in testNoRounding_NoCutout() 146 com.android.internal.R.dimen.rounded_corner_radius_top, 0); in testNoRounding_NoCutout() 148 com.android.internal.R.dimen.rounded_corner_radius_bottom, 0); in testNoRounding_NoCutout() 150 .addOverride(dimen.rounded_corner_content_padding, 0); in testNoRounding_NoCutout() 166 com.android.internal.R.dimen.rounded_corner_radius, 20); in testRounding() 168 .addOverride(dimen.rounded_corner_content_padding, 20); in testRounding() 187 com.android.internal.R.dimen.rounded_corner_radius, 0); in testCutout() 189 .addOverride(dimen.rounded_corner_content_padding, 0); in testCutout() 201 com.android.internal.R.dimen.rounded_corner_radius, 0); in testDelayedCutout() [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ConfigurationBoundResourceCacheTest.java | 84 res.getValue(R.dimen.resource_cache_test_generic, staticValue, true); in testVoidConfigChange() 105 res.getValue(R.dimen.resource_cache_test_orientation_dependent, changingValue, true); in testEffectiveConfigChange() 128 res.getValue(R.dimen.resource_cache_test_generic, staticValue, true); in testConfigChangeMultipleResources() 129 res.getValue(R.dimen.resource_cache_test_orientation_dependent, changingValue, true); in testConfigChangeMultipleResources() 133 mCache.put(R.dimen.resource_cache_test_generic, getActivity().getTheme(), in testConfigChangeMultipleResources() 135 mCache.put(R.dimen.resource_cache_test_orientation_dependent, getActivity().getTheme(), in testConfigChangeMultipleResources() 143 assertEquals(staticDim, mCache.getInstance(R.dimen.resource_cache_test_generic, res, in testConfigChangeMultipleResources() 146 mCache.getInstance(R.dimen.resource_cache_test_orientation_dependent, res, in testConfigChangeMultipleResources() 149 assertEquals(staticDim, mCache.getInstance(R.dimen.resource_cache_test_generic, res, in testConfigChangeMultipleResources() 151 assertNull(mCache.getInstance(R.dimen.resource_cache_test_orientation_dependent, res, in testConfigChangeMultipleResources() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | TunablePadding.java | 57 int dimen = mDefaultSize; in onTuningChanged() local 60 dimen = (int) (Integer.parseInt(newValue) * mDensity); in onTuningChanged() 65 mView.setPadding(getPadding(dimen, left), getPadding(dimen, FLAG_TOP), in onTuningChanged() 66 getPadding(dimen, right), getPadding(dimen, FLAG_BOTTOM)); in onTuningChanged() 69 private int getPadding(int dimen, int flag) { in getPadding() argument 70 return ((mFlags & flag) != 0) ? dimen : 0; in getPadding()
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/ |
D | GlifDimensionTest.java | 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() 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 | 119 R.dimen.keyguard_clock_notifications_margin); in loadDimens() 123 R.dimen.keyguard_clock_top_margin), in loadDimens() 124 res.getDimensionPixelSize(R.dimen.keyguard_lock_height) in loadDimens() 125 + res.getDimensionPixelSize(R.dimen.keyguard_lock_padding) in loadDimens() 126 + res.getDimensionPixelSize(R.dimen.keyguard_clock_lock_margin)); in loadDimens() 128 R.dimen.burn_in_prevention_offset_x); in loadDimens() 130 R.dimen.burn_in_prevention_offset_y); in loadDimens()
|
D | KeyguardStatusBarView.java | 131 R.dimen.multi_user_avatar_keyguard_size); in onConfigurationChanged() 137 R.dimen.multi_user_switch_width_keyguard); in onConfigurationChanged() 139 R.dimen.multi_user_switch_keyguard_margin)); in onConfigurationChanged() 145 R.dimen.system_icons_super_container_margin_start)); in onConfigurationChanged() 149 getResources().getDimensionPixelSize(R.dimen.system_icons_keyguard_padding_end), in onConfigurationChanged() 155 com.android.internal.R.dimen.text_size_small_material)); in onConfigurationChanged() 158 getResources().getDimensionPixelSize(R.dimen.keyguard_carrier_text_margin)); in onConfigurationChanged() 163 R.dimen.status_bar_header_height_keyguard); in onConfigurationChanged() 170 R.dimen.system_icons_switcher_hidden_expanded_margin); in loadDimens() 172 R.dimen.system_icons_super_container_avatarless_margin_end); in loadDimens() [all …]
|
D | NavBarTintController.java | 82 mNavBarHeight = res.getDimensionPixelSize(R.dimen.navigation_bar_height); in NavBarTintController() 84 res.getDimensionPixelSize(R.dimen.navigation_handle_sample_horizontal_margin); in NavBarTintController() 85 mLuminanceThreshold = res.getFloat(R.dimen.navigation_luminance_threshold); in NavBarTintController() 86 mLuminanceChangeThreshold = res.getFloat(R.dimen.navigation_luminance_change_threshold); in NavBarTintController()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/ |
D | SmallClockPosition.java | 43 this(res.getDimensionPixelSize(com.android.keyguard.R.dimen.status_bar_height), in SmallClockPosition() 44 res.getDimensionPixelSize(com.android.keyguard.R.dimen.keyguard_lock_padding), in SmallClockPosition() 45 res.getDimensionPixelSize(com.android.keyguard.R.dimen.keyguard_lock_height), in SmallClockPosition() 46 res.getDimensionPixelSize(com.android.keyguard.R.dimen.burn_in_prevention_offset_y) in SmallClockPosition()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/ |
D | TaskStackLayoutAlgorithm.java | 292 mFocusedTopPeekHeight = res.getDimensionPixelSize(R.dimen.recents_layout_top_peek_size); in reloadOnConfigurationChange() 294 res.getDimensionPixelSize(R.dimen.recents_layout_bottom_peek_size); in reloadOnConfigurationChange() 295 mMinTranslationZ = res.getDimensionPixelSize(R.dimen.recents_layout_z_min); in reloadOnConfigurationChange() 296 mMaxTranslationZ = res.getDimensionPixelSize(R.dimen.recents_layout_z_max); in reloadOnConfigurationChange() 298 R.dimen.recents_layout_initial_top_offset_phone_port, in reloadOnConfigurationChange() 299 R.dimen.recents_layout_initial_top_offset_phone_land, in reloadOnConfigurationChange() 300 R.dimen.recents_layout_initial_top_offset_tablet, in reloadOnConfigurationChange() 301 R.dimen.recents_layout_initial_top_offset_tablet, in reloadOnConfigurationChange() 302 R.dimen.recents_layout_initial_top_offset_tablet, in reloadOnConfigurationChange() 303 R.dimen.recents_layout_initial_top_offset_tablet, in reloadOnConfigurationChange() [all …]
|
D | TaskViewHeader.java | 216 res.getDimensionPixelSize(R.dimen.recents_grid_task_view_rounded_corners_radius) : in TaskViewHeader() 217 res.getDimensionPixelSize(R.dimen.recents_task_view_rounded_corners_radius); in TaskViewHeader() 218 mHighlightHeight = res.getDimensionPixelSize(R.dimen.recents_task_view_highlight); in TaskViewHeader() 299 R.dimen.recents_task_view_header_height, in onConfigurationChanged() 300 R.dimen.recents_task_view_header_height, in onConfigurationChanged() 301 R.dimen.recents_task_view_header_height, in onConfigurationChanged() 302 R.dimen.recents_task_view_header_height_tablet_land, in onConfigurationChanged() 303 R.dimen.recents_task_view_header_height, in onConfigurationChanged() 304 R.dimen.recents_task_view_header_height_tablet_land, in onConfigurationChanged() 305 R.dimen.recents_grid_task_view_header_height); in onConfigurationChanged() [all …]
|
/frameworks/base/core/java/android/view/ |
D | ViewConfiguration.java | 396 com.android.internal.R.dimen.config_scrollbarSize); in ViewConfiguration() 442 com.android.internal.R.dimen.config_viewConfigurationTouchSlop); in ViewConfiguration() 444 com.android.internal.R.dimen.config_viewConfigurationHoverSlop); in ViewConfiguration() 446 com.android.internal.R.dimen.config_minScrollbarTouchTarget); in ViewConfiguration() 452 com.android.internal.R.dimen.config_viewMinFlingVelocity); in ViewConfiguration() 454 com.android.internal.R.dimen.config_viewMaxFlingVelocity); in ViewConfiguration() 459 com.android.internal.R.dimen.config_horizontalScrollFactor); in ViewConfiguration() 461 com.android.internal.R.dimen.config_verticalScrollFactor); in ViewConfiguration() 467 com.android.internal.R.dimen.config_minScalingSpan); in ViewConfiguration()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | ScreenDecorationsUtils.java | 39 float defaultRadius = resources.getDimension(R.dimen.rounded_corner_radius); in getWindowCornerRadius() 41 float topRadius = resources.getDimension(R.dimen.rounded_corner_radius_top); in getWindowCornerRadius() 45 float bottomRadius = resources.getDimension(R.dimen.rounded_corner_radius_bottom); in getWindowCornerRadius()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | DataUsageDetailView.java | 54 FontSizeUtils.updateFontSize(this, android.R.id.title, R.dimen.qs_data_usage_text_size); in onConfigurationChanged() 55 FontSizeUtils.updateFontSize(this, R.id.usage_text, R.dimen.qs_data_usage_usage_text_size); in onConfigurationChanged() 57 R.dimen.qs_data_usage_text_size); in onConfigurationChanged() 59 R.dimen.qs_data_usage_text_size); in onConfigurationChanged() 60 FontSizeUtils.updateFontSize(this, R.id.usage_period_text, R.dimen.qs_data_usage_text_size); in onConfigurationChanged() 62 R.dimen.qs_data_usage_text_size); 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/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/grid/ |
D | GridTaskView.java | 45 R.dimen.recents_grid_task_view_header_height); in GridTaskView() 62 R.dimen.recents_task_view_shadow_rounded_corners_radius)); in createOutlineProvider() 69 R.dimen.recents_grid_task_view_header_height); in onConfigurationChanged()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | NotificationActionListLayout.java | 266 com.android.internal.R.dimen.notification_content_margin); in updateHeights() 269 com.android.internal.R.dimen.notification_content_margin_end); in updateHeights() 271 com.android.internal.R.dimen.notification_action_emphasized_height); in updateHeights() 273 com.android.internal.R.dimen.notification_action_list_height); in updateHeights() 287 com.android.internal.R.dimen.notification_content_margin); in setEmphasizedMode() 290 com.android.internal.R.dimen.notification_content_margin_end); in setEmphasizedMode() 293 com.android.internal.R.dimen.button_inset_vertical_material); in setEmphasizedMode()
|
D | MessagingImageMessage.java | 80 com.android.internal.R.dimen.messaging_image_min_size); in MessagingImageMessage() 82 com.android.internal.R.dimen.messaging_image_max_height); in MessagingImageMessage() 84 com.android.internal.R.dimen.messaging_image_rounding); in MessagingImageMessage() 86 com.android.internal.R.dimen.messaging_image_extra_spacing); in MessagingImageMessage() 88 mIsolatedSize = getResources().getDimensionPixelSize(R.dimen.messaging_avatar_size); in MessagingImageMessage()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
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() 90 mSidePadding = res.getDimensionPixelOffset(R.dimen.qs_tile_layout_margin_side); in updateResources()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/ |
D | MLand.java | 102 TRANSLATION_PER_SEC = res.getDimension(R.dimen.translation_per_sec); in Params() 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() [all …]
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayPolicyTestsBase.java | 75 resources.addOverride(R.dimen.status_bar_height_portrait, STATUS_BAR_HEIGHT); in setUpDisplayPolicy() 76 resources.addOverride(R.dimen.status_bar_height_landscape, STATUS_BAR_HEIGHT); in setUpDisplayPolicy() 77 resources.addOverride(R.dimen.navigation_bar_height, NAV_BAR_HEIGHT); in setUpDisplayPolicy() 78 resources.addOverride(R.dimen.navigation_bar_height_landscape, NAV_BAR_HEIGHT); in setUpDisplayPolicy() 79 resources.addOverride(R.dimen.navigation_bar_width, NAV_BAR_HEIGHT); in setUpDisplayPolicy()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardSliceView.java | 124 mRowPadding = context.getResources().getDimensionPixelSize(R.dimen.subtitle_clock_padding); in KeyguardSliceView() 126 .getDimensionPixelSize(R.dimen.header_subtitle_padding); in KeyguardSliceView() 148 mIconSize = (int) mContext.getResources().getDimension(R.dimen.widget_icon_size); in onFinishInflate() 149 mIconSizeWithHeader = (int) mContext.getResources().getDimension(R.dimen.header_icon_size); in onFinishInflate() 151 R.dimen.widget_label_font_size); in onFinishInflate() 153 R.dimen.header_row_font_size); in onFinishInflate() 382 mIconSize = mContext.getResources().getDimensionPixelSize(R.dimen.widget_icon_size); in onDensityOrFontScaleChanged() 383 mIconSizeWithHeader = (int) mContext.getResources().getDimension(R.dimen.header_icon_size); in onDensityOrFontScaleChanged() 385 R.dimen.widget_label_font_size); in onDensityOrFontScaleChanged() 387 R.dimen.header_row_font_size); in onDensityOrFontScaleChanged() [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/bubbles/ |
D | BubbleFlyoutView.java | 143 mFlyoutPadding = res.getDimensionPixelSize(R.dimen.bubble_flyout_padding_x); in BubbleFlyoutView() 144 mFlyoutSpaceFromBubble = res.getDimensionPixelSize(R.dimen.bubble_flyout_space_from_bubble); in BubbleFlyoutView() 145 mPointerSize = res.getDimensionPixelSize(R.dimen.bubble_flyout_pointer_size); in BubbleFlyoutView() 146 mBubbleSize = res.getDimensionPixelSize(R.dimen.individual_bubble_size); in BubbleFlyoutView() 147 mBubbleElevation = res.getDimensionPixelSize(R.dimen.bubble_elevation); in BubbleFlyoutView() 148 mFlyoutElevation = res.getDimensionPixelSize(R.dimen.bubble_flyout_elevation); in BubbleFlyoutView()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | TooltipPopup.java | 99 com.android.internal.R.dimen.tooltip_precise_anchor_threshold); in computePosition() 115 com.android.internal.R.dimen.tooltip_precise_anchor_extra_offset); in computePosition() 127 fromTouch ? com.android.internal.R.dimen.tooltip_y_offset_touch in computePosition() 128 : com.android.internal.R.dimen.tooltip_y_offset_non_touch); in computePosition()
|
/frameworks/base/services/core/java/com/android/server/display/whitebalance/ |
D | DisplayWhiteBalanceFactory.java | 67 com.android.internal.R.dimen in create() 70 com.android.internal.R.dimen in create() 108 com.android.internal.R.dimen.config_displayWhiteBalanceBrightnessFilterIntercept); in createBrightnessFilter() 138 com.android.internal.R.dimen in createColorTemperatureFilter()
|