/frameworks/base/tools/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/packages/SystemUI/src/com/android/systemui/tuner/ |
D | SelectablePreference.java | 31 mSize = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 32, in SelectablePreference()
|
D | NavBarTuner.java | 189 int size = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 14, in updateSummary() 231 int size = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 14, in setupIcons()
|
D | LockscreenFragment.java | 363 int size = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 32, in ShortcutButton() 391 int size = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 32, in ActivityButton()
|
/frameworks/base/core/java/android/util/ |
D | TypedValue.java | 102 public static final int COMPLEX_UNIT_DIP = 1; field in TypedValue 372 case COMPLEX_UNIT_DIP: in applyDimension()
|
/frameworks/opt/setupwizard/library/eclair-mr1/test/instrumentation/src/com/android/setupwizardlib/test/ |
D | LinkAccessibilityHelperTest.java | 257 mTextView.setTextSize(TypedValue.COMPLEX_UNIT_DIP, 15); in initTextView() 271 return (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, mDisplayMetrics); in dp2Px()
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
D | OSUWebView.java | 61 TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 1,
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/ |
D | GlifDimensionTest.java | 113 return (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, displayMetrics); in dp2Px()
|
/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 | 631 TypedValue.COMPLEX_UNIT_DIP, UNSCALED_DEFAULT_SELECTION_DIVIDER_HEIGHT, in NumberPicker() 637 TypedValue.COMPLEX_UNIT_DIP, UNSCALED_DEFAULT_SELECTION_DIVIDERS_DISTANCE, in NumberPicker()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | PinnedStackController.java | 20 import static android.util.TypedValue.COMPLEX_UNIT_DIP; 484 return (int) TypedValue.applyDimension(COMPLEX_UNIT_DIP, dpValue, dm); in dpToPx()
|
D | Watermark.java | 87 TypedValue.COMPLEX_UNIT_DIP, 20, dm); in Watermark()
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/ |
D | FragmentLayoutSupport.java | 214 int padding = (int)TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, in onCreateView()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | Layout.java | 192 width = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, width, metrics); in createLayoutParams() 195 height = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, height, metrics); in createLayoutParams()
|
D | ResourceHelper.java | 539 new UnitEntry("dip", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_DIP, 1.0f), 540 new UnitEntry("dp", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_DIP, 1.0f),
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/ |
D | ButtonFooterMixinTest.java | 169 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/packages/SystemUI/src/com/android/systemui/recents/misc/ |
D | Utilities.java | 277 return TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, res.getDisplayMetrics()); in dpToPx()
|
/frameworks/support/transition/tests/src/android/support/transition/ |
D | ChangeImageTransformTest.java | 251 float size = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 50, metrics); in enterImageViewScene()
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | CaptivePortalLoginActivity.java | 312 / TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 1,
|
/frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/ |
D | CaptivePortalLoginActivity.java | 321 TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 1,
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ResourceTypes.h | 335 COMPLEX_UNIT_DIP = 1, enumerator
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/ |
D | AppCompatTextViewAutoSizeTest.java | 594 (int) (0.5f + TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 11f, m)),
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DecorView.java | 2283 return TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dip, 2315 mAvailableWidth = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP,
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | SearchView.java | 1852 setMinWidth((int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, in onFinishInflate()
|