Home
last modified time | relevance | path

Searched refs:getSize (Results 1 – 25 of 83) sorted by relevance

1234

/cts/suite/audio_quality/test/
DSignalProcessingInterfaceTest.cpp55 for (size_t i = 0; i < in0->getSize(); i++) { in TEST_F()
60 for (size_t i = 0; i < in1->getSize(); i++) { in TEST_F()
69 for (size_t i = 0; i < out0->getSize(); i++) { in TEST_F()
74 for (size_t i = 0; i < out1->getSize(); i++) { in TEST_F()
151 for (size_t i = 0; i < in0->getSize(); i++) { in TEST_F()
156 for (size_t i = 0; i < in1->getSize(); i++) { in TEST_F()
161 for (size_t i = 0; i < in2->getSize(); i++) { in TEST_F()
166 for (size_t i = 0; i < in3->getSize(); i++) { in TEST_F()
177 for (size_t i = 0; i < out0->getSize(); i++) { in TEST_F()
182 for (size_t i = 0; i < out1->getSize(); i++) { in TEST_F()
DAudioRecordPlayTestCommon.h77 LOGV("Audio playback buffer size %d, handled %d", mBufferPlayback->getSize(), in PlayAndRecord()
79 ASSERT_TRUE(mBufferPlayback->amountHandled() == mBufferPlayback->getSize()); in PlayAndRecord()
80 LOGV("Audio recording buffer size %d, handled %d", mBufferRecording->getSize(), in PlayAndRecord()
82 ASSERT_TRUE(mBufferRecording->amountHandled() == mBufferRecording->getSize()); in PlayAndRecord()
DAudioPlayTestCommon.h69 LOGV("size %d, handled %d", mBuffer->getSize(), mBuffer->amountHandled()); in playAll()
70 ASSERT_TRUE(mBuffer->amountHandled() == mBuffer->getSize()); in playAll()
/cts/tests/app/src/android/app/cts/
DDisplayTest.java62 origDisplay.getSize(origSize); in testRotation()
77 origDisplay.getSize(newOrigSize); in testRotation()
82 updatedDisplay.getSize(updatedSize); in testRotation()
/cts/tests/tests/text/src/android/text/style/cts/
DAbsoluteSizeSpanTest.java54 assertEquals(5, absoluteSizeSpan.getSize()); in testGetSize()
57 assertEquals(-5, absoluteSizeSpan.getSize()); in testGetSize()
134 assertEquals(2, absoluteSizeSpan.getSize()); in testWriteToParcel()
145 assertEquals(-5, absoluteSizeSpan.getSize()); in testWriteToParcel()
DDynamicDrawableSpanTest.java71 assertEquals(rect.right, dynamicDrawableSpan.getSize(null, null, 0, 0, fm)); in testGetSize()
79 assertEquals(rect.right, dynamicDrawableSpan.getSize(null, null, 0, 0, null)); in testGetSize()
/cts/tests/tests/view/src/android/view/cts/
DView_MeasureSpecTest.java56 View.MeasureSpec.getSize(mUnspecifiedMeasureSpec)); in testGetSize()
58 View.MeasureSpec.getSize(mExactlyMeasureSpec)); in testGetSize()
60 View.MeasureSpec.getSize(mAtMostMeasureSpec)); in testGetSize()
/cts/tests/camera/src/android/hardware/camera2/cts/rs/
DScriptYuvCrop.java62 Size inputSize = inputInfo.getSize(); in createOutputInfo()
101 int x = (int)(mCropWindow.left * mInputInfo.getSize().getWidth()); in updateScriptInput()
102 int y = (int)(mCropWindow.top * mInputInfo.getSize().getHeight()); in updateScriptInput()
DAllocationInfo.java193 return newInstance(getSize(), format, usage); in changeFormatAndUsage()
208 return newInstance(element, getSize()); in changeElementWithDefaultUsage()
223 return newInstance(getSize(), format, Allocation.USAGE_SCRIPT); in changeFormatWithDefaultUsage()
271 public Size getSize() { in getSize() method in AllocationInfo
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/
DDspWindow.java64 int size = r.getSize(); in fillWindow()
103 int size = b.getSize(); in fillTriangular()
134 int size = b.getSize(); in fillHamming()
169 int size = b.getSize(); in fillHanning()
DDspBufferDouble.java28 if (size == getSize()) { in setSize()
49 int size = getSize(); in toString()
DDspBufferMath.java55 int size = Math.min(a.getSize(), b.getSize()); in add()
127 int size = Math.min(a.getSize(), b.getSize()); in mult()
210 int size = a.getSize(); in mult()
256 int size = a.getSize(); in set()
304 int size = r.getSize(); in set()
DDspBufferComplex.java29 if (size == getSize()) { in setSize()
53 int size = getSize(); in toString()
DDspBufferBase.java30 public int getSize() { in getSize() method in DspBufferBase
DVectorAverage.java99 public int getSize() { in getSize() method in VectorAverage
135 double[] data = new double[getSize()]; in toString()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebHistoryItemTest.java94 assertEquals(0, list.getSize()); in testWebHistoryItem()
106 assertEquals(1, list.getSize()); in testWebHistoryItem()
118 assertEquals(2, list.getSize()); in testWebHistoryItem()
DWebBackForwardListTest.java63 assertEquals(0, list.getSize()); in testGetCurrentItem()
95 if (list.getSize() != url.length) { in checkBackForwardList()
/cts/tests/tests/graphics/src/android/graphics/fonts/
DFontFamilyTest.java48 assertEquals(1, family.getSize()); in testBuilder_SingleFont()
61 assertEquals(2, family.getSize()); in testBuilder_MultipleFont()
76 assertEquals(2, family.getSize()); in testBuilder_MultipleFont_overrideWeight()
91 assertEquals(2, family.getSize()); in testBuilder_MultipleFont_overrideItalic()
/cts/suite/audio_quality/lib/include/audio/
DBuffer.h43 inline size_t getSize() { in getSize() function
48 return (getSize() / (isStereo() ? 4 : 2)); in getSamples()
/cts/suite/audio_quality/lib/src/audio/
DAudioProtocol.cpp94 mBuffer[1] = htonl(4 + param.mBuffer->getSize()); in sendCommand()
99 return sendData(param.mBuffer->getData(), param.mBuffer->getSize()); in sendCommand()
140 uint32_t samples = param.mBuffer->getSize() / (param.mStereo ? 4 : 2); in sendCommand()
/cts/tests/tests/util/src/android/util/cts/
DStrictJarFileTest.java131 assertEquals(62, ze.getSize()); in checkIteration()
137 assertEquals(4, ze.getSize()); in checkIteration()
146 assertEquals(311, ze.getSize()); in checkIteration()
173 assertEquals(4, ze.getSize()); in checkFindEntry()
253 ze.setSize(ze.getSize() - 1); in checkJarSigning_fudgedEntry()
/cts/tests/tests/graphics/src/android/graphics/cts/
DImageDecoderTest.java272 assertEquals(record.width, info.getSize().getWidth()); in testInfo()
273 assertEquals(record.height, info.getSize().getHeight()); in testInfo()
373 decoder.setCrop(new Rect(1, 1, info.getSize().getWidth() / 2 - 1, in testSetAllocatorDecodeBitmap()
374 info.getSize().getHeight() / 2 - 1)); in testSetAllocatorDecodeBitmap()
784 int sampleSize = supplySampleSize.applyAsInt(info.getSize()); in testLargeSampleSize()
802 Size size = info.getSize(); in testResizeTransparency()
1307 Size size = info.getSize(); in testResizeWebpLarger()
1322 Size size = info.getSize(); in testResizeUnpremul()
1341 Rect r = new Rect(0, 0, info.getSize().getWidth() / 2, 5); in testGetCrop()
1363 int width = info.getSize().getWidth(); in testCrop()
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DAspectRatioTestsBase.java86 getDisplay(activity).getSize(size); in getActivitySize()
96 display.getSize(size); in getAspectRatio()
/cts/suite/audio_quality/lib/src/
DSignalProcessingImpl.cpp131 int dataLen = (*buffer)->getSize(); in run()
208 if (dataLen > (int)(*buffer)->getSize()) { in run()
210 (*buffer)->getSize()); in run()
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DReleaseParser.java106 mRelContentBuilder.setSize(fBuilder.getSize()); in getReleaseContent()
198 folderSize += sfEntry.getSize(); in parseFolder()
238 entry.getSize(), in writeRelesaeContentCsvFile()

1234