Home
last modified time | relevance | path

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

/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewZoomTest.java328 public float expectZoomBy(float currentScale, float scaleAmount) { in expectZoomBy() argument
331 float nextScale = currentScale * scaleAmount; in expectZoomBy()
333 assertEquals(currentScale, state.mOldScale, 0); in expectZoomBy()
346 state.mNewScale, greaterThan(currentScale)); in expectZoomBy()
350 state.mNewScale, lessThan(currentScale)); in expectZoomBy()
372 public float expectZoomOut(float currentScale) { in expectZoomOut() argument
374 assertEquals(currentScale, state.mOldScale, 0); in expectZoomOut()
375 assertThat(state.mNewScale, lessThan(currentScale)); in expectZoomOut()
379 public float expectZoomIn(float currentScale) { in expectZoomIn() argument
381 assertEquals(currentScale, state.mOldScale, 0); in expectZoomIn()
[all …]
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DFullScreenMagnificationControllerTest.java125 assertThat(currentScale()).isEqualTo(1f); in testActivityTransitions_fullscreenMagnifierMagnifying_zoomOut()
149 private float currentScale() { in currentScale() method in FullScreenMagnificationControllerTest