Searched defs:getDimension (Results 1 - 11 of 11) 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.java351 public float getDimension(int index, float defValue) { method in class:BridgeTypedArray
367 return mValue.getDimension(mBridgeResources.getDisplayMetrics());
376 * {@link #getDimension}, except the returned value is converted to
387 * @see #getDimension
392 return (int) getDimension(index, defValue);
398 * {@link #getDimension}, except the returned value is converted to
410 * @see #getDimension
416 return getDimension(index, null);
447 return getDimension(index, name);
467 private int getDimension(in method in class:BridgeTypedArray
[all...]
H A DResources_Delegate.java495 static float getDimension(Resources resources, int id) throws NotFoundException { method in class:Resources_Delegate
515 return tmpValue.getDimension(resources.getDisplayMetrics());
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DTintTypedArray.java145 public float getDimension(int index, float defValue) { method in class:TintTypedArray
146 return mWrapped.getDimension(index, defValue);
H A DResourcesWrapper.java107 public float getDimension(int id) throws NotFoundException { method in class:ResourcesWrapper
108 return mResources.getDimension(id);
/frameworks/base/core/java/android/content/res/
H A DTypedArray.java599 public float getDimension(@StyleableRes int index, float defValue) { method in class:TypedArray
628 * {@link #getDimension}, except the returned value is converted to
645 * @see #getDimension
677 * {@link #getDimension}, except the returned value is converted to
695 * @see #getDimension
H A DResources.java589 public float getDimension(@DimenRes int id) throws NotFoundException { method in class:Resources
607 * {@link #getDimension}, except the returned value is converted to
620 * @see #getDimension
642 * {@link #getDimension}, except the returned value is converted to
656 * @see #getDimension
/frameworks/base/core/java/android/util/
H A DTypedValue.java375 public float getDimension(DisplayMetrics metrics) method in class:TypedValue
/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.java356 getDimension(ATTR_STATUS_BAR_HEIGHT, true, DEFAULT_STATUS_BAR_HEIGHT);
370 mActionBarSize = getDimension(ATTR_ACTION_BAR_SIZE, true, DEFAULT_TITLE_BAR_HEIGHT);
377 getDimension(ATTR_WINDOW_TITLE_SIZE, true, DEFAULT_TITLE_BAR_HEIGHT);
400 mNavBarSize = getDimension(barOnBottom ? ATTR_NAV_BAR_HEIGHT : ATTR_NAV_BAR_WIDTH,
407 private int getDimension(String attr, boolean isFramework, int defaultValue) { method in class:Layout.Builder
413 return (int) typedValue.getDimension(mContext.getMetrics());
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DGuidedActionsStylist.java437 mVerticalPadding = getDimension(ctx, val, R.attr.guidedActionVerticalPadding);
1229 private int getDimension(Context ctx, TypedValue typedValue, int attrId) { method in class:GuidedActionsStylist

Completed in 296 milliseconds