Home
last modified time | relevance | path

Searched refs:applyDimension (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/tools/layoutlib/studio-custom-widgets/src/com/android/tools/idea/editors/theme/widgets/
DThemePreviewLayout.java77 mMaxColumnWidth = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, in ThemePreviewLayout()
80 mMinColumnWidth = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, in ThemePreviewLayout()
83 mItemHorizontalMargin = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, in ThemePreviewLayout()
86 mItemVerticalMargin = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, in ThemePreviewLayout()
/frameworks/base/core/java/android/util/
DTypedValue.java243 return applyDimension( in complexToDimension()
268 return (int)applyDimension( in complexToDimensionPixelOffset()
296 final float f = applyDimension( in complexToDimensionPixelSize()
342 public static float applyDimension(int unit, float value, in applyDimension() method in TypedValue
/frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java257 private final float mDpPerSp = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_SP, 1,
259 TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 1,
/frameworks/base/core/java/android/widget/
DCalendarViewLegacyDelegate.java303 mWeekMinVisibleHeight = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, in CalendarViewLegacyDelegate()
305 mListScrollTopOffset = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, in CalendarViewLegacyDelegate()
307 mBottomBuffer = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, in CalendarViewLegacyDelegate()
309 mSelectedDateVerticalBarWidth = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, in CalendarViewLegacyDelegate()
311 mWeekSeperatorLineWidth = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, in CalendarViewLegacyDelegate()
DNumberPicker.java628 final int defSelectionDividerHeight = (int) TypedValue.applyDimension( in NumberPicker()
634 final int defSelectionDividerDistance = (int) TypedValue.applyDimension( in NumberPicker()
DTextView.java2900 setRawTextSize(TypedValue.applyDimension( in setTextSize()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DLayout.java190 width = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, width, metrics); in createLayoutParams()
193 height = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, height, metrics); in createLayoutParams()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java10953 int val = (int)TypedValue.applyDimension(defUnits, defDps, dm); in getPropertyInt()
/frameworks/base/api/
Dcurrent.txt34419 method public static float applyDimension(int, float, android.util.DisplayMetrics);
Dsystem-current.txt36711 method public static float applyDimension(int, float, android.util.DisplayMetrics);