Home
last modified time | relevance | path

Searched refs:viewHeight (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DCompoundButtonTest.java256 int viewHeight; in testOnDraw() local
273 viewHeight = compoundButton.getHeight(); in testOnDraw()
290 assertEquals(viewHeight - drawableHeight, bounds.top); in testOnDraw()
291 assertEquals(viewHeight, bounds.bottom); in testOnDraw()
299 assertEquals( (viewHeight - drawableHeight) / 2, bounds.top); in testOnDraw()
300 assertEquals( (viewHeight - drawableHeight) / 2 + drawableHeight, bounds.bottom); in testOnDraw()
DMediaControllerTest.java220 final int viewHeight = videoView.getHeight(); in testOnTrackballEvent() local
223 final float y = xy[1] + viewHeight / 2.0f; in testOnTrackballEvent()
DPopupWindowTest.java788 final int viewHeight = mPopupWindow.getContentView().getHeight(); in testSetTouchInterceptor() local
790 float y = xy[1] + (viewHeight / 2.0f); in testSetTouchInterceptor()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/testcases/
DCamera2MultiViewTestCase.java181 int viewHeight = textureView.getHeight(); in updatePreviewDisplayRotation() local
182 RectF viewRect = new RectF(0, 0, viewWidth, viewHeight); in updatePreviewDisplayRotation()
201 Math.max(viewWidth / (float) effectiveWidth, viewHeight / (float) effectiveHeight); in updatePreviewDisplayRotation()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/
DCameraOrientationActivity.java465 int viewHeight = mFormatView.getHeight();
477 newHeight = viewHeight;
478 newWidth = (int) (viewHeight * ((double) mOptimalSize.height /
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java2307 final int viewHeight = mockView1.getHeight(); in testDispatchTouchEvent() local
2309 final float y = xy[1] + viewHeight / 2.0f; in testDispatchTouchEvent()
2701 final int viewHeight = view.getHeight(); in testOnTouchEvent() local
2703 float y = xy[1] + viewHeight / 2.0f; in testOnTouchEvent()
2722 y = xy[1] + viewHeight + slop; in testOnTouchEvent()
2733 y = xy[1] + viewHeight - 1; in testOnTouchEvent()
2753 y = xy[1] + viewHeight / 2.0f; in testOnTouchEvent()