Searched refs:hardwareConfig (Results 1 – 3 of 3) sorted by relevance
134 HardwareConfig hardwareConfig = mParams.getHardwareConfig(); in init() local139 hardwareConfig.getDensity().getDpiValue(); in init()146 metrics.widthPixels = metrics.noncompatWidthPixels = hardwareConfig.getScreenWidth(); in init()147 metrics.heightPixels = metrics.noncompatHeightPixels = hardwareConfig.getScreenHeight(); in init()148 metrics.xdpi = metrics.noncompatXdpi = hardwareConfig.getXdpi(); in init()149 metrics.ydpi = metrics.noncompatYdpi = hardwareConfig.getYdpi(); in init()366 HardwareConfig hardwareConfig = params.getHardwareConfig(); in getConfiguration() local368 ScreenSize screenSize = hardwareConfig.getScreenSize(); in getConfiguration()386 Density density = hardwareConfig.getDensity(); in getConfiguration()391 config.screenWidthDp = hardwareConfig.getScreenWidth() * 160 / density.getDpiValue(); in getConfiguration()[all …]
66 HardwareConfig hardwareConfig = params.getHardwareConfig(); in render() local96 result.add(renderImage(hardwareConfig, stateDrawable, context)); in render()99 result = Collections.singletonList(renderImage(hardwareConfig, d, context)); in render()104 BufferedImage image = renderImage(hardwareConfig, d, context); in render()110 private BufferedImage renderImage(@NonNull HardwareConfig hardwareConfig, @NonNull Drawable d, in renderImage() argument125 int screenWidth = hardwareConfig.getScreenWidth(); in renderImage()126 int screenHeight = hardwareConfig.getScreenHeight(); in renderImage()146 canvas.setDensity(hardwareConfig.getDensity().getDpiValue()); in renderImage()
213 HardwareConfig hardwareConfig = params.getHardwareConfig(); in measureLayout() local215 mMeasuredScreenWidth = hardwareConfig.getScreenWidth(); in measureLayout()216 mMeasuredScreenHeight = hardwareConfig.getScreenHeight(); in measureLayout()247 int maxWidth = hardwareConfig.getScreenWidth(); in measureLayout()248 int maxHeight = hardwareConfig.getScreenHeight(); in measureLayout()505 HardwareConfig hardwareConfig = params.getHardwareConfig(); in renderAndBuildResult() local