Home
last modified time | relevance | path

Searched refs:dtdx (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/libs/input/
DSpriteController.h33 inline SpriteTransformationMatrix() : dsdx(1.0f), dtdx(0.0f), dsdy(0.0f), dtdy(1.0f) { } in SpriteTransformationMatrix()
34 inline SpriteTransformationMatrix(float dsdx, float dtdx, float dsdy, float dtdy) : in SpriteTransformationMatrix()
35 dsdx(dsdx), dtdx(dtdx), dsdy(dsdy), dtdy(dtdy) { } in SpriteTransformationMatrix()
38 float dtdx; member
44 && dtdx == other.dtdx
DSpriteController.cpp236 update.state.transformationMatrix.dtdx, in doUpdateSprites()
/frameworks/native/libs/gui/
DDisplayInfo.cpp41 float dsdx, dtdx, tx, dtdy, dsdy, ty; in readFromParcel() local
46 SAFE_PARCEL(parcel->readFloat, &dtdx); in readFromParcel()
53 transform.set({dsdx, dtdx, tx, dtdy, dsdy, ty, 0, 0, 1}); in readFromParcel()
68 SAFE_PARCEL(parcel->writeFloat, transform.dtdx()); in writeToParcel()
DWindowInfo.cpp139 parcel->writeFloat(transform.dtdx()) ?: in writeToParcel()
177 float dsdx, dtdx, tx, dtdy, dsdy, ty; in readFromParcel() local
192 parcel->readFloat(&dtdx) ?: in readFromParcel()
219 transform.set({dsdx, dtdx, tx, dtdy, dsdy, ty, 0, 0, 1}); in readFromParcel()
DLayerState.cpp97 matrix.dsdy = matrix.dtdx = 0.0f; in layer_state_t()
457 t.set(matrix.dsdx, matrix.dtdy, matrix.dtdx, matrix.dsdy); in sanitize()
806 SAFE_PARCEL(output.writeFloat, dtdx); in write()
814 SAFE_PARCEL(input.readFloat, &dtdx); in read()
/frameworks/native/services/surfaceflinger/tests/unittests/
DTransactionProtoParserTest.cpp136 EXPECT_EQ(d1.info.transform.dtdx(), d2.info.transform.dtdx()); in TEST()
141 EXPECT_EQ(d1.transform.dtdx(), d2.transform.dtdx()); in TEST()
DLayerHierarchyTest.h473 void setMatrix(uint32_t id, float dsdx, float dtdx, float dtdy, float dsdy) { in setMatrix() argument
474 layer_state_t::matrix22_t matrix{dsdx, dtdx, dtdy, dsdy}; in setMatrix()
/frameworks/native/services/surfaceflinger/FrontEnd/
DDisplayInfo.h44 << transform.dsdy() << " ," << transform.dtdx() << " ," << transform.dtdy() in getDebugString()
/frameworks/native/libs/gui/include/gui/
DLayerState.h294 float dtdx{0};
300 return std::tie(dsdx, dtdx, dtdy, dsdy) ==
301 std::tie(other.dsdx, other.dtdx, other.dtdy, other.dsdy);
/frameworks/native/services/surfaceflinger/Tracing/
DTransactionProtoParser.cpp120 matrixProto->set_dtdx(layer.matrix.dtdx); in toProto()
211 transformProto->set_dtdx(inputInfo->transform.dtdx()); in toProto()
391 layer.matrix.dtdx = matrixProto.dtdx(); in fromProto()
481 inputInfo.transform.set(transformProto.dsdx(), transformProto.dtdx(), transformProto.dtdy(), in fromProto()
561 proto->set_dtdx(transform.dtdx()); in asProto()
587 outTransform.set(proto.dsdx(), proto.dtdx(), proto.dtdy(), proto.dsdy()); in fromProto2()
/frameworks/native/services/surfaceflinger/layerproto/
DLayerProtoParser.cpp162 transform.dtdx = transformProto.dtdx(); in generateTransform()
260 static_cast<double>(dtdx), static_cast<double>(dsdy), in to_string()
/frameworks/native/libs/ui/include/ui/
DTransform.h77 float dtdx() const;
/frameworks/native/libs/ui/include_vndk/ui/
DTransform.h77 float dtdx() const;
/frameworks/native/include/ui/
DTransform.h77 float dtdx() const;
/frameworks/native/libs/ui/
DTransform.cpp125 float Transform::dtdx() const { in dtdx() function in android::ui::Transform
142 return sqrt((dsdx() * dsdx()) + (dtdx() * dtdx())); in getScaleX()
/frameworks/native/services/surfaceflinger/layerproto/include/layerproto/
DLayerProtoParser.h47 float dtdx; variable
/frameworks/native/libs/input/
DInputTransport.cpp251 msg->body.motion.dtdx = body.motion.dtdx; in getSanitizedCopy()
638 msg.body.motion.dtdx = transform.dtdx(); in publishMotionEvent()
648 msg.body.motion.dtdxRaw = rawTransform.dtdx(); in publishMotionEvent()
DInput.cpp800 float dsdx, dtdx, tx, dtdy, dsdy, ty; in readFromParcel() local
802 status |= parcel.readFloat(&dtdx); in readFromParcel()
808 transform.set({dsdx, dtdx, tx, dtdy, dsdy, ty, 0, 0, 1}); in readFromParcel()
814 status |= parcel.writeFloat(transform.dtdx()); in writeToParcel()
DInputConsumerNoResampling.cpp89 transform.set({msg.body.motion.dsdx, msg.body.motion.dtdx, msg.body.motion.tx, in createMotionEvent()
/frameworks/native/services/inputflinger/tests/
DFakeWindows.h229 inline void setWindowTransform(float dsdx, float dtdx, float dtdy, float dsdy) { in setWindowTransform() argument
230 mInfo.transform.set(dsdx, dtdx, dtdy, dsdy); in setWindowTransform()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/util/
DStubTransaction.java124 float dsdx, float dtdx, float dtdy, float dsdy) { in setMatrix() argument
/frameworks/base/services/tests/servicestests/utils/com/android/server/testutils/
DStubTransaction.java122 float dsdx, float dtdx, float dtdy, float dsdy) { in setMatrix() argument
/frameworks/native/include/input/
DInputTransport.h131 float dtdx; // member
/frameworks/native/libs/input/tests/
DStructLayout_test.cpp68 CHECK_OFFSET(InputMessage::Body::Motion, dtdx, 100); in TestInputMessageAlignment()
/frameworks/base/core/java/android/view/
DSurfaceControl.java141 float dsdx, float dtdx, in nativeSetMatrix() argument
3247 float dsdx, float dtdx, float dtdy, float dsdy) { in setMatrix() argument
3252 "dsdx=" + dsdx + " dtdx=" + dtdx + " dtdy=" + dtdy + " dsdy=" + dsdy); in setMatrix()
3255 dsdx, dtdx, dtdy, dsdy); in setMatrix()

12