/frameworks/base/core/java/android/hardware/input/ |
D | TouchCalibration.java | 61 public TouchCalibration(float xScale, float xyMix, float xOffset, in TouchCalibration() argument 63 mXScale = xScale; in TouchCalibration()
|
/frameworks/native/headers/media_plugin/media/openmax/ |
D | OMX_Other.h | 250 OMX_S32 xScale; /**< Current media time scale in Q16 format. */ member 263 OMX_S32 xScale; /**< This is a value in Q16 format which is used for member
|
/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 207 int destWidth = Math.max(1, (int) (xScale * sourceWidth)); 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 | 158 constexpr float xScale = 2; in PublishAndConsumeMotionEvent() local 190 classification, xScale, yScale, xOffset, yOffset, in PublishAndConsumeMotionEvent() 221 EXPECT_EQ(xScale, motionEvent->getXScale()); in PublishAndConsumeMotionEvent() 229 EXPECT_EQ(xCursorPosition * xScale + xOffset, motionEvent->getXCursorPosition()); in PublishAndConsumeMotionEvent() 245 EXPECT_EQ(pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_X) * xScale + xOffset, in PublishAndConsumeMotionEvent()
|
D | StructLayout_test.cpp | 67 CHECK_OFFSET(InputMessage::Body::Motion, xScale, 96); in TestInputMessageAlignment()
|
/frameworks/native/include/input/ |
D | InputTransport.h | 120 float xScale; 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 | 202 msg->body.motion.xScale = body.motion.xScale; in getSanitizedCopy() 487 MotionClassification classification, float xScale, float yScale, float xOffset, in publishMotionEvent() argument 507 motionClassificationToString(classification), xScale, yScale, xOffset, yOffset, in publishMotionEvent() 537 msg.body.motion.xScale = xScale; in publishMotionEvent() 1191 msg->body.motion.xScale, msg->body.motion.yScale, msg->body.motion.xOffset, in initializeMotionEvent()
|
D | Input.cpp | 323 int32_t buttonState, MotionClassification classification, float xScale, in initialize() argument 337 mXScale = xScale; in initialize()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | OutputLayer.cpp | 163 const float xScale = crop.getWidth() / float(winWidth); in calculateOutputSourceCrop() local 166 const float insetLeft = winCrop.left * xScale; in calculateOutputSourceCrop() 168 const float insetRight = (winWidth - winCrop.right) * xScale; in calculateOutputSourceCrop()
|
/frameworks/native/libs/gui/ |
D | SurfaceComposerClient.cpp | 1398 float xScale = sourceWidth < 0 ? 1.0f : dst.getWidth() / sourceWidth; in setGeometry() local 1404 matrix[0] = -xScale; matrix[1] = 0; in setGeometry() 1409 matrix[0] = xScale; matrix[1] = 0; in setGeometry() 1415 matrix[2] = xScale; matrix[3] = 0; in setGeometry() 1419 matrix[0] = -xScale; matrix[1] = 0; in setGeometry() 1426 matrix[2] = -xScale; matrix[3] = 0; in setGeometry() 1430 matrix[0] = xScale; matrix[1] = 0; in setGeometry() 1435 float offsetX = xScale * source.left; in setGeometry()
|
/frameworks/native/services/surfaceflinger/ |
D | Layer.cpp | 2380 const float xScale = t.sx(); in fillInputInfo() local 2384 if (xScale != 1.0f || yScale != 1.0f) { in fillInputInfo() 2385 info.windowXScale *= (xScale != 0.0f) ? 1.0f / xScale : 0.0f; in fillInputInfo() 2387 info.touchableRegion.scaleSelf(xScale, yScale); in fillInputInfo() 2388 xSurfaceInset = std::round(xSurfaceInset * xScale); in fillInputInfo()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | InputDispatcher.cpp | 2504 float xScale = 1.0f, yScale = 1.0f; in startDispatchCycleLocked() local 2508 xScale = dispatchEntry->windowXScale; in startDispatchCycleLocked() 2510 xOffset = dispatchEntry->xOffset * xScale; 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 811 mInfo.windowXScale = xScale; in setWindowScale()
|