Home
last modified time | relevance | path

Searched refs:dip (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DRotationActivity.java38 static int dipToPx(Context c, int dip) { in dipToPx() argument
39 return (int) (c.getResources().getDisplayMetrics().density * dip + 0.5f); in dipToPx()
DAlphaLayersActivity.java55 static int dipToPx(Context c, int dip) { in dipToPx() argument
56 return (int) (c.getResources().getDisplayMetrics().density * dip + 0.5f); in dipToPx()
/frameworks/base/core/java/android/text/style/
DAbsoluteSizeSpan.java51 public AbsoluteSizeSpan(int size, boolean dip) { in AbsoluteSizeSpan() argument
53 mDip = dip; in AbsoluteSizeSpan()
/frameworks/base/core/java/com/android/internal/jank/
DInteractionMonitorDebugOverlay.java135 private int dipToPx(int dip) { in dipToPx() argument
137 return mViewRoot.dipToPx(dip); in dipToPx()
139 return dip; in dipToPx()
DFrameTracker.java791 int dipToPx(int dip) { in dipToPx() argument
794 return (int) (displayMetrics.density * dip + 0.5f); in dipToPx()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java2250 private float dipToPx(float dip) { in dipToPx() argument
2251 return TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dip, in dipToPx()
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java903 private int dipToPx(int dip) { in dipToPx() argument
907 return (int) ((float) dip * getPaddingScale() + 0.5); in dipToPx()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java322 int injectDipToPixel(int dip) { in injectDipToPixel() argument
323 return dip; in injectDipToPixel()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java860 int injectDipToPixel(int dip) { in injectDipToPixel() argument
861 return (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dip, in injectDipToPixel()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java7458 static int dipToPixel(int dip, DisplayMetrics displayMetrics) { in dipToPixel() argument
7459 return (int)TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dip, displayMetrics); in dipToPixel()
/frameworks/base/core/java/android/view/
DViewRootImpl.java3345 int dipToPx(int dip) { in dipToPx() argument
3347 return (int) (displayMetrics.density * dip + 0.5f); in dipToPx()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...