Home
last modified time | relevance | path

Searched refs:yScale (Results 1 – 5 of 5) 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/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/
DImageUtils.java203 public static BufferedImage scale(@NonNull BufferedImage source, double xScale, double yScale) { in scale() argument
208 int destHeight = Math.max(1, (int) (yScale * sourceHeight)); in scale()
213 if (xScale > 0.5 && yScale > 0.5) { in scale()
220 if (xScale == 1 && yScale == 1) { in scale()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutputLayer.cpp190 float yScale = crop.getHeight() / float(winHeight); in calculateOutputSourceCrop() local
193 float insetT = winCrop.top * yScale; in calculateOutputSourceCrop()
195 float insetB = (winHeight - winCrop.bottom) * yScale; in calculateOutputSourceCrop()
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp1162 float yScale = sourceHeight < 0 ? 1.0f : dst.getHeight() / sourceHeight; in setGeometry() local
1168 matrix[2] = 0; matrix[3] = yScale; in setGeometry()
1173 matrix[2] = 0; matrix[3] = -yScale; in setGeometry()
1177 matrix[0] = 0; matrix[1] = -yScale; in setGeometry()
1183 matrix[2] = 0; matrix[3] = -yScale; in setGeometry()
1188 matrix[0] = 0; matrix[1] = yScale; in setGeometry()
1194 matrix[2] = 0; matrix[3] = yScale; in setGeometry()
/frameworks/native/services/surfaceflinger/
DLayer.cpp2049 const float yScale = t.sy(); in fillInputInfo() local
2052 if (xScale != 1.0f || yScale != 1.0f) { in fillInputInfo()
2054 info.windowYScale *= 1.0f / yScale; in fillInputInfo()
2055 info.touchableRegion.scaleSelf(xScale, yScale); in fillInputInfo()
2057 ySurfaceInset *= yScale; in fillInputInfo()