/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/shadow/ |
D | DoubleShadowTextView.kt | 51 attributes.getDimension(R.styleable.DoubleShadowTextView_keyShadowBlur, 0f) 53 attributes.getDimension(R.styleable.DoubleShadowTextView_keyShadowOffsetX, 0f) 55 attributes.getDimension(R.styleable.DoubleShadowTextView_keyShadowOffsetY, 0f) 61 attributes.getDimension(R.styleable.DoubleShadowTextView_ambientShadowBlur, 0f) 63 attributes.getDimension(R.styleable.DoubleShadowTextView_ambientShadowOffsetX, 0f) 65 attributes.getDimension(R.styleable.DoubleShadowTextView_ambientShadowOffsetY, 0f)
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
D | BubblePopupViewExt.kt | 39 cornerRadius = attrs.getDimension(1, 0f), in BubblePopupView() 41 arrowWidth = res.getDimension(R.dimen.bubble_popup_arrow_width), in BubblePopupView() 42 arrowHeight = res.getDimension(R.dimen.bubble_popup_arrow_height), in BubblePopupView() 43 arrowRadius = res.getDimension(R.dimen.bubble_popup_arrow_corner_radius) in BubblePopupView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | UserAvatarView.java | 48 setAvatarPadding(a.getDimension(attr, 0)); in UserAvatarView() 50 setFrameWidth(a.getDimension(attr, 0)); in UserAvatarView() 52 setFramePadding(a.getDimension(attr, 0)); in UserAvatarView() 56 setBadgeDiameter(a.getDimension(attr, 0)); in UserAvatarView() 58 setBadgeMargin(a.getDimension(attr, 0)); in UserAvatarView()
|
/frameworks/base/tests/GamePerformance/src/android/gameperformance/ |
D | RenderPatchAnimation.java | 46 mAvailableX = ratio - mRenderPatch.getDimension(); in RenderPatchAnimation() 47 mAvailableY = 1.0f - mRenderPatch.getDimension(); in RenderPatchAnimation() 56 mDirY = mRenderPatch.getDimension() < 1.0f ? 2.0f * RANDOM.nextFloat() - 1.0f : 0.0f; in RenderPatchAnimation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/ |
D | NavigationHandle.java | 74 mRadius = res.getDimension(R.dimen.navigation_handle_radius); in NavigationHandle() 75 mBottom = res.getDimension(R.dimen.navigation_handle_bottom); in NavigationHandle() 77 res.getDimension(R.dimen.navigation_home_handle_additional_width_for_animation); in NavigationHandle() 79 res.getDimension(R.dimen.navigation_home_handle_additional_height_for_animation); in NavigationHandle() 81 res.getDimension(R.dimen.navigation_home_handle_shrink_width_for_animation); in NavigationHandle()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | InsetDrawable.java | 227 out.left = mState.mInsetLeft.getDimension(b.width()); in getInsets() 228 out.right = mState.mInsetRight.getDimension(b.width()); in getInsets() 229 out.top = mState.mInsetTop.getDimension(b.height()); in getInsets() 230 out.bottom = mState.mInsetBottom.getDimension(b.height()); in getInsets() 275 r.left += mState.mInsetLeft.getDimension(bounds.width()); in onBoundsChange() 276 r.top += mState.mInsetTop.getDimension(bounds.height()); in onBoundsChange() 277 r.right -= mState.mInsetRight.getDimension(bounds.width()); in onBoundsChange() 278 r.bottom -= mState.mInsetBottom.getDimension(bounds.height()); in onBoundsChange() 399 int getDimension(int boundSize) { in getDimension() method in InsetDrawable.InsetValue
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | FrameFormat.java | 101 public int getDimension(int i) { in getDimension() method in FrameFormat 223 int specDim = specification.getDimension(i); in isCompatibleWith() 224 if (specDim != SIZE_UNSPECIFIED && getDimension(i) != specDim) { in isCompatibleWith() 283 int specDim = specification.getDimension(i); in mayBeCompatibleWith() 285 && getDimension(i) != SIZE_UNSPECIFIED in mayBeCompatibleWith() 286 && getDimension(i) != specDim) { in mayBeCompatibleWith()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/dagger/ |
D | OpenHubComplicationComponent.java | 131 resources.getDimension(blurId), in createShadowInfo() 132 resources.getDimension(offsetXId), in createShadowInfo() 133 resources.getDimension(offsetYId), in createShadowInfo()
|
D | DreamHomeControlsComplicationComponent.java | 124 resources.getDimension(blurId), in createShadowInfo() 125 resources.getDimension(offsetXId), in createShadowInfo() 126 resources.getDimension(offsetYId), in createShadowInfo()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | AuthPanelController.java | 160 .getDimension(R.dimen.biometric_dialog_border_padding); in updateForContentDimensions() 162 .getDimension(R.dimen.biometric_dialog_corner_size); in updateForContentDimensions() 218 .getDimension(R.dimen.biometric_dialog_corner_size); in AuthPanelController() 220 .getDimension(R.dimen.biometric_dialog_border_padding); in AuthPanelController()
|
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/ |
D | CarSetupWizardBaseLayout.java | 269 float lineWeight = mPartnerConfigHelper.getDimension( in init() 331 float touchTargetSize = getResources().getDimension( in updateNavigationButtonTouchDelegate() 333 float primaryIconSize = getResources().getDimension( in updateNavigationButtonTouchDelegate() 758 float marginEnd = PartnerConfigHelper.get(getContext()).getDimension( in inflateSecondaryToolbarButtonIfNecessary() 814 float dimension = mPartnerConfigHelper.getDimension( in setButtonTextSize() 853 float radius = mPartnerConfigHelper.getDimension( in setButtonRadius() 865 PartnerConfigHelper.get(getContext()).getDimension( in setButtonPadding() 870 PartnerConfigHelper.get(getContext()).getDimension( in setButtonPadding() 912 float dividerHeight = mPartnerConfigHelper.getDimension( in initDivider() 962 float configurableContentWidth = mPartnerConfigHelper.getDimension( in maybeSetUltraWideScreenContentWidth()
|
D | CarSetupWizardLayout.java | 259 float touchTargetSize = getResources().getDimension( in updateBackButtonTouchDelegate() 261 float primaryIconSize = getResources().getDimension( in updateBackButtonTouchDelegate() 562 float marginEnd = PartnerConfigHelper.get(getContext()).getDimension( in maybeInflateSecondaryToolbarButton() 614 float dimension = mPartnerConfigHelper.getDimension( in setButtonTextSize() 642 float radius = mPartnerConfigHelper.getDimension( in setButtonRadius() 654 PartnerConfigHelper.get(getContext()).getDimension( in setButtonPadding() 659 PartnerConfigHelper.get(getContext()).getDimension( in setButtonPadding()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/ |
D | OneHandedSurfaceTransactionHelper.java | 42 mCornerRadiusAdjustment = res.getDimension( in OneHandedSurfaceTransactionHelper() 44 mCornerRadius = res.getDimension(com.android.internal.R.dimen.rounded_corner_radius) in OneHandedSurfaceTransactionHelper()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/ |
D | BubbleExpandedViewPinController.kt | 45 context.resources.getDimension(R.dimen.bubble_bar_dismiss_zone_width) in <lambda>() 49 context.resources.getDimension(R.dimen.bubble_bar_dismiss_zone_height) in <lambda>()
|
/frameworks/base/core/java/android/view/ |
D | ThreadedRenderer.java | 339 mLightY = a.getDimension(R.styleable.Lighting_lightY, 0); in ThreadedRenderer() 340 mLightZ = a.getDimension(R.styleable.Lighting_lightZ, 0); in ThreadedRenderer() 341 mLightRadius = a.getDimension(R.styleable.Lighting_lightRadius, 0); in ThreadedRenderer() 849 mLightY = a.getDimension(R.styleable.Lighting_lightY, 0); in SimpleRenderer() 850 mLightZ = a.getDimension(R.styleable.Lighting_lightZ, 0); in SimpleRenderer() 851 mLightRadius = a.getDimension(R.styleable.Lighting_lightRadius, 0); in SimpleRenderer()
|
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/partner/ |
D | PartnerConfigHelper.java | 235 public float getDimension(@NonNull Context context, PartnerConfig resourceConfig) { in getDimension() method in PartnerConfigHelper 236 return getDimension(context, resourceConfig, 0); in getDimension() 248 public float getDimension( in getDimension() method in PartnerConfigHelper 267 result = resource.getDimension(resourceEntry.getResourceId()); in getDimension()
|
/frameworks/base/core/java/android/animation/ |
D | AnimatorInflater.java | 338 valueFrom = styledAttributes.getDimension(valueFromId, 0f); in getPVH() 344 valueTo = styledAttributes.getDimension(valueToId, 0f); in getPVH() 355 valueTo = styledAttributes.getDimension(valueToId, 0f); in getPVH() 366 valueFrom = (int) styledAttributes.getDimension(valueFromId, 0f); in getPVH() 374 valueTo = (int) styledAttributes.getDimension(valueToId, 0f); in getPVH() 387 valueTo = (int) styledAttributes.getDimension(valueToId, 0f); in getPVH() 582 valueFrom = arrayAnimator.getDimension(valueFromIndex, 0f); in setupValues() 588 valueTo = arrayAnimator.getDimension(valueToIndex, 0f); in setupValues() 598 valueTo = arrayAnimator.getDimension(valueToIndex, 0f); in setupValues() 609 valueFrom = (int) arrayAnimator.getDimension(valueFromIndex, 0f); in setupValues() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsColumnLayout.java | 127 return Math.round(getContext().getResources().getDimension( in getPowerButtonOffsetDistance() 168 return getContext().getResources().getDimension(R.dimen.global_actions_grid_item_height); in getGridItemSize()
|
/frameworks/base/core/java/android/text/style/ |
D | SuggestionSpan.java | 216 mMisspelledUnderlineThickness = typedArray.getDimension( in initStyle() 225 mGrammarErrorUnderlineThickness = typedArray.getDimension( in initStyle() 234 mEasyCorrectUnderlineThickness = typedArray.getDimension( in initStyle() 243 mAutoCorrectionUnderlineThickness = typedArray.getDimension( in initStyle()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/widgets/ |
D | RoundedCornerEnforcement.kt | 85 return res.getDimension(R.dimen.communal_enforced_rounded_corner_max_radius) in getOwnedEnforcedRadius() 98 res.getDimension(android.R.dimen.system_app_widget_background_radius) in computeEnforcedRadius()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardSliceView.java | 107 mIconSize = (int) mContext.getResources().getDimension(R.dimen.widget_icon_size); in onFinishInflate() 108 mIconSizeWithHeader = (int) mContext.getResources().getDimension(R.dimen.header_icon_size); in onFinishInflate() 263 mIconSizeWithHeader = (int) mContext.getResources().getDimension(R.dimen.header_icon_size); in onDensityOrFontScaleChanged() 449 .getDimension(R.dimen.widget_horizontal_padding) / 2; in updatePadding() 454 .getDimension(R.dimen.widget_icon_padding)); in updatePadding()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/ |
D | AdaptiveOutlineDrawableTest.java | 41 resources.getDimension(R.dimen.adaptive_outline_stroke)); in constructor_initPaint()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | Layout.java | 498 getDimension(mContext.createAppCompatAttrReference(ATTR_ACTION_BAR_SIZE), in findAppCompatActionBar() 541 mTitleBarSize = getDimension( in findFrameworkBar() 576 private int getDimension(@NonNull ResourceReference attrRef, int defaultValue) { in getDimension() method in Layout.Builder 583 return (int) typedValue.getDimension(mContext.getMetrics()); in getDimension() 590 return getDimension(BridgeContext.createFrameworkAttrReference(attr), defaultValue); in getFrameworkAttrDimension()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/ |
D | WalletCardView.java | 43 context.getResources().getDimension(R.dimen.wallet_card_border_width)); in WalletCardView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ |
D | AssistDisclosure.java | 153 mThickness = getResources().getDimension(R.dimen.assist_disclosure_thickness); in AssistDisclosureView() 154 mShadowThickness = getResources().getDimension( in AssistDisclosureView()
|