/frameworks/base/tests/FrameworkPerf/ |
D | Android.mk | 13 LOCAL_AAPT_FLAGS = -c 120dpi,240dpi,160dpi,161dpi,320dpi,nodpi
|
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/ |
D | AdaptiveIconDrawableTest.java | 67 int dpi = 4 ; in testDraw_withBounds() local 68 int top = 18 * dpi; in testDraw_withBounds() 69 int left = 18 * dpi; in testDraw_withBounds() 70 int right = 90 * dpi; in testDraw_withBounds() 71 int bottom = 90 * dpi; in testDraw_withBounds() 138 int dpi = 4; in testGetIconMaskAfterSetBounds() local 139 int top = 18 * dpi; in testGetIconMaskAfterSetBounds() 140 int left = 18 * dpi; in testGetIconMaskAfterSetBounds() 141 int right = 90 * dpi; in testGetIconMaskAfterSetBounds() 142 int bottom = 90 * dpi; in testGetIconMaskAfterSetBounds() [all …]
|
/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() 135 int width, int height, int dpi, int flags, @Nullable Surface surface, in createVirtualDisplay() argument 138 return dm.createVirtualDisplay(this, name, width, height, dpi, surface, flags, callback, 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 | 57 uint32_t dpi) { in rsContextCreateGL() argument 63 rsc->setDPI(dpi); in rsContextCreateGL()
|
D | rsg.spec | 60 param uint32_t dpi 67 param uint32_t dpi
|
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() 295 Font * Font::create(Context *rsc, const char *name, float fontSize, uint32_t dpi, in create() argument 302 if (ithFont->mFontName == name && ithFont->mFontSize == fontSize && ithFont->mDpi == dpi) { in create() 308 bool isInitialized = newFont->init(name, fontSize, dpi, data, dataLen); in create() 859 float fontSize, uint32_t dpi) { in rsi_FontCreateFromFile() argument 860 Font *newFont = Font::create(rsc, name, fontSize, dpi); in rsi_FontCreateFromFile() 869 float fontSize, uint32_t dpi, in rsi_FontCreateFromMemory() argument 871 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 | 239 void setDPI(uint32_t dpi) {mDPI = dpi;} in setDPI() argument
|
D | rsApiStubs.cpp | 726 RsSurfaceConfig sc, uint32_t dpi) in rsContextCreateGL() argument 734 … RsContext context = instance.GetEntryFuncs()->ContextCreateGL(vdev, version, sdkVersion, sc, dpi); in rsContextCreateGL() 834 float fontSize, uint32_t dpi) in rsFontCreateFromFile() argument 836 return RS_DISPATCH(ctxWrapper, FontCreateFromFile, name, name_length, fontSize, dpi); in rsFontCreateFromFile() 840 float fontSize, uint32_t dpi, in rsFontCreateFromMemory() argument 843 …return RS_DISPATCH(ctxWrapper, FontCreateFromMemory, name, name_length, fontSize, dpi, data, data_… in rsFontCreateFromMemory()
|
D | rsApiStubs.h | 126 …xtCreateGL(RsDevice vdev, uint32_t version, uint32_t sdkVersion, RsSurfaceConfig sc, uint32_t dpi); 141 …reateFromFile (RsContext rsc, const char * name, size_t name_length, float fontSize, uint32_t dpi); 142 …ntext rsc, const char * name, size_t name_length, float fontSize, uint32_t dpi, const void * data,…
|
/frameworks/base/cmds/vr/src/com/android/commands/vr/ |
D | Vr.java | 85 int dpi = Integer.parseInt(dpiStr); in runSetVr2dDisplayProperties() local 88 new Vr2dDisplayProperties(width, height, dpi); in runSetVr2dDisplayProperties()
|
/frameworks/base/core/java/android/app/ |
D | Vr2dDisplayProperties.java | 39 public Vr2dDisplayProperties(int width, int height, int dpi) { in Vr2dDisplayProperties() argument 42 mDpi = dpi; in Vr2dDisplayProperties()
|
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/ |
D | DpiTestNoCompatActivity.java | 17 package com.google.android.test.dpi;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | DisplayManagerServiceTest.java | 92 int dpi = 320; in testCreateVirtualDisplay_sentToInputManager() local 98 "Test Virtual Display", width, height, dpi, null /* surface */, flags /* flags */, in testCreateVirtualDisplay_sentToInputManager()
|
/frameworks/native/libs/vr/libvrflinger/ |
D | display_service.cpp | 93 static_cast<uint32_t>(GetDisplayMetrics().dpi.x), in OnGetMetrics() 94 static_cast<uint32_t>(GetDisplayMetrics().dpi.y), in OnGetMetrics()
|
D | hardware_composer.cpp | 153 native_display_metrics_.vsync_period_ns, native_display_metrics_.dpi.x, in Initialize() 154 native_display_metrics_.dpi.y); in Initialize() 350 &out_metrics->dpi.x); in GetDisplayMetrics() 359 &out_metrics->dpi.y); in GetDisplayMetrics()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RIL.java | 1268 DataProfileInfo dpi = new DataProfileInfo(); in convertToHalDataProfile() local 1270 dpi.profileId = dp.profileId; in convertToHalDataProfile() 1271 dpi.apn = dp.apn; in convertToHalDataProfile() 1272 dpi.protocol = dp.protocol; in convertToHalDataProfile() 1273 dpi.roamingProtocol = dp.roamingProtocol; in convertToHalDataProfile() 1274 dpi.authType = dp.authType; in convertToHalDataProfile() 1275 dpi.user = dp.user; in convertToHalDataProfile() 1276 dpi.password = dp.password; in convertToHalDataProfile() 1277 dpi.type = dp.type; in convertToHalDataProfile() 1278 dpi.maxConnsTime = dp.maxConnsTime; in convertToHalDataProfile() [all …]
|
/frameworks/rs/cpp/ |
D | rsDispatch.h | 110 …eGLFnPtr) (RsDevice vdev, uint32_t version, uint32_t sdkVersion, RsSurfaceConfig sc, uint32_t dpi); 118 …romFileFnPtr) (RsContext rsc, const char * name, size_t name_length, float fontSize, uint32_t dpi); 119 …ntext rsc, const char * name, size_t name_length, float fontSize, uint32_t dpi, const void * data,…
|