Home
last modified time | relevance | path

Searched refs:dipToPx (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DRotationActivity.java38 static int dipToPx(Context c, int dip) { in dipToPx() method in RotationActivity
54 canvas.translate(dipToPx(getContext(), 400), dipToPx(getContext(), 200)); in onDraw()
DAlphaLayersActivity.java43 dipToPx(this, 100), dipToPx(this, 100), Gravity.CENTER)); in onCreate()
55 static int dipToPx(Context c, int dip) { in dipToPx() method in AlphaLayersActivity
DDisplayListLayersActivity.java74 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/
DEditStyledText.java903 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/
DDecorView.java2425 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/
DViewRootImpl.java1963 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/
Dboot-image-profile.txt17618 HSPLandroid/view/ViewRootImpl;->dipToPx(I)I
Dhiddenapi-greylist-max-o.txt79044 Landroid/view/ViewRootImpl;->dipToPx(I)I