/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
H A D | PreviewPageFrame.java | 40 mSelectedElevation = mContext.getResources().getDimension( 42 mNotSelectedElevation = mContext.getResources().getDimension(
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | UserAvatarView.java | 50 setAvatarPadding(a.getDimension(attr, 0)); 53 setFrameWidth(a.getDimension(attr, 0)); 56 setFramePadding(a.getDimension(attr, 0)); 62 setBadgeDiameter(a.getDimension(attr, 0)); 65 setBadgeMargin(a.getDimension(attr, 0));
|
H A D | TrustDrawable.java | 73 mInnerRadiusVisibleMin = r.getDimension(R.dimen.trust_circle_inner_radius_visible_min); 74 mInnerRadiusVisibleMax = r.getDimension(R.dimen.trust_circle_inner_radius_visible_max); 75 mInnerRadiusExit = r.getDimension(R.dimen.trust_circle_inner_radius_exit); 76 mInnerRadiusEnter = r.getDimension(R.dimen.trust_circle_inner_radius_enter); 77 mThickness = r.getDimension(R.dimen.trust_circle_thickness);
|
H A D | QuickStatusBarHeader.java | 155 mGearTranslation = mContext.getResources().getDimension(R.dimen.qs_header_gear_translation); 157 mDateTimeTranslation = mContext.getResources().getDimension( 159 mDateTimeAlarmTranslation = mContext.getResources().getDimension( 161 float dateCollapsedSize = mContext.getResources().getDimension( 163 float dateExpandedSize = mContext.getResources().getDimension(
|
/frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/ |
H A D | DrawerArrowDrawable.java | 134 setBarThickness(a.getDimension(R.styleable.DrawerArrowToggle_thickness, 0)); 137 setGapSize(Math.round(a.getDimension(R.styleable.DrawerArrowToggle_gapBetweenBars, 0))); 141 mBarLength = Math.round(a.getDimension(R.styleable.DrawerArrowToggle_barLength, 0)); 143 mArrowHeadLength = Math.round(a.getDimension( 145 mArrowShaftLength = a.getDimension(R.styleable.DrawerArrowToggle_arrowShaftLength, 0);
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | FrameFormat.java | 101 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/tests/BiDiTests/src/com/android/bidi/ |
H A D | BiDiTestViewDrawText.java | 46 mSize = a.getDimension(R.styleable.DrawTextTestView_size, 40.0f);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | Layout.java | 356 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/v7/appcompat/src/android/support/v7/widget/ |
H A D | ContentFrameLayout.java | 103 w = (int) tvw.getDimension(metrics); 122 h = (int) tvh.getDimension(metrics); 147 min = (int) tv.getDimension(metrics);
|
H A D | ResourcesWrapper.java | 107 public float getDimension(int id) throws NotFoundException { method in class:ResourcesWrapper 108 return mResources.getDimension(id);
|
H A D | TintTypedArray.java | 145 public float getDimension(int index, float defValue) { method in class:TintTypedArray 146 return mWrapped.getDimension(index, defValue);
|
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
H A D | BridgeTypedArray.java | 351 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...] |
/frameworks/base/core/java/android/animation/ |
H A D | AnimatorInflater.java | 335 valueFrom = styledAttributes.getDimension(valueFromId, 0f); 341 valueTo = styledAttributes.getDimension(valueToId, 0f); 352 valueTo = styledAttributes.getDimension(valueToId, 0f); 363 valueFrom = (int) styledAttributes.getDimension(valueFromId, 0f); 371 valueTo = (int) styledAttributes.getDimension(valueToId, 0f); 384 valueTo = (int) styledAttributes.getDimension(valueToId, 0f); 575 valueFrom = arrayAnimator.getDimension(valueFromIndex, 0f); 581 valueTo = arrayAnimator.getDimension(valueToIndex, 0f); 591 valueTo = arrayAnimator.getDimension(valueToIndex, 0f); 602 valueFrom = (int) arrayAnimator.getDimension(valueFromInde [all...] |
/frameworks/base/core/java/android/text/style/ |
H A D | SuggestionSpan.java | 187 mMisspelledUnderlineThickness = typedArray.getDimension( 195 mEasyCorrectUnderlineThickness = typedArray.getDimension( 203 mAutoCorrectionUnderlineThickness = typedArray.getDimension(
|
/frameworks/support/v7/cardview/src/android/support/v7/widget/ |
H A D | CardView.java | 234 float radius = a.getDimension(R.styleable.CardView_cardCornerRadius, 0); 235 float elevation = a.getDimension(R.styleable.CardView_cardElevation, 0); 236 float maxElevation = a.getDimension(R.styleable.CardView_cardMaxElevation, 0);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ |
H A D | AssistDisclosure.java | 159 mThickness = getResources().getDimension(R.dimen.assist_disclosure_thickness); 160 mShadowThickness = getResources().getDimension(
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | PageIndicator.java | 38 (int) mContext.getResources().getDimension(R.dimen.qs_page_indicator_width); 40 (int) mContext.getResources().getDimension(R.dimen.qs_page_indicator_height);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
H A D | FrameworkActionBar.java | 233 return (int) typedValue.getDimension(metrics); 251 return (int) typedValue.getDimension(metrics);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | ShadowOverlayContainer.java | 145 useDynamicShadow(getResources().getDimension(R.dimen.lb_material_shadow_normal_z), 146 getResources().getDimension(R.dimen.lb_material_shadow_focused_z));
|
H A D | ShadowOverlayHelper.java | 428 mFocusedZ = res.getDimension(R.dimen.lb_material_shadow_focused_z); 429 mUnfocusedZ = res.getDimension(R.dimen.lb_material_shadow_normal_z);
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | DrawerController.java | 111 float maxWidth = activity.getResources().getDimension(R.dimen.max_drawer_width);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/ |
H A D | CircleFramedDrawable.java | 52 float iconSize = res.getDimension(R.dimen.circle_avatar_size);
|
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockResources.java | 112 public float getDimension(int id) throws NotFoundException { method in class:MockResources
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
H A D | MediaRouteDialogHelper.java | 50 return (int) value.getDimension(metrics);
|
/frameworks/base/core/java/android/view/ |
H A D | ThreadedRenderer.java | 349 mLightY = a.getDimension(R.styleable.Lighting_lightY, 0); 350 mLightZ = a.getDimension(R.styleable.Lighting_lightZ, 0); 351 mLightRadius = a.getDimension(R.styleable.Lighting_lightRadius, 0);
|