/frameworks/base/core/java/android/inputmethodservice/navigationbar/ |
D | NavigationBarUtils.java | 19 import static android.util.TypedValue.COMPLEX_UNIT_DIP; 40 return (int) TypedValue.applyDimension(COMPLEX_UNIT_DIP, dpValue, res.getDisplayMetrics()); in dpToPx()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/qrcode/ |
D | QrDecorateView.java | 72 mRadius = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, CORNER_RADIUS, in QrDecorateView() 75 mInnerRidus = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, in QrDecorateView() 124 final float cornerLineLength = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, in calculateFramePos() 126 final float strokeWidth = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, in calculateFramePos()
|
/frameworks/base/core/java/android/accessibilityservice/util/ |
D | AccessibilityUtils.java | 122 return Math.round(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, screenWidthDp, in getScreenWidthPixels() 136 return Math.round(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, screenHeightDp, in getScreenHeightPixels()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/ |
D | PipUtils.java | 21 import static android.util.TypedValue.COMPLEX_UNIT_DIP; 79 return (int) TypedValue.applyDimension(COMPLEX_UNIT_DIP, dpValue, dm); in dpToPx()
|
D | PipContentOverlay.java | 19 import static android.util.TypedValue.COMPLEX_UNIT_DIP; 191 final int maxAppIconSizePx = (int) TypedValue.applyDimension(COMPLEX_UNIT_DIP, in PipAppIconOverlay()
|
/frameworks/base/core/java/android/util/ |
D | TypedValue.java | 107 COMPLEX_UNIT_DIP, 120 public static final int COMPLEX_UNIT_DIP = 1; field in TypedValue 408 case COMPLEX_UNIT_DIP: in applyDimension()
|
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/util/ |
D | Dimension.kt | 32 TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, toFloat(), displayMetrics)
|
/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 | 180 int size = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 14, in updateSummary() 222 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/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
D | ScrollViewActivity.java | 36 text.setTextSize(TypedValue.COMPLEX_UNIT_DIP, 40); in onCreate()
|
/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/base/core/tests/coretests/src/com/android/internal/widget/ |
D | CachingIconViewTest.java | 233 (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 80f, in assertDrawableResized() 248 (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 80f, in assertDrawableNotResized()
|
/frameworks/opt/setupwizard/library/gingerbread/test/instrumentation/src/com/android/setupwizardlib/util/ |
D | LinkAccessibilityHelperTest.java | 311 mTextView.setTextSize(TypedValue.COMPLEX_UNIT_DIP, 15); in initTextView() 324 return (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, mDisplayMetrics); in dp2Px()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | TypedValueTest.kt | 150 TypedValue.COMPLEX_UNIT_DIP in testCreateComplexDimension_appliesUnits()
|
/frameworks/base/packages/SettingsLib/ButtonPreference/src/com/android/settingslib/widget/ |
D | ButtonPreference.java | 147 int size = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, ICON_SIZE, in setIcon()
|
/frameworks/base/core/java/android/widget/ |
D | CalendarViewLegacyDelegate.java | 301 mWeekMinVisibleHeight = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, in CalendarViewLegacyDelegate() 303 mListScrollTopOffset = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, in CalendarViewLegacyDelegate() 305 mBottomBuffer = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, in CalendarViewLegacyDelegate() 307 mSelectedDateVerticalBarWidth = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, in CalendarViewLegacyDelegate() 309 mWeekSeparatorLineWidth = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, in CalendarViewLegacyDelegate()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | GestureNavigationSettingsObserver.java | 168 final float inset = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, backGestureInset, in getUnscaledInset()
|
/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/materials/ |
D | GlassActivity.kt | 102 materialView.blurRadius = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, in <lambda>()
|
/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/src/com/android/systemui/statusbar/ |
D | KeyboardShortcutKeysLayout.java | 158 TypedValue.COMPLEX_UNIT_DIP, 4, displayMetrics); in getHorizontalVerticalSpacing()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | Watermark.java | 85 TypedValue.COMPLEX_UNIT_DIP, 20, dm); in Watermark()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | Layout.java | 235 width = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, width, metrics); in createSysUiLayoutParams() 238 height = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, height, metrics); in createSysUiLayoutParams()
|