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();
43 import android.hardware.camera2.cts.rs.RenderScriptSingleton;113 RenderScriptSingleton.setContext(getContext()); in setUp()119 RenderScriptSingleton.clearContext(); in tearDown()518 RenderScriptSingleton.clearContext(); in testAllocationFromCameraFlexibleYuv()519 RenderScriptSingleton.setContext(getContext()); in testAllocationFromCameraFlexibleYuv()
36 import android.hardware.camera2.cts.rs.RenderScriptSingleton;103 RenderScriptSingleton.setContext(getContext()); in setUp()110 RenderScriptSingleton.clearContext(); in tearDown()395 RawConverter.convertToSRGB(RenderScriptSingleton.getRS(), raw.getWidth(), in testRaw16JpegConsistency()