Home
last modified time | relevance | path

Searched refs:viewWidth (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DMediaControllerTest.java219 final int viewWidth = videoView.getWidth(); in testOnTrackballEvent() local
222 final float x = xy[0] + viewWidth / 2.0f; in testOnTrackballEvent()
DPopupWindowTest.java787 final int viewWidth = mPopupWindow.getContentView().getWidth(); in testSetTouchInterceptor() local
789 final float x = xy[0] + (viewWidth / 2.0f); in testSetTouchInterceptor()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/testcases/
DCamera2MultiViewTestCase.java180 int viewWidth = textureView.getWidth(); 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.java464 int viewWidth = mFormatView.getWidth();
472 newWidth = viewWidth;
473 newHeight = (int) (viewWidth * ((double) mOptimalSize.height /
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java2306 final int viewWidth = mockView1.getWidth(); in testDispatchTouchEvent() local
2308 final float x = xy[0] + viewWidth / 2.0f; in testDispatchTouchEvent()
2700 final int viewWidth = view.getWidth(); in testOnTouchEvent() local
2702 float x = xy[0] + viewWidth / 2.0f; in testOnTouchEvent()
2721 x = xy[0] + viewWidth + slop; in testOnTouchEvent()
2732 x = xy[0] + viewWidth - 1; in testOnTouchEvent()
2752 x = xy[0] + viewWidth / 2.0f; in testOnTouchEvent()