Home
last modified time | relevance | path

Searched refs:newHeight (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_AImageDecoderTest.cpp987 int32_t newWidth = width / 2, newHeight = height / 2; in testSetCrop() local
988 result = AImageDecoder_setTargetSize(decoder, newWidth, newHeight); in testSetCrop()
1012 { 0, 0, newWidth, newHeight }, in testSetCrop()
1013 { 0, 0, newWidth / 3, newHeight }, in testSetCrop()
1014 { 0, 0, newWidth, newHeight / 4}, in testSetCrop()
1015 { newWidth / 2, 0, newWidth, newHeight / 2}, in testSetCrop()
1016 { 0, newHeight / 2, newWidth / 2, newHeight }, in testSetCrop()
1017 { newWidth / 2, newHeight / 2, newWidth, newHeight }, in testSetCrop()
1018 { 1, 1, newWidth - 1, newHeight - 1 }, in testSetCrop()
1028 newHeight = height * 2; in testSetCrop()
[all …]
/cts/apps/CtsVerifier/include/colorchecker/
Dtestingimage.h36 int newHeight, int newWidth);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/
DCameraOrientationActivity.java478 int newWidth, newHeight;
489 newHeight = (int) (viewWidth * ((double) mOptimalPreviewSize.height /
493 newHeight = viewHeight;
498 LayoutParams layoutParams = new LayoutParams(newWidth, newHeight);
/cts/tests/tests/widget/src/android/widget/cts/
DScrollViewTest.java1058 int newHeight = size; in onMeasure() local
1060 newHeight = Math.max(size, mDesiredHeight); in onMeasure()
1062 newHeight = mDesiredHeight; in onMeasure()
1064 setMeasuredDimension(getMeasuredWidth(), newHeight); in onMeasure() local
DTextViewTest.java1042 int newHeight = originalHeight + 1; in testHeight() local
1043 setMaxHeight(newHeight); in testHeight()
1045 assertEquals(newHeight, mTextView.getMaxHeight()); in testHeight()
1047 newHeight = originalHeight - 1; in testHeight()
1048 setMaxHeight(newHeight); in testHeight()
1049 assertEquals(newHeight, mTextView.getHeight()); in testHeight()
1050 assertEquals(newHeight, mTextView.getMaxHeight()); in testHeight()
1052 newHeight = -1; in testHeight()
1053 setMaxHeight(newHeight); in testHeight()
1055 assertEquals(newHeight, mTextView.getMaxHeight()); in testHeight()
[all …]
/cts/tests/tests/transition/src/android/transition/cts/
DChangeBoundsTest.java394 int newHeight = validateDim(name, "height", dimensions.y, height); in validateView() local
395 dimensions.set(newWidth, newHeight); in validateView()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
DCameraVideoActivity.java661 public ResolutionQuality(int newSizeId, int newWidth, int newHeight) { in ResolutionQuality() argument
664 height = newHeight; in ResolutionQuality()
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java1106 int newHeight = 333; in testComputeVerticalScroll() local
1108 new LinearLayout.LayoutParams(200, newHeight); in testComputeVerticalScroll()
1112 assertEquals(newHeight, view.getHeight()); in testComputeVerticalScroll()