Home
last modified time | relevance | path

Searched defs:dpi (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/core/java/android/app/
DVr2dDisplayProperties.java58 public Vr2dDisplayProperties(int width, int height, int dpi) { in Vr2dDisplayProperties()
62 private Vr2dDisplayProperties(int width, int height, int dpi, int flags, int removedFlags) { in Vr2dDisplayProperties()
210 public Builder setDimensions(int width, int height, int dpi) { in setDimensions()
/frameworks/base/rs/java/android/renderscript/
DFont.java165 int dpi = res.getDisplayMetrics().densityDpi; in createFromFile() local
189 int dpi = res.getDisplayMetrics().densityDpi; in createFromAsset() local
213 int dpi = res.getDisplayMetrics().densityDpi; in createFromResource() local
DRenderScriptGL.java186 int dpi = ctx.getResources().getDisplayMetrics().densityDpi; in RenderScriptGL() local
DRenderScript.java222 int samplesMin, int samplesPref, float samplesQ, int dpi); in rsnContextCreateGL()
228 int samplesMin, int samplesPref, float samplesQ, int dpi) { in nContextCreateGL()
719 native long rsnFontCreateFromFile(long con, String fileName, float size, int dpi); in rsnFontCreateFromFile()
720 synchronized long nFontCreateFromFile(String fileName, float size, int dpi) { in nFontCreateFromFile()
724 …native long rsnFontCreateFromAssetStream(long con, String name, float size, int dpi, long assetStr… in rsnFontCreateFromAssetStream()
725 … synchronized long nFontCreateFromAssetStream(String name, float size, int dpi, long assetStream) { in nFontCreateFromAssetStream()
729 … native long rsnFontCreateFromAsset(long con, AssetManager mgr, String path, float size, int dpi); in rsnFontCreateFromAsset()
730 synchronized long nFontCreateFromAsset(AssetManager mgr, String path, float size, int dpi) { in nFontCreateFromAsset()
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
DAdaptiveIconDrawableTest.java84 int dpi = 4 ; in testDraw_withBounds() local
152 int dpi = 4; in testGetIconMaskAfterSetBounds() local
173 int dpi = 4; in testGetOutline_withBounds() local
/frameworks/base/media/java/android/media/projection/
DMediaProjection.java105 int width, int height, int dpi, boolean isSecure, @Nullable Surface surface, in createVirtualDisplay()
145 int width, int height, int dpi, int flags, @Nullable Surface surface, in createVirtualDisplay()
/frameworks/base/cmds/vr/src/com/android/commands/vr/
DVr.java90 int dpi = Integer.parseInt(dpiStr); in runSetVr2dDisplayProperties() local
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DDataIndication.java105 public void unthrottleApn(int indicationType, android.hardware.radio.data.DataProfileInfo dpi) in unthrottleApn()
DRILUtils.java849 android.hardware.radio.V1_0.DataProfileInfo dpi = in convertToHalDataProfile10() local
884 android.hardware.radio.V1_4.DataProfileInfo dpi = in convertToHalDataProfile14() local
922 android.hardware.radio.V1_5.DataProfileInfo dpi = in convertToHalDataProfile15() local
961 android.hardware.radio.data.DataProfileInfo dpi = in convertToHalDataProfile() local
1003 android.hardware.radio.data.DataProfileInfo dpi) { in convertToDataProfile()
/frameworks/rs/
DrsApiContext.cpp57 uint32_t dpi) { in rsContextCreateGL()
DrsFont.cpp40 bool Font::init(const char *name, float fontSize, uint32_t dpi, const void *data, uint32_t dataLen)… in init()
295 Font * Font::create(Context *rsc, const char *name, float fontSize, uint32_t dpi, in create()
859 float fontSize, uint32_t dpi) { in rsi_FontCreateFromFile()
869 float fontSize, uint32_t dpi, in rsi_FontCreateFromMemory()
DrsContext.h239 void setDPI(uint32_t dpi) {mDPI = dpi;} in setDPI()
DrsApiStubs.cpp721 RsSurfaceConfig sc, uint32_t dpi) in rsContextCreateGL()
829 float fontSize, uint32_t dpi) in rsFontCreateFromFile()
835 float fontSize, uint32_t dpi, in rsFontCreateFromMemory()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDesktopModeLaunchParamsModifierTests.java119 private int dpiToPx(Task task, int dpi) { in dpiToPx()
DTestDisplayContent.java183 Builder setDensityDpi(int dpi) { in setDensityDpi()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DDisplayManagerServiceTest.java216 int dpi = 320; in testCreateVirtualDisplay_sentToInputManager() local
342 int dpi = 320; in testCreateVirtualDisplayRotatesWithContent() local
615 final int dpi = 320; in testCreateVirtualDisplay_displayIdToMirror() local
662 final int dpi = 320; in testCreateVirtualDisplay_setSurface() local
/frameworks/base/services/core/java/com/android/server/vr/
DVr2dDisplay.java215 int dpi = displayProperties.getDpi(); in setVirtualDisplayProperties() local
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h619 auto& setDpiX(int32_t dpi) { in setDpiX()
624 auto& setDpiY(int32_t dpi) { in setDpiY()
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp866 jint dpi) in nContextCreateGL()
1727 jstring fileName, jfloat fontSize, jint dpi) in nFontCreateFromFile()
1739 jstring name, jfloat fontSize, jint dpi, jlong native_asset) in nFontCreateFromAssetStream()
1753 jfloat fontSize, jint dpi) in nFontCreateFromAsset()
/frameworks/base/core/proto/android/server/
Dwindowmanagerservice.proto199 optional int32 dpi = 9; field
/frameworks/native/services/vr/hardware_composer/impl/
Dvr_hwc.cpp365 int32_t dpi = property_get_int32("ro.vr.hwc.dpi", kDefaultDPI); in getDisplayAttribute() local
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DRILTest.java2732 DataProfile dpi = dpiCaptor.getValue(); in testSetupDataCall() local
/frameworks/base/core/java/android/view/
DView.java17382 final float dpi = mResources.getDisplayMetrics().densityDpi; in getCameraDistance() local
17426 final float dpi = mResources.getDisplayMetrics().densityDpi; in setCameraDistance() local
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp5438 const auto dpi = activeMode->getDpi(); in dumpAllLocked() local