Home
last modified time | relevance | path

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

/frameworks/base/rs/java/android/renderscript/
DFont.java162 int dpi = res.getDisplayMetrics().densityDpi; in createFromFile() local
186 int dpi = res.getDisplayMetrics().densityDpi; in createFromAsset() local
210 int dpi = res.getDisplayMetrics().densityDpi; in createFromResource() local
DRenderScriptGL.java181 int dpi = ctx.getResources().getDisplayMetrics().densityDpi; in RenderScriptGL() local
DRenderScript.java213 int samplesMin, int samplesPref, float samplesQ, int dpi); in rsnContextCreateGL()
219 int samplesMin, int samplesPref, float samplesQ, int dpi) { in nContextCreateGL()
713 native long rsnFontCreateFromFile(long con, String fileName, float size, int dpi); in rsnFontCreateFromFile()
714 synchronized long nFontCreateFromFile(String fileName, float size, int dpi) { in nFontCreateFromFile()
718 …native long rsnFontCreateFromAssetStream(long con, String name, float size, int dpi, long assetStr… in rsnFontCreateFromAssetStream()
719 … synchronized long nFontCreateFromAssetStream(String name, float size, int dpi, long assetStream) { in nFontCreateFromAssetStream()
723 … native long rsnFontCreateFromAsset(long con, AssetManager mgr, String path, float size, int dpi); in rsnFontCreateFromAsset()
724 synchronized long nFontCreateFromAsset(AssetManager mgr, String path, float size, int dpi) { in nFontCreateFromAsset()
/frameworks/base/media/java/android/media/projection/
DMediaProjection.java101 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/packages/SystemUI/src/com/android/systemui/classifier/
DClassifierData.java33 public ClassifierData(float dpi) { in ClassifierData()
DStroke.java34 public Stroke(long eventTimeNano, float dpi) { in Stroke()
/frameworks/rs/
DrsApiContext.cpp59 uint32_t dpi) { in rsContextCreateGL()
DrsFont.cpp42 bool Font::init(const char *name, float fontSize, uint32_t dpi, const void *data, uint32_t dataLen)… in init()
296 Font * Font::create(Context *rsc, const char *name, float fontSize, uint32_t dpi, in create()
862 float fontSize, uint32_t dpi) { in rsi_FontCreateFromFile()
872 float fontSize, uint32_t dpi, in rsi_FontCreateFromMemory()
DrsContext.h248 void setDPI(uint32_t dpi) {mDPI = dpi;} in setDPI()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer_hwc1.cpp418 float dpi = getDefaultDensity(config.width, config.height); in queryDisplayProperties() local
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp854 jint dpi) in nContextCreateGL()
1724 jstring fileName, jfloat fontSize, jint dpi) in nFontCreateFromFile()
1736 jstring name, jfloat fontSize, jint dpi, jlong native_asset) in nFontCreateFromAssetStream()
1750 jfloat fontSize, jint dpi) in nFontCreateFromAsset()
/frameworks/base/core/java/android/view/
DView.java11939 final float dpi = mResources.getDisplayMetrics().densityDpi; in getCameraDistance() local
11983 final float dpi = mResources.getDisplayMetrics().densityDpi; in setCameraDistance() local