Home
last modified time | relevance | path

Searched refs:getType (Results 1 – 25 of 606) sorted by relevance

12345678910>>...25

/frameworks/base/rs/java/android/renderscript/
DScriptIntrinsicHistogram.java88 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 …]
DScriptIntrinsicBLAS.java277 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 …]
DAllocationAdapter.java104 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 …]
DScriptIntrinsicBlur.java62 if (ain.getType().getY() == 0) { in setInput()
91 if (aout.getType().getY() == 0) { in forEach()
106 if (aout.getType().getY() == 0) { in forEach()
/frameworks/rs/cpp/
DScriptIntrinsics.cpp59 if (ain->getType()->getElement()->isCompatible(mElement) == false || in forEach()
60 aout->getType()->getElement()->isCompatible(mElement) == false) { in forEach()
67 sp<const Type> t = lut->getType(); in setLUT()
93 if (in->getType()->getElement()->isCompatible(mElement) == false || in forEachClear()
94 out->getType()->getElement()->isCompatible(mElement) == false) { in forEachClear()
101 if (in->getType()->getElement()->isCompatible(mElement) == false || in forEachSrc()
102 out->getType()->getElement()->isCompatible(mElement) == false) { in forEachSrc()
109 if (in->getType()->getElement()->isCompatible(mElement) == false || in forEachDst()
110 out->getType()->getElement()->isCompatible(mElement) == false) { in forEachDst()
117 if (in->getType()->getElement()->isCompatible(mElement) == false || in forEachSrcOver()
[all …]
DScriptIntrinsicBLAS.cpp185 int M = A->getType()->getY(); in validateGEMV()
186 int N = A->getType()->getX(); in validateGEMV()
187 if (!A->getType()->getElement()->isCompatible(e) || in validateGEMV()
188 !X->getType()->getElement()->isCompatible(e) || in validateGEMV()
189 !Y->getType()->getElement()->isCompatible(e)) { in validateGEMV()
192 if (X->getType()->getY() > 1 || Y->getType()->getY() > 1) { in validateGEMV()
207 if ((int)X->getType()->getX() != expectedXDim || in validateGEMV()
208 (int)Y->getType()->getX() != expectedYDim) { in validateGEMV()
216 int M = A->getType()->getY(); in SGEMV()
217 int N = A->getType()->getX(); in SGEMV()
[all …]
/frameworks/rs/support/java/src/android/support/v8/renderscript/
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() != Element.U32_4(mRS) &&
[all …]
DScriptIntrinsicBLAS.java284 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/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/cards/presenters/
DCardPresenterSelector.java44 Presenter presenter = presenters.get(card.getType()); in getPresenter()
46 switch (card.getType()) { in getPresenter()
57 if (card.getType() == Card.Type.MOVIE_BASE) { in getPresenter()
59 } else if (card.getType() == Card.Type.MOVIE_COMPLETE) { in getPresenter()
61 } else if (card.getType() == Card.Type.SQUARE_BIG) { in getPresenter()
63 } else if (card.getType() == Card.Type.GRID_SQUARE) { in getPresenter()
65 } else if (card.getType() == Card.Type.GAME) { in getPresenter()
88 presenters.put(card.getType(), presenter); in getPresenter()
/frameworks/base/core/java/android/database/
DAbstractWindowedCursor.java93 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/tests/java_api/ImageProcessing/src/com/android/rs/image/
DFisheye.java78 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()
DVignette.java100 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()
DBlend.java70 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/tests/java_api/ImageProcessing2/src/com/android/rs/image/
DFisheye.java80 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()
DVignette.java102 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()
DBlend.java63 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/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DVignette.java102 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()
DFisheye.java83 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()
DBlend.java70 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/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DViewfinderProcessor.java191 opt.setX(2, mBlurAllocation.getType().getX() - 2); in run()
192 opt.setY(2, mBlurAllocation.getType().getY() - 2); in run()
195 opt.setX(3, mBlurAllocation.getType().getX() - 3); in run()
196 opt.setY(3, mBlurAllocation.getType().getY() - 3); in run()
199 opt.setX(4, mBlurAllocation.getType().getX() - 4); in run()
200 opt.setY(4, mBlurAllocation.getType().getY() - 4); in run()
203 opt.setX(5, mBlurAllocation.getType().getX() - 5); in run()
204 opt.setY(5, mBlurAllocation.getType().getY() - 5); in run()
281 opt.setX(2, blur_alloc.getType().getX() - 2); in processImage()
282 opt.setY(2, blur_alloc.getType().getY() - 2); in processImage()
[all …]
/frameworks/av/media/img_utils/include/img_utils/
DTiffEntryImpl.h46 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/core-utils/tests/java/android/support/v4/provider/
DDocumentFileTest.java211 assertEquals(null, doc.getType()); in testMimes()
212 assertEquals("application/octet-stream", foo.getType()); in testMimes()
213 assertEquals(null, meow.getType()); in testMimes()
214 assertEquals("image/jpeg", cat.getType()); in testMimes()
215 assertEquals("application/pdf", dog.getType()); in testMimes()
216 assertEquals(null, bar.getType()); in testMimes()
236 assertEquals("text/plain", newFile.getType()); in testCreate()
248 assertEquals("application/octet-stream", newRaw.getType()); in testCreate()
311 assertEquals("image/jpeg", cat.getType()); in testRename()
315 assertEquals("audio/aac", cat.getType()); in testRename()
[all …]
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
DReplaceMethodCallsAdapter.java56 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()
167 Type.getMethodDescriptor(Type.getType(Map.Entry.class)); in METHOD_REPLACERS.add()
182 Type.getType(Map.Entry.class), Type.getType(LinkedHashMap.class)); in METHOD_REPLACERS.add()
197 Type.getMethodDescriptor(Type.getType(ClassLoader.class)); in METHOD_REPLACERS.add()
/frameworks/rs/driver/
DrsdFrameBuffer.cpp83 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/compile/slang/tests/P_struct_field/
DScriptField_Outer.java.expect176 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co…
182 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
199 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co…
200 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
218 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co…
219 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
233 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co…
234 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
252 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co…
253 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
[all …]

12345678910>>...25