Home
last modified time | relevance | path

Searched refs:getDimension (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPanelView.java298 mSelfExpandVelocityPx = res.getDimension(R.dimen.self_expand_velocity);
299 mSelfCollapseVelocityPx = res.getDimension(R.dimen.self_collapse_velocity);
300 mFlingExpandMinVelocityPx = res.getDimension(R.dimen.fling_expand_min_velocity);
301 mFlingCollapseMinVelocityPx = res.getDimension(R.dimen.fling_collapse_min_velocity);
303 mFlingGestureMinDistPx = res.getDimension(R.dimen.fling_gesture_min_dist);
308 mExpandAccelPx = res.getDimension(R.dimen.expand_accel);
309 mCollapseAccelPx = res.getDimension(R.dimen.collapse_accel);
311 mFlingGestureMaxXVelocityPx = res.getDimension(R.dimen.fling_gesture_max_x_velocity);
313 … mFlingGestureMaxOutputVelocityPx = res.getDimension(R.dimen.fling_gesture_max_output_velocity);
315 mPeekHeight = res.getDimension(R.dimen.peek_height)
DPhoneStatusBar.java2376 mSelfExpandVelocityPx = res.getDimension(R.dimen.self_expand_velocity); in loadDimens()
2377 mSelfCollapseVelocityPx = res.getDimension(R.dimen.self_collapse_velocity); in loadDimens()
2378 mFlingExpandMinVelocityPx = res.getDimension(R.dimen.fling_expand_min_velocity); in loadDimens()
2379 mFlingCollapseMinVelocityPx = res.getDimension(R.dimen.fling_collapse_min_velocity); in loadDimens()
2384 mExpandAccelPx = res.getDimension(R.dimen.expand_accel); in loadDimens()
2385 mCollapseAccelPx = res.getDimension(R.dimen.collapse_accel); in loadDimens()
2387 mFlingGestureMaxXVelocityPx = res.getDimension(R.dimen.fling_gesture_max_x_velocity); in loadDimens()
2389 … mFlingGestureMaxOutputVelocityPx = res.getDimension(R.dimen.fling_gesture_max_output_velocity); in loadDimens()
2392 = (int) res.getDimension(R.dimen.notification_panel_margin_bottom); in loadDimens()
2394 = (int) res.getDimension(R.dimen.notification_panel_margin_left); in loadDimens()
DQuickSettingsContainerView.java56 mCellGap = r.getDimension(R.dimen.quick_settings_cell_gap); in updateResources()
DPhoneStatusBarView.java51 mSettingsPanelDragzoneMin = res.getDimension(R.dimen.settings_panel_dragzone_min); in PhoneStatusBarView()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFrameFormat.java101 public int getDimension(int i) { in getDimension() method in FrameFormat
220 int specDim = specification.getDimension(i); in isCompatibleWith()
221 if (specDim != SIZE_UNSPECIFIED && getDimension(i) != specDim) { in isCompatibleWith()
280 int specDim = specification.getDimension(i); in mayBeCompatibleWith()
282 && getDimension(i) != SIZE_UNSPECIFIED in mayBeCompatibleWith()
283 && getDimension(i) != specDim) { in mayBeCompatibleWith()
/frameworks/base/core/java/android/animation/
DAnimatorInflater.java226 valueFrom = a.getDimension(valueFromIndex, 0f); in loadAnimator()
232 valueTo = a.getDimension(valueToIndex, 0f); in loadAnimator()
242 valueTo = a.getDimension(valueToIndex, 0f); in loadAnimator()
253 valueFrom = (int) a.getDimension(valueFromIndex, 0f); in loadAnimator()
262 valueTo = (int) a.getDimension(valueToIndex, 0f); in loadAnimator()
276 valueTo = (int) a.getDimension(valueToIndex, 0f); in loadAnimator()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DUniverseBackground.java121 mSelfExpandVelocityPx = res.getDimension(R.dimen.self_expand_velocity); in loadDimens()
122 mSelfCollapseVelocityPx = res.getDimension(R.dimen.self_collapse_velocity); in loadDimens()
123 mFlingExpandMinVelocityPx = res.getDimension(R.dimen.fling_expand_min_velocity); in loadDimens()
124 mFlingCollapseMinVelocityPx = res.getDimension(R.dimen.fling_collapse_min_velocity); in loadDimens()
129 mExpandAccelPx = res.getDimension(R.dimen.expand_accel); in loadDimens()
130 mCollapseAccelPx = res.getDimension(R.dimen.collapse_accel); in loadDimens()
132 mFlingGestureMaxXVelocityPx = res.getDimension(R.dimen.fling_gesture_max_x_velocity); in loadDimens()
DExpandHelper.java196 mPopLimit = mContext.getResources().getDimension(R.dimen.blinds_pop_threshold); in ExpandHelper()
198 mPullGestureMinXSpan = mContext.getResources().getDimension(R.dimen.pull_span_min); in ExpandHelper()
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
DBridgeTypedArray.java432 public float getDimension(int index, float defValue) { in getDimension() method in BridgeTypedArray
455 return mValue.getDimension(mBridgeResources.getDisplayMetrics()); in getDimension()
486 return (int) getDimension(index, defValue); in getDimensionPixelOffset()
510 return getDimension(index); in getDimensionPixelSize()
544 return getDimension(index); in getLayoutDimension()
563 private int getDimension(int index) { in getDimension() method in BridgeTypedArray
582 float f = mValue.getDimension(mBridgeResources.getDisplayMetrics()); in getDimension()
DBridgeResources.java323 public float getDimension(int id) throws NotFoundException { in getDimension() method in BridgeResources
343 return mTmpValue.getDimension(getDisplayMetrics()); in getDimension()
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
DKeyguardMultiUserAvatar.java95 mIconSize = res.getDimension(R.dimen.keyguard_avatar_size); in KeyguardMultiUserAvatar()
96 mStroke = res.getDimension(R.dimen.keyguard_avatar_frame_stroke_width); in KeyguardMultiUserAvatar()
97 mShadowRadius = res.getDimension(R.dimen.keyguard_avatar_frame_shadow_radius); in KeyguardMultiUserAvatar()
/frameworks/base/core/java/android/text/style/
DSuggestionSpan.java161 mMisspelledUnderlineThickness = typedArray.getDimension( in initStyle()
169 mEasyCorrectUnderlineThickness = typedArray.getDimension( in initStyle()
177 mAutoCorrectionUnderlineThickness = typedArray.getDimension( in initStyle()
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
DBiDiTestViewDrawText.java46 mSize = a.getDimension(R.styleable.DrawTextTestView_size, 40.0f); in BiDiTestViewDrawText()
/frameworks/base/graphics/java/android/graphics/drawable/
DShapeDrawable.java330 a.getDimension(com.android.internal.R.styleable.ShapeDrawable_width, 0f)); in inflate()
332 a.getDimension(com.android.internal.R.styleable.ShapeDrawable_height, 0f)); in inflate()
DGradientDrawable.java978 float dashWidth = a.getDimension(
981 float dashGap = a.getDimension(
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DDelegateViewHelper.java104 .getDimension(R.dimen.navbar_search_up_threshhold);
/frameworks/base/test-runner/src/android/test/mock/
DMockResources.java107 public float getDimension(int id) throws NotFoundException { in getDimension() method in MockResources
/frameworks/base/core/java/android/util/
DTypedValue.java350 public float getDimension(DisplayMetrics metrics) in getDimension() method in TypedValue
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderSessionImpl.java1049 mStatusBarSize = (int)typedValue.getDimension(metrics); in findStatusBar()
1082 mActionBarSize = (int)typedValue.getDimension(metrics); in findActionBar()
1108 mTitleBarSize = (int)typedValue.getDimension(metrics); in findActionBar()
1157 mNavigationBarSize = (int)typedValue.getDimension(metrics); in findNavigationBar()
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
DGlowPadView.java216 mInnerRadius = a.getDimension(R.styleable.GlowPadView_innerRadius, mInnerRadius); in GlowPadView()
217 mOuterRadius = a.getDimension(R.styleable.GlowPadView_outerRadius, mOuterRadius); in GlowPadView()
218 mSnapMargin = a.getDimension(R.styleable.GlowPadView_snapMargin, mSnapMargin); in GlowPadView()
238 mGlowRadius = a.getDimension(R.styleable.GlowPadView_glowRadius, 0.0f); in GlowPadView()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DIconUtilities.java75 mIconWidth = mIconHeight = (int) resources.getDimension(android.R.dimen.app_icon_size); in IconUtilities()
/frameworks/base/core/java/android/widget/
DAutoCompleteTextView.java153 a.getDimension(R.styleable.AutoCompleteTextView_dropDownVerticalOffset, 0.0f)); in AutoCompleteTextView()
155 a.getDimension(R.styleable.AutoCompleteTextView_dropDownHorizontalOffset, 0.0f)); in AutoCompleteTextView()
DSlidingDrawer.java203 mBottomOffset = (int) a.getDimension(R.styleable.SlidingDrawer_bottomOffset, 0.0f); in SlidingDrawer()
204 mTopOffset = (int) a.getDimension(R.styleable.SlidingDrawer_topOffset, 0.0f); in SlidingDrawer()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DCustomBar.java278 out.getDimension(bridgeContext.getResources().getDisplayMetrics())); in setStyle()
/frameworks/base/core/java/android/app/
DLauncherActivity.java261 mIconWidth = mIconHeight = (int) resources.getDimension( in IconResizer()

12