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.java202 * @param yScale y scale
206 public static BufferedImage scale(@NonNull BufferedImage source, double xScale, double yScale) { argument
211 int destHeight = Math.max(1, (int) (yScale * sourceHeight));
216 if (xScale > 0.5 && yScale > 0.5) {
223 if (xScale == 1 && yScale == 1) {
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp483 float yScale = crop.getHeight() / float(winHeight); local
486 float insetT = winCrop.top * yScale;
488 float insetB = (winHeight - winCrop.bottom) * yScale;

Completed in 32 milliseconds