Home
last modified time | relevance | path

Searched refs:RenderScriptSingleton (Results 1 – 6 of 6) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/rs/
DAllocationInfo.java42 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()
DRenderScriptSingleton.java30 public class RenderScriptSingleton { class
109 private RenderScriptSingleton() { throw new AssertionError(); } in RenderScriptSingleton() method in RenderScriptSingleton
DScript.java181 protected final AllocationCache mCache = RenderScriptSingleton.getCache();
182 protected final RenderScript mRS = RenderScriptSingleton.getRS();
366 return RenderScriptSingleton.getRS(); in getRS()
DScriptGraph.java67 private final AllocationCache mCache = RenderScriptSingleton.getCache();
/cts/tests/camera/src/android/hardware/camera2/cts/
DAllocationTest.java43 import android.hardware.camera2.cts.rs.RenderScriptSingleton;
113 RenderScriptSingleton.setContext(getContext()); in setUp()
119 RenderScriptSingleton.clearContext(); in tearDown()
499 RenderScriptSingleton.clearContext(); in testAllocationFromCameraFlexibleYuv()
500 RenderScriptSingleton.setContext(getContext()); in testAllocationFromCameraFlexibleYuv()
DDngCreatorTest.java36 import android.hardware.camera2.cts.rs.RenderScriptSingleton;
103 RenderScriptSingleton.setContext(getContext()); in setUp()
110 RenderScriptSingleton.clearContext(); in tearDown()
397 RawConverter.convertToSRGB(RenderScriptSingleton.getRS(), raw.getWidth(), in testRaw16JpegConsistency()