Home
last modified time | relevance | path

Searched refs:newZoom (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DMagnifierTest.java862 final float newZoom = 1.5f; in testZoomChange() local
865 mMagnifier.setZoom(newZoom); in testZoomChange()
867 assertEquals((int) (width / newZoom), mMagnifier.getSourceWidth()); in testZoomChange()
868 assertEquals((int) (height / newZoom), mMagnifier.getSourceHeight()); in testZoomChange()
875 assertEquals((int) (width / newZoom), mMagnifier.getOriginalContent().getWidth()); in testZoomChange()
876 assertEquals((int) (height / newZoom), mMagnifier.getOriginalContent().getHeight()); in testZoomChange()
/cts/tests/tests/telecom/src/android/telecom/cts/
DRemoteConnectionTest.java1323 final float newZoom = 1.0f; in testRemoteConnectionVideo_SetZoom() local
1336 remoteVideoProvider.setZoom(newZoom); in testRemoteConnectionVideo_SetZoom()
1338 assertEquals(newZoom, callbackInvoker.getArgs(0)[0]); in testRemoteConnectionVideo_SetZoom()