Searched refs:DataKind (Results 1 - 17 of 17) sorted by relevance

/frameworks/base/graphics/java/android/renderscript/
H A DElement.java39 * android.renderscript.Element.DataKind}. The DataType encodes C type
40 * information of an Element, while the DataKind encodes how that Element should
42 * android.renderscript.Allocation} objects with DataKind {@link
43 * android.renderscript.Element.DataKind#USER} cannot be used as input for a
66 DataKind mKind;
172 public enum DataKind { enum in class:Element
184 DataKind(int id) { method in class:Element.DataKind
296 public DataKind getDataKind() {
478 rs.mElement_A_8 = createPixel(rs, DataType.UNSIGNED_8, DataKind.PIXEL_A);
485 rs.mElement_RGB_565 = createPixel(rs, DataType.UNSIGNED_5_6_5, DataKind
[all...]
H A DAllocation.java466 if (mType.getElement().mKind != Element.DataKind.PIXEL_A) {
475 if ((mType.getElement().mKind != Element.DataKind.PIXEL_RGBA) ||
485 if ((mType.getElement().mKind != Element.DataKind.PIXEL_RGB) ||
495 if ((mType.getElement().mKind != Element.DataKind.PIXEL_RGBA) ||
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DElementThunker.java38 static android.renderscript.Element.DataKind convertKind(DataKind cdk) {
41 return android.renderscript.Element.DataKind.USER;
43 return android.renderscript.Element.DataKind.PIXEL_L;
45 return android.renderscript.Element.DataKind.PIXEL_A;
47 return android.renderscript.Element.DataKind.PIXEL_LA;
49 return android.renderscript.Element.DataKind.PIXEL_RGB;
51 return android.renderscript.Element.DataKind.PIXEL_RGBA;
134 public DataKind getDataKind() {
221 public static Element createPixel(RenderScript rs, DataType dt, DataKind d
[all...]
H A DElement.java41 * android.support.v8.renderscript.Element.DataKind}. The DataType encodes C
42 * type information of an Element, while the DataKind encodes how that Element
45 * DataKind {@link android.support.v8.renderscript.Element.DataKind#USER} cannot
70 DataKind mKind;
174 public enum DataKind { enum in class:Element
186 DataKind(int id) { method in class:Element.DataKind
298 public DataKind getDataKind() {
438 rs.mElement_A_8 = createPixel(rs, DataType.UNSIGNED_8, DataKind.PIXEL_A);
445 rs.mElement_RGB_565 = createPixel(rs, DataType.UNSIGNED_5_6_5, DataKind
[all...]
H A DAllocation.java401 if (mType.getElement().mKind != Element.DataKind.PIXEL_A) {
410 if ((mType.getElement().mKind != Element.DataKind.PIXEL_RGBA) ||
420 if ((mType.getElement().mKind != Element.DataKind.PIXEL_RGB) ||
430 if ((mType.getElement().mKind != Element.DataKind.PIXEL_RGBA) ||
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
H A DUT_element.java23 import android.renderscript.Element.DataKind.*;
100 simpleElem.getDataKind() == DataKind.USER);
107 complexElem.getDataKind() == DataKind.USER);
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
H A DFBOSyncRS.java24 import android.renderscript.Element.DataKind;
193 DataKind.PIXEL_DEPTH));
H A DFBOTestRS.java24 import android.renderscript.Element.DataKind;
185 DataKind.PIXEL_DEPTH));
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/
H A DShadersTestRS.java22 import android.renderscript.Element.DataKind;
196 b = new Builder(mRS, Element.createPixel(mRS, DataType.UNSIGNED_16, DataKind.PIXEL_DEPTH));
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/
H A DRsYuv.java85 tb = new Type.Builder(mRS, Element.createPixel(mRS, Element.DataType.UNSIGNED_8, Element.DataKind.PIXEL_YUV));
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
H A DRsBenchRS.java30 import android.renderscript.Element.DataKind;
296 DataKind.PIXEL_DEPTH));
H A DMeshTest.java24 import android.renderscript.Element.DataKind;
H A DTorusTest.java24 import android.renderscript.Element.DataKind;
H A DUiTest.java24 import android.renderscript.Element.DataKind;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A DCamera2Source.java162 Element.DataKind.PIXEL_YUV);
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
H A DFullscreenBlur.java68 Element.DataKind.PIXEL_DEPTH));
/frameworks/base/core/java/android/hardware/
H A DCamera.java795 Element.DataKind.PIXEL_YUV));
877 Element.DataKind.PIXEL_YUV) {

Completed in 1121 milliseconds