Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DVr2dDisplayProperties.java57 public Vr2dDisplayProperties(int width, int height, int dpi) { in Vr2dDisplayProperties()
61 private Vr2dDisplayProperties(int width, int height, int dpi, int flags, int removedFlags) { in Vr2dDisplayProperties()
208 public Builder setDimensions(int width, int height, int dpi) { in setDimensions()
/frameworks/base/rs/java/android/renderscript/
DFont.java164 int dpi = res.getDisplayMetrics().densityDpi; in createFromFile() local
188 int dpi = res.getDisplayMetrics().densityDpi; in createFromAsset() local
212 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()
725 native long rsnFontCreateFromFile(long con, String fileName, float size, int dpi); in rsnFontCreateFromFile()
726 synchronized long nFontCreateFromFile(String fileName, float size, int dpi) { in nFontCreateFromFile()
730 …native long rsnFontCreateFromAssetStream(long con, String name, float size, int dpi, long assetStr… in rsnFontCreateFromAssetStream()
731 … synchronized long nFontCreateFromAssetStream(String name, float size, int dpi, long assetStream) { in nFontCreateFromAssetStream()
735 … native long rsnFontCreateFromAsset(long con, AssetManager mgr, String path, float size, int dpi); in rsnFontCreateFromAsset()
736 synchronized long nFontCreateFromAsset(AssetManager mgr, String path, float size, int dpi) { in nFontCreateFromAsset()
/frameworks/base/media/java/android/media/projection/
DMediaProjection.java100 int width, int height, int dpi, boolean isSecure, @Nullable Surface surface, in createVirtualDisplay()
134 int width, int height, int dpi, int flags, @Nullable Surface surface, in createVirtualDisplay()
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
DAdaptiveIconDrawableTest.java84 int dpi = 4 ; in testDraw_withBounds() local
155 int dpi = 4; in testGetIconMaskAfterSetBounds() local
178 int dpi = 4; in testGetOutline_withBounds() local
/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/base/services/tests/servicestests/src/com/android/server/display/
DDisplayManagerServiceTest.java134 int dpi = 320; in testCreateVirtualDisplay_sentToInputManager() local
240 int dpi = 320; in testCreateVirtualDisplayRotatesWithContent() 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/core/java/com/android/server/vr/
DVr2dDisplay.java214 int dpi = displayProperties.getDpi(); in setVirtualDisplayProperties() local
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h415 auto& setDpiX(int32_t dpi) { in setDpiX()
420 auto& setDpiY(int32_t dpi) { in setDpiY()
/frameworks/native/libs/vr/libvrflinger/
Dhardware_composer.h50 } dpi; member
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java1387 android.hardware.radio.V1_0.DataProfileInfo dpi = in convertToHalDataProfile10() local
1422 android.hardware.radio.V1_4.DataProfileInfo dpi = in convertToHalDataProfile14() local
1502 android.hardware.radio.V1_4.DataProfileInfo dpi = in setupDataCall() local
1521 android.hardware.radio.V1_0.DataProfileInfo dpi = in setupDataCall() local
1539 android.hardware.radio.V1_0.DataProfileInfo dpi = in setupDataCall() local
/frameworks/base/core/proto/android/server/
Dwindowmanagerservice.proto154 optional int32 dpi = 9; field
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp867 jint dpi) in nContextCreateGL()
1732 jstring fileName, jfloat fontSize, jint dpi) in nFontCreateFromFile()
1744 jstring name, jfloat fontSize, jint dpi, jlong native_asset) in nFontCreateFromAssetStream()
1758 jfloat fontSize, jint dpi) in nFontCreateFromAsset()
/frameworks/native/services/vr/hardware_composer/impl/
Dvr_hwc.cpp391 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.java1881 DataProfileInfo dpi = dpiCaptor.getValue(); in testSetupDataCall() local
/frameworks/base/core/java/android/view/
DView.java15687 final float dpi = mResources.getDisplayMetrics().densityDpi; in getCameraDistance() local
15731 final float dpi = mResources.getDisplayMetrics().densityDpi; in setCameraDistance() local