Searched refs:getElement (Results 1 - 25 of 59) sorted by relevance

123

/frameworks/base/rs/java/android/renderscript/
H A DScriptIntrinsicHistogram.java88 if (ain.getType().getElement().getVectorSize() <
89 mOut.getType().getElement().getVectorSize()) {
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() !
[all...]
H A DScriptIntrinsicColorMatrix.java245 if (!ain.getElement().isCompatible(Element.U8(mRS)) &&
246 !ain.getElement().isCompatible(Element.U8_2(mRS)) &&
247 !ain.getElement().isCompatible(Element.U8_3(mRS)) &&
248 !ain.getElement().isCompatible(Element.U8_4(mRS)) &&
249 !ain.getElement().isCompatible(Element.F32(mRS)) &&
250 !ain.getElement().isCompatible(Element.F32_2(mRS)) &&
251 !ain.getElement().isCompatible(Element.F32_3(mRS)) &&
252 !ain.getElement().isCompatible(Element.F32_4(mRS))) {
257 if (!aout.getElement().isCompatible(Element.U8(mRS)) &&
258 !aout.getElement()
[all...]
H A DAllocation.java274 public Element getElement() { method in class:Allocation
275 return mType.getElement();
360 return (int)Math.ceil(mType.getCount() * mType.getElement().getBytesSize() * 1.5);
362 return mType.getCount() * mType.getElement().getBytesSize();
412 mSize = mType.getCount() * mType.getElement().getBytesSize();
639 if (mType.getElement().mKind != Element.DataKind.PIXEL_A) {
641 mType.getElement().mKind + ", type " +
642 mType.getElement().mType +
643 " of " + mType.getElement().getBytesSize() +
648 if ((mType.getElement()
[all...]
H A DAllocationAdapter.java233 Type t = Type.createX(rs, a.getElement(), a.getType().getX());
240 Type t = Type.createXY(rs, a.getElement(), a.getType().getX(), a.getType().getY());
273 if (!a.getType().getElement().equals(t.getElement())) {
H A DScriptIntrinsic3DLUT.java70 if (!t.getElement().isCompatible(mElement)) {
H A DScriptIntrinsicResize.java53 Element e = ain.getElement();
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScriptIntrinsicHistogram.java98 if (ain.getType().getElement().getVectorSize() <
99 mOut.getType().getElement().getVectorSize()) {
104 if (!ain.getType().getElement().isCompatible(Element.U8(mRS)) &&
105 !ain.getType().getElement().isCompatible(Element.U8_2(mRS)) &&
106 !ain.getType().getElement().isCompatible(Element.U8_3(mRS)) &&
107 !ain.getType().getElement().isCompatible(Element.U8_4(mRS))) {
151 if (mOut.getType().getElement() != Element.U32(mRS) &&
152 mOut.getType().getElement() != Element.U32_2(mRS) &&
153 mOut.getType().getElement() != Element.U32_3(mRS) &&
154 mOut.getType().getElement() !
[all...]
H A DScriptIntrinsicColorMatrix.java225 if (!ain.getElement().isCompatible(Element.U8(mRS)) &&
226 !ain.getElement().isCompatible(Element.U8_2(mRS)) &&
227 !ain.getElement().isCompatible(Element.U8_3(mRS)) &&
228 !ain.getElement().isCompatible(Element.U8_4(mRS)) &&
229 !ain.getElement().isCompatible(Element.F32(mRS)) &&
230 !ain.getElement().isCompatible(Element.F32_2(mRS)) &&
231 !ain.getElement().isCompatible(Element.F32_3(mRS)) &&
232 !ain.getElement().isCompatible(Element.F32_4(mRS))) {
237 if (!aout.getElement().isCompatible(Element.U8(mRS)) &&
238 !aout.getElement()
[all...]
H A DAllocation.java253 public Element getElement() { method in class:Allocation
254 return mType.getElement();
328 return (int)Math.ceil(mType.getCount() * mType.getElement().getBytesSize() * 1.5);
330 return mType.getCount() * mType.getElement().getBytesSize();
379 mSize = mType.getCount() * mType.getElement().getBytesSize();
526 int xBytesSize = mType.getX() * mType.getElement().getBytesSize();
570 mByteBufferStride = mType.getX() * mType.getElement().getBytesSize();
625 if (mType.getElement().mKind != Element.DataKind.PIXEL_A) {
627 mType.getElement().mKind + ", type " +
628 mType.getElement()
[all...]
H A DScriptIntrinsic3DLUT.java81 if (!t.getElement().isCompatible(mElement)) {
/frameworks/rs/cpp/
H A DScriptIntrinsics.cpp49 if (ain->getType()->getElement()->isCompatible(mElement) == false ||
50 aout->getType()->getElement()->isCompatible(mElement) == false) {
58 if (!t->getElement()->isCompatible(mElement)) {
83 if (in->getType()->getElement()->isCompatible(mElement) == false ||
84 out->getType()->getElement()->isCompatible(mElement) == false) {
91 if (in->getType()->getElement()->isCompatible(mElement) == false ||
92 out->getType()->getElement()->isCompatible(mElement) == false) {
99 if (in->getType()->getElement()->isCompatible(mElement) == false ||
100 out->getType()->getElement()->isCompatible(mElement) == false) {
107 if (in->getType()->getElement()
[all...]
H A DAllocation.cpp77 RsDataType dt = mType->getElement()->getDataType();
85 RsDataType dt = mType->getElement()->getDataType();
93 RsDataType dt = mType->getElement()->getDataType();
101 RsDataType dt = mType->getElement()->getDataType();
109 RsDataType dt = mType->getElement()->getDataType();
117 RsDataType dt = mType->getElement()->getDataType();
125 RsDataType dt = mType->getElement()->getDataType();
228 if (mAutoPadding && (mType->getElement()->getVectorSize() == 3)) {
229 size_t eSize = mType->getElement()->getSizeBytes();
233 count, ptr, count * mType->getElement()
[all...]
/frameworks/rs/
H A DrsApiType.cpp41 (*typeData++) = (uintptr_t)t->getElement();
42 t->getElement()->incUserRef();
/frameworks/compile/slang/tests/P_reduce_general_inputs/
H A DScriptC_reduce_general_inputs.java.expect159 if (!ain1.getType().getElement().isCompatible(__F16)) {
163 if (!ain2.getType().getElement().isCompatible(__F16)) {
223 if (!ain1.getType().getElement().isCompatible(__F16)) {
227 if (!ain2.getType().getElement().isCompatible(__F16)) {
291 if (!ain1.getType().getElement().isCompatible(__F16)) {
295 if (!ain2.getType().getElement().isCompatible(__F16_2)) {
359 if (!ain1.getType().getElement().isCompatible(__F16)) {
363 if (!ain2.getType().getElement().isCompatible(__F16_2)) {
427 if (!ain1.getType().getElement().isCompatible(__F16)) {
431 if (!ain2.getType().getElement()
[all...]
/frameworks/compile/slang/tests/P_reduce_general_accumulator/
H A DScriptC_reduce_general_accumulator.java.expect104 if (!ain1.getType().getElement().isCompatible(__I32)) {
137 if (!ain1.getType().getElement().isCompatible(__I32)) {
170 if (!ain1.getType().getElement().isCompatible(__I32)) {
203 if (!ain1.getType().getElement().isCompatible(__I32)) {
236 if (!ain1.getType().getElement().isCompatible(__I32)) {
269 if (!ain1.getType().getElement().isCompatible(__I32)) {
302 if (!ain1.getType().getElement().isCompatible(__I32)) {
335 if (!ain1.getType().getElement().isCompatible(__I32)) {
368 if (!ain1.getType().getElement().isCompatible(__I32)) {
401 if (!ain1.getType().getElement()
[all...]
/frameworks/compile/slang/tests/P_reduce_general_input/
H A DScriptC_reduce_general_input.java.expect172 if (!ain1.getType().getElement().isCompatible(__F16)) {
205 if (!ain1.getType().getElement().isCompatible(__F16)) {
238 if (!ain1.getType().getElement().isCompatible(__F16)) {
271 if (!ain1.getType().getElement().isCompatible(__F16)) {
304 if (!ain1.getType().getElement().isCompatible(__F16)) {
337 if (!ain1.getType().getElement().isCompatible(__F16)) {
370 if (!ain1.getType().getElement().isCompatible(__F16)) {
403 if (!ain1.getType().getElement().isCompatible(__F16)) {
436 if (!ain1.getType().getElement().isCompatible(__F16)) {
469 if (!ain1.getType().getElement()
[all...]
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/
H A DParameterManagerWrapper.cpp222 T *ParameterManagerWrapper::getElement(const string &name, std::map<string, T *> &elementsMap) function in class:android::audio_policy::ParameterManagerWrapper
231 const T *ParameterManagerWrapper::getElement(const string &name, const std::map<string, T *> &elementsMap) const function in class:android::audio_policy::ParameterManagerWrapper
260 getElement<ISelectionCriterionTypeInterface>(typeName, mPolicyCriterionTypes);
338 getElement<ISelectionCriterionInterface>(gPhoneStateCriterionTag, mPolicyCriteria);
354 getElement<ISelectionCriterionInterface>(gPhoneStateCriterionTag, mPolicyCriteria);
371 getElement<ISelectionCriterionInterface>(gForceUseCriterionTag[usage], mPolicyCriteria);
391 getElement<ISelectionCriterionInterface>(gForceUseCriterionTag[usage], mPolicyCriteria);
410 getElement<ISelectionCriterionInterface>(gInputDeviceCriterionTag, mPolicyCriteria);
423 getElement<ISelectionCriterionInterface>(gOutputDeviceCriterionTag, mPolicyCriteria);
/frameworks/compile/slang/tests/P_reduce_general_examples_explicit/
H A DScriptC_reduce_general_examples_explicit.java.expect187 if (!ain1.getType().getElement().isCompatible(__I32)) {
220 if (!ain1.getType().getElement().isCompatible(__I32)) {
253 if (!ain1.getType().getElement().isCompatible(__I32)) {
301 if (!ain1.getType().getElement().isCompatible(__F32)) {
305 if (!ain2.getType().getElement().isCompatible(__F32)) {
350 if (!ain1.getType().getElement().isCompatible(__U8)) {
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/include/
H A DParameterManagerWrapper.h235 T *getElement(const std::string &name, std::map<std::string, T *> &elementsMap);
247 const T *getElement(const std::string &name,
/frameworks/compile/slang/tests/P_reduce_general_examples/
H A DScriptC_reduce_general_examples.java.expect225 if (!ain1.getType().getElement().isCompatible(__I32)) {
258 if (!ain1.getType().getElement().isCompatible(__I32)) {
306 if (!ain1.getType().getElement().isCompatible(__F32)) {
310 if (!ain2.getType().getElement().isCompatible(__F32)) {
355 if (!ain1.getType().getElement().isCompatible(__F32)) {
388 if (!ain1.getType().getElement().isCompatible(__I32)) {
421 if (!ain1.getType().getElement().isCompatible(__I32)) {
454 if (!ain1.getType().getElement().isCompatible(__U8)) {
487 if (!ain1.getType().getElement().isCompatible(__U8)) {
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/
H A DScriptC_reduce_general_examples_backward.java.expect225 if (!ain1.getType().getElement().isCompatible(__I32)) {
258 if (!ain1.getType().getElement().isCompatible(__I32)) {
306 if (!ain1.getType().getElement().isCompatible(__F32)) {
310 if (!ain2.getType().getElement().isCompatible(__F32)) {
355 if (!ain1.getType().getElement().isCompatible(__F32)) {
388 if (!ain1.getType().getElement().isCompatible(__I32)) {
421 if (!ain1.getType().getElement().isCompatible(__I32)) {
454 if (!ain1.getType().getElement().isCompatible(__U8)) {
487 if (!ain1.getType().getElement().isCompatible(__U8)) {
/frameworks/compile/slang/tests/P_reduce_general_struct/
H A DScriptC_reduce_general_struct.java.expect91 if (!ain1.getType().getElement().isCompatible(__ScriptField_MyStruct)) {
/frameworks/compile/slang/tests/P_reduce_general_duplicate_array/
H A DScriptC_reduce_general_duplicate_array.java.expect104 if (!ain1.getType().getElement().isCompatible(__I32)) {
137 if (!ain1.getType().getElement().isCompatible(__I32)) {
/frameworks/compile/slang/tests/P_reduce_general_examples_halter/
H A DScriptC_reduce_general_examples_halter.java.expect142 if (!ain1.getType().getElement().isCompatible(__I32)) {
175 if (!ain1.getType().getElement().isCompatible(__I32)) {
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
H A DResize.java37 Type.Builder tb = new Type.Builder(mRS, mInPixelsAllocation.getElement());

Completed in 1652 milliseconds

123