Lines Matching refs:Element
36 * {@link Element#U8_4}, {@link Element#U8_3},
37 * {@link Element#U8_2}, {@link Element#U8}
40 * @param e Element type for inputs
44 public static ScriptIntrinsicHistogram create(RenderScript rs, Element e) {
45 if ((!e.isCompatible(Element.U8_4(rs))) &&
46 (!e.isCompatible(Element.U8_3(rs))) &&
47 (!e.isCompatible(Element.U8_2(rs))) &&
48 (!e.isCompatible(Element.U8(rs)))) {
49 throw new RSIllegalArgumentException("Unsupported element type.");
94 if (!ain.getType().getElement().isCompatible(Element.U8(mRS)) &&
95 !ain.getType().getElement().isCompatible(Element.U8_2(mRS)) &&
96 !ain.getType().getElement().isCompatible(Element.U8_3(mRS)) &&
97 !ain.getType().getElement().isCompatible(Element.U8_4(mRS))) {
141 if (mOut.getType().getElement() != Element.U32(mRS) &&
142 mOut.getType().getElement() != Element.U32_2(mRS) &&
143 mOut.getType().getElement() != Element.U32_3(mRS) &&
144 mOut.getType().getElement() != Element.U32_4(mRS) &&
145 mOut.getType().getElement() != Element.I32(mRS) &&
146 mOut.getType().getElement() != Element.I32_2(mRS) &&
147 mOut.getType().getElement() != Element.I32_3(mRS) &&
148 mOut.getType().getElement() != Element.I32_4(mRS)) {
192 if (!ain.getType().getElement().isCompatible(Element.U8(mRS)) &&
193 !ain.getType().getElement().isCompatible(Element.U8_2(mRS)) &&
194 !ain.getType().getElement().isCompatible(Element.U8_3(mRS)) &&
195 !ain.getType().getElement().isCompatible(Element.U8_4(mRS))) {