Searched refs:getDimension (Results 1 - 25 of 33) sorted by relevance

12

/frameworks/base/core/java/android/animation/
H A DAnimatorInflater.java226 valueFrom = a.getDimension(valueFromIndex, 0f);
232 valueTo = a.getDimension(valueToIndex, 0f);
242 valueTo = a.getDimension(valueToIndex, 0f);
253 valueFrom = (int) a.getDimension(valueFromIndex, 0f);
262 valueTo = (int) a.getDimension(valueToIndex, 0f);
276 valueTo = (int) a.getDimension(valueToIndex, 0f);
/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/tests/BiDiTests/src/com/android/bidi/
H A DBiDiTestViewDrawText.java46 mSize = a.getDimension(R.styleable.DrawTextTestView_size, 40.0f);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPanelView.java334 mSelfExpandVelocityPx = res.getDimension(R.dimen.self_expand_velocity);
335 mSelfCollapseVelocityPx = res.getDimension(R.dimen.self_collapse_velocity);
336 mFlingExpandMinVelocityPx = res.getDimension(R.dimen.fling_expand_min_velocity);
337 mFlingCollapseMinVelocityPx = res.getDimension(R.dimen.fling_collapse_min_velocity);
339 mFlingGestureMinDistPx = res.getDimension(R.dimen.fling_gesture_min_dist);
344 mExpandAccelPx = res.getDimension(R.dimen.expand_accel);
345 mCollapseAccelPx = res.getDimension(R.dimen.collapse_accel);
347 mFlingGestureMaxXVelocityPx = res.getDimension(R.dimen.fling_gesture_max_x_velocity);
349 mFlingGestureMaxOutputVelocityPx = res.getDimension(R.dimen.fling_gesture_max_output_velocity);
351 mPeekHeight = res.getDimension(
[all...]
H A DQuickSettingsContainerView.java56 mCellGap = r.getDimension(R.dimen.quick_settings_cell_gap);
H A DPhoneStatusBarView.java55 mSettingsPanelDragzoneMin = res.getDimension(R.dimen.settings_panel_dragzone_min);
H A DPhoneStatusBar.java2585 mSelfExpandVelocityPx = res.getDimension(R.dimen.self_expand_velocity);
2586 mSelfCollapseVelocityPx = res.getDimension(R.dimen.self_collapse_velocity);
2587 mFlingExpandMinVelocityPx = res.getDimension(R.dimen.fling_expand_min_velocity);
2588 mFlingCollapseMinVelocityPx = res.getDimension(R.dimen.fling_collapse_min_velocity);
2593 mExpandAccelPx = res.getDimension(R.dimen.expand_accel);
2594 mCollapseAccelPx = res.getDimension(R.dimen.collapse_accel);
2596 mFlingGestureMaxXVelocityPx = res.getDimension(R.dimen.fling_gesture_max_x_velocity);
2598 mFlingGestureMaxOutputVelocityPx = res.getDimension(R.dimen.fling_gesture_max_output_velocity);
2601 = (int) res.getDimension(R.dimen.notification_panel_margin_bottom);
2603 = (int) res.getDimension(
[all...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardMultiUserAvatar.java96 mIconSize = res.getDimension(R.dimen.keyguard_avatar_size);
97 mStroke = res.getDimension(R.dimen.keyguard_avatar_frame_stroke_width);
98 mShadowRadius = res.getDimension(R.dimen.keyguard_avatar_frame_shadow_radius);
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DBridgeTypedArray.java432 public float getDimension(int index, float defValue) { method in class:BridgeTypedArray
455 return mValue.getDimension(mBridgeResources.getDisplayMetrics());
470 * {@link #getDimension}, except the returned value is converted to
481 * @see #getDimension
486 return (int) getDimension(index, defValue);
492 * {@link #getDimension}, except the returned value is converted to
504 * @see #getDimension
510 return getDimension(index);
544 return getDimension(index);
563 private int getDimension(in method in class:BridgeTypedArray
[all...]
H A DBridgeResources.java323 public float getDimension(int id) throws NotFoundException { method in class:BridgeResources
343 return mTmpValue.getDimension(getDisplayMetrics());
/frameworks/base/core/java/android/text/style/
H A DSuggestionSpan.java172 mMisspelledUnderlineThickness = typedArray.getDimension(
180 mEasyCorrectUnderlineThickness = typedArray.getDimension(
188 mAutoCorrectionUnderlineThickness = typedArray.getDimension(
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DDelegateViewHelper.java111 .getDimension(R.dimen.navbar_search_up_threshhold);
/frameworks/base/test-runner/src/android/test/mock/
H A DMockResources.java107 public float getDimension(int id) throws NotFoundException { method in class:MockResources
/frameworks/base/graphics/java/android/graphics/drawable/
H A DShapeDrawable.java338 a.getDimension(com.android.internal.R.styleable.ShapeDrawable_width, 0f));
340 a.getDimension(com.android.internal.R.styleable.ShapeDrawable_height, 0f));
H A DGradientDrawable.java981 float dashWidth = a.getDimension(
984 float dashGap = a.getDimension(
/frameworks/base/core/java/android/util/
H A DTypedValue.java350 public float getDimension(DisplayMetrics metrics) method in class:TypedValue
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DIconUtilities.java75 mIconWidth = mIconHeight = (int) resources.getDimension(android.R.dimen.app_icon_size);
/frameworks/base/core/java/android/widget/
H A DAutoCompleteTextView.java153 a.getDimension(R.styleable.AutoCompleteTextView_dropDownVerticalOffset, 0.0f));
155 a.getDimension(R.styleable.AutoCompleteTextView_dropDownHorizontalOffset, 0.0f));
H A DSlidingDrawer.java203 mBottomOffset = (int) a.getDimension(R.styleable.SlidingDrawer_bottomOffset, 0.0f);
204 mTopOffset = (int) a.getDimension(R.styleable.SlidingDrawer_topOffset, 0.0f);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DExpandHelper.java195 mPopLimit = mContext.getResources().getDimension(R.dimen.blinds_pop_threshold);
197 mPullGestureMinXSpan = mContext.getResources().getDimension(R.dimen.pull_span_min);
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DGlowPadView.java216 mInnerRadius = a.getDimension(R.styleable.GlowPadView_innerRadius, mInnerRadius);
217 mOuterRadius = a.getDimension(R.styleable.GlowPadView_outerRadius, mOuterRadius);
218 mSnapMargin = a.getDimension(R.styleable.GlowPadView_snapMargin, mSnapMargin);
238 mGlowRadius = a.getDimension(R.styleable.GlowPadView_glowRadius, 0.0f);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DCustomBar.java294 out.getDimension(bridgeContext.getResources().getDisplayMetrics()));
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderSessionImpl.java1063 mStatusBarSize = (int)typedValue.getDimension(metrics);
1096 mActionBarSize = (int)typedValue.getDimension(metrics);
1122 mTitleBarSize = (int)typedValue.getDimension(metrics);
1171 mNavigationBarSize = (int)typedValue.getDimension(metrics);
/frameworks/base/core/java/android/app/
H A DLauncherActivity.java261 mIconWidth = mIconHeight = (int) resources.getDimension(
/frameworks/base/core/java/android/content/res/
H A DTypedArray.java388 public float getDimension(int index, float defValue) { method in class:TypedArray
406 * {@link #getDimension}, except the returned value is converted to
417 * @see #getDimension
438 * {@link #getDimension}, except the returned value is converted to
450 * @see #getDimension

Completed in 484 milliseconds

12