Home
last modified time | relevance | path

Searched refs:newWidth (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()
992 size_t expectedStride = bytesPerPixel(format) * newWidth; 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()
[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;
488 newWidth = viewWidth;
494 newWidth = (int) (viewHeight * ((double) mOptimalPreviewSize.height /
498 LayoutParams layoutParams = new LayoutParams(newWidth, newHeight);
/cts/tests/tests/widget/src/android/widget/cts/
DHorizontalScrollViewTest.java1029 int newWidth = size; in onMeasure() local
1031 newWidth = Math.max(size, mDesiredWidth); in onMeasure()
1033 newWidth = mDesiredWidth; in onMeasure()
1035 setMeasuredDimension(newWidth, getMeasuredHeight()); in onMeasure()
DTextViewTest.java1145 int newWidth = mTextView.getWidth() / 8; in testWidth() local
1146 setWidth(newWidth); in testWidth()
1147 assertEquals(newWidth, mTextView.getWidth()); in testWidth()
1148 assertEquals(newWidth, mTextView.getMaxWidth()); in testWidth()
1149 assertEquals(newWidth, mTextView.getMinWidth()); in testWidth()
1152 newWidth = originalWidth + 1; in testWidth()
1153 setMinWidth(newWidth); in testWidth()
1155 assertEquals(newWidth, mTextView.getWidth()); in testWidth()
1156 assertEquals(newWidth, mTextView.getMinWidth()); in testWidth()
1158 newWidth = originalWidth - 1; in testWidth()
[all …]
/cts/tests/tests/transition/src/android/transition/cts/
DChangeBoundsTest.java393 int newWidth = validateDim(name, "width", dimensions.x, width); 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
663 width = newWidth; in ResolutionQuality()
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java1074 int newWidth = 200; in testComputeHorizontalScroll() local
1075 final LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams(newWidth, 100); in testComputeHorizontalScroll()
1079 assertEquals(newWidth, view.getWidth()); in testComputeHorizontalScroll()