Lines Matching refs:config
135 final MagnificationConfig config = new MagnificationConfig.Builder() in zoomIn() local
142 setConfig.set(controller.setMagnificationConfig(config, false)); in zoomIn()
144 waitUntilMagnificationConfigEquals(controller, config); in zoomIn()
151 final MagnificationConfig config = controller.getMagnificationConfig(); in currentScale() local
153 assertThat(config).isNotNull(); in currentScale()
155 return config.getScale(); in currentScale()
160 MagnificationConfig config) throws Exception { in waitUntilMagnificationConfigEquals() argument
162 "Failed to apply the config. expected: " + config + " , actual: " in waitUntilMagnificationConfigEquals()
169 if (config.isActivated()) { in waitUntilMagnificationConfigEquals()
170 return actualConfig.getMode() == config.getMode() in waitUntilMagnificationConfigEquals()
171 && actualConfig.isActivated() == config.isActivated() in waitUntilMagnificationConfigEquals()
172 && Float.compare(actualConfig.getScale(), config.getScale()) == 0 in waitUntilMagnificationConfigEquals()
173 && (Math.abs(actualConfig.getCenterX() - config.getCenterX()) in waitUntilMagnificationConfigEquals()
175 && (Math.abs(actualConfig.getCenterY() - config.getCenterY()) in waitUntilMagnificationConfigEquals()
178 return actualConfig.isActivated() == config.isActivated(); in waitUntilMagnificationConfigEquals()