/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/rs/java/android/renderscript/ |
D | Font.java | 162 int dpi = res.getDisplayMetrics().densityDpi; in createFromFile() local 163 long fontId = rs.nFontCreateFromFile(path, pointSize, dpi); in createFromFile() 186 int dpi = res.getDisplayMetrics().densityDpi; in createFromAsset() local 188 long fontId = rs.nFontCreateFromAsset(mgr, path, pointSize, dpi); in createFromAsset() 210 int dpi = res.getDisplayMetrics().densityDpi; in createFromResource() local 215 fontId = rs.nFontCreateFromAssetStream(name, pointSize, dpi, asset); in createFromResource()
|
D | RenderScriptGL.java | 181 int dpi = ctx.getResources().getDisplayMetrics().densityDpi; in RenderScriptGL() local 188 mSurfaceConfig.mSamplesQ, dpi); in RenderScriptGL()
|
D | RenderScript.java | 213 int samplesMin, int samplesPref, float samplesQ, int dpi); in rsnContextCreateGL() argument 219 int samplesMin, int samplesPref, float samplesQ, int dpi) { in nContextCreateGL() argument 223 samplesMin, samplesPref, samplesQ, dpi); in nContextCreateGL() 713 native long rsnFontCreateFromFile(long con, String fileName, float size, int dpi); in rsnFontCreateFromFile() argument 714 synchronized long nFontCreateFromFile(String fileName, float size, int dpi) { in nFontCreateFromFile() argument 716 return rsnFontCreateFromFile(mContext, fileName, size, dpi); in nFontCreateFromFile() 718 …native long rsnFontCreateFromAssetStream(long con, String name, float size, int dpi, long assetStr… in rsnFontCreateFromAssetStream() argument 719 … synchronized long nFontCreateFromAssetStream(String name, float size, int dpi, long assetStream) { in nFontCreateFromAssetStream() argument 721 return rsnFontCreateFromAssetStream(mContext, name, size, dpi, assetStream); in nFontCreateFromAssetStream() 723 … native long rsnFontCreateFromAsset(long con, AssetManager mgr, String path, float size, int dpi); in rsnFontCreateFromAsset() argument [all …]
|
/frameworks/base/media/java/android/media/projection/ |
D | MediaProjection.java | 101 int width, int height, int dpi, boolean isSecure, @Nullable Surface surface, in createVirtualDisplay() argument 105 return dm.createVirtualDisplay(this, name, width, height, dpi, surface, in createVirtualDisplay() 134 int width, int height, int dpi, int flags, @Nullable Surface surface, in createVirtualDisplay() argument 138 this, name, width, height, dpi, surface, flags, callback, handler); in createVirtualDisplay()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | Stroke.java | 34 public Stroke(long eventTimeNano, float dpi) { in Stroke() argument 35 mDpi = dpi; in Stroke()
|
D | ClassifierData.java | 33 public ClassifierData(float dpi) { in ClassifierData() argument 34 mDpi = dpi; in ClassifierData()
|
/frameworks/rs/ |
D | rsApiContext.cpp | 59 uint32_t dpi) { in rsContextCreateGL() argument 65 rsc->setDPI(dpi); in rsContextCreateGL()
|
D | rsg.spec | 60 param uint32_t dpi 67 param uint32_t dpi
|
D | rsFont.cpp | 42 bool Font::init(const char *name, float fontSize, uint32_t dpi, const void *data, uint32_t dataLen)… in init() argument 63 mDpi = dpi; in init() 65 error = FT_Set_Char_Size(mFace, (FT_F26Dot6)(fontSize * 64.0f), 0, dpi, 0); in init() 296 Font * Font::create(Context *rsc, const char *name, float fontSize, uint32_t dpi, in create() argument 303 if (ithFont->mFontName == name && ithFont->mFontSize == fontSize && ithFont->mDpi == dpi) { in create() 309 bool isInitialized = newFont->init(name, fontSize, dpi, data, dataLen); in create() 862 float fontSize, uint32_t dpi) { in rsi_FontCreateFromFile() argument 863 Font *newFont = Font::create(rsc, name, fontSize, dpi); in rsi_FontCreateFromFile() 872 float fontSize, uint32_t dpi, in rsi_FontCreateFromMemory() argument 874 Font *newFont = Font::create(rsc, name, fontSize, dpi, data, data_length); in rsi_FontCreateFromMemory()
|
D | rsFont.h | 75 static Font * create(Context *rsc, const char *name, float fontSize, uint32_t dpi, 120 …bool init(const char *name, float fontSize, uint32_t dpi, const void *data = nullptr, uint32_t dat…
|
D | rs.h | 41 RsSurfaceConfig sc, uint32_t dpi);
|
D | rsContext.h | 248 void setDPI(uint32_t dpi) {mDPI = dpi;} in setDPI() argument
|
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/ |
D | DpiTestNoCompatActivity.java | 17 package com.google.android.test.dpi;
|
/frameworks/base/docs/html-intl/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/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/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_list.jd | 62 <code>ldpi</code> (120 dpi)<br> 66 <code>mdpi</code> (160 dpi)<br> 70 <code>hdpi</code> (240 dpi)<br> 74 <code>xhdpi</code> (320 dpi)<br>
|
D | icon_design_dialog.jd | 60 <code>ldpi</code> (120 dpi)<br> 64 <code>mdpi</code> (160 dpi)<br> 68 <code>hdpi</code> (240 dpi)<br> 72 <code>xhdpi</code> (320 dpi)<br>
|
D | icon_design_action_bar.jd | 83 <code>ldpi</code> (120 dpi)<br> 87 <code>mdpi</code> (160 dpi)<br> 91 <code>hdpi</code> (240 dpi)<br> 95 <code>xhdpi</code> (320 dpi)<br>
|
/frameworks/base/docs/html/guide/topics/manifest/ |
D | compatible-screens-element.jd | 94 <li>{@code "ldpi"} (approximately 120 dpi)</li> 95 <li>{@code "mdpi"} (approximately 160 dpi)</li> 96 <li>{@code "hdpi"} (approximately 240 dpi)</li> 97 <li>{@code "xhdpi"} (approximately 320 dpi)</li>
|
/frameworks/base/docs/html/guide/webapps/ |
D | targeting.jd | 25 <li><a href="http://www.html5rocks.com/en/mobile/high-dpi/" class="external-link">High 52 size as a medium-density screen (about 160dpi). However, if graphics are an important element of 54 because a 300px-wide image on a 320dpi screen will be scaled up (using more physical pixels per CSS 163 <a href="http://www.html5rocks.com/en/mobile/high-dpi/" class="external-link">High
|
/frameworks/base/docs/html-intl/intl/zh-cn/guide/topics/resources/ |
D | providing-resources.jd | 609 <td>屏幕像素密度 (dpi)</td> 622 <li>{@code ldpi}:低密度屏幕;约为 120dpi。</li> 624 160dpi。</li> 625 <li>{@code hdpi}:高密度屏幕;约为 240dpi。</li> 626 <li>{@code xhdpi}:超高密度屏幕;约为 320dpi。<em>API 628 <li>{@code xxhdpi}:超超高密度屏幕;约为 480dpi。<em>API 631 640dpi。<em></em> 636 <li>{@code tvdpi}:密度介于 mdpi 和 hdpi 之间的屏幕;约为 213dpi。它并不是“主要”密度组,
|
/frameworks/base/docs/html-intl/intl/zh-tw/guide/topics/resources/ |
D | providing-resources.jd | 609 <td>螢幕像素密度 (dpi)</td> 622 <li>{@code ldpi}:低密度螢幕;約 120dpi。</li> 623 <li>{@code mdpi}:中密度 (在傳統 HVGA) 螢幕;約 160dpi。 625 <li>{@code hdpi}:高密度螢幕;約 240dpi。</li> 626 <li>{@code xhdpi}:特高密度螢幕;約 320dpi。已新增至 API 級別 8。 628 <li>{@code xxhdpi}:特特高密度螢幕;約 480dpi。已新增至 API 級別 16。 630 …幕中的<a href="{@docRoot}guide/practices/screens_support.html#xxxhdpi-note">注意</a><em></em>);約 640dpi。 636 <li>{@code tvdpi}:介於 mdpi 和 hdpi 的螢幕;約 213dpi。這不屬於「主要」密度群組。
|