Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/
DShapeTest.java52 mockShape.resize(200f, 300f); in testSize()
57 mockShape.resize(0f, 0f); in testSize()
61 mockShape.resize(Float.MAX_VALUE, Float.MAX_VALUE); in testSize()
65 mockShape.resize(-1, -1); in testSize()
75 mockShape.resize(200f, 300f); in testOnResize()
80 mockShape.resize(200f, 300f); in testOnResize()
85 mockShape.resize(100f, 200f); in testOnResize()
92 shape.resize(100f, 200f); in testClone()
116 shape.resize(TEST_WIDTH, TEST_HEIGHT); in testDraw()
DOvalShapeTest.java63 ovalShape.resize(TEST_WIDTH, TEST_HEIGHT); in testDraw()
71 ovalShape.resize(SQUARE, SQUARE); // circle in testDraw()
97 shape.resize(100, 100); in testGetOutline()
108 shape.resize(100, 200); in testGetOutline()
118 shape.resize(100, 100);
DRoundRectShapeTest.java84 roundRectShape.resize(TEST_WIDTH, TEST_HEIGHT); in testDraw()
99 roundRectShape.resize(100f, 200f); in testClone()
122 shape.resize(100, 100); in testGetOutline()
139 shape.resize(100, 100); in testGetOutline()
156 shape.resize(100, 100); in testGetOutline()
DRectShapeTest.java70 rectShape.resize(TEST_WIDTH, TEST_HEIGHT); in testDraw()
83 rectShape.resize(100f, 200f); in testClone()
103 rectShape.resize(TEST_WIDTH, TEST_HEIGHT); in testRect()
124 shape.resize(100, 100); in testGetOutline()
DPathShapeTest.java72 pathShape.resize(SHAPE_SIZE, SHAPE_SIZE); in testDraw()
80 pathShape.resize(SHAPE_SIZE / 2, SHAPE_SIZE / 2); in testDraw()
105 pathShape.resize(100f, 200f); in testClone()
DArcShapeTest.java78 arcShape.resize(TEST_WIDTH, TEST_HEIGHT); in testDraw()
87 arcShape.resize(SQUARE, SQUARE); // half circle in testDraw()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DDialogLauncherActivityTest.java54 private void autofillNoDatasetsTest(boolean resize) throws Exception {
58 if (resize) {
91 private void autofillOneDatasetTest(boolean resize) throws Exception {
95 if (resize) {
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DShapeDrawable_ShaderFactoryTest.java38 assertNull(impl.resize(0, 0)); in testResize()
43 public Shader resize(int width, int height) { in resize() method in ShapeDrawable_ShaderFactoryTest.ShaderFactoryImpl
DShapeDrawableTest.java237 public Shader resize(int width, int height) { in resize() method in ShapeDrawableTest.MockShaderFactory
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DAllocationResize.java43 mIn.resize(INPUTSIZE); in testResize()
44 mOut.resize(INPUTSIZE); in testResize()
/cts/tests/tests/animation/src/android/animation/cts/
DShapeHolder.java95 s.resize(width, s.getHeight()); in setWidth()
104 s.resize(s.getWidth(), height); in setHeight()
DAnimationActivity.java244 circle.resize(x, y); in addBall()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DConfigChangeTests.java205 boolean resize = getLastReportedSizesForActivity(activityName) != null; in getStateCountForRotation()
207 return new StateCount(configChangeCount, relaunchCount, resize); in getStateCountForRotation()
215 StateCount(int configChangeCount, int relaunchCount, boolean resize) { in StateCount() argument
218 mResize = resize; in StateCount()
/cts/tests/tests/rscpp/src/android/cts/rscpp/
DRSResizeTest.java74 ScriptIntrinsicResize resize = ScriptIntrinsicResize.create(mRS); in testResize() local
75 resize.setInput(rsInput); in testResize()
76 resize.forEach_bicubic(rsOutput); in testResize()
/cts/tests/tests/graphics/jni/
DVulkanPreTransformTestHelpers.cpp77 extensions->resize(count); in enumerateInstanceExtensions()
92 extensions->resize(count); in enumerateDeviceExtensions()
437 mImageViews.resize(swapchainLength, VK_NULL_HANDLE); in createFrameBuffers()
466 mFramebuffers.resize(swapchainLength, VK_NULL_HANDLE); in createFrameBuffers()
756 mCommandBuffers.resize(swapchainLength, VK_NULL_HANDLE); in init()
DVulkanTestHelpers.cpp654 vertShader.resize(vertShaderLength); in init()
665 pixelShader.resize(pixelShaderLength); in init()
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DVirtualDisplayActivity.java237 entry.display.resize(width, height, entry.density); in surfaceChanged()
249 vd.display.resize(surfaceHolder.getSurfaceFrame().width() / 2, in resizeDisplay()
/cts/tests/tests/binder_ndk/libbinder_ndk_test/
Dtest_native_aidl_client.cpp246 out.resize(kContent.size()); in checkInOut()
402 out1.resize(input.size()); in testRepeat()
482 out1->resize(input->size()); in testRepeat()
/cts/tests/tests/rscpp/librscpptest/
Drs_jni.cpp415 sp<ScriptIntrinsicResize> resize = ScriptIntrinsicResize::create(rs); in Java_android_cts_rscpp_RSResizeTest_resizeTest() local
427 resize->setInput(inputAlloc); in Java_android_cts_rscpp_RSResizeTest_resizeTest()
428 resize->forEach_bicubic(outputAlloc); in Java_android_cts_rscpp_RSResizeTest_resizeTest()
/cts/hostsidetests/jvmti/base/jni/
Dredefine.cpp169 dex_data.resize(env->GetArrayLength(dex_bytes)); in Java_android_jvmti_cts_JvmtiRedefineClassesTest_pushTransformationResult()
/cts/tests/tests/jni/libjnitest/
Dandroid_jni_cts_LinkerNamespacesTest.cpp304 soname.resize(space_pos); in jobject_array_to_set()
/cts/apps/CameraITS/pymodules/its/
Dcv2image.py63 return cv2.resize(img.copy(), dim, interpolation=cv2.INTER_AREA)
/cts/apps/CameraITS/tests/scene4/
Dtest_multi_camera_alignment.py339 img = cv2.resize(img.astype(np.uint8), None, fx=2, fy=2)
Dtest_aspect_ratio_and_crop.py251 img_raw = cv2.resize(img_raw, (0, 0), fx=2.0, fy=2.0)
/cts/tests/tests/media/libmediandkjni/
Dnative-mediadrm-jni.cpp127 juuid.resize(0); in jbyteArrayToUuid()