Home
last modified time | relevance | path

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

12345678910>>...29

/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/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 …]
/frameworks/rs/support/java/src/androidx/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/base/core/tests/coretests/src/android/view/
DInsetsControllerTest.java153 assertTrue(mController.getSourceConsumer(navBar.getType()).isVisible()); in testAnimationEndState()
154 assertTrue(mController.getSourceConsumer(topBar.getType()).isVisible()); in testAnimationEndState()
155 assertTrue(mController.getSourceConsumer(ime.getType()).isVisible()); in testAnimationEndState()
160 assertFalse(mController.getSourceConsumer(navBar.getType()).isVisible()); in testAnimationEndState()
161 assertFalse(mController.getSourceConsumer(topBar.getType()).isVisible()); in testAnimationEndState()
162 assertFalse(mController.getSourceConsumer(ime.getType()).isVisible()); in testAnimationEndState()
177 assertTrue(mController.getSourceConsumer(ime.getType()).isVisible()); in testApplyImeVisibility()
180 assertFalse(mController.getSourceConsumer(ime.getType()).isVisible()); in testApplyImeVisibility()
197 assertTrue(mController.getSourceConsumer(navBar.getType()).isVisible()); in testShowHideSelectively()
198 assertTrue(mController.getSourceConsumer(topBar.getType()).isVisible()); in testShowHideSelectively()
[all …]
/frameworks/base/cmds/statsd/tests/
DLogEvent_test.cpp59 EXPECT_EQ(Type::INT, item0.mValue.getType()); in TEST()
64 EXPECT_EQ(Type::STRING, item1.mValue.getType()); in TEST()
69 EXPECT_EQ(Type::INT, item2.mValue.getType()); in TEST()
74 EXPECT_EQ(Type::STRING, item3.mValue.getType()); in TEST()
79 EXPECT_EQ(Type::STRING, item4.mValue.getType()); in TEST()
84 EXPECT_EQ(Type::INT, item5.mValue.getType()); in TEST()
89 EXPECT_EQ(Type::LONG, item6.mValue.getType()); in TEST()
94 EXPECT_EQ(Type::FLOAT, item7.mValue.getType()); in TEST()
130 EXPECT_EQ(Type::INT, item0.mValue.getType()); in TEST()
135 EXPECT_EQ(Type::INT, item1.mValue.getType()); in TEST()
[all …]
/frameworks/base/cmds/statsd/src/matchers/
Dmatcher_util.cpp94 } else if (value.getType() == STRING) { in tryMatchString()
220 if ((values[i].mValue.getType() == INT && in matchesSimple()
222 (values[i].mValue.getType() == LONG && in matchesSimple()
267 if (values[i].mValue.getType() == INT && in matchesSimple()
272 if (values[i].mValue.getType() == LONG && in matchesSimple()
281 if (values[i].mValue.getType() == INT && in matchesSimple()
286 if (values[i].mValue.getType() == LONG && in matchesSimple()
295 if (values[i].mValue.getType() == INT && in matchesSimple()
300 if (values[i].mValue.getType() == LONG && in matchesSimple()
309 if (values[i].mValue.getType() == FLOAT && in matchesSimple()
[all …]
/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/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/ImageProcessing_jb/src/com/android/rs/image/
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()
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.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/base/core/java/android/database/
DAbstractWindowedCursor.java95 return mWindow.getType(mPos, columnIndex) == Cursor.FIELD_TYPE_NULL; in isNull()
103 return getType(columnIndex) == Cursor.FIELD_TYPE_BLOB; in isBlob()
111 return getType(columnIndex) == Cursor.FIELD_TYPE_STRING; in isString()
119 return getType(columnIndex) == Cursor.FIELD_TYPE_INTEGER; in isLong()
127 return getType(columnIndex) == Cursor.FIELD_TYPE_FLOAT; in isFloat()
131 public int getType(int columnIndex) { in getType() method in AbstractWindowedCursor
133 return mWindow.getType(mPos, columnIndex); in getType()
/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/compile/slang/tests/P_reduce_general_inputs/
DScriptC_reduce_general_inputs.java.expect162 if (!ain1.getType().getElement().isCompatible(__F16)) {
166 if (!ain2.getType().getElement().isCompatible(__F16)) {
170 t0 = ain1.getType();
171 t1 = ain2.getType();
226 if (!ain1.getType().getElement().isCompatible(__F16)) {
230 if (!ain2.getType().getElement().isCompatible(__F16)) {
234 t0 = ain1.getType();
235 t1 = ain2.getType();
294 if (!ain1.getType().getElement().isCompatible(__F16)) {
298 if (!ain2.getType().getElement().isCompatible(__F16_2)) {
[all …]
/frameworks/base/cmds/statsd/src/
DFieldValue.cpp120 if (field == 0x10001 && value.mValue.getType() == INT) { in isAttributionUidField()
137 value.mValue.getType() == INT; in getUidIfExists()
146 if (f == 0x10001 && value.getType() == INT) { in isAttributionUidField()
153 type = from.getType(); in Value()
217 if (type != that.getType()) return false; in operator ==()
238 if (type != that.getType()) return true; in operator !=()
258 if (type != that.getType()) return type < that.getType(); in operator <()
279 if (type != that.getType()) return type > that.getType(); in operator >()
300 if (type != that.getType()) return type >= that.getType(); in operator >=()
/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/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationMediaTemplateViewWrapperTest.java114 && logMaker.getType() == MetricsEvent.TYPE_CLOSE in testLogging_NoSeekbar()
119 && logMaker.getType() == MetricsEvent.TYPE_OPEN in testLogging_NoSeekbar()
130 && logMaker.getType() == MetricsEvent.TYPE_OPEN in testLogging_HasSeekbarNoScrubber()
138 && logMaker.getType() == MetricsEvent.TYPE_DETAIL in testLogging_HasSeekbarNoScrubber()
149 && logMaker.getType() == MetricsEvent.TYPE_OPEN in testLogging_HasSeekbarAndScrubber()
154 && logMaker.getType() == MetricsEvent.TYPE_DETAIL in testLogging_HasSeekbarAndScrubber()
171 && logMaker.getType() == MetricsEvent.TYPE_UPDATE)); in testLogging_UpdateSeekbar()

12345678910>>...29