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

1234

/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)) {
/frameworks/rs/support/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...]
/frameworks/rs/
H A DrsApiType.cpp37 (*typeData++) = (uintptr_t)t->getElement();
38 t->getElement()->incUserRef();
/frameworks/rs/cpp/
H A DScriptIntrinsics.cpp59 if (ain->getType()->getElement()->isCompatible(mElement) == false ||
60 aout->getType()->getElement()->isCompatible(mElement) == false) {
68 if (!t->getElement()->isCompatible(mElement)) {
93 if (in->getType()->getElement()->isCompatible(mElement) == false ||
94 out->getType()->getElement()->isCompatible(mElement) == false) {
101 if (in->getType()->getElement()->isCompatible(mElement) == false ||
102 out->getType()->getElement()->isCompatible(mElement) == false) {
109 if (in->getType()->getElement()->isCompatible(mElement) == false ||
110 out->getType()->getElement()->isCompatible(mElement) == false) {
117 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/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
H A DUT_kernel_struct.java56 s.get_ain().getElement().destroy();
57 s.get_aout().getElement().destroy();
H A DUT_struct.java48 p.getElement().destroy();
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
H A DUT_kernel_struct.java58 s.get_ain().getElement().destroy();
59 s.get_aout().getElement().destroy();
H A DUT_struct.java50 p.getElement().destroy();
/frameworks/compile/slang/tests/P_reduce_general_inputs/
H A DScriptC_reduce_general_inputs.java.expect162 if (!ain1.getType().getElement().isCompatible(__F16)) {
166 if (!ain2.getType().getElement().isCompatible(__F16)) {
226 if (!ain1.getType().getElement().isCompatible(__F16)) {
230 if (!ain2.getType().getElement().isCompatible(__F16)) {
294 if (!ain1.getType().getElement().isCompatible(__F16)) {
298 if (!ain2.getType().getElement().isCompatible(__F16_2)) {
362 if (!ain1.getType().getElement().isCompatible(__F16)) {
366 if (!ain2.getType().getElement().isCompatible(__F16_2)) {
430 if (!ain1.getType().getElement().isCompatible(__F16)) {
434 if (!ain2.getType().getElement()
[all...]
/frameworks/compile/slang/tests/P_reduce_general_accumulator/
H A DScriptC_reduce_general_accumulator.java.expect107 if (!ain1.getType().getElement().isCompatible(__I32)) {
140 if (!ain1.getType().getElement().isCompatible(__I32)) {
173 if (!ain1.getType().getElement().isCompatible(__I32)) {
206 if (!ain1.getType().getElement().isCompatible(__I32)) {
239 if (!ain1.getType().getElement().isCompatible(__I32)) {
272 if (!ain1.getType().getElement().isCompatible(__I32)) {
305 if (!ain1.getType().getElement().isCompatible(__I32)) {
338 if (!ain1.getType().getElement().isCompatible(__I32)) {
371 if (!ain1.getType().getElement().isCompatible(__I32)) {
404 if (!ain1.getType().getElement()
[all...]
/frameworks/compile/slang/tests/P_reduce_general_input/
H A DScriptC_reduce_general_input.java.expect175 if (!ain1.getType().getElement().isCompatible(__F16)) {
208 if (!ain1.getType().getElement().isCompatible(__F16)) {
241 if (!ain1.getType().getElement().isCompatible(__F16)) {
274 if (!ain1.getType().getElement().isCompatible(__F16)) {
307 if (!ain1.getType().getElement().isCompatible(__F16)) {
340 if (!ain1.getType().getElement().isCompatible(__F16)) {
373 if (!ain1.getType().getElement().isCompatible(__F16)) {
406 if (!ain1.getType().getElement().isCompatible(__F16)) {
439 if (!ain1.getType().getElement().isCompatible(__F16)) {
472 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.expect190 if (!ain1.getType().getElement().isCompatible(__I32)) {
223 if (!ain1.getType().getElement().isCompatible(__I32)) {
256 if (!ain1.getType().getElement().isCompatible(__I32)) {
304 if (!ain1.getType().getElement().isCompatible(__F32)) {
308 if (!ain2.getType().getElement().isCompatible(__F32)) {
353 if (!ain1.getType().getElement().isCompatible(__U8)) {
/frameworks/compile/slang/tests/P_reflection3264_divergent/
H A DScriptC_reflection3264_divergent.java.expect275 if (!ain.getType().getElement().isCompatible(__I32)) {
279 if (!aout.getType().getElement().isCompatible(__I32)) {
318 if (!ain.getType().getElement().isCompatible(__I32)) {
322 if (!aout.getType().getElement().isCompatible(__I32)) {
357 if (!ain.getType().getElement().isCompatible(__I32)) {
361 if (!aout.getType().getElement().isCompatible(__I32)) {
393 if (!ain.getType().getElement().isCompatible(__I32)) {
397 if (!aout.getType().getElement().isCompatible(__I32)) {
428 if (!ain.getType().getElement().isCompatible(__I32)) {
432 if (!aout.getType().getElement()
[all...]
/frameworks/compile/slang/tests/P_reflection3264_divergent_support/
H A DScriptC_reflection3264_divergent.java.expect272 if (!ain.getType().getElement().isCompatible(__I32)) {
276 if (!aout.getType().getElement().isCompatible(__I32)) {
315 if (!ain.getType().getElement().isCompatible(__I32)) {
319 if (!aout.getType().getElement().isCompatible(__I32)) {
354 if (!ain.getType().getElement().isCompatible(__I32)) {
358 if (!aout.getType().getElement().isCompatible(__I32)) {
390 if (!ain.getType().getElement().isCompatible(__I32)) {
394 if (!aout.getType().getElement().isCompatible(__I32)) {
425 if (!ain.getType().getElement().isCompatible(__I32)) {
429 if (!aout.getType().getElement()
[all...]
/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.expect228 if (!ain1.getType().getElement().isCompatible(__I32)) {
261 if (!ain1.getType().getElement().isCompatible(__I32)) {
309 if (!ain1.getType().getElement().isCompatible(__F32)) {
313 if (!ain2.getType().getElement().isCompatible(__F32)) {
358 if (!ain1.getType().getElement().isCompatible(__F32)) {
391 if (!ain1.getType().getElement().isCompatible(__I32)) {
424 if (!ain1.getType().getElement().isCompatible(__I32)) {
457 if (!ain1.getType().getElement().isCompatible(__U8)) {
490 if (!ain1.getType().getElement().isCompatible(__U8)) {
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/
H A DScriptC_reduce_general_examples_backward.java.expect228 if (!ain1.getType().getElement().isCompatible(__I32)) {
261 if (!ain1.getType().getElement().isCompatible(__I32)) {
309 if (!ain1.getType().getElement().isCompatible(__F32)) {
313 if (!ain2.getType().getElement().isCompatible(__F32)) {
358 if (!ain1.getType().getElement().isCompatible(__F32)) {
391 if (!ain1.getType().getElement().isCompatible(__I32)) {
424 if (!ain1.getType().getElement().isCompatible(__I32)) {
457 if (!ain1.getType().getElement().isCompatible(__U8)) {
490 if (!ain1.getType().getElement().isCompatible(__U8)) {

Completed in 374 milliseconds

1234