Home
last modified time | relevance | path

Searched refs:getDimension (Results 1 – 25 of 117) sorted by relevance

12345

/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/shadow/
DDoubleShadowTextView.kt51 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/
DBubblePopupViewExt.kt39 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/
DUserAvatarView.java48 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/
DRenderPatchAnimation.java46 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/
DNavigationHandle.java74 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/
DInsetDrawable.java227 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/
DFrameFormat.java101 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/
DOpenHubComplicationComponent.java131 resources.getDimension(blurId), in createShadowInfo()
132 resources.getDimension(offsetXId), in createShadowInfo()
133 resources.getDimension(offsetYId), in createShadowInfo()
DDreamHomeControlsComplicationComponent.java124 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/
DAuthPanelController.java160 .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/
DCarSetupWizardBaseLayout.java269 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()
DCarSetupWizardLayout.java259 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/
DOneHandedSurfaceTransactionHelper.java42 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/
DBubbleExpandedViewPinController.kt45 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/
DThreadedRenderer.java339 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/
DPartnerConfigHelper.java235 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/
DAnimatorInflater.java338 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/
DGlobalActionsColumnLayout.java127 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/
DSuggestionSpan.java216 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/
DRoundedCornerEnforcement.kt85 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/
DKeyguardSliceView.java107 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/
DAdaptiveOutlineDrawableTest.java41 resources.getDimension(R.dimen.adaptive_outline_stroke)); in constructor_initPaint()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DLayout.java498 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/
DWalletCardView.java43 context.getResources().getDimension(R.dimen.wallet_card_border_width)); in WalletCardView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistDisclosure.java153 mThickness = getResources().getDimension(R.dimen.assist_disclosure_thickness); in AssistDisclosureView()
154 mShadowThickness = getResources().getDimension( in AssistDisclosureView()

12345