Home
last modified time | relevance | path

Searched refs:xScale (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/java/android/hardware/input/
DTouchCalibration.java61 public TouchCalibration(float xScale, float xyMix, float xOffset, in TouchCalibration() argument
63 mXScale = xScale; in TouchCalibration()
/frameworks/native/headers/media_plugin/media/openmax/
DOMX_Other.h250 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/
DImageUtils.java203 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/
DInputPublisherAndConsumer_test.cpp158 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()
DStructLayout_test.cpp67 CHECK_OFFSET(InputMessage::Body::Motion, xScale, 96); in TestInputMessageAlignment()
/frameworks/native/include/input/
DInputTransport.h120 float xScale; member
298 MotionClassification classification, float xScale, float yScale,
DInput.h688 MotionClassification classification, float xScale, float yScale, float xOffset,
/frameworks/native/libs/input/
DInputTransport.cpp202 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()
DInput.cpp323 int32_t buttonState, MotionClassification classification, float xScale, in initialize() argument
337 mXScale = xScale; in initialize()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutputLayer.cpp163 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/
DSurfaceComposerClient.cpp1398 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/
DLayer.cpp2380 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/
DInputDispatcher.cpp2504 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/
DInputDispatcher_test.cpp810 void setWindowScale(float xScale, float yScale) { in setWindowScale() argument
811 mInfo.windowXScale = xScale; in setWindowScale()