Searched refs:RenderScriptSingleton (Results 1 – 6 of 6) sorted by relevance
42 private final RenderScript mRS = RenderScriptSingleton.getRS();90 RenderScript rs = RenderScriptSingleton.getRS(); in newInstance()305 if (element.equals(Element.YUV(RenderScriptSingleton.getRS()))) { in fromElement()307 } else if (element.equals(Element.RGBA_8888(RenderScriptSingleton.getRS()))) { in fromElement()309 } else if (element.equals(Element.U8_3(RenderScriptSingleton.getRS()))) { in fromElement()311 } else if (element.equals(Element.U8_4(RenderScriptSingleton.getRS()))) { in fromElement()414 return RenderScriptSingleton.getCache().getOrCreateTyped(mType, mUsage); in createAllocation()435 Type.Builder builder = (new Type.Builder(RenderScriptSingleton.getRS(), element)) in typeBuilder()
30 public class RenderScriptSingleton { class109 private RenderScriptSingleton() { throw new AssertionError(); } in RenderScriptSingleton() method in RenderScriptSingleton
181 protected final AllocationCache mCache = RenderScriptSingleton.getCache();182 protected final RenderScript mRS = RenderScriptSingleton.getRS();366 return RenderScriptSingleton.getRS(); in getRS()
67 private final AllocationCache mCache = RenderScriptSingleton.getCache();
46 import android.hardware.camera2.cts.rs.RenderScriptSingleton;113 RenderScriptSingleton.setContext(mContext); in setUp()119 RenderScriptSingleton.clearContext(); in tearDown()519 RenderScriptSingleton.clearContext(); in testAllocationFromCameraFlexibleYuv()520 RenderScriptSingleton.setContext(mContext); in testAllocationFromCameraFlexibleYuv()
37 import android.hardware.camera2.cts.rs.RenderScriptSingleton;140 RenderScriptSingleton.setContext(mContext); in setUp()145 RenderScriptSingleton.clearContext(); in tearDown()535 RawConverter.convertToSRGB(RenderScriptSingleton.getRS(), raw.getWidth(), in testRaw16JpegMaximumResolutionConsistency()619 RawConverter.convertToSRGB(RenderScriptSingleton.getRS(), raw.getWidth(), in testRaw16JpegConsistency()