/frameworks/base/tests/FrameworkPerf/ |
D | Android.bp | 12 "120dpi,240dpi,160dpi,161dpi,320dpi,nodpi",
|
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/ |
D | AdaptiveIconDrawableTest.java | 84 int dpi = 4 ; in testDraw_withBounds() local 85 int top = 18 * dpi; in testDraw_withBounds() 86 int left = 18 * dpi; in testDraw_withBounds() 87 int right = 90 * dpi; in testDraw_withBounds() 88 int bottom = 90 * dpi; in testDraw_withBounds() 155 int dpi = 4; in testGetIconMaskAfterSetBounds() local 156 int top = 18 * dpi; in testGetIconMaskAfterSetBounds() 157 int left = 18 * dpi; in testGetIconMaskAfterSetBounds() 158 int right = 90 * dpi; in testGetIconMaskAfterSetBounds() 159 int bottom = 90 * dpi; in testGetIconMaskAfterSetBounds() [all …]
|
/frameworks/base/tests/DpiTest/ |
D | Android.bp | 7 "120dpi,240dpi,160dpi,nodpi",
|
/frameworks/base/core/java/android/app/ |
D | Vr2dDisplayProperties.java | 58 public Vr2dDisplayProperties(int width, int height, int dpi) { in Vr2dDisplayProperties() argument 59 this(width, height, dpi, 0, 0); in Vr2dDisplayProperties() 62 private Vr2dDisplayProperties(int width, int height, int dpi, int flags, int removedFlags) { in Vr2dDisplayProperties() argument 65 mDpi = dpi; in Vr2dDisplayProperties() 210 public Builder setDimensions(int width, int height, int dpi) { in setDimensions() argument 213 mDpi = dpi; in setDimensions()
|
/frameworks/base/rs/java/android/renderscript/ |
D | Font.java | 163 int dpi = res.getDisplayMetrics().densityDpi; in createFromFile() local 164 long fontId = rs.nFontCreateFromFile(path, pointSize, dpi); in createFromFile() 187 int dpi = res.getDisplayMetrics().densityDpi; in createFromAsset() local 189 long 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 | RenderScriptGL.java | 185 int dpi = ctx.getResources().getDisplayMetrics().densityDpi; in RenderScriptGL() local 192 mSurfaceConfig.mSamplesQ, dpi); in RenderScriptGL()
|
D | RenderScript.java | 217 int samplesMin, int samplesPref, float samplesQ, int dpi); in rsnContextCreateGL() argument 223 int samplesMin, int samplesPref, float samplesQ, int dpi) { in nContextCreateGL() argument 227 samplesMin, samplesPref, samplesQ, dpi); in nContextCreateGL() 725 native long rsnFontCreateFromFile(long con, String fileName, float size, int dpi); in rsnFontCreateFromFile() argument 726 synchronized long nFontCreateFromFile(String fileName, float size, int dpi) { in nFontCreateFromFile() argument 728 return rsnFontCreateFromFile(mContext, fileName, size, dpi); in nFontCreateFromFile() 730 …native long rsnFontCreateFromAssetStream(long con, String name, float size, int dpi, long assetStr… in rsnFontCreateFromAssetStream() argument 731 … synchronized long nFontCreateFromAssetStream(String name, float size, int dpi, long assetStream) { in nFontCreateFromAssetStream() argument 733 return rsnFontCreateFromAssetStream(mContext, name, size, dpi, assetStream); in nFontCreateFromAssetStream() 735 … 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 | 100 int width, int height, int dpi, boolean isSecure, @Nullable Surface surface, in createVirtualDisplay() argument 104 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 137 return dm.createVirtualDisplay(this, name, width, height, dpi, surface, flags, callback, in createVirtualDisplay()
|
/frameworks/base/services/core/java/com/android/server/vr/ |
D | Vr2dDisplay.java | 214 int dpi = displayProperties.getDpi(); in setVirtualDisplayProperties() local 218 dpi < MIN_VR_DISPLAY_DPI) { in setVirtualDisplayProperties() 220 + dpi); in setVirtualDisplayProperties() 222 Log.i(TAG, "Setting width/height/dpi to " + width + "," + height + "," + dpi); in setVirtualDisplayProperties() 225 mVirtualDisplayDpi = dpi; in setVirtualDisplayProperties()
|
/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 | 36 public ClassifierData(float dpi) { in ClassifierData() argument 37 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 | 44 uint32_t dpi);
|
D | rsContext.h | 239 void setDPI(uint32_t dpi) {mDPI = dpi;} in setDPI() argument
|
D | rsApiStubs.cpp | 721 RsSurfaceConfig sc, uint32_t dpi) in rsContextCreateGL() argument 729 … RsContext context = instance.GetEntryFuncs()->ContextCreateGL(vdev, version, sdkVersion, sc, dpi); in rsContextCreateGL() 829 float fontSize, uint32_t dpi) in rsFontCreateFromFile() argument 831 return RS_DISPATCH(ctxWrapper, FontCreateFromFile, name, name_length, fontSize, dpi); in rsFontCreateFromFile() 835 float fontSize, uint32_t dpi, in rsFontCreateFromMemory() argument 838 …return RS_DISPATCH(ctxWrapper, FontCreateFromMemory, name, name_length, fontSize, dpi, data, data_… in rsFontCreateFromMemory()
|
/frameworks/base/cmds/vr/src/com/android/commands/vr/ |
D | Vr.java | 90 int dpi = Integer.parseInt(dpiStr); in runSetVr2dDisplayProperties() local 93 new Vr2dDisplayProperties(width, height, dpi); in runSetVr2dDisplayProperties()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RIL.java | 1700 android.hardware.radio.V1_0.DataProfileInfo dpi = in convertToHalDataProfile10() local 1703 dpi.profileId = dp.getProfileId(); in convertToHalDataProfile10() 1704 dpi.apn = dp.getApn(); in convertToHalDataProfile10() 1705 dpi.protocol = ApnSetting.getProtocolStringFromInt(dp.getProtocolType()); in convertToHalDataProfile10() 1706 dpi.roamingProtocol = ApnSetting.getProtocolStringFromInt(dp.getRoamingProtocolType()); in convertToHalDataProfile10() 1707 dpi.authType = dp.getAuthType(); in convertToHalDataProfile10() 1708 dpi.user = dp.getUserName(); in convertToHalDataProfile10() 1709 dpi.password = dp.getPassword(); in convertToHalDataProfile10() 1710 dpi.type = dp.getType(); in convertToHalDataProfile10() 1711 dpi.maxConnsTime = dp.getMaxConnectionsTime(); in convertToHalDataProfile10() [all …]
|
/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 | 134 int dpi = 320; in testCreateVirtualDisplay_sentToInputManager() local 140 "Test Virtual Display", width, height, dpi, null /* surface */, flags /* flags */, in testCreateVirtualDisplay_sentToInputManager() 240 int dpi = 320; in testCreateVirtualDisplayRotatesWithContent() local 246 "Test Virtual Display", width, height, dpi, null /* surface */, flags /* flags */, in testCreateVirtualDisplayRotatesWithContent()
|
/frameworks/native/libs/vr/libvrflinger/ |
D | hardware_composer.cpp | 415 params.dpi.x = *dpi_x; in GetDisplayParams() 416 params.dpi.y = *dpi_y; in GetDisplayParams() 420 params.dpi.x = kDefaultDpi; in GetDisplayParams() 421 params.dpi.y = kDefaultDpi; in GetDisplayParams() 429 params.dpi.x = kDefaultDpi; in GetDisplayParams() 430 params.dpi.y = kDefaultDpi; in GetDisplayParams() 441 params.dpi.x, in GetDisplayParams() 442 params.dpi.y); in GetDisplayParams() 454 << params.height << " " << (params.dpi.x / 1000.0) in Dump() 455 << "x" << (params.dpi.y / 1000.0) << " dpi @ " in Dump()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TestableSurfaceFlinger.h | 417 auto& setDpiX(int32_t dpi) { in setDpiX() argument 418 mDpiX = dpi; in setDpiX() 422 auto& setDpiY(int32_t dpi) { in setDpiY() argument 423 mDpiY = dpi; in setDpiY()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | RILTest.java | 2353 DataProfileInfo dpi = dpiCaptor.getValue(); in testSetupDataCall() local 2354 assertEquals(PROFILE_ID, dpi.profileId); in testSetupDataCall() 2355 assertEquals(APN, dpi.apn); in testSetupDataCall() 2356 assertEquals(PROTOCOL, ApnSetting.getProtocolIntFromString(dpi.protocol)); in testSetupDataCall() 2357 assertEquals(AUTH_TYPE, dpi.authType); in testSetupDataCall() 2358 assertEquals(USER_NAME, dpi.user); in testSetupDataCall() 2359 assertEquals(PASSWORD, dpi.password); in testSetupDataCall() 2360 assertEquals(TYPE, dpi.type); in testSetupDataCall() 2361 assertEquals(MAX_CONNS_TIME, dpi.maxConnsTime); in testSetupDataCall() 2362 assertEquals(MAX_CONNS, dpi.maxConns); in testSetupDataCall() [all …]
|