Searched defs:getDimension (Results 1 - 12 of 12) sorted by relevance

/frameworks/base/test-runner/src/android/test/mock/
H A DMockResources.java112 public float getDimension(int id) throws NotFoundException { method in class:MockResources
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DBridgeTypedArray.java352 public float getDimension(int index, float defValue) { method in class:BridgeTypedArray
368 return mValue.getDimension(mBridgeResources.getDisplayMetrics());
377 * {@link #getDimension}, except the returned value is converted to
388 * @see #getDimension
393 return (int) getDimension(index, defValue);
399 * {@link #getDimension}, except the returned value is converted to
411 * @see #getDimension
417 return getDimension(index, null);
448 return getDimension(index, name);
468 private int getDimension(in method in class:BridgeTypedArray
[all...]
H A DResources_Delegate.java523 static float getDimension(Resources resources, int id) throws NotFoundException { method in class:Resources_Delegate
543 return tmpValue.getDimension(resources.getDisplayMetrics());
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DTintTypedArray.java188 public float getDimension(int index, float defValue) { method in class:TintTypedArray
189 return mWrapped.getDimension(index, defValue);
H A DResourcesWrapper.java108 public float getDimension(int id) throws NotFoundException { method in class:ResourcesWrapper
109 return mResources.getDimension(id);
/frameworks/base/core/java/android/content/res/
H A DTypedArray.java609 public float getDimension(@StyleableRes int index, float defValue) { method in class:TypedArray
638 * {@link #getDimension}, except the returned value is converted to
655 * @see #getDimension
687 * {@link #getDimension}, except the returned value is converted to
705 * @see #getDimension
H A DResources.java644 public float getDimension(@DimenRes int id) throws NotFoundException { method in class:Resources
662 * {@link #getDimension}, except the returned value is converted to
675 * @see #getDimension
697 * {@link #getDimension}, except the returned value is converted to
711 * @see #getDimension
/frameworks/base/core/java/android/util/
H A DTypedValue.java396 public float getDimension(DisplayMetrics metrics) method in class:TypedValue
/frameworks/base/graphics/java/android/graphics/drawable/
H A DInsetDrawable.java224 out.left = mState.mInsetLeft.getDimension(b.width());
225 out.right = mState.mInsetRight.getDimension(b.width());
226 out.top = mState.mInsetTop.getDimension(b.height());
227 out.bottom = mState.mInsetBottom.getDimension(b.height());
273 r.left += mState.mInsetLeft.getDimension(bounds.width());
274 r.top += mState.mInsetTop.getDimension(bounds.height());
275 r.right -= mState.mInsetRight.getDimension(bounds.width());
276 r.bottom -= mState.mInsetBottom.getDimension(bounds.height());
397 int getDimension(int boundSize) { method in class:InsetDrawable.InsetValue
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DFrameFormat.java101 public int getDimension(int i) { method in class:FrameFormat
220 int specDim = specification.getDimension(i);
221 if (specDim != SIZE_UNSPECIFIED && getDimension(i) != specDim) {
280 int specDim = specification.getDimension(i);
282 && getDimension(i) != SIZE_UNSPECIFIED
283 && getDimension(i) != specDim) {
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DLayout.java367 getDimension(ATTR_STATUS_BAR_HEIGHT, true, DEFAULT_STATUS_BAR_HEIGHT);
383 mActionBarSize = getDimension(ATTR_ACTION_BAR_SIZE, true, DEFAULT_TITLE_BAR_HEIGHT);
390 getDimension(ATTR_WINDOW_TITLE_SIZE, true, DEFAULT_TITLE_BAR_HEIGHT);
413 mNavBarSize = getDimension(barOnBottom ? ATTR_NAV_BAR_HEIGHT : ATTR_NAV_BAR_WIDTH,
421 private int getDimension(String attr, boolean isFramework, int defaultValue) { method in class:Layout.Builder
427 return (int) typedValue.getDimension(mContext.getMetrics());
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DGuidedActionsStylist.java475 mVerticalPadding = getDimension(ctx, val, R.attr.guidedActionVerticalPadding);
1486 private int getDimension(Context ctx, TypedValue typedValue, int attrId) { method in class:GuidedActionsStylist

Completed in 2669 milliseconds