Home
last modified time | relevance | path

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

/frameworks/base/graphics/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.java187 int dpi = ctx.getResources().getDisplayMetrics().densityDpi; in RenderScriptGL() local
DRenderScript.java113 int samplesMin, int samplesPref, float samplesQ, int dpi); in rsnContextCreateGL()
119 int samplesMin, int samplesPref, float samplesQ, int dpi) { in nContextCreateGL()
472 native int rsnFontCreateFromFile(int con, String fileName, float size, int dpi); in rsnFontCreateFromFile()
473 synchronized int nFontCreateFromFile(String fileName, float size, int dpi) { in nFontCreateFromFile()
477 …native int rsnFontCreateFromAssetStream(int con, String name, float size, int dpi, int assetStrea… in rsnFontCreateFromAssetStream()
478 synchronized int nFontCreateFromAssetStream(String name, float size, int dpi, int assetStream) { in nFontCreateFromAssetStream()
482 native int rsnFontCreateFromAsset(int con, AssetManager mgr, String path, float size, int dpi); in rsnFontCreateFromAsset()
483 synchronized int nFontCreateFromAsset(AssetManager mgr, String path, float size, int dpi) { in nFontCreateFromAsset()
/frameworks/rs/
DrsFont.cpp40 bool Font::init(const char *name, float fontSize, uint32_t dpi, const void *data, uint32_t dataLen)… in init()
294 Font * Font::create(Context *rsc, const char *name, float fontSize, uint32_t dpi, in create()
861 float fontSize, uint32_t dpi) { in rsi_FontCreateFromFile()
871 float fontSize, uint32_t dpi, in rsi_FontCreateFromMemory()
DrsContext.h211 void setDPI(uint32_t dpi) {mDPI = dpi;} in setDPI()
DrsContext.cpp806 uint32_t dpi) { in rsContextCreateGL()
/frameworks/support/renderscript/v8/rs_support/
DrsContext.h146 void setDPI(uint32_t dpi) {mDPI = dpi;} in setDPI()
/frameworks/base/graphics/jni/
Dandroid_renderscript_RenderScript.cpp198 int dpi) in nContextCreateGL()
855 jstring fileName, jfloat fontSize, jint dpi) in nFontCreateFromFile()
867 jstring name, jfloat fontSize, jint dpi, jint native_asset) in nFontCreateFromAssetStream()
881 jfloat fontSize, jint dpi) in nFontCreateFromAsset()