Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/util/
DTypedValue.java246 return applyDimension( in complexToDimension()
271 return (int)applyDimension( in complexToDimensionPixelOffset()
299 final float f = applyDimension( in complexToDimensionPixelSize()
345 public static float applyDimension(int unit, float value, in applyDimension() method in TypedValue
/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/packages/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java255 private final float mDpPerSp = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_SP, 1,
257 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()
DSearchView.java1936 setMinWidth((int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, in onFinishInflate()
DTextView.java2999 setRawTextSize(TypedValue.applyDimension( in setTextSize()
/frameworks/opt/setupwizard/library/eclair-mr1/test/src/com/android/setupwizardlib/test/
DLinkAccessibilityHelperTest.java128 return (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, mDisplayMetrics); in dp2Px()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DLayout.java191 width = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, width, metrics); in createLayoutParams()
194 height = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, height, metrics); in createLayoutParams()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyboardShortcutKeysLayout.java157 return (int) TypedValue.applyDimension( in getHorizontalVerticalSpacing()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityGestureDetector.java191 mGestureDetectionThreshold = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_MM, 1, in AccessibilityGestureDetector()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
DUtilities.java277 return TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, res.getDisplayMetrics()); in dpToPx()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java2155 return TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dip,
2187 mAvailableWidth = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP,
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSearchView.java1893 setMinWidth((int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, in onFinishInflate()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java555 return (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dip, in injectDipToPixel()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java9897 int val = (int)TypedValue.applyDimension(defUnits, defDps, dm); in getPropertyInt()
10970 return (int)TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dip, displayMetrics); in dipToPixel()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt31900 method public static float applyDimension(int, float, android.util.DisplayMetrics);
/frameworks/base/api/
Dcurrent.txt40570 method public static float applyDimension(int, float, android.util.DisplayMetrics);
Dtest-current.txt40649 method public static float applyDimension(int, float, android.util.DisplayMetrics);
Dsystem-current.txt43570 method public static float applyDimension(int, float, android.util.DisplayMetrics);