Home
last modified time | relevance | path

Searched refs:COMPLEX_UNIT_DIP (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/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/SystemUI/src/com/android/systemui/tuner/
DSelectablePreference.java32 mSize = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 32, in SelectablePreference()
DNavBarTuner.java179 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()
DLockscreenFragment.java355 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/core/java/android/util/
DTypedValue.java102 public static final int COMPLEX_UNIT_DIP = 1; field in TypedValue
390 case COMPLEX_UNIT_DIP: in applyDimension()
/frameworks/opt/setupwizard/library/gingerbread/test/robotest/src/com/android/setupwizardlib/util/
DDimensionConsistencyTest.java63 return (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, displayMetrics); in dp2Px()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/leanback/
DTestHelper.java110 (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/test/robotest/src/com/android/setupwizardlib/util/
DGlifDimensionTest.java110 return (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, displayMetrics); in dp2Px()
/frameworks/opt/setupwizard/library/gingerbread/test/instrumentation/src/com/android/setupwizardlib/util/
DLinkAccessibilityHelperTest.java311 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/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 mWeekSeparatorLineWidth = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, in CalendarViewLegacyDelegate()
DNumberPicker.java668 TypedValue.COMPLEX_UNIT_DIP, UNSCALED_DEFAULT_SELECTION_DIVIDER_HEIGHT, in NumberPicker()
674 TypedValue.COMPLEX_UNIT_DIP, UNSCALED_DEFAULT_SELECTION_DIVIDERS_DISTANCE, in NumberPicker()
DSearchView.java1961 setMinWidth((int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, in onFinishInflate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyboardShortcutKeysLayout.java158 TypedValue.COMPLEX_UNIT_DIP, 4, displayMetrics); in getHorizontalVerticalSpacing()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/
DButtonFooterMixinTest.java170 return (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, displayMetrics); in dp2Px()
/frameworks/base/services/core/java/com/android/server/wm/
DWatermark.java86 TypedValue.COMPLEX_UNIT_DIP, 20, dm); in Watermark()
DPinnedStackController.java21 import static android.util.TypedValue.COMPLEX_UNIT_DIP;
589 return (int) TypedValue.applyDimension(COMPLEX_UNIT_DIP, dpValue, dm); in dpToPx()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DLayout.java234 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()
DResourceHelper.java544 new UnitEntry("dip", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_DIP, 1.0f),
545 new UnitEntry("dp", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_DIP, 1.0f),
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/utilities/
DUtilities.java232 return TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, res.getDisplayMetrics()); in dpToPx()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCaptivePortalLoginActivity.java340 / TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 1,
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainer.java233 if (-getTranslationY() > TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, in onTouchEvent()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java1438 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/tools/aapt2/
DResourceValues.cpp451 case Res_value::COMPLEX_UNIT_DIP: in ComplexToString()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp5148 { "dip", strlen("dip"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_DIP, 1.0f },
5149 { "dp", strlen("dp"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_DIP, 1.0f },
7312 case Res_value::COMPLEX_UNIT_DIP: printf("dp"); break; in print_complex()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java745 return (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dip, in injectDipToPixel()

12