/frameworks/layoutlib/studio-custom-widgets/src/com/android/tools/idea/editors/theme/widgets/ |
D | ThemePreviewLayout.java | 77 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/ |
D | TypedValue.java | 285 return applyDimension( in complexToDimension() 310 return (int)applyDimension( in complexToDimensionPixelOffset() 338 final float f = applyDimension( in complexToDimensionPixelSize() 384 public static float applyDimension(int unit, float value, in applyDimension() method in TypedValue
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | SelectablePreference.java | 32 mSize = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 32, in SelectablePreference()
|
D | NavBarTuner.java | 179 int size = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 14, in updateSummary() 221 int size = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 14, in setupIcons()
|
D | LockscreenFragment.java | 355 int size = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 32, in ShortcutButton() 383 int size = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 32, in ActivityButton()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/leanback/ |
D | TestHelper.java | 110 (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, mWidthDP, dm), in build() 111 (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, mHeightDP, dm)); in build()
|
/frameworks/opt/setupwizard/library/gingerbread/test/robotest/src/com/android/setupwizardlib/util/ |
D | DimensionConsistencyTest.java | 63 return (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, displayMetrics); in dp2Px()
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/ |
D | GlifDimensionTest.java | 110 return (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, displayMetrics); in dp2Px()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | SysUiOverlay.java | 60 return TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_PX, value, metrics); in dpToPx()
|
D | Layout.java | 234 width = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, width, metrics); in createSysUiLayoutParams() 237 height = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, height, metrics); in createSysUiLayoutParams()
|
/frameworks/base/core/java/android/widget/ |
D | CalendarViewLegacyDelegate.java | 303 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 mWeekSeparatorLineWidth = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, in CalendarViewLegacyDelegate()
|
D | NumberPicker.java | 667 final int defSelectionDividerHeight = (int) TypedValue.applyDimension( in NumberPicker() 673 final int defSelectionDividerDistance = (int) TypedValue.applyDimension( in NumberPicker()
|
D | TextView.java | 1694 autoSizeMinTextSizeInPx = TypedValue.applyDimension( 1701 autoSizeMaxTextSizeInPx = TypedValue.applyDimension( 1763 final float autoSizeMinTextSizeInPx = TypedValue.applyDimension( in setAutoSizeTextTypeWithDefaults() 1767 final float autoSizeMaxTextSizeInPx = TypedValue.applyDimension( in setAutoSizeTextTypeWithDefaults() 1819 final float autoSizeMinTextSizeInPx = TypedValue.applyDimension( in setAutoSizeTextTypeUniformWithConfiguration() 1821 final float autoSizeMaxTextSizeInPx = TypedValue.applyDimension( in setAutoSizeTextTypeUniformWithConfiguration() 1823 final float autoSizeStepGranularityInPx = TypedValue.applyDimension( in setAutoSizeTextTypeUniformWithConfiguration() 1869 presetSizesInPx[i] = Math.round(TypedValue.applyDimension(unit, in setAutoSizeTextTypeUniformWithPresetSizes() 4287 setRawTextSize(TypedValue.applyDimension(unit, size, r.getDisplayMetrics()), in setTextSizeInternal()
|
D | SearchView.java | 1961 setMinWidth((int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, in onFinishInflate()
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | CaptivePortalLoginActivity.java | 338 private final float mDpPerSp = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_SP, 1, 340 / TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 1,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyboardShortcutKeysLayout.java | 157 return (int) TypedValue.applyDimension( in getHorizontalVerticalSpacing()
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/ |
D | ButtonFooterMixinTest.java | 170 return (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, displayMetrics); in dp2Px()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/utilities/ |
D | Utilities.java | 232 return TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, res.getDisplayMetrics()); in dpToPx()
|
/frameworks/opt/setupwizard/library/gingerbread/test/instrumentation/src/com/android/setupwizardlib/util/ |
D | LinkAccessibilityHelperTest.java | 324 return (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, mDisplayMetrics); in dp2Px()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityGestureDetector.java | 247 mGestureDetectionThreshold = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_MM, 1, in AccessibilityGestureDetector()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | PinnedStackController.java | 589 return (int) TypedValue.applyDimension(COMPLEX_UNIT_DIP, dpValue, dm); in dpToPx()
|
D | WindowManagerService.java | 5598 int val = (int)TypedValue.applyDimension(defUnits, defDps, dm); in getPropertyInt() 6581 return (int)TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dip, displayMetrics); in dipToPixel()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardSecurityContainer.java | 233 if (-getTranslationY() > TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, in onTouchEvent()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DecorView.java | 1438 TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 1, in setColor() 2461 return TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dip, in dipToPx() 2493 mAvailableWidth = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, in updateAvailableWidth()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutService.java | 745 return (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dip, in injectDipToPixel()
|