Home
last modified time | relevance | path

Searched defs:dpi (Results 1 – 23 of 23) 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.java163 int dpi = res.getDisplayMetrics().densityDpi; in createFromFile() local
187 int dpi = res.getDisplayMetrics().densityDpi; in createFromAsset() local
211 int dpi = res.getDisplayMetrics().densityDpi; in createFromResource() local
DRenderScriptGL.java185 int dpi = ctx.getResources().getDisplayMetrics().densityDpi; in RenderScriptGL() local
DRenderScript.java217 int samplesMin, int samplesPref, float samplesQ, int dpi); in rsnContextCreateGL()
223 int samplesMin, int samplesPref, float samplesQ, int dpi) { in nContextCreateGL()
714 native long rsnFontCreateFromFile(long con, String fileName, float size, int dpi); in rsnFontCreateFromFile()
715 synchronized long nFontCreateFromFile(String fileName, float size, int dpi) { in nFontCreateFromFile()
719 …native long rsnFontCreateFromAssetStream(long con, String name, float size, int dpi, long assetStr… in rsnFontCreateFromAssetStream()
720 … synchronized long nFontCreateFromAssetStream(String name, float size, int dpi, long assetStream) { in nFontCreateFromAssetStream()
724 … native long rsnFontCreateFromAsset(long con, AssetManager mgr, String path, float size, int dpi); in rsnFontCreateFromAsset()
725 synchronized long nFontCreateFromAsset(AssetManager mgr, String path, float size, int dpi) { in nFontCreateFromAsset()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DDisplayManagerServiceTest.java144 int dpi = 320; in testCreateVirtualDisplay_sentToInputManager() local
252 int dpi = 320; in testCreateVirtualDisplayRotatesWithContent() local
442 final int dpi = 320; in testCreateVirtualDisplay_displayIdToMirror() local
488 final int dpi = 320; in testCreateVirtualDisplay_setSurface() local
/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.java101 int width, int height, int dpi, boolean isSecure, @Nullable Surface surface, in createVirtualDisplay()
142 int width, int height, int dpi, int flags, @Nullable Surface surface, in createVirtualDisplay()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DClassifierData.java36 public ClassifierData(float dpi) { in ClassifierData()
DStroke.java34 public Stroke(long eventTimeNano, float dpi) { in Stroke()
/frameworks/base/cmds/vr/src/com/android/commands/vr/
DVr.java90 int dpi = Integer.parseInt(dpiStr); in runSetVr2dDisplayProperties() local
/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/
DTestDisplayContent.java125 Builder setDensityDpi(int dpi) { in setDensityDpi()
/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.h486 auto& setDpiX(int32_t dpi) { in setDpiX()
491 auto& setDpiY(int32_t dpi) { in setDpiY()
/frameworks/native/libs/vr/libvrflinger/
Dhardware_composer.h51 } dpi; member
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java1699 android.hardware.radio.V1_0.DataProfileInfo dpi = in convertToHalDataProfile10() local
1734 android.hardware.radio.V1_4.DataProfileInfo dpi = in convertToHalDataProfile14() local
1771 android.hardware.radio.V1_5.DataProfileInfo dpi = in convertToHalDataProfile15() local
1852 android.hardware.radio.V1_5.DataProfileInfo dpi = in setupDataCall() local
1885 android.hardware.radio.V1_4.DataProfileInfo dpi = in setupDataCall() local
1904 android.hardware.radio.V1_0.DataProfileInfo dpi = in setupDataCall() local
1922 android.hardware.radio.V1_0.DataProfileInfo dpi = in setupDataCall() local
/frameworks/base/core/proto/android/server/
Dwindowmanagerservice.proto177 optional int32 dpi = 9; field
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp867 jint dpi) in nContextCreateGL()
1728 jstring fileName, jfloat fontSize, jint dpi) in nFontCreateFromFile()
1740 jstring name, jfloat fontSize, jint dpi, jlong native_asset) in nFontCreateFromAssetStream()
1754 jfloat fontSize, jint dpi) in nFontCreateFromAsset()
/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.java2353 DataProfileInfo dpi = dpiCaptor.getValue(); in testSetupDataCall() local