Searched defs:dpi (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/graphics/java/android/renderscript/ |
D | Font.java | 163 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
|
D | RenderScriptGL.java | 187 int dpi = ctx.getResources().getDisplayMetrics().densityDpi; in RenderScriptGL() local
|
D | RenderScript.java | 113 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/ |
D | rsFont.cpp | 40 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()
|
D | rsContext.h | 211 void setDPI(uint32_t dpi) {mDPI = dpi;} in setDPI()
|
D | rsContext.cpp | 806 uint32_t dpi) { in rsContextCreateGL()
|
/frameworks/support/renderscript/v8/rs_support/ |
D | rsContext.h | 146 void setDPI(uint32_t dpi) {mDPI = dpi;} in setDPI()
|
/frameworks/base/graphics/jni/ |
D | android_renderscript_RenderScript.cpp | 198 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()
|