/frameworks/base/rs/java/android/renderscript/ |
D | ScriptIntrinsicHistogram.java | 88 if (ain.getType().getElement().getVectorSize() < in forEach() 89 mOut.getType().getElement().getVectorSize()) { in forEach() 94 if (!ain.getType().getElement().isCompatible(Element.U8(mRS)) && in forEach() 95 !ain.getType().getElement().isCompatible(Element.U8_2(mRS)) && in forEach() 96 !ain.getType().getElement().isCompatible(Element.U8_3(mRS)) && in forEach() 97 !ain.getType().getElement().isCompatible(Element.U8_4(mRS))) { in forEach() 141 if (mOut.getType().getElement() != Element.U32(mRS) && in setOutput() 142 mOut.getType().getElement() != Element.U32_2(mRS) && in setOutput() 143 mOut.getType().getElement() != Element.U32_3(mRS) && in setOutput() 144 mOut.getType().getElement() != Element.U32_4(mRS) && in setOutput() [all …]
|
D | ScriptIntrinsicBLAS.java | 277 int M = A.getType().getY(); in validateGEMV() 278 int N = A.getType().getX(); in validateGEMV() 279 if (!A.getType().getElement().isCompatible(e) || in validateGEMV() 280 !X.getType().getElement().isCompatible(e) || in validateGEMV() 281 !Y.getType().getElement().isCompatible(e)) { in validateGEMV() 284 if (X.getType().getY() > 1 || Y.getType().getY() > 1) { in validateGEMV() 299 if (X.getType().getX() != expectedXDim || in validateGEMV() 300 Y.getType().getX() != expectedYDim) { in validateGEMV() 322 int M = A.getType().getY(); in SGEMV() 323 int N = A.getType().getX(); in SGEMV() [all …]
|
D | AllocationAdapter.java | 104 if (!mAdaptedAllocation.getType().hasMipmaps()) { in setLOD() 123 if (!mAdaptedAllocation.getType().hasFaces()) { in setFace() 146 if (mAdaptedAllocation.getType().getX() <= x) { in setX() 149 if (mWindow.getX() == mAdaptedAllocation.getType().getX()) { in setX() 152 if ((mWindow.getX() + x) >= mAdaptedAllocation.getType().getX()) { in setX() 168 if (mAdaptedAllocation.getType().getY() == 0) { in setY() 171 if (mAdaptedAllocation.getType().getY() <= y) { in setY() 174 if (mWindow.getY() == mAdaptedAllocation.getType().getY()) { in setY() 177 if ((mWindow.getY() + y) >= mAdaptedAllocation.getType().getY()) { in setY() 193 if (mAdaptedAllocation.getType().getZ() == 0) { in setZ() [all …]
|
/frameworks/rs/cpp/ |
D | ScriptIntrinsics.cpp | 49 if (ain->getType()->getElement()->isCompatible(mElement) == false || in forEach() 50 aout->getType()->getElement()->isCompatible(mElement) == false) { in forEach() 57 sp<const Type> t = lut->getType(); in setLUT() 83 if (in->getType()->getElement()->isCompatible(mElement) == false || in forEachClear() 84 out->getType()->getElement()->isCompatible(mElement) == false) { in forEachClear() 91 if (in->getType()->getElement()->isCompatible(mElement) == false || in forEachSrc() 92 out->getType()->getElement()->isCompatible(mElement) == false) { in forEachSrc() 99 if (in->getType()->getElement()->isCompatible(mElement) == false || in forEachDst() 100 out->getType()->getElement()->isCompatible(mElement) == false) { in forEachDst() 107 if (in->getType()->getElement()->isCompatible(mElement) == false || in forEachSrcOver() [all …]
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
D | ScriptIntrinsicHistogram.java | 98 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() != Element.U32_4(mRS) && [all …]
|
D | ScriptIntrinsicBLAS.java | 284 int M = A.getType().getY(); 285 int N = A.getType().getX(); 286 if (!A.getType().getElement().isCompatible(e) || 287 !X.getType().getElement().isCompatible(e) || 288 !Y.getType().getElement().isCompatible(e)) { 291 if (X.getType().getY() > 1 || Y.getType().getY() > 1) { 306 if (X.getType().getX() != expectedXDim || 307 Y.getType().getX() != expectedYDim) { 329 int M = A.getType().getY(); in SGEMV() 330 int N = A.getType().getX(); in SGEMV() [all …]
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
D | Fisheye.java | 78 mInPixelsAllocation.getType().getX(), in do_init() 79 mInPixelsAllocation.getType().getY(), center_x, in do_init() 83 mInPixelsAllocation.getType().getX(), in do_init() 84 mInPixelsAllocation.getType().getY(), center_x, in do_init() 88 mInPixelsAllocation.getType().getX(), in do_init() 89 mInPixelsAllocation.getType().getY(), center_x, center_y, in do_init() 93 mInPixelsAllocation.getType().getX(), in do_init() 94 mInPixelsAllocation.getType().getY(), center_x, center_y, in do_init()
|
D | Vignette.java | 100 mInPixelsAllocation.getType().getX(), in do_init() 101 mInPixelsAllocation.getType().getY(), center_x, in do_init() 105 mInPixelsAllocation.getType().getX(), in do_init() 106 mInPixelsAllocation.getType().getY(), center_x, in do_init() 110 mInPixelsAllocation.getType().getX(), in do_init() 111 mInPixelsAllocation.getType().getY(), center_x, center_y, in do_init() 115 mInPixelsAllocation.getType().getX(), in do_init() 116 mInPixelsAllocation.getType().getY(), center_x, center_y, in do_init()
|
D | Blend.java | 70 image1 = Allocation.createTyped(mRS, mInPixelsAllocation.getType()); in createTest() 71 image2 = Allocation.createTyped(mRS, mInPixelsAllocation2.getType()); in createTest() 121 …image1.copy2DRangeFrom(0, 0, mInPixelsAllocation.getType().getX(), mInPixelsAllocation.getType().g… in runTest() 122 …image2.copy2DRangeFrom(0, 0, mInPixelsAllocation2.getType().getX(), mInPixelsAllocation2.getType()… in runTest() 175 …mOutPixelsAllocation.copy2DRangeFrom(0, 0, image2.getType().getX(), image2.getType().getY(), image… in runTest()
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
D | Fisheye.java | 80 mInPixelsAllocation.getType().getX(), in do_init() 81 mInPixelsAllocation.getType().getY(), center_x, in do_init() 85 mInPixelsAllocation.getType().getX(), in do_init() 86 mInPixelsAllocation.getType().getY(), center_x, in do_init() 90 mInPixelsAllocation.getType().getX(), in do_init() 91 mInPixelsAllocation.getType().getY(), center_x, center_y, in do_init() 95 mInPixelsAllocation.getType().getX(), in do_init() 96 mInPixelsAllocation.getType().getY(), center_x, center_y, in do_init()
|
D | Vignette.java | 102 mInPixelsAllocation.getType().getX(), in do_init() 103 mInPixelsAllocation.getType().getY(), center_x, in do_init() 107 mInPixelsAllocation.getType().getX(), in do_init() 108 mInPixelsAllocation.getType().getY(), center_x, in do_init() 112 mInPixelsAllocation.getType().getX(), in do_init() 113 mInPixelsAllocation.getType().getY(), center_x, center_y, in do_init() 117 mInPixelsAllocation.getType().getX(), in do_init() 118 mInPixelsAllocation.getType().getY(), center_x, center_y, in do_init()
|
D | Blend.java | 63 image1 = Allocation.createTyped(mRS, mInPixelsAllocation.getType()); in createTest() 64 image2 = Allocation.createTyped(mRS, mInPixelsAllocation2.getType()); in createTest() 113 …image1.copy2DRangeFrom(0, 0, mInPixelsAllocation.getType().getX(), mInPixelsAllocation.getType().g… in runTest() 114 …image2.copy2DRangeFrom(0, 0, mInPixelsAllocation2.getType().getX(), mInPixelsAllocation2.getType()… in runTest() 167 …mOutPixelsAllocation.copy2DRangeFrom(0, 0, image2.getType().getX(), image2.getType().getY(), image… in runTest()
|
/frameworks/base/core/java/android/database/ |
D | AbstractWindowedCursor.java | 93 return mWindow.getType(mPos, columnIndex) == Cursor.FIELD_TYPE_NULL; in isNull() 101 return getType(columnIndex) == Cursor.FIELD_TYPE_BLOB; in isBlob() 109 return getType(columnIndex) == Cursor.FIELD_TYPE_STRING; in isString() 117 return getType(columnIndex) == Cursor.FIELD_TYPE_INTEGER; in isLong() 125 return getType(columnIndex) == Cursor.FIELD_TYPE_FLOAT; in isFloat() 129 public int getType(int columnIndex) { in getType() method in AbstractWindowedCursor 131 return mWindow.getType(mPos, columnIndex); in getType()
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
D | Vignette.java | 102 mInPixelsAllocation.getType().getX(), in do_init() 103 mInPixelsAllocation.getType().getY(), center_x, in do_init() 107 mInPixelsAllocation.getType().getX(), in do_init() 108 mInPixelsAllocation.getType().getY(), center_x, in do_init() 112 mInPixelsAllocation.getType().getX(), in do_init() 113 mInPixelsAllocation.getType().getY(), center_x, center_y, in do_init() 117 mInPixelsAllocation.getType().getX(), in do_init() 118 mInPixelsAllocation.getType().getY(), center_x, center_y, in do_init()
|
D | Fisheye.java | 83 mInPixelsAllocation.getType().getX(), in do_init() 84 mInPixelsAllocation.getType().getY(), center_x, in do_init() 88 mInPixelsAllocation.getType().getX(), in do_init() 89 mInPixelsAllocation.getType().getY(), center_x, in do_init() 93 mInPixelsAllocation.getType().getX(), in do_init() 94 mInPixelsAllocation.getType().getY(), center_x, center_y, in do_init() 98 mInPixelsAllocation.getType().getX(), in do_init() 99 mInPixelsAllocation.getType().getY(), center_x, center_y, in do_init()
|
D | Blend.java | 70 image1 = Allocation.createTyped(mRS, mInPixelsAllocation.getType()); in createTest() 71 image2 = Allocation.createTyped(mRS, mInPixelsAllocation2.getType()); in createTest() 120 …image1.copy2DRangeFrom(0, 0, mInPixelsAllocation.getType().getX(), mInPixelsAllocation.getType().g… in runTest() 121 …image2.copy2DRangeFrom(0, 0, mInPixelsAllocation2.getType().getX(), mInPixelsAllocation2.getType()… in runTest() 174 …mOutPixelsAllocation.copy2DRangeFrom(0, 0, image2.getType().getX(), image2.getType().getY(), image… in runTest()
|
/frameworks/av/media/img_utils/include/img_utils/ |
D | TiffEntryImpl.h | 46 TagType getType() const; 86 TagType TiffEntryImpl<T>::getType() const { in getType() function 105 if (getType() == RATIONAL || getType() == SRATIONAL) { in getActualSize() 135 if (getType() == RATIONAL || getType() == SRATIONAL) { in writeTagInfo() 161 if (getType() == RATIONAL || getType() == SRATIONAL) { in writeData()
|
/frameworks/support/tests/java/android/support/v4/provider/ |
D | DocumentFileTest.java | 190 assertEquals(null, doc.getType()); in testMimes() 191 assertEquals("application/octet-stream", foo.getType()); in testMimes() 192 assertEquals(null, meow.getType()); in testMimes() 193 assertEquals("image/jpeg", cat.getType()); in testMimes() 194 assertEquals("application/pdf", dog.getType()); in testMimes() 195 assertEquals(null, bar.getType()); in testMimes() 215 assertEquals("text/plain", newFile.getType()); in testCreate() 227 assertEquals("application/octet-stream", newRaw.getType()); in testCreate() 290 assertEquals("image/jpeg", cat.getType()); in testRename() 294 assertEquals("audio/aac", cat.getType()); in testRename() [all …]
|
/frameworks/rs/ |
D | rsAdapter.h | 38 uint32_t getDimX() const {return mAllocation->getType()->getLODDimX(mLOD);} in getDimX() 40 const Type * getBaseType() const {return mAllocation->getType();} in getBaseType() 70 uint32_t getDimX() const {return mAllocation->getType()->getLODDimX(mLOD);} in getDimX() 71 uint32_t getDimY() const {return mAllocation->getType()->getLODDimY(mLOD);} in getDimY() 72 const Type * getBaseType() const {return mAllocation->getType();} in getBaseType()
|
/frameworks/compile/slang/ |
D | slang_rs_reflection.cpp | 166 unsigned TypeId = EPT->getType(); in GetPackerAPIName() 169 return PrimitiveTypePackerAPINameMap[EPT->getType()]; in GetPackerAPIName() 225 else if (EPT->getType() == DataTypeBoolean) in GetTypeNullValue() 249 if (EVT->getType() == DataTypeFloat32) { in GetBuiltinElementConstruct() 259 } else if (EVT->getType() == DataTypeUnsigned8) { in GetBuiltinElementConstruct() 395 genInitExportVariable(EV->getType(), EV->getName(), EV->getInit()); in genScriptClassConstructor() 399 << GetTypeName(EV->getType(), false) << "[" in genScriptClassConstructor() 403 static_cast<const RSExportConstantArrayType *>(EV->getType()); in genScriptClassConstructor() 412 genTypeInstance(EV->getType()); in genScriptClassConstructor() 414 genFieldPackerInstance(EV->getType()); in genScriptClassConstructor() [all …]
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
D | ReplaceMethodCallsAdapter.java | 56 private static final Type STRING = Type.getType(String.class); 80 Type.getMethodDescriptor(STRING, Type.getType(Locale.class)); in METHOD_REPLACERS.add() 102 Type.getType(Locale.class), STRING); in METHOD_REPLACERS.add() 104 Type.getMethodDescriptor(Type.getType(Locale.class)); in METHOD_REPLACERS.add() 141 Type.getMethodDescriptor(Type.getType(Map.Entry.class)); in METHOD_REPLACERS.add() 156 Type.getType(Map.Entry.class), Type.getType(LinkedHashMap.class)); in METHOD_REPLACERS.add() 171 Type.getMethodDescriptor(Type.getType(ClassLoader.class)); in METHOD_REPLACERS.add()
|
/frameworks/support/v4/java/android/support/v4/view/accessibility/ |
D | AccessibilityWindowInfoCompat.java | 31 public int getType(Object info); in getType() method 58 public int getType(Object info) { in getType() method in AccessibilityWindowInfoCompat.AccessibilityWindowInfoStubImpl 128 public int getType(Object info) { in getType() method in AccessibilityWindowInfoCompat.AccessibilityWindowInfoApi21Impl 129 return AccessibilityWindowInfoCompatApi21.getType(info); in getType() 259 public int getType() { in getType() method in AccessibilityWindowInfoCompat 260 return IMPL.getType(mInfo); in getType() 425 builder.append(", type=").append(typeToString(getType())); in toString()
|
/frameworks/rs/driver/ |
D | rsdFrameBuffer.cpp | 83 fbo->setDimensions(fb->mHal.state.colorTargets[0]->getType()->getDimX(), in rsdFrameBufferSetActive() 84 fb->mHal.state.colorTargets[0]->getType()->getDimY()); in rsdFrameBufferSetActive() 86 fbo->setDimensions(fb->mHal.state.depthTarget->getType()->getDimX(), in rsdFrameBufferSetActive() 87 fb->mHal.state.depthTarget->getType()->getDimY()); in rsdFrameBufferSetActive()
|
/frameworks/base/core/java/android/hardware/location/ |
D | GeofenceHardwareRequestParcelable.java | 96 int getType() { in getType() method in GeofenceHardwareRequestParcelable 97 return mRequest.getType(); in getType() 114 builder.append(mRequest.getType()); in toString() 176 parcel.writeInt(getType()); in writeToParcel()
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
D | VrState.java | 65 || mScrAllocation.getType().getX() != w in createOutputAllocation() 66 || mScrAllocation.getType().getY() != h) { in createOutputAllocation() 83 || mzRangeFullAllocation.getType().getX() != w in createOutputAllocation() 84 || mzRangeFullAllocation.getType().getY() != h) { in createOutputAllocation()
|