/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/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/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/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | AuthPanelController.java | 134 .getDimension(R.dimen.biometric_dialog_border_padding); in updateForContentDimensions() 136 .getDimension(R.dimen.biometric_dialog_corner_size); in updateForContentDimensions() 192 .getDimension(R.dimen.biometric_dialog_corner_size); in AuthPanelController() 194 .getDimension(R.dimen.biometric_dialog_border_padding); in AuthPanelController()
|
/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/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/core/java/android/view/ |
D | ThreadedRenderer.java | 341 mLightY = a.getDimension(R.styleable.Lighting_lightY, 0); in ThreadedRenderer() 342 mLightZ = a.getDimension(R.styleable.Lighting_lightZ, 0); in ThreadedRenderer() 343 mLightRadius = a.getDimension(R.styleable.Lighting_lightRadius, 0); in ThreadedRenderer() 844 mLightY = a.getDimension(R.styleable.Lighting_lightY, 0); in SimpleRenderer() 845 mLightZ = a.getDimension(R.styleable.Lighting_lightZ, 0); in SimpleRenderer() 846 mLightRadius = a.getDimension(R.styleable.Lighting_lightRadius, 0); in SimpleRenderer()
|
/frameworks/base/core/java/android/animation/ |
D | AnimatorInflater.java | 335 valueFrom = styledAttributes.getDimension(valueFromId, 0f); in getPVH() 341 valueTo = styledAttributes.getDimension(valueToId, 0f); in getPVH() 352 valueTo = styledAttributes.getDimension(valueToId, 0f); in getPVH() 363 valueFrom = (int) styledAttributes.getDimension(valueFromId, 0f); in getPVH() 371 valueTo = (int) styledAttributes.getDimension(valueToId, 0f); in getPVH() 384 valueTo = (int) styledAttributes.getDimension(valueToId, 0f); in getPVH() 579 valueFrom = arrayAnimator.getDimension(valueFromIndex, 0f); in setupValues() 585 valueTo = arrayAnimator.getDimension(valueToIndex, 0f); in setupValues() 595 valueTo = arrayAnimator.getDimension(valueToIndex, 0f); in setupValues() 606 valueFrom = (int) arrayAnimator.getDimension(valueFromIndex, 0f); in setupValues() [all …]
|
/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/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/ |
D | NavigationHandle.java | 50 mRadius = res.getDimension(R.dimen.navigation_handle_radius); in NavigationHandle() 51 mBottom = res.getDimension(R.dimen.navigation_handle_bottom); in NavigationHandle()
|
/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/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/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/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | Layout.java | 468 getDimension(mContext.createAppCompatAttrReference(ATTR_ACTION_BAR_SIZE), in findAppCompatActionBar() 511 mTitleBarSize = getDimension( in findFrameworkBar() 545 private int getDimension(@NonNull ResourceReference attrRef, int defaultValue) { in getDimension() method in Layout.Builder 552 return (int) typedValue.getDimension(mContext.getMetrics()); in getDimension() 559 return getDimension(BridgeContext.createFrameworkAttrReference(attr), defaultValue); in getFrameworkAttrDimension()
|
/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()
|
D | AppPreferenceTest.java | 59 float iconSize = mContext.getResources().getDimension(R.dimen.secondary_app_icon_size); in foobar_testName()
|
/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()
|
/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/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/partner/ |
D | PartnerConfigHelperTest.java | 75 helper.getDimension(application, TEST_COLOR_RESOURCE_NAME); in getDimension_withWrongConfigType_shouldThrowException() 83 float result = helper.getDimension(application, TEST_DIMENSION_RESOURCE_NAME); in getDimension_shouldReturnExpectedDimension()
|
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
D | BiDiTestViewDrawText.java | 46 mSize = a.getDimension(R.styleable.DrawTextTestView_size, 40.0f); in BiDiTestViewDrawText()
|
/frameworks/layoutlib/bridge/src/android/content/res/ |
D | BridgeTypedArray.java | 387 public float getDimension(int index, float defValue) { in getDimension() method in BridgeTypedArray 401 return mValue.getDimension(mBridgeResources.getDisplayMetrics()); in getDimension() 426 return (int) getDimension(index, defValue); in getDimensionPixelOffset() 462 float f = mValue.getDimension(mBridgeResources.getDisplayMetrics()); in getDimensionPixelSize() 503 float f = mValue.getDimension(mBridgeResources.getDisplayMetrics()); in getLayoutDimension()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeToolTipView.java | 72 getResources().getDimension(R.dimen.volume_tool_tip_arrow_corner_radius))); in drawArrow()
|