Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/animation/
DAnimatorInflater.java226 valueFrom = a.getDimension(valueFromIndex, 0f); in loadAnimator()
232 valueTo = a.getDimension(valueToIndex, 0f); in loadAnimator()
242 valueTo = a.getDimension(valueToIndex, 0f); in loadAnimator()
253 valueFrom = (int) a.getDimension(valueFromIndex, 0f); in loadAnimator()
262 valueTo = (int) a.getDimension(valueToIndex, 0f); in loadAnimator()
276 valueTo = (int) a.getDimension(valueToIndex, 0f); in loadAnimator()
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
DBridgeTypedArray.java424 public float getDimension(int index, float defValue) { in getDimension() method in BridgeTypedArray
447 return mValue.getDimension(mBridgeResources.getDisplayMetrics()); in getDimension()
478 return (int) getDimension(index, defValue); in getDimensionPixelOffset()
502 return getDimension(index); in getDimensionPixelSize()
536 return getDimension(index); in getLayoutDimension()
555 private int getDimension(int index) { in getDimension() method in BridgeTypedArray
574 float f = mValue.getDimension(mBridgeResources.getDisplayMetrics()); in getDimension()
DBridgeResources.java325 public float getDimension(int id) throws NotFoundException { in getDimension() method in BridgeResources
345 return mTmpValue.getDimension(getDisplayMetrics()); in getDimension()
/frameworks/base/core/java/android/text/style/
DSuggestionSpan.java153 mMisspelledUnderlineThickness = typedArray.getDimension( in initStyle()
161 mEasyCorrectUnderlineThickness = typedArray.getDimension( in initStyle()
169 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/com/android/internal/widget/multiwaveview/
DMultiWaveView.java155 mOuterRadius = a.getDimension(R.styleable.MultiWaveView_outerRadius, mOuterRadius); in MultiWaveView()
156 mHorizontalOffset = a.getDimension(R.styleable.MultiWaveView_horizontalOffset, in MultiWaveView()
158 mVerticalOffset = a.getDimension(R.styleable.MultiWaveView_verticalOffset, in MultiWaveView()
160 mHitRadius = a.getDimension(R.styleable.MultiWaveView_hitRadius, mHitRadius); in MultiWaveView()
161 mSnapMargin = a.getDimension(R.styleable.MultiWaveView_snapMargin, mSnapMargin); in MultiWaveView()
/frameworks/base/graphics/java/android/graphics/drawable/
DShapeDrawable.java330 a.getDimension(com.android.internal.R.styleable.ShapeDrawable_width, 0f)); in inflate()
332 a.getDimension(com.android.internal.R.styleable.ShapeDrawable_height, 0f)); in inflate()
DGradientDrawable.java794 float dashWidth = a.getDimension(
797 float dashGap = a.getDimension(
/frameworks/base/test-runner/src/android/test/mock/
DMockResources.java107 public float getDimension(int id) throws NotFoundException { in getDimension() method in MockResources
/frameworks/base/core/java/android/util/
DTypedValue.java350 public float getDimension(DisplayMetrics metrics) in getDimension() method in TypedValue
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderSessionImpl.java982 mStatusBarSize = (int)typedValue.getDimension(metrics); in findStatusBar()
1015 mActionBarSize = (int)typedValue.getDimension(metrics); in findActionBar()
1040 mTitleBarSize = (int)typedValue.getDimension(metrics); in findActionBar()
1063 mSystemBarSize = (int)typedValue.getDimension(metrics); in findSystemBar()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DIconUtilities.java73 mIconWidth = mIconHeight = (int) resources.getDimension(android.R.dimen.app_icon_size); in IconUtilities()
DPhoneWindow.java2084 min = (int)tv.getDimension(metrics);
/frameworks/base/core/java/android/widget/
DAutoCompleteTextView.java153 a.getDimension(R.styleable.AutoCompleteTextView_dropDownVerticalOffset, 0.0f)); in AutoCompleteTextView()
155 a.getDimension(R.styleable.AutoCompleteTextView_dropDownHorizontalOffset, 0.0f)); in AutoCompleteTextView()
DSlidingDrawer.java197 mBottomOffset = (int) a.getDimension(R.styleable.SlidingDrawer_bottomOffset, 0.0f); in SlidingDrawer()
198 mTopOffset = (int) a.getDimension(R.styleable.SlidingDrawer_topOffset, 0.0f); in SlidingDrawer()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBar.java2222 mSelfExpandVelocityPx = res.getDimension(R.dimen.self_expand_velocity);
2223 mSelfCollapseVelocityPx = res.getDimension(R.dimen.self_collapse_velocity);
2224 mFlingExpandMinVelocityPx = res.getDimension(R.dimen.fling_expand_min_velocity);
2225 mFlingCollapseMinVelocityPx = res.getDimension(R.dimen.fling_collapse_min_velocity);
2230 mExpandAccelPx = res.getDimension(R.dimen.expand_accel);
2231 mCollapseAccelPx = res.getDimension(R.dimen.collapse_accel);
2233 mFlingGestureMaxXVelocityPx = res.getDimension(R.dimen.fling_gesture_max_x_velocity);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DCustomBar.java233 out.getDimension(bridgeContext.getResources().getDisplayMetrics())); in setStyle()
/frameworks/base/core/java/android/app/
DLauncherActivity.java261 mIconWidth = mIconHeight = (int) resources.getDimension( in IconResizer()
/frameworks/base/core/java/android/content/res/
DTypedArray.java387 public float getDimension(int index, float defValue) { in getDimension() method in TypedArray
DResources.java536 public float getDimension(int id) throws NotFoundException { in getDimension() method in Resources
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
DRecentsPanelView.java322 (int) mContext.getResources().getDimension(R.dimen.status_bar_recents_thumbnail_width); in updateValuesFromResources()
/frameworks/base/docs/html/guide/topics/resources/
Dmore-resources.jd309 float fontSize = res.{@link android.content.res.Resources#getDimension(int) getDimension}(R.dimen.f…
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
DTabletStatusBar.java316 (int) res.getDimension(R.dimen.status_bar_recents_width), in addPanelWindows()
/frameworks/base/core/java/android/view/
DViewRootImpl.java1013 baseSize = (int)mTmpValue.getDimension(packageMetrics); in performTraversals()
DView.java13573 mVerticalScrollFactor = outValue.getDimension(

12