Home
last modified time | relevance | path

Searched refs:yScale (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/hardware/input/
DTouchCalibration.java62 float yxMix, float yScale, float yOffset) { in TouchCalibration() argument
67 mYScale = yScale; in TouchCalibration()
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DImageUtils.java202 public static BufferedImage scale(@NonNull BufferedImage source, double xScale, double yScale) { in scale() argument
207 int destHeight = Math.max(1, (int) (yScale * sourceHeight)); in scale()
212 if (xScale > 0.5 && yScale > 0.5) { in scale()
219 if (xScale == 1 && yScale == 1) { in scale()
/frameworks/native/services/surfaceflinger/
DLayer.cpp433 float yScale = crop.getHeight() / float(winHeight); in computeCrop() local
436 float insetT = winCrop.top * yScale; in computeCrop()
438 float insetB = (winHeight - winCrop.bottom) * yScale; in computeCrop()