/packages/apps/Dialer/java/com/android/incallui/answer/impl/hint/ |
D | DotAnswerHint.java | 83 TypedValue.COMPLEX_UNIT_PX, context.getResources().getDimension(R.dimen.hint_text_size)); in onCreateView() 92 answerHintContainer.setY(puckLocation[1] + getDimension(R.dimen.hint_initial_offset)); in onBounceStart() 100 puckLocation[1] - getDimension(R.dimen.hint_offset)); in onBounceStart() 128 answerHintContainer.setY(puckLocation[1] + getDimension(R.dimen.hint_initial_offset)); in onBounceStart() 165 getDimension(beginSize), in createFadeInScaleAndAlpha() 166 getDimension(beginSize), in createFadeInScaleAndAlpha() 167 getDimension(endSize), in createFadeInScaleAndAlpha() 219 getDimension(beginSize), in createFadeOutScaleAndAlpha() 220 getDimension(endSize), in createFadeOutScaleAndAlpha() 221 getDimension(beginSize), in createFadeOutScaleAndAlpha() [all …]
|
D | PawAnswerHint.java | 88 TypedValue.COMPLEX_UNIT_PX, context.getResources().getDimension(R.dimen.hint_text_size)); in onCreateView() 98 answerHintContainer.setY(puckLocation[1] + getDimension(R.dimen.hint_initial_offset)); in onBounceStart() 106 puckLocation[1] - getDimension(R.dimen.hint_offset)); in onBounceStart() 128 answerHintContainer.setY(puckLocation[1] + getDimension(R.dimen.hint_initial_offset)); in onBounceStart() 207 private float getDimension(@DimenRes int id) { in getDimension() method in PawAnswerHint 208 return context.getResources().getDimension(id); in getDimension()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | LayoutUtils.java | 70 float halfDividerSize = res.getDimension(R.dimen.multi_window_task_divider_size) in calculateTaskSize() 83 paddingHorz = res.getDimension(R.dimen.multi_window_task_card_horz_space); in calculateTaskSize() 87 paddingHorz = res.getDimension(dp.isVerticalBarLayout() in calculateTaskSize() 92 float topIconMargin = res.getDimension(R.dimen.task_thumbnail_top_margin); in calculateTaskSize() 93 float paddingVert = res.getDimension(R.dimen.task_card_vert_space); in calculateTaskSize() 119 int spaceBetweenShelfAndRecents = (int) context.getResources().getDimension( in getShelfTrackingDistance()
|
D | MotionPauseDetector.java | 78 mSpeedVerySlow = res.getDimension(R.dimen.motion_pause_detector_speed_very_slow); in MotionPauseDetector() 79 mSpeedSlow = res.getDimension(R.dimen.motion_pause_detector_speed_slow); in MotionPauseDetector() 80 mSpeedSomewhatFast = res.getDimension(R.dimen.motion_pause_detector_speed_somewhat_fast); in MotionPauseDetector() 81 mSpeedFast = res.getDimension(R.dimen.motion_pause_detector_speed_fast); in MotionPauseDetector()
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
D | RoundedThumbnailView.java | 242 mThumbnailPadding = getResources().getDimension(R.dimen.rounded_thumbnail_padding); in RoundedThumbnailView() 248 getResources().getDimension(R.dimen.rounded_thumbnail_diameter_min); in RoundedThumbnailView() 250 getResources().getDimension(R.dimen.rounded_thumbnail_diameter_max); in RoundedThumbnailView() 253 getResources().getDimension(R.dimen.rounded_thumbnail_diameter_normal); in RoundedThumbnailView() 259 getResources().getDimension(R.dimen.rounded_thumbnail_ripple_ring_diameter_max); in RoundedThumbnailView() 264 getResources().getDimension(R.dimen.rounded_thumbnail_ripple_ring_diameter_min); in RoundedThumbnailView() 266 getResources().getDimension(R.dimen.rounded_thumbnail_ripple_ring_thick_max); in RoundedThumbnailView() 268 getResources().getDimension(R.dimen.rounded_thumbnail_ripple_ring_thick_min); in RoundedThumbnailView()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
D | CropView.java | 101 mIndicatorSize = (int) rsc.getDimension(R.dimen.crop_indicator_size); in setup() 102 mShadowMargin = (int) rsc.getDimension(R.dimen.shadow_margin); in setup() 103 mMargin = (int) rsc.getDimension(R.dimen.preview_margin); in setup() 104 mMinSideSize = (int) rsc.getDimension(R.dimen.crop_min_side); in setup() 105 mTouchTolerance = (int) rsc.getDimension(R.dimen.crop_touch_tolerance); in setup() 109 mDashOnLength = rsc.getDimension(R.dimen.wp_selector_dash_length); in setup() 110 mDashOffLength = rsc.getDimension(R.dimen.wp_selector_off_length); in setup()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | DonutView.java | 78 mStrokeWidth = resources.getDimension(R.dimen.storage_donut_thickness); in DonutView() 128 resources.getDimension(R.dimen.storage_donut_view_label_text_size)); in DonutView() 136 resources.getDimension(R.dimen.storage_donut_view_percent_text_size)); in DonutView() 207 .getDimension( in setPercentage() 241 resources.getDimension(R.dimen.storage_donut_view_percent_sign_size) in getPercentageStringSpannable() 242 / resources.getDimension(R.dimen.storage_donut_view_percent_text_size); in getPercentageStringSpannable()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | DonutView.java | 78 mStrokeWidth = resources.getDimension(R.dimen.storage_donut_thickness); in DonutView() 128 resources.getDimension(R.dimen.storage_donut_view_label_text_size)); in DonutView() 136 resources.getDimension(R.dimen.storage_donut_view_percent_text_size)); in DonutView() 207 .getDimension( in setPercentage() 241 resources.getDimension(R.dimen.storage_donut_view_percent_sign_size) in getPercentageStringSpannable() 242 / resources.getDimension(R.dimen.storage_donut_view_percent_text_size); in getPercentageStringSpannable()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | Themes.java | 69 return getDimension(context, android.R.attr.dialogCornerRadius, in getDialogCornerRadius() 70 context.getResources().getDimension(R.dimen.default_dialog_corner_radius)); in getDialogCornerRadius() 73 public static float getDimension(Context context, int attr, float defaultValue) { in getDimension() method in Themes 75 float value = ta.getDimension(0, defaultValue); in getDimension()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | CircleButtonsLayout.java | 33 final float strokeSize = res.getDimension(R.dimen.circletimer_circle_size); in CircleButtonsLayout() 34 final float dotStrokeSize = res.getDimension(R.dimen.circletimer_dot_size); in CircleButtonsLayout() 35 final float markerStrokeSize = res.getDimension(R.dimen.circletimer_marker_size); in CircleButtonsLayout()
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | DoubleShadowBubbleTextView.java | 92 ambientShadowBlur = a.getDimension(R.styleable.ShadowInfo_ambientShadowBlur, 0); in ShadowInfo() 95 keyShadowBlur = a.getDimension(R.styleable.ShadowInfo_keyShadowBlur, 0); in ShadowInfo() 96 keyShadowOffset = a.getDimension(R.styleable.ShadowInfo_keyShadowOffset, 0); in ShadowInfo()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | ContactIconView.java | 63 mIconSize = (int) resources.getDimension( in ContactIconView() 67 mIconSize = (int) resources.getDimension( in ContactIconView() 71 mIconSize = (int) resources.getDimension( in ContactIconView()
|
/packages/apps/PermissionController/src/android/support/wearable/view/ |
D | CircledImageView.java | 139 mCircleRadius = a.getDimension( in CircledImageView() 142 mCircleRadiusPressed = a.getDimension( in CircledImageView() 146 mCircleBorderWidth = a.getDimension(R.styleable.CircledImageView_circle_border_width, 0); in CircledImageView() 152 float circlePadding = a.getDimension(R.styleable.CircledImageView_circle_padding, 0); in CircledImageView() 156 mShadowWidth = a.getDimension(R.styleable.CircledImageView_shadow_width, 0); in CircledImageView()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | GestureFloatingTextDrawingPreview.java | 71 mGesturePreviewHorizontalPadding = mainKeyboardViewAttr.getDimension( in GesturePreviewTextParams() 73 mGesturePreviewVerticalPadding = mainKeyboardViewAttr.getDimension( in GesturePreviewTextParams() 75 mGesturePreviewRoundRadius = mainKeyboardViewAttr.getDimension( in GesturePreviewTextParams()
|
D | GestureStrokeDrawingParams.java | 43 mMinSamplingDistance = mainKeyboardViewAttr.getDimension( in GestureStrokeDrawingParams() 51 mMaxInterpolationDistanceThreshold = mainKeyboardViewAttr.getDimension(R.styleable in GestureStrokeDrawingParams()
|
D | GestureTrailDrawingParams.java | 55 mTrailStartWidth = mainKeyboardViewAttr.getDimension( in GestureTrailDrawingParams() 57 mTrailEndWidth = mainKeyboardViewAttr.getDimension( in GestureTrailDrawingParams()
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
D | StopwatchCircleView.java | 76 final float dotDiameter = resources.getDimension(R.dimen.circletimer_dot_size); in StopwatchCircleView() 80 mStrokeSize = resources.getDimension(R.dimen.circletimer_circle_size); in StopwatchCircleView() 81 mMarkerStrokeSize = resources.getDimension(R.dimen.circletimer_marker_size); in StopwatchCircleView()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | StickyBottomCaptureLayout.java | 139 getResources().getDimension(R.dimen.option_button_circle_size); in getRoundedThumbnailPosition() 141 getResources().getDimension(R.dimen.mode_options_toggle_padding); in getRoundedThumbnailPosition() 142 final float modeOptionsHeight = getResources().getDimension(R.dimen.mode_options_height); in getRoundedThumbnailPosition()
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/ |
D | CircleView.java | 96 mCenterX = a.getDimension(R.styleable.CircleView_centerX, 0.0f); in CircleView() 97 mCenterY = a.getDimension(R.styleable.CircleView_centerY, 0.0f); in CircleView() 98 mRadius = a.getDimension(R.styleable.CircleView_radius, 0.0f); in CircleView()
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | BaseCardView.java | 73 getResources().getDimension(R.dimen.channel_card_elevation_focused) in BaseCardView() 74 - getResources().getDimension(R.dimen.card_elevation_normal); in BaseCardView() 81 setElevation(getResources().getDimension(R.dimen.card_elevation_normal)); in BaseCardView()
|
/packages/apps/Dialer/java/com/android/dialer/main/impl/toolbar/ |
D | SearchBarView.java | 64 margin = getContext().getResources().getDimension(R.dimen.search_bar_margin); in SearchBarView() 66 getContext().getResources().getDimension(R.dimen.expanded_search_bar_height); in SearchBarView() 68 getContext().getResources().getDimension(R.dimen.collapsed_search_bar_height); in SearchBarView()
|
/packages/apps/Car/Cluster/src/android/car/cluster/ |
D | LaneView.java | 49 private final int mWidth = (int) getResources().getDimension(R.dimen.lane_width); 50 private final int mHeight = (int) getResources().getDimension(R.dimen.lane_height); 51 private final int mOffset = (int) getResources().getDimension(R.dimen.lane_icon_offset);
|
/packages/apps/DeskClock/src/com/android/alarmclock/ |
D | WidgetUtils.java | 49 float ratio = (density * minWidth) / res.getDimension(R.dimen.min_digital_widget_width); in getScaleRatio() 87 float ratio = density * minHeight / res.getDimension(R.dimen.min_digital_widget_height); in getHeightScaleRatio()
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | MultiShrinkScroller.java | 259 mTransparentStartHeight = (int) getResources().getDimension( in MultiShrinkScroller() 261 mToolbarElevation = getResources().getDimension( in MultiShrinkScroller() 264 mMaximumTitleMargin = (int) getResources().getDimension( in MultiShrinkScroller() 267 mDismissDistanceOnScroll = (int) getResources().getDimension( in MultiShrinkScroller() 269 mDismissDistanceOnRelease = (int) getResources().getDimension( in MultiShrinkScroller() 271 mSnapToTopSlopHeight = (int) getResources().getDimension( in MultiShrinkScroller()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | DayView.java | 653 DATE_HEADER_FONT_SIZE = (int) mResources.getDimension(R.dimen.date_header_text_size); in DayView() 654 DAY_HEADER_FONT_SIZE = (int) mResources.getDimension(R.dimen.day_label_text_size); in DayView() 655 ONE_DAY_HEADER_HEIGHT = (int) mResources.getDimension(R.dimen.one_day_header_height); in DayView() 656 DAY_HEADER_BOTTOM_MARGIN = (int) mResources.getDimension(R.dimen.day_header_bottom_margin); in DayView() 657 EXPAND_ALL_DAY_BOTTOM_MARGIN = (int) mResources.getDimension(R.dimen.all_day_bottom_margin); in DayView() 658 HOURS_TEXT_SIZE = (int) mResources.getDimension(R.dimen.hours_text_size); in DayView() 659 AMPM_TEXT_SIZE = (int) mResources.getDimension(R.dimen.ampm_text_size); in DayView() 660 MIN_HOURS_WIDTH = (int) mResources.getDimension(R.dimen.min_hours_width); in DayView() 661 HOURS_LEFT_MARGIN = (int) mResources.getDimension(R.dimen.hours_left_margin); in DayView() 662 HOURS_RIGHT_MARGIN = (int) mResources.getDimension(R.dimen.hours_right_margin); in DayView() [all …]
|