Home
last modified time | relevance | path

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

12

/frameworks/support/v7/appcompat/src/android/support/v7/app/
DDrawerArrowDrawable.java77 mBarSize = Math.round(typedArray.getDimension(R.styleable.DrawerArrowToggle_barSize, 0)); in DrawerArrowDrawable()
79 mTopBottomArrowSize = Math.round(typedArray.getDimension( in DrawerArrowDrawable()
81 mBarThickness = typedArray.getDimension(R.styleable.DrawerArrowToggle_thickness, 0); in DrawerArrowDrawable()
83 mBarGap = Math.round(typedArray.getDimension( in DrawerArrowDrawable()
87 .getDimension(R.styleable.DrawerArrowToggle_middleBarArrowSize, 0); in DrawerArrowDrawable()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFrameFormat.java101 public int getDimension(int i) { in getDimension() method in FrameFormat
220 int specDim = specification.getDimension(i); in isCompatibleWith()
221 if (specDim != SIZE_UNSPECIFIED && getDimension(i) != specDim) { in isCompatibleWith()
280 int specDim = specification.getDimension(i); in mayBeCompatibleWith()
282 && getDimension(i) != SIZE_UNSPECIFIED in mayBeCompatibleWith()
283 && getDimension(i) != specDim) { in mayBeCompatibleWith()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DTrustDrawable.java78 mInnerRadiusVisibleMin = r.getDimension(R.dimen.trust_circle_inner_radius_visible_min); in TrustDrawable()
79 mInnerRadiusVisibleMax = r.getDimension(R.dimen.trust_circle_inner_radius_visible_max); in TrustDrawable()
80 mInnerRadiusExit = r.getDimension(R.dimen.trust_circle_inner_radius_exit); in TrustDrawable()
81 mInnerRadiusEnter = r.getDimension(R.dimen.trust_circle_inner_radius_enter); in TrustDrawable()
82 mThickness = r.getDimension(R.dimen.trust_circle_thickness); in TrustDrawable()
DUserAvatarView.java62 setFrameWidth(a.getDimension(attr, 0)); in UserAvatarView()
65 setFramePadding(a.getDimension(attr, 0)); in UserAvatarView()
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
DBridgeTypedArray.java360 public float getDimension(int index, float defValue) { in getDimension() method in BridgeTypedArray
376 return mValue.getDimension(mBridgeResources.getDisplayMetrics()); in getDimension()
401 return (int) getDimension(index, defValue); in getDimensionPixelOffset()
425 return getDimension(index); in getDimensionPixelSize()
456 return getDimension(index); in getLayoutDimension()
475 private int getDimension(int index) { in getDimension() method in BridgeTypedArray
490 float f = mValue.getDimension(mBridgeResources.getDisplayMetrics()); in getDimension()
DBridgeResources.java329 public float getDimension(int id) throws NotFoundException { in getDimension() method in BridgeResources
349 return mTmpValue.getDimension(getDisplayMetrics()); in getDimension()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
DPreviewPageFrame.java40 mSelectedElevation = mContext.getResources().getDimension( in PreviewPageFrame()
42 mNotSelectedElevation = mContext.getResources().getDimension( in PreviewPageFrame()
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/widget/
DShadowHelperApi21.java40 sNormalZ = (int) res.getDimension(R.dimen.lb_material_shadow_normal_z); in initializeResources()
41 sFocusedZ = (int) res.getDimension(R.dimen.lb_material_shadow_focused_z); in initializeResources()
/frameworks/support/v7/cardview/src/android/support/v7/widget/
DCardView.java206 float radius = a.getDimension(R.styleable.CardView_cardCornerRadius, 0); in initialize()
207 float elevation = a.getDimension(R.styleable.CardView_cardElevation, 0); in initialize()
208 float maxElevation = a.getDimension(R.styleable.CardView_cardMaxElevation, 0); in initialize()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardMultiUserAvatar.java96 mIconSize = res.getDimension(R.dimen.keyguard_avatar_size); in KeyguardMultiUserAvatar()
97 mStroke = res.getDimension(R.dimen.keyguard_avatar_frame_stroke_width); in KeyguardMultiUserAvatar()
98 mShadowRadius = res.getDimension(R.dimen.keyguard_avatar_frame_shadow_radius); in KeyguardMultiUserAvatar()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DTintTypedArray.java120 public float getDimension(int index, float defValue) { in getDimension() method in TintTypedArray
121 return mWrapped.getDimension(index, defValue); in getDimension()
DResourcesWrapper.java110 public float getDimension(int id) throws NotFoundException { in getDimension() method in ResourcesWrapper
111 return mResources.getDimension(id); in getDimension()
/frameworks/base/core/java/android/animation/
DAnimatorInflater.java485 valueFrom = arrayAnimator.getDimension(valueFromIndex, 0f); in setupValues()
491 valueTo = arrayAnimator.getDimension(valueToIndex, 0f); in setupValues()
501 valueTo = arrayAnimator.getDimension(valueToIndex, 0f); in setupValues()
512 valueFrom = (int) arrayAnimator.getDimension(valueFromIndex, 0f); in setupValues()
521 valueTo = (int) arrayAnimator.getDimension(valueToIndex, 0f); in setupValues()
535 valueTo = (int) arrayAnimator.getDimension(valueToIndex, 0f); in setupValues()
/frameworks/base/core/java/android/text/style/
DSuggestionSpan.java172 mMisspelledUnderlineThickness = typedArray.getDimension( in initStyle()
180 mEasyCorrectUnderlineThickness = typedArray.getDimension( in initStyle()
188 mAutoCorrectionUnderlineThickness = typedArray.getDimension( in initStyle()
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
DBiDiTestViewDrawText.java46 mSize = a.getDimension(R.styleable.DrawTextTestView_size, 40.0f); in BiDiTestViewDrawText()
/frameworks/base/core/java/android/view/
DThreadedRenderer.java106 mLightY = a.getDimension(R.styleable.Lighting_lightY, 0); in ThreadedRenderer()
107 mLightZ = a.getDimension(R.styleable.Lighting_lightZ, 0); in ThreadedRenderer()
108 mLightRadius = a.getDimension(R.styleable.Lighting_lightRadius, 0); in ThreadedRenderer()
DPointerIcon.java387 hotSpotX = a.getDimension(com.android.internal.R.styleable.PointerIcon_hotSpotX, 0); in loadResource()
388 hotSpotY = a.getDimension(com.android.internal.R.styleable.PointerIcon_hotSpotY, 0); in loadResource()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DFrameworkActionBar.java231 return (int) typedValue.getDimension(metrics); in getPixelValue()
249 return (int) typedValue.getDimension(metrics); in getActionBarHeight()
DCustomBar.java194 out.getDimension(bridgeContext.getResources().getDisplayMetrics())); in setStyle()
/frameworks/base/test-runner/src/android/test/mock/
DMockResources.java107 public float getDimension(int id) throws NotFoundException { in getDimension() method in MockResources
/frameworks/base/graphics/java/android/graphics/drawable/
DShapeDrawable.java443 setIntrinsicWidth((int) a.getDimension( in updateStateFromTypedArray()
445 setIntrinsicHeight((int) a.getDimension( in updateStateFromTypedArray()
/frameworks/base/core/java/android/util/
DTypedValue.java369 public float getDimension(DisplayMetrics metrics) in getDimension() method in TypedValue
/frameworks/base/policy/src/com/android/internal/policy/impl/
DIconUtilities.java66 mIconWidth = mIconHeight = (int) resources.getDimension(android.R.dimen.app_icon_size); in IconUtilities()
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
DGlowPadView.java222 mInnerRadius = a.getDimension(R.styleable.GlowPadView_innerRadius, mInnerRadius); in GlowPadView()
223 mOuterRadius = a.getDimension(R.styleable.GlowPadView_outerRadius, mOuterRadius); in GlowPadView()
224 mSnapMargin = a.getDimension(R.styleable.GlowPadView_snapMargin, mSnapMargin); in GlowPadView()
244 mGlowRadius = a.getDimension(R.styleable.GlowPadView_glowRadius, 0.0f); in GlowPadView()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderSessionImpl.java1079 mStatusBarSize = (int)typedValue.getDimension(metrics); in findStatusBar()
1112 mActionBarSize = (int)typedValue.getDimension(metrics); in findActionBar()
1138 mTitleBarSize = (int)typedValue.getDimension(metrics); in findActionBar()
1184 mNavigationBarSize = (int)typedValue.getDimension(metrics); in findNavigationBar()

12