Searched refs:viewHeight (Results 1 – 6 of 6) sorted by relevance
256 int viewHeight; in testOnDraw() local273 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()
220 final int viewHeight = videoView.getHeight(); in testOnTrackballEvent() local223 final float y = xy[1] + viewHeight / 2.0f; in testOnTrackballEvent()
788 final int viewHeight = mPopupWindow.getContentView().getHeight(); in testSetTouchInterceptor() local790 float y = xy[1] + (viewHeight / 2.0f); in testSetTouchInterceptor()
181 int viewHeight = textureView.getHeight(); in updatePreviewDisplayRotation() local182 RectF viewRect = new RectF(0, 0, viewWidth, viewHeight); in updatePreviewDisplayRotation()201 Math.max(viewWidth / (float) effectiveWidth, viewHeight / (float) effectiveHeight); in updatePreviewDisplayRotation()
465 int viewHeight = mFormatView.getHeight();477 newHeight = viewHeight;478 newWidth = (int) (viewHeight * ((double) mOptimalSize.height /
2307 final int viewHeight = mockView1.getHeight(); in testDispatchTouchEvent() local2309 final float y = xy[1] + viewHeight / 2.0f; in testDispatchTouchEvent()2701 final int viewHeight = view.getHeight(); in testOnTouchEvent() local2703 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()