Home
last modified time | relevance | path

Searched refs:newWidth (Results 1 – 7 of 7) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/
DCameraOrientationActivity.java466 int newWidth, newHeight;
476 newWidth = viewWidth;
482 newWidth = (int) (viewHeight * ((double) mOptimalSize.height /
486 LayoutParams layoutParams = new LayoutParams(newWidth, newHeight);
/cts/apps/CtsVerifier/include/colorchecker/
Dtestingimage.h36 int newHeight, int newWidth);
/cts/tests/tests/widget/src/android/widget/cts/
DHorizontalScrollViewTest.java857 int newWidth = size; in onMeasure() local
859 newWidth = Math.max(size, mDesiredWidth); in onMeasure()
861 newWidth = mDesiredWidth; in onMeasure()
863 setMeasuredDimension(newWidth, getMeasuredHeight()); in onMeasure()
DTextViewTest.java1022 int newWidth = mTextView.getWidth() / 8; in testWidth() local
1023 setWidth(newWidth); in testWidth()
1024 assertEquals(newWidth, mTextView.getWidth()); in testWidth()
1025 assertEquals(newWidth, mTextView.getMaxWidth()); in testWidth()
1026 assertEquals(newWidth, mTextView.getMinWidth()); in testWidth()
1029 newWidth = originalWidth + 1; in testWidth()
1030 setMinWidth(newWidth); in testWidth()
1032 assertEquals(newWidth, mTextView.getWidth()); in testWidth()
1033 assertEquals(newWidth, mTextView.getMinWidth()); in testWidth()
1035 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.java654 public ResolutionQuality(int newSizeId, int newWidth, int newHeight) { in ResolutionQuality() argument
656 width = newWidth; in ResolutionQuality()
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java1070 int newWidth = 200; in testComputeHorizontalScroll() local
1071 final LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams(newWidth, 100); in testComputeHorizontalScroll()
1075 assertEquals(newWidth, view.getWidth()); in testComputeHorizontalScroll()