Searched refs:dipToPx (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | RotationActivity.java | 38 static int dipToPx(Context c, int dip) { in dipToPx() method in RotationActivity 54 canvas.translate(dipToPx(getContext(), 400), dipToPx(getContext(), 200)); in onDraw()
|
D | AlphaLayersActivity.java | 43 dipToPx(this, 100), dipToPx(this, 100), Gravity.CENTER)); in onCreate() 55 static int dipToPx(Context c, int dip) { in dipToPx() method in AlphaLayersActivity
|
D | DisplayListLayersActivity.java | 74 params.setMargins(0, dipToPx(VERTICAL_MARGIN), 0, 0); in addChild() 78 private int dipToPx(int size) { in dipToPx() method in DisplayListLayersActivity
|
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
D | EditStyledText.java | 903 private int dipToPx(int dip) { in dipToPx() method in EditStyledText 915 return dipToPx(MAXIMAGEWIDTHDIP); in getMaxImageWidthPx() 2158 final int BUTTON_SIZE = mEST.dipToPx(50); in buildAndShowColorDialogue() 2159 final int BUTTON_MERGIN = mEST.dipToPx(2); in buildAndShowColorDialogue() 2160 final int BUTTON_PADDING = mEST.dipToPx(15); in buildAndShowColorDialogue() 2286 mEST.dipToPx(Integer.parseInt((String) mSizeDisplayInts[which])); in onShowSizeAlertDialog()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DecorView.java | 2425 elevation = dipToPx(elevation); in updateElevation() 2428 elevation = dipToPx(PINNED_WINDOWING_MODE_ELEVATION_IN_DIP); in updateElevation() 2462 private float dipToPx(float dip) { in dipToPx() method
|
/frameworks/base/core/java/android/view/ |
D | ViewRootImpl.java | 1963 private int dipToPx(int dip) { in dipToPx() method in ViewRootImpl 2139 desiredWindowWidth = dipToPx(config.screenWidthDp); in performTraversals() 2140 desiredWindowHeight = dipToPx(config.screenHeightDp); in performTraversals()
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 17618 HSPLandroid/view/ViewRootImpl;->dipToPx(I)I
|
D | hiddenapi-greylist-max-o.txt | 79044 Landroid/view/ViewRootImpl;->dipToPx(I)I
|