/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() 152 int dpi = 4; in testGetIconMaskAfterSetBounds() local 153 int top = 18 * dpi; in testGetIconMaskAfterSetBounds() 154 int left = 18 * dpi; in testGetIconMaskAfterSetBounds() 155 int right = 90 * dpi; in testGetIconMaskAfterSetBounds() 156 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() 714 native long rsnFontCreateFromFile(long con, String fileName, float size, int dpi); in rsnFontCreateFromFile() argument 715 synchronized long nFontCreateFromFile(String fileName, float size, int dpi) { in nFontCreateFromFile() argument 717 return rsnFontCreateFromFile(mContext, fileName, size, dpi); in nFontCreateFromFile() 719 …native long rsnFontCreateFromAssetStream(long con, String name, float size, int dpi, long assetStr… in rsnFontCreateFromAssetStream() argument 720 … synchronized long nFontCreateFromAssetStream(String name, float size, int dpi, long assetStream) { in nFontCreateFromAssetStream() argument 722 return rsnFontCreateFromAssetStream(mContext, name, size, dpi, assetStream); in nFontCreateFromAssetStream() 724 … 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 110 height, dpi); in createVirtualDisplay() 142 int width, int height, int dpi, int flags, @Nullable Surface surface, in createVirtualDisplay() argument 145 height, dpi); in createVirtualDisplay()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | DisplayManagerServiceTest.java | 144 int dpi = 320; in testCreateVirtualDisplay_sentToInputManager() local 149 VIRTUAL_DISPLAY_NAME, width, height, dpi); in testCreateVirtualDisplay_sentToInputManager() 252 int dpi = 320; in testCreateVirtualDisplayRotatesWithContent() local 257 VIRTUAL_DISPLAY_NAME, width, height, dpi); in testCreateVirtualDisplayRotatesWithContent() 442 final int dpi = 320; in testCreateVirtualDisplay_displayIdToMirror() local 446 VIRTUAL_DISPLAY_NAME, width, height, dpi); in testCreateVirtualDisplay_displayIdToMirror() 455 VIRTUAL_DISPLAY_NAME, width, height, dpi).setUniqueId(uniqueId2); in testCreateVirtualDisplay_displayIdToMirror() 488 final int dpi = 320; in testCreateVirtualDisplay_setSurface() local 493 VIRTUAL_DISPLAY_NAME, width, height, dpi); in testCreateVirtualDisplay_setSurface()
|
/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/base/services/core/java/com/android/server/vr/ |
D | Vr2dDisplay.java | 215 int dpi = displayProperties.getDpi(); in setVirtualDisplayProperties() local 219 dpi < MIN_VR_DISPLAY_DPI) { in setVirtualDisplayProperties() 221 + dpi); in setVirtualDisplayProperties() 223 Log.i(TAG, "Setting width/height/dpi to " + width + "," + height + "," + dpi); in setVirtualDisplayProperties() 226 mVirtualDisplayDpi = dpi; in setVirtualDisplayProperties()
|
/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 | 1699 android.hardware.radio.V1_0.DataProfileInfo dpi = in convertToHalDataProfile10() local 1702 dpi.profileId = dp.getProfileId(); in convertToHalDataProfile10() 1703 dpi.apn = dp.getApn(); in convertToHalDataProfile10() 1704 dpi.protocol = ApnSetting.getProtocolStringFromInt(dp.getProtocolType()); in convertToHalDataProfile10() 1705 dpi.roamingProtocol = ApnSetting.getProtocolStringFromInt(dp.getRoamingProtocolType()); in convertToHalDataProfile10() 1706 dpi.authType = dp.getAuthType(); in convertToHalDataProfile10() 1707 dpi.user = dp.getUserName(); in convertToHalDataProfile10() 1708 dpi.password = dp.getPassword(); in convertToHalDataProfile10() 1709 dpi.type = dp.getType(); in convertToHalDataProfile10() 1710 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/wmtests/src/com/android/server/wm/ |
D | TestDisplayContent.java | 125 Builder setDensityDpi(int dpi) { in setDensityDpi() argument 126 mInfo.logicalDensityDpi = dpi; in setDensityDpi()
|
/frameworks/native/libs/vr/libvrflinger/ |
D | hardware_composer.cpp | 429 params.dpi.x = *dpi_x; in GetDisplayParams() 430 params.dpi.y = *dpi_y; in GetDisplayParams() 434 params.dpi.x = kDefaultDpi; in GetDisplayParams() 435 params.dpi.y = kDefaultDpi; in GetDisplayParams() 443 params.dpi.x = kDefaultDpi; in GetDisplayParams() 444 params.dpi.y = kDefaultDpi; in GetDisplayParams() 455 params.dpi.x, in GetDisplayParams() 456 params.dpi.y); in GetDisplayParams() 468 << params.height << " " << (params.dpi.x / 1000.0) in Dump() 469 << "x" << (params.dpi.y / 1000.0) << " dpi @ " in Dump()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TestableSurfaceFlinger.h | 486 auto& setDpiX(int32_t dpi) { in setDpiX() argument 487 mDpiX = dpi; in setDpiX() 491 auto& setDpiY(int32_t dpi) { in setDpiY() argument 492 mDpiY = dpi; in setDpiY()
|