/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/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/graphics/java/android/graphics/drawable/ |
D | InsetDrawable.java | 226 out.left = mState.mInsetLeft.getDimension(b.width()); in getInsets() 227 out.right = mState.mInsetRight.getDimension(b.width()); in getInsets() 228 out.top = mState.mInsetTop.getDimension(b.height()); in getInsets() 229 out.bottom = mState.mInsetBottom.getDimension(b.height()); in getInsets() 274 r.left += mState.mInsetLeft.getDimension(bounds.width()); in onBoundsChange() 275 r.top += mState.mInsetTop.getDimension(bounds.height()); in onBoundsChange() 276 r.right -= mState.mInsetRight.getDimension(bounds.width()); in onBoundsChange() 277 r.bottom -= mState.mInsetBottom.getDimension(bounds.height()); in onBoundsChange() 398 int getDimension(int boundSize) { in getDimension() method in InsetDrawable.InsetValue
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | FrameFormat.java | 103 public int getDimension(int i) { in getDimension() method in FrameFormat 225 int specDim = specification.getDimension(i); in isCompatibleWith() 226 if (specDim != SIZE_UNSPECIFIED && getDimension(i) != specDim) { in isCompatibleWith() 285 int specDim = specification.getDimension(i); in mayBeCompatibleWith() 287 && getDimension(i) != SIZE_UNSPECIFIED in mayBeCompatibleWith() 288 && getDimension(i) != specDim) { in mayBeCompatibleWith()
|
/frameworks/base/core/java/android/view/ |
D | ThreadedRenderer.java | 311 mLightY = a.getDimension(R.styleable.Lighting_lightY, 0); in ThreadedRenderer() 312 mLightZ = a.getDimension(R.styleable.Lighting_lightZ, 0); in ThreadedRenderer() 313 mLightRadius = a.getDimension(R.styleable.Lighting_lightRadius, 0); in ThreadedRenderer() 703 mLightY = a.getDimension(R.styleable.Lighting_lightY, 0); in SimpleRenderer() 704 mLightZ = a.getDimension(R.styleable.Lighting_lightZ, 0); in SimpleRenderer() 705 mLightRadius = a.getDimension(R.styleable.Lighting_lightRadius, 0); in SimpleRenderer()
|
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/ |
D | CarSetupWizardBaseLayout.java | 181 getContext().getResources().getDimension(R.dimen.title_bar_drop_shadow_elevation); in init() 255 float touchTargetSize = getResources().getDimension( in updateBackButtonTouchDelegate() 257 float primaryIconSize = getResources().getDimension( in updateBackButtonTouchDelegate() 601 float marginEnd = PartnerConfigHelper.get(getContext()).getDimension( in maybeInflateSecondaryToolbarButton() 653 float dimension = mPartnerConfigHelper.getDimension( in setButtonTextSize() 681 float radius = mPartnerConfigHelper.getDimension( in setButtonRadius() 693 PartnerConfigHelper.get(getContext()).getDimension( in setButtonPadding() 698 PartnerConfigHelper.get(getContext()).getDimension( in setButtonPadding()
|
D | CarSetupWizardLayout.java | 182 getContext().getResources().getDimension(R.dimen.title_bar_drop_shadow_elevation); in init() 267 float touchTargetSize = getResources().getDimension( in updateBackButtonTouchDelegate() 269 float primaryIconSize = getResources().getDimension( in updateBackButtonTouchDelegate() 612 float marginEnd = PartnerConfigHelper.get(getContext()).getDimension( in maybeInflateSecondaryToolbarButton() 664 float dimension = mPartnerConfigHelper.getDimension( in setButtonTextSize() 692 float radius = mPartnerConfigHelper.getDimension( in setButtonRadius() 704 PartnerConfigHelper.get(getContext()).getDimension( in setButtonPadding() 709 PartnerConfigHelper.get(getContext()).getDimension( in setButtonPadding()
|
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/partner/ |
D | PartnerConfigHelper.java | 186 public float getDimension(@NonNull Context context, PartnerConfig resourceConfig) { in getDimension() method in PartnerConfigHelper 187 return getDimension(context, resourceConfig, 0); in getDimension() 199 public float getDimension( in getDimension() method in PartnerConfigHelper 218 result = resource.getDimension(resourceEntry.getResourceId()); in getDimension()
|
/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/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/layoutlib/bridge/src/android/content/res/ |
D | BridgeTypedArray.java | 359 public float getDimension(int index, float defValue) { in getDimension() method in BridgeTypedArray 375 return mValue.getDimension(mBridgeResources.getDisplayMetrics()); in getDimension() 400 return (int) getDimension(index, defValue); in getDimensionPixelOffset() 424 return getDimension(index, null); in getDimensionPixelSize() 455 return getDimension(index, name); in getLayoutDimension() 475 private int getDimension(int index, @Nullable String name) { in getDimension() method in BridgeTypedArray 493 float f = mValue.getDimension(mBridgeResources.getDisplayMetrics()); in getDimension()
|
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/partner/ |
D | PartnerConfigHelperTest.java | 74 helper.getDimension(application, TEST_COLOR_RESOURCE_NAME); in getDimension_withWrongConfigType_shouldThrowException() 82 float result = helper.getDimension(application, TEST_DIMENSION_RESOURCE_NAME); in getDimension_shouldReturnExpectedDimension()
|
/frameworks/base/core/java/android/text/style/ |
D | SuggestionSpan.java | 204 mMisspelledUnderlineThickness = typedArray.getDimension( in initStyle() 212 mEasyCorrectUnderlineThickness = typedArray.getDimension( in initStyle() 220 mAutoCorrectionUnderlineThickness = typedArray.getDimension( in initStyle()
|
/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 | 467 getDimension(mContext.createAppCompatAttrReference(ATTR_ACTION_BAR_SIZE), in findAppCompatActionBar() 510 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() 560 return getDimension(BridgeContext.createFrameworkAttrReference(attr), defaultValue); in getFrameworkAttrDimension()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ |
D | AssistDisclosure.java | 152 mThickness = getResources().getDimension(R.dimen.assist_disclosure_thickness); in AssistDisclosureView() 153 mShadowThickness = getResources().getDimension( in AssistDisclosureView()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/apppreference/ |
D | AppPreferenceTest.java | 61 float iconSize = mContext.getResources().getDimension(R.dimen.secondary_app_icon_size); in foobar_testName()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardSliceView.java | 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() 383 mIconSizeWithHeader = (int) mContext.getResources().getDimension(R.dimen.header_icon_size); in onDensityOrFontScaleChanged() 564 .getDimension(R.dimen.widget_horizontal_padding) / 2; in updatePadding() 567 .getDimension(R.dimen.widget_icon_padding)); in updatePadding()
|
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
D | BiDiTestViewDrawText.java | 46 mSize = a.getDimension(R.styleable.DrawTextTestView_size, 40.0f); in BiDiTestViewDrawText()
|
/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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | PageIndicator.java | 41 (int) mContext.getResources().getDimension(R.dimen.qs_page_indicator_width); in PageIndicator() 43 (int) mContext.getResources().getDimension(R.dimen.qs_page_indicator_height); in PageIndicator()
|
/frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/ |
D | AdaptiveOutlineDrawable.java | 51 mOutlinePaint.setStrokeWidth(resources.getDimension(R.dimen.adaptive_outline_stroke)); in AdaptiveOutlineDrawable()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | FrameworkActionBar.java | 232 return (int) typedValue.getDimension(metrics); in getPixelValue() 251 return (int) typedValue.getDimension(metrics); in getActionBarHeight()
|
/frameworks/base/packages/SystemUI/plugin/ExamplePlugin/src/com/android/systemui/plugin/testoverlayplugin/ |
D | SampleOverlayPlugin.java | 68 mStatusBarHeight = mPluginContext.getResources().getDimension(id); in setup()
|
/frameworks/base/core/java/android/widget/ |
D | Magnifier.java | 161 params.mElevation = a.getDimension(R.styleable.Magnifier_magnifierElevation, 0); in createBuilderWithOldMagnifierDefaults() 189 final float dialogCornerRadius = ta.getDimension(0, 0); in getDeviceDefaultDialogCornerRadius() 1164 mElevation = resources.getDimension(R.dimen.default_magnifier_elevation); in applyDefaults() 1165 mCornerRadius = resources.getDimension(R.dimen.default_magnifier_corner_radius); in applyDefaults() 1436 size.x = resources.getDimension(R.dimen.default_magnifier_width) / density; in getMagnifierDefaultSize() 1437 size.y = resources.getDimension(R.dimen.default_magnifier_height) / density; in getMagnifierDefaultSize()
|