Home
last modified time | relevance | path

Searched refs:setSize (Results 1 – 23 of 23) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/
DDspBufferBase.java23 setSize(0); in DspBufferBase()
27 setSize(size); in DspBufferBase()
34 public void setSize(int size) { in setSize() method in DspBufferBase
DDspBufferDouble.java27 public void setSize(int size) { in setSize() method in DspBufferDouble
32 super.setSize(size); in setSize()
DDspBufferComplex.java28 public void setSize(int size) { in setSize() method in DspBufferComplex
34 super.setSize(size); in setSize()
DDspBufferMath.java56 r.setSize(size); in add()
128 r.setSize(size); in mult()
211 r.setSize(size); in mult()
257 r.setSize(size); in set()
337 r.setSize(size); in crossCorrelation()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DEdgeEffectTests.java108 edgeEffect.setSize(WIDTH, HEIGHT); in assertEdgeEffect()
142 edgeEffect.setSize(WIDTH, HEIGHT / 2); in testSetSize()
176 edgeEffect.setSize(200, 200); in testGetMaxHeight()
178 edgeEffect.setSize(200, 0); in testGetMaxHeight()
204 edgeEffect.setSize(200, 200); in testPullToZeroReleases()
215 edgeEffect.setSize(WIDTH, HEIGHT); in testFlingNegativeReleases()
232 edgeEffect.setSize(WIDTH, HEIGHT); in testMaxStretch()
248 edgeEffect.setSize(WIDTH, HEIGHT); in testMaxFling()
262 edgeEffect.setSize(WIDTH, HEIGHT);
347 edgeEffect.setSize(TEST_WIDTH, TEST_HEIGHT); in testInvalidPullDistanceDoesNotCrash()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DMagnifierTest.java115 .setSize(mView.getWidth() / 2, mView.getHeight() / 2) in setup()
160 .setSize(magnifierWidth, magnifierHeight) in testBuilder_setsPropertiesCorrectly_whenTheyAreValid()
193 new Magnifier.Builder(mView).setSize(0, 10); in testBuilder_throwsException_whenWidthIsInvalid()
198 new Magnifier.Builder(mView).setSize(10, 0); in testBuilder_throwsException_whenHeightIsInvalid()
505 .setSize(40, 40) in testWindowPosition_isNotClamped_whenClampingFlagIsOff_bottomRight()
531 .setSize(20, 10) /* make magnifier small to avoid having it clamped */ in testWindowPosition_isCorrect_whenADefaultContentToMagnifierOffsetIsUsed()
551 .setSize(20, 10) /* make magnifier small to avoid having it clamped */ in testWindowPosition_isNull_whenMagnifierIsNotShowing()
570 .setSize(20, 10) /* make magnifier small to avoid having it clamped */ in testSourcePosition_isNull_whenMagnifierIsNotShowing()
594 .setSize(100, 100) in testSourcePosition_respectsMaxVisibleBounds_inHorizontalScrollableContainer()
636 .setSize(100, 100) in testSourcePosition_respectsMaxVisibleBounds_inVerticalScrollableContainer()
[all …]
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/embedding/
DActivityEmbeddingPlaceholderTests.java201 mReportedDisplayMetrics.setSize(new Size((int) (currentSize.getWidth() * 0.9), in testPlaceholderFinishedWhenTaskWidthDecreased()
221 mReportedDisplayMetrics.setSize(displaySize); in testPlaceholderLaunchedWhenTaskWidthIncreased()
249 mReportedDisplayMetrics.setSize(new Size((int) (displaySize.getWidth() * 1.1), in testPlaceholderLaunchedWhenTaskWidthIncreased()
291 mReportedDisplayMetrics.setSize(new Size((int) (currentSize.getWidth() * 0.9), in testStickyPlaceholder()
DPinActivityStackTests.java321 mReportedDisplayMetrics.setSize(new Size((int) (originalDisplaySize.getWidth() * 0.9), in pinExpandActivityAndResizeDisplay()
330 mReportedDisplayMetrics.setSize(originalDisplaySize); in pinExpandActivityAndResizeDisplay()
DActivityEmbeddingBoundsTests.java109 mReportedDisplayMetrics.setSize(new Size((int) (originalDisplaySize.getWidth() * 0.9), in testParentWindowMetricsPredicate()
116 mReportedDisplayMetrics.setSize(originalDisplaySize); in testParentWindowMetricsPredicate()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DGradientDrawableTest.java240 gradientDrawable.setSize(width, height); in verifySetSize()
608 gradientDrawable.setSize(6, 4); in testGetIntrinsicWidth()
611 gradientDrawable.setSize(-10, -20); in testGetIntrinsicWidth()
618 gradientDrawable.setSize(5, 3); in testGetIntrinsicHeight()
621 gradientDrawable.setSize(-5, -15); in testGetIntrinsicHeight()
640 d1.setSize(10, 10); in testMutate()
649 d1.setSize(20, 30); in testMutate()
657 d2.setSize(40, 50); in testMutate()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DExtractDecodeEditEncodeMuxTest.java174 if(!setSize(176, 144)) return; in testExtractDecodeEditEncodeMuxQCIF()
183 if(!setSize(320, 240)) return; in testExtractDecodeEditEncodeMuxQVGA()
192 if(!setSize(1280, 720)) return; in testExtractDecodeEditEncodeMux720p()
201 if(!setSize(3840, 2160)) return; in testExtractDecodeEditEncodeMux2160pHevc()
210 if(!setSize(1280, 720)) return; in testExtractDecodeEditEncodeMuxAudio()
219 if(!setSize(1280, 720)) return; in testExtractDecodeEditEncodeMuxAudioVideo()
289 private boolean setSize(int width, int height) { in setSize() method in ExtractDecodeEditEncodeMuxTest
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DReleaseParser.java106 mRelContentBuilder.setSize(fBuilder.getSize()); in getReleaseContent()
206 folderEntry.setSize(folderSize); in parseFolder()
DFileParser.java202 mFileEntryBuilder.setSize(getFile().length()); in parse()
DZipParser.java137 entryBuilder.setSize(entry.getSize()); in parseFileContent()
/cts/tests/camera/src/android/hardware/camera2/cts/
DHeifWriterTest.java129 builder.setSize(sz); in testHeif()
296 Builder setSize(Size sz) { in setSize() method in HeifWriterTest.TestConfig.Builder
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/
DConfigurationCallbacksTest.java179 mReportedDisplayMetrics.setSize(new Size(newWidth, newHeight)); in testDisplayResize()
210 mReportedDisplayMetrics.setSize(new Size(newWidth, newHeight)); in testDisplayResizeForDisplayBoundsOnly()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DTestSuiteContentReport.java226 fileEntry.setSize(file.length()); in parseFolder()
259 folderEntry.setSize(folderSize); in parseFolder()
/cts/tests/tests/content/src/android/content/pm/cts/
DInstallSessionParamsUnitTest.java247 size.ifPresent(params::setSize); in checkSessionParams()
/cts/tests/tests/util/src/android/util/cts/
DStrictJarFileTest.java260 ze.setSize(ze.getSize() - 1); in checkJarSigning_fudgedEntry()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerTestBase.java2831 setSize(size);
2837 setSize(overrideSize);
2848 public void setSize(final Size size) {
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DDragDropTest.java364 sReportedDisplayMetrics.setSize(realSize); in resetToPhysicalDisplayMetrics()
/cts/tools/release-parser/tests/resources/
DShell.apk.pb.txt878 name: "setSize"
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt12867 method public void setSize(long);
17649 method public void setSize(int, int);
59150 method public void setSize(int, int);
59741 …method @NonNull public android.widget.Magnifier.Builder setSize(@IntRange(from=0) @Px int, @IntRan…