/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/services/Car/car-admin-ui-lib/src/main/java/com/android/car/admin/ui/ |
D | UserAvatarView.java | 51 setAvatarPadding(a.getDimension(attr, 0)); in UserAvatarView() 53 setFrameWidth(a.getDimension(attr, 0)); in UserAvatarView() 55 setFramePadding(a.getDimension(attr, 0)); in UserAvatarView() 59 setBadgeDiameter(a.getDimension(attr, 0)); in UserAvatarView() 61 setBadgeMargin(a.getDimension(attr, 0)); in UserAvatarView() 64 setBadgeDiameter(a.getDimension(attr, 0)); in UserAvatarView()
|
/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/apps/Car/libs/car-ui-lib/referencedesign/sharedlibrary/src/main/java/com/chassis/car/ui/sharedlibrary/appstyleview/ |
D | AppStyleViewControllerImpl.java | 84 mContext.getResources().getDimension(R.dimen.app_styled_dialog_width)); in getDialogWindowLayoutParam() 86 mContext.getResources().getDimension(R.dimen.app_styled_dialog_height)); in getDialogWindowLayoutParam() 89 mContext.getResources().getDimension(R.dimen.app_styled_dialog_position_x)); in getDialogWindowLayoutParam() 91 mContext.getResources().getDimension(R.dimen.app_styled_dialog_position_y)); in getDialogWindowLayoutParam()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | FullScreenAnimation.java | 194 + mView.getResources().getDimension(R.dimen.bottom_actions_height) in placeViews() 195 + mView.getResources().getDimension(R.dimen.separated_tabs_height), in placeViews() 204 + mView.getResources().getDimension(R.dimen.bottom_actions_height), in placeViews() 381 + mView.getResources().getDimension(R.dimen.bottom_actions_height) in startAnimation() 382 + mView.getResources().getDimension(R.dimen.separated_tabs_height); in startAnimation() 385 + mView.getResources().getDimension( in startAnimation() 387 + mView.getResources().getDimension(R.dimen.separated_tabs_height)); in startAnimation()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/decorations/linear/ |
D | LinearDividerItemDecoration.java | 101 parent.getPaddingTop() + (int) parent.getContext().getResources().getDimension( in drawHorizontalDividers() 104 - (int) parent.getContext().getResources().getDimension( in drawHorizontalDividers() 131 parent.getPaddingLeft() + (int) parent.getContext().getResources().getDimension( in drawVerticalDividers() 134 - (int) parent.getContext().getResources().getDimension( in drawVerticalDividers()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/decorations/grid/ |
D | GridDividerItemDecoration.java | 114 firstRowChild.getTop() + (int) parent.getContext().getResources().getDimension( in drawHorizontalDividers() 119 - (int) parent.getContext().getResources().getDimension( in drawHorizontalDividers() 159 leftmostChild.getLeft() + (int) parent.getContext().getResources().getDimension( in drawVerticalDividers() 164 - (int) parent.getContext().getResources().getDimension( in drawVerticalDividers()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | MotionPauseDetector.java | 82 mSpeedVerySlow = res.getDimension(R.dimen.motion_pause_detector_speed_very_slow); in MotionPauseDetector() 83 mSpeedSlow = res.getDimension(R.dimen.motion_pause_detector_speed_slow); in MotionPauseDetector() 84 mSpeedSomewhatFast = res.getDimension(R.dimen.motion_pause_detector_speed_somewhat_fast); in MotionPauseDetector() 85 mSpeedFast = res.getDimension(R.dimen.motion_pause_detector_speed_fast); in MotionPauseDetector()
|
D | TaskCornerRadius.java | 31 return resources.getDimension(R.dimen.task_corner_radius_small); in get() 35 resources.getDimension(R.dimen.task_corner_radius_override); in get()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | Themes.java | 90 return getDimension(context, android.R.attr.dialogCornerRadius, in getDialogCornerRadius() 91 context.getResources().getDimension(R.dimen.default_dialog_corner_radius)); in getDialogCornerRadius() 94 public static float getDimension(Context context, int attr, float defaultValue) { in getDimension() method in Themes 96 float value = ta.getDimension(0, defaultValue); in getDimension()
|
D | DynamicResource.java | 62 public float getDimension(@DimenRes int resId) { in getDimension() method in DynamicResource 63 return mContext.getResources().getDimension(resId); in getDimension()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | CircleButtonsLayout.kt | 46 val strokeSize = res.getDimension(R.dimen.circletimer_circle_size) 47 val dotStrokeSize = res.getDimension(R.dimen.circletimer_dot_size) 48 val markerStrokeSize = res.getDimension(R.dimen.circletimer_marker_size)
|
/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/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/modules/Permission/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/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
D | StopwatchCircleView.kt | 74 val dotDiameter: Float = resources.getDimension(R.dimen.circletimer_dot_size) 78 mStrokeSize = resources.getDimension(R.dimen.circletimer_circle_size) 79 mMarkerStrokeSize = resources.getDimension(R.dimen.circletimer_marker_size)
|
/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.kt | 58 mCenterX = a.getDimension(R.styleable.CircleView_centerX, 0.0f) 59 mCenterY = a.getDimension(R.styleable.CircleView_centerY, 0.0f) 60 radius = a.getDimension(R.styleable.CircleView_radius, 0.0f)
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | BaseCardView.java | 74 getResources().getDimension(R.dimen.channel_card_elevation_focused) in BaseCardView() 75 - getResources().getDimension(R.dimen.card_elevation_normal); in BaseCardView() 82 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/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/ |
D | OverscrollInputConsumer.java | 91 .getDimension(R.dimen.gestures_overscroll_fling_threshold); in OverscrollInputConsumer() 102 .getDimension(R.dimen.gestures_overscroll_finish_threshold); in OverscrollInputConsumer() 106 .getDimension(R.dimen.gestures_overscroll_active_threshold); in OverscrollInputConsumer()
|