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

/frameworks/base/core/java/android/hardware/input/
H A DTouchCalibration.java58 * @param yScale Influence of input y-axis value on output y-axis value.
62 float yxMix, float yScale, float yOffset) {
67 mYScale = yScale;
61 TouchCalibration(float xScale, float xyMix, float xOffset, float yxMix, float yScale, float yOffset) argument
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
H A DImageUtils.java198 * @param yScale y scale
202 public static BufferedImage scale(@NonNull BufferedImage source, double xScale, double yScale) { argument
207 int destHeight = Math.max(1, (int) (yScale * sourceHeight));
212 if (xScale > 0.5 && yScale > 0.5) {
219 if (xScale == 1 && yScale == 1) {
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp395 float yScale = crop.getHeight() / float(winHeight); local
398 float insetT = winCrop.top * yScale;
400 float insetB = (winHeight - winCrop.bottom) * yScale;

Completed in 307 milliseconds