/frameworks/base/tests/FrameworkPerf/ |
D | Android.mk | 12 LOCAL_AAPT_FLAGS = -c 120dpi,240dpi,160dpi,161dpi,320dpi,nodpi
|
/frameworks/base/tests/DpiTest/ |
D | Android.mk | 10 LOCAL_AAPT_FLAGS = -c 120dpi,240dpi,160dpi,nodpi
|
/frameworks/base/graphics/java/android/renderscript/ |
D | Font.java | 163 int dpi = res.getDisplayMetrics().densityDpi; in createFromFile() local 164 int fontId = rs.nFontCreateFromFile(path, pointSize, dpi); in createFromFile() 187 int dpi = res.getDisplayMetrics().densityDpi; in createFromAsset() local 189 int fontId = rs.nFontCreateFromAsset(mgr, path, pointSize, dpi); in createFromAsset() 211 int dpi = res.getDisplayMetrics().densityDpi; in createFromResource() local 216 fontId = rs.nFontCreateFromAssetStream(name, pointSize, dpi, asset); in createFromResource()
|
D | RenderScript.java | 113 int samplesMin, int samplesPref, float samplesQ, int dpi); in rsnContextCreateGL() argument 119 int samplesMin, int samplesPref, float samplesQ, int dpi) { in nContextCreateGL() argument 123 samplesMin, samplesPref, samplesQ, dpi); in nContextCreateGL() 472 native int rsnFontCreateFromFile(int con, String fileName, float size, int dpi); in rsnFontCreateFromFile() argument 473 synchronized int nFontCreateFromFile(String fileName, float size, int dpi) { in nFontCreateFromFile() argument 475 return rsnFontCreateFromFile(mContext, fileName, size, dpi); in nFontCreateFromFile() 477 …native int rsnFontCreateFromAssetStream(int con, String name, float size, int dpi, int assetStrea… in rsnFontCreateFromAssetStream() argument 478 synchronized int nFontCreateFromAssetStream(String name, float size, int dpi, int assetStream) { in nFontCreateFromAssetStream() argument 480 return rsnFontCreateFromAssetStream(mContext, name, size, dpi, assetStream); in nFontCreateFromAssetStream() 482 native int rsnFontCreateFromAsset(int con, AssetManager mgr, String path, float size, int dpi); in rsnFontCreateFromAsset() argument [all …]
|
D | RenderScriptGL.java | 187 int dpi = ctx.getResources().getDisplayMetrics().densityDpi; in RenderScriptGL() local 194 mSurfaceConfig.mSamplesQ, dpi); in RenderScriptGL()
|
/frameworks/base/docs/html/design/style/ |
D | metrics-grids.jd | 7 600<acronym title="Density-independent pixels. One dp is one pixel on a 160 dpi 9 title="Low density (120 dpi)">LDPI</acronym>, <acronym title="Medium density (160 10 dpi)">MDPI</acronym>, <acronym title="High density (240 dpi)">HDPI</acronym>, and <acronym title 11 ="Extra-high density (320 dpi)">XHDPI</acronym>. Optimize your application's UI by designing
|
D | iconography.jd | 42 …8 <acronym title="Density-independent pixels. One dp is one pixel on a 160 dpi screen.">dp</acrony… 141 …2 <acronym title="Density-independent pixels. One dp is one pixel on a 160 dpi screen.">dp</acrony… 222 …6 <acronym title="Density-independent pixels. One dp is one pixel on a 160 dpi screen.">dp</acrony… 301 …4 <acronym title="Density-independent pixels. One dp is one pixel on a 160 dpi screen.">dp</acrony…
|
/frameworks/base/docs/html/guide/webapps/ |
D | targeting.jd | 119 <b>target-densitydpi</b> = [<em>dpi_value</em> | device-dpi | 120 high-dpi | medium-dpi | low-dpi] 213 the {@code target-densitydpi} property with a value of {@code device-dpi}. This is discussed more in 272 dots per inch (dpi). There are three screen 282 width=device-width} and {@code target-densitydpi=device-dpi}.</p> 306 <li><code>device-dpi</code> - Use the device's native dpi as the target dpi. Default scaling never 308 <li><code>high-dpi</code> - Use hdpi as the target dpi. Medium and low density screens scale down 310 <li><code>medium-dpi</code> - Use mdpi as the target dpi. High density screens scale up and low 312 <li><code>low-dpi</code> - Use ldpi as the target dpi. Medium and high density screens scale up 314 <li><em><code><value></code></em> - Specify a dpi value to use as the target dpi. Values must [all …]
|
/frameworks/rs/ |
D | rsFont.cpp | 40 bool Font::init(const char *name, float fontSize, uint32_t dpi, const void *data, uint32_t dataLen)… in init() argument 61 mDpi = dpi; in init() 63 error = FT_Set_Char_Size(mFace, (FT_F26Dot6)(fontSize * 64.0f), 0, dpi, 0); in init() 294 Font * Font::create(Context *rsc, const char *name, float fontSize, uint32_t dpi, in create() argument 301 if (ithFont->mFontName == name && ithFont->mFontSize == fontSize && ithFont->mDpi == dpi) { in create() 307 bool isInitialized = newFont->init(name, fontSize, dpi, data, dataLen); in create() 861 float fontSize, uint32_t dpi) { in rsi_FontCreateFromFile() argument 862 Font *newFont = Font::create(rsc, name, fontSize, dpi); in rsi_FontCreateFromFile() 871 float fontSize, uint32_t dpi, in rsi_FontCreateFromMemory() argument 873 Font *newFont = Font::create(rsc, name, fontSize, dpi, data, data_length); in rsi_FontCreateFromMemory()
|
D | rsContext.h | 211 void setDPI(uint32_t dpi) {mDPI = dpi;} in setDPI() argument
|
D | rsFont.h | 76 static Font * create(Context *rsc, const char *name, float fontSize, uint32_t dpi, 121 …bool init(const char *name, float fontSize, uint32_t dpi, const void *data = NULL, uint32_t dataLe…
|
D | rs.h | 56 RsSurfaceConfig sc, uint32_t dpi);
|
D | rs.spec | 457 param uint32_t dpi 464 param uint32_t dpi
|
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/ |
D | DpiTestNoCompatActivity.java | 17 package com.google.android.test.dpi;
|
/frameworks/support/renderscript/v8/rs_support/ |
D | rsContext.h | 146 void setDPI(uint32_t dpi) {mDPI = dpi;} in setDPI() argument
|
D | rs.h | 56 RsSurfaceConfig sc, uint32_t dpi);
|
/frameworks/base/docs/html/intl/ja/training/multiscreen/ |
D | screendensities.jd | 46 …p</code> 単位や <code>sp</code> 単位を使用します。<code>dp</code> とは、1 ピクセルの物理サイズが 160 dpi に相当する密度非依存ピクセルです。<c… 96 <p>また、<code>@drawable/awesomeimage</code> を参照する場合は常に画面の dpi に基づいて、適切なビットマップが選択されます。</p>
|
/frameworks/base/docs/html-intl/ja/training/multiscreen/ |
D | screendensities.jd | 46 …p</code> 単位や <code>sp</code> 単位を使用します。<code>dp</code> とは、1 ピクセルの物理サイズが 160 dpi に相当する密度非依存ピクセルです。<c… 96 <p>また、<code>@drawable/awesomeimage</code> を参照する場合は常に画面の dpi に基づいて、適切なビットマップが選択されます。</p>
|
/frameworks/base/docs/html-intl/zh-cn/training/multiscreen/ |
D | screendensities.jd | 46 …ode>dp</code> 或 <code>sp</code> 单位指定尺寸。<code>dp</code> 是一种非密度制约像素,其尺寸与 160 dpi 像素的实际尺寸相同。<code>sp<… 96 <p>这样一来,无论您何时引用 <code>@drawable/awesomeimage</code>,系统都能根据相应屏幕的 dpi 选取合适的位图。</p>
|
/frameworks/base/docs/html/intl/zh-CN/training/multiscreen/ |
D | screendensities.jd | 46 …ode>dp</code> 或 <code>sp</code> 单位指定尺寸。<code>dp</code> 是一种非密度制约像素,其尺寸与 160 dpi 像素的实际尺寸相同。<code>sp<… 96 <p>这样一来,无论您何时引用 <code>@drawable/awesomeimage</code>,系统都能根据相应屏幕的 dpi 选取合适的位图。</p>
|
/frameworks/base/docs/html-intl/ko/training/multiscreen/ |
D | screendensities.jd | 46 … 항상 <code>dp</code> 또는 <code>sp</code> 단위를 사용하시기 바랍니다. <code>dp</code>는 160dpi에서 픽셀의 물리적 크기에 대응하는 … 96 <p>그런 다음 언제든지 <code>@drawable/awesomeimage</code>를 참조하면 시스템이 화면의 dpi에 따라 적합한 비트맵을 선택합니다.</p>
|
/frameworks/base/docs/html/intl/ko/training/multiscreen/ |
D | screendensities.jd | 46 … 항상 <code>dp</code> 또는 <code>sp</code> 단위를 사용하시기 바랍니다. <code>dp</code>는 160dpi에서 픽셀의 물리적 크기에 대응하는 … 96 <p>그런 다음 언제든지 <code>@drawable/awesomeimage</code>를 참조하면 시스템이 화면의 dpi에 따라 적합한 비트맵을 선택합니다.</p>
|
/frameworks/base/docs/html/guide/practices/ui_guidelines/ |
D | icon_design_action_bar.jd | 82 <code>ldpi</code> (120 dpi)<br> 86 <code>mdpi</code> (160 dpi)<br> 90 <code>hdpi</code> (240 dpi)<br> 94 <code>xhdpi</code> (320 dpi)<br>
|
D | icon_design_launcher.jd | 199 <code>ldpi</code> (120 dpi)<br> 203 <code>mdpi</code> (160 dpi)<br> 207 <code>hdpi</code> (240 dpi)<br> 211 <code>xhdpi</code> (320 dpi)<br>
|
/frameworks/base/docs/html/training/multiscreen/ |
D | screendensities.jd | 56 that corresponds to the physical size of a pixel at 160 dpi. An <code>sp</code> is the same 122 appropriate bitmap based on the screen's dpi.</p>
|