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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPanelView.java208 mSelfExpandVelocityPx = res.getDimension(R.dimen.self_expand_velocity);
209 mSelfCollapseVelocityPx = res.getDimension(R.dimen.self_collapse_velocity);
210 mFlingExpandMinVelocityPx = res.getDimension(R.dimen.fling_expand_min_velocity);
211 mFlingCollapseMinVelocityPx = res.getDimension(R.dimen.fling_collapse_min_velocity);
213 mFlingGestureMinDistPx = res.getDimension(R.dimen.fling_gesture_min_dist);
218 mExpandAccelPx = res.getDimension(R.dimen.expand_accel);
219 mCollapseAccelPx = res.getDimension(R.dimen.collapse_accel);
221 mFlingGestureMaxXVelocityPx = res.getDimension(R.dimen.fling_gesture_max_x_velocity);
223 mFlingGestureMaxOutputVelocityPx = res.getDimension(R.dimen.fling_gesture_max_output_velocity);
225 mPeekHeight = res.getDimension(
[all...]
H A DNotificationPanelView.java54 mHandleBarHeight = resources.getDimension(R.dimen.close_handle_height);
H A DQuickSettingsContainerView.java56 mCellGap = r.getDimension(R.dimen.quick_settings_cell_gap);
H A DSettingsPanelView.java59 mHandleBarHeight = resources.getDimension(R.dimen.close_handle_height);
H A DPhoneStatusBarView.java51 mSettingsPanelDragzoneMin = res.getDimension(R.dimen.settings_panel_dragzone_min);
H A DPhoneStatusBar.java2367 mSelfExpandVelocityPx = res.getDimension(R.dimen.self_expand_velocity);
2368 mSelfCollapseVelocityPx = res.getDimension(R.dimen.self_collapse_velocity);
2369 mFlingExpandMinVelocityPx = res.getDimension(R.dimen.fling_expand_min_velocity);
2370 mFlingCollapseMinVelocityPx = res.getDimension(R.dimen.fling_collapse_min_velocity);
2375 mExpandAccelPx = res.getDimension(R.dimen.expand_accel);
2376 mCollapseAccelPx = res.getDimension(R.dimen.collapse_accel);
2378 mFlingGestureMaxXVelocityPx = res.getDimension(R.dimen.fling_gesture_max_x_velocity);
2380 mFlingGestureMaxOutputVelocityPx = res.getDimension(R.dimen.fling_gesture_max_output_velocity);
2383 = (int) res.getDimension(R.dimen.notification_panel_margin_bottom);
2385 = (int) res.getDimension(
[all...]
/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/
H A DUniverseBackground.java121 mSelfExpandVelocityPx = res.getDimension(R.dimen.self_expand_velocity);
122 mSelfCollapseVelocityPx = res.getDimension(R.dimen.self_collapse_velocity);
123 mFlingExpandMinVelocityPx = res.getDimension(R.dimen.fling_expand_min_velocity);
124 mFlingCollapseMinVelocityPx = res.getDimension(R.dimen.fling_collapse_min_velocity);
129 mExpandAccelPx = res.getDimension(R.dimen.expand_accel);
130 mCollapseAccelPx = res.getDimension(R.dimen.collapse_accel);
132 mFlingGestureMaxXVelocityPx = res.getDimension(R.dimen.fling_gesture_max_x_velocity);
H A DExpandHelper.java196 mPopLimit = mContext.getResources().getDimension(R.dimen.blinds_pop_threshold);
198 mPullGestureMinXSpan = mContext.getResources().getDimension(R.dimen.pull_span_min);
/frameworks/base/core/java/android/text/style/
H A DSuggestionSpan.java161 mMisspelledUnderlineThickness = typedArray.getDimension(
169 mEasyCorrectUnderlineThickness = typedArray.getDimension(
177 mAutoCorrectionUnderlineThickness = typedArray.getDimension(
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardMultiUserAvatar.java95 mIconSize = res.getDimension(R.dimen.keyguard_avatar_size);
96 mStroke = res.getDimension(R.dimen.keyguard_avatar_frame_stroke_width);
97 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/packages/SystemUI/src/com/android/systemui/statusbar/
H A DDelegateViewHelper.java104 .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.java330 a.getDimension(com.android.internal.R.styleable.ShapeDrawable_width, 0f));
332 a.getDimension(com.android.internal.R.styleable.ShapeDrawable_height, 0f));
/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/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.java278 out.getDimension(bridgeContext.getResources().getDisplayMetrics()));
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderSessionImpl.java1049 mStatusBarSize = (int)typedValue.getDimension(metrics);
1082 mActionBarSize = (int)typedValue.getDimension(metrics);
1108 mTitleBarSize = (int)typedValue.getDimension(metrics);
1157 mNavigationBarSize = (int)typedValue.getDimension(metrics);

Completed in 1649 milliseconds

12