/frameworks/base/docs/html/guide/topics/ui/layout/ |
D | grid.jd | 65 android:padding="3dip" /> 69 android:padding="3dip" /> 75 android:padding="3dip" /> 79 android:padding="3dip" /> 108 android:padding="3dip" /> 112 android:padding="3dip" /> 119 android:padding="3dip" /> 123 android:padding="3dip" /> 130 android:padding="3dip" /> 134 android:padding="3dip" /> [all …]
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | RotationActivity.java | 38 static int dipToPx(Context c, int dip) { in dipToPx() argument 39 return (int) (c.getResources().getDisplayMetrics().density * dip + 0.5f); in dipToPx()
|
D | AlphaLayersActivity.java | 55 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/ |
D | AbsoluteSizeSpan.java | 41 public AbsoluteSizeSpan(int size, boolean dip) { in AbsoluteSizeSpan() argument 43 mDip = dip; in AbsoluteSizeSpan()
|
/frameworks/base/docs/html-intl/intl/ja/training/tv/start/ |
D | layouts.jd | 136 …うに十分な大きさを確保します。これには、絶対的なサイズではなく相対レイアウトによるサイジングを、絶対的なピクセル単位ではなく密度に依存しないピクセル(dip)単位を使用します。たとえば、ウィジェッ…
|
/frameworks/base/docs/html/training/tv/start/ |
D | layouts.jd | 191 density-independent pixel (dip) units instead of absolute pixel units. For example, to set the 193 margin for a widget, use dip values instead of px values.</li>
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | BaseShortcutManagerTest.java | 250 int injectDipToPixel(int dip) { in injectDipToPixel() argument 251 return dip; in injectDipToPixel()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DecorView.java | 2197 private float dipToPx(float dip) { 2198 return TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dip,
|
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
D | EditStyledText.java | 903 private int dipToPx(int dip) { in dipToPx() argument 907 return (int) ((float) dip * getPaddingScale() + 0.5); in dipToPx()
|
/frameworks/base/docs/html/guide/practices/ui_guidelines/ |
D | icon_design_status_bar.jd | 218 reduces icons to 18 x 18 dip and 40% opacity in the status bar, while drawing them full-size and at
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutService.java | 699 int injectDipToPixel(int dip) { in injectDipToPixel() argument 700 return (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dip, in injectDipToPixel()
|
/frameworks/base/docs/html/guide/topics/ui/ |
D | custom-components.jd | 521 android:padding="10dip"
|
/frameworks/base/core/java/android/view/ |
D | ViewRootImpl.java | 1439 private int dipToPx(int dip) { in dipToPx() argument 1441 return (int) (displayMetrics.density * dip + 0.5f); in dipToPx()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowManagerService.java | 11332 static int dipToPixel(int dip, DisplayMetrics displayMetrics) { in dipToPixel() argument 11333 return (int)TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dip, displayMetrics); in dipToPixel()
|
/frameworks/base/docs/html/training/articles/ |
D | smp.jd | 668 this it’s necessary to dip into ARM code for a moment: <span
|