Home
last modified time | relevance | path

Searched refs:COMPLEX_UNIT_DIP (Results 1 – 12 of 12) 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.java101 public static final int COMPLEX_UNIT_DIP = 1; field in TypedValue
348 case COMPLEX_UNIT_DIP: in applyDimension()
/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.java629 TypedValue.COMPLEX_UNIT_DIP, UNSCALED_DEFAULT_SELECTION_DIVIDER_HEIGHT, in NumberPicker()
635 TypedValue.COMPLEX_UNIT_DIP, UNSCALED_DEFAULT_SELECTION_DIVIDERS_DISTANCE, in NumberPicker()
/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()
DResourceHelper.java369 new UnitEntry("dip", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_DIP, 1.0f),
370 new UnitEntry("dp", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_DIP, 1.0f),
/frameworks/base/services/core/java/com/android/server/wm/
DWatermark.java85 TypedValue.COMPLEX_UNIT_DIP, 20, dm); in Watermark()
/frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java259 TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 1,
/frameworks/base/include/androidfw/
DResourceTypes.h330 COMPLEX_UNIT_DIP = 1, enumerator
/frameworks/base/libs/androidfw/
DResourceTypes.cpp4654 { "dip", strlen("dip"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_DIP, 1.0f },
4655 { "dp", strlen("dp"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_DIP, 1.0f },
6566 case Res_value::COMPLEX_UNIT_DIP: printf("dp"); break; in print_complex()
/frameworks/base/api/
Dcurrent.txt34440 field public static final int COMPLEX_UNIT_DIP = 1; // 0x1
Dsystem-current.txt36732 field public static final int COMPLEX_UNIT_DIP = 1; // 0x1