/frameworks/base/core/java/android/hardware/input/ |
D | TouchCalibration.java | 62 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/ |
D | ImageUtils.java | 203 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/libs/input/tests/ |
D | InputPublisherAndConsumer_test.cpp | 159 constexpr float yScale = 3; in PublishAndConsumeMotionEvent() local 190 classification, xScale, yScale, xOffset, yOffset, in PublishAndConsumeMotionEvent() 222 EXPECT_EQ(yScale, motionEvent->getYScale()); in PublishAndConsumeMotionEvent() 230 EXPECT_EQ(yCursorPosition * yScale + yOffset, motionEvent->getYCursorPosition()); in PublishAndConsumeMotionEvent() 247 EXPECT_EQ(pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_Y) * yScale + yOffset, in PublishAndConsumeMotionEvent()
|
D | StructLayout_test.cpp | 68 CHECK_OFFSET(InputMessage::Body::Motion, yScale, 100); in TestInputMessageAlignment()
|
/frameworks/native/include/input/ |
D | InputTransport.h | 121 float yScale; member 298 MotionClassification classification, float xScale, float yScale,
|
D | Input.h | 688 MotionClassification classification, float xScale, float yScale, float xOffset,
|
/frameworks/native/libs/input/ |
D | InputTransport.cpp | 204 msg->body.motion.yScale = body.motion.yScale; in getSanitizedCopy() 487 MotionClassification classification, float xScale, float yScale, float xOffset, in publishMotionEvent() argument 507 motionClassificationToString(classification), xScale, yScale, xOffset, yOffset, in publishMotionEvent() 538 msg.body.motion.yScale = yScale; in publishMotionEvent() 1191 msg->body.motion.xScale, msg->body.motion.yScale, msg->body.motion.xOffset, in initializeMotionEvent()
|
D | Input.cpp | 324 float yScale, float xOffset, float yOffset, float xPrecision, in initialize() argument 338 mYScale = yScale; in initialize()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | OutputLayer.cpp | 164 const float yScale = crop.getHeight() / float(winHeight); in calculateOutputSourceCrop() local 167 const float insetTop = winCrop.top * yScale; in calculateOutputSourceCrop() 169 const float insetBottom = (winHeight - winCrop.bottom) * yScale; in calculateOutputSourceCrop()
|
/frameworks/native/libs/gui/ |
D | SurfaceComposerClient.cpp | 1399 float yScale = sourceHeight < 0 ? 1.0f : dst.getHeight() / sourceHeight; in setGeometry() local 1405 matrix[2] = 0; matrix[3] = yScale; in setGeometry() 1410 matrix[2] = 0; matrix[3] = -yScale; in setGeometry() 1414 matrix[0] = 0; matrix[1] = -yScale; in setGeometry() 1420 matrix[2] = 0; matrix[3] = -yScale; in setGeometry() 1425 matrix[0] = 0; matrix[1] = yScale; in setGeometry() 1431 matrix[2] = 0; matrix[3] = yScale; in setGeometry() 1436 float offsetY = yScale * source.top; in setGeometry()
|
/frameworks/native/services/surfaceflinger/ |
D | Layer.cpp | 2381 const float yScale = t.sy(); in fillInputInfo() local 2384 if (xScale != 1.0f || yScale != 1.0f) { in fillInputInfo() 2386 info.windowYScale *= (yScale != 0.0f) ? 1.0f / yScale : 0.0f; in fillInputInfo() 2387 info.touchableRegion.scaleSelf(xScale, yScale); in fillInputInfo() 2389 ySurfaceInset = std::round(ySurfaceInset * yScale); in fillInputInfo()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | InputDispatcher.cpp | 2504 float xScale = 1.0f, yScale = 1.0f; in startDispatchCycleLocked() local 2509 yScale = dispatchEntry->windowYScale; in startDispatchCycleLocked() 2511 yOffset = dispatchEntry->yOffset * yScale; in startDispatchCycleLocked() 2546 motionEntry->classification, xScale, yScale, in startDispatchCycleLocked()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputDispatcher_test.cpp | 810 void setWindowScale(float xScale, float yScale) { in setWindowScale() argument 812 mInfo.windowYScale = yScale; in setWindowScale()
|