Home
last modified time | relevance | path

Searched refs:dsdy (Results 1 – 25 of 34) 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()
39 float dsdy; member
45 && dsdy == other.dsdy
DSpriteController.cpp237 update.state.transformationMatrix.dsdy, in doUpdateSprites()
/frameworks/native/libs/gui/
DDisplayInfo.cpp41 float dsdx, dtdx, tx, dtdy, dsdy, ty; in readFromParcel() local
49 SAFE_PARCEL(parcel->readFloat, &dsdy); in readFromParcel()
53 transform.set({dsdx, dtdx, tx, dtdy, dsdy, ty, 0, 0, 1}); in readFromParcel()
71 SAFE_PARCEL(parcel->writeFloat, transform.dsdy()); in writeToParcel()
DWindowInfo.cpp142 parcel->writeFloat(transform.dsdy()) ?: in writeToParcel()
177 float dsdx, dtdx, tx, dtdy, dsdy, ty; in readFromParcel() local
195 parcel->readFloat(&dsdy) ?: 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()
808 SAFE_PARCEL(output.writeFloat, dsdy); in write()
816 SAFE_PARCEL(input.readFloat, &dsdy); in read()
/frameworks/native/services/surfaceflinger/tests/unittests/
DTransactionProtoParserTest.cpp135 EXPECT_EQ(d1.info.transform.dsdy(), d2.info.transform.dsdy()); in TEST()
140 EXPECT_EQ(d1.transform.dsdy(), d2.transform.dsdy()); 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.h296 float dsdy{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.cpp119 matrixProto->set_dsdy(layer.matrix.dsdy); in toProto()
213 transformProto->set_dsdy(inputInfo->transform.dsdy()); in toProto()
390 layer.matrix.dsdy = matrixProto.dsdy(); in fromProto()
482 transformProto.dsdy()); in fromProto()
563 proto->set_dsdy(transform.dsdy()); in asProto()
587 outTransform.set(proto.dsdx(), proto.dtdx(), proto.dtdy(), proto.dsdy()); in fromProto2()
/frameworks/native/services/surfaceflinger/tests/utils/
DTransactionUtils.h175 float dsdy = dest.getHeight() / static_cast<float>(sourceHeight); variable
177 t.setMatrix(sc, dsdx, 0, 0, dsdy);
/frameworks/native/services/surfaceflinger/layerproto/
DLayerProtoParser.cpp163 transform.dsdy = transformProto.dsdy(); in generateTransform()
260 static_cast<double>(dtdx), static_cast<double>(dsdy), in to_string()
/frameworks/native/libs/ui/include/ui/
DTransform.h79 float dsdy() const;
/frameworks/native/libs/ui/include_vndk/ui/
DTransform.h79 float dsdy() const;
/frameworks/native/include/ui/
DTransform.h79 float dsdy() const;
/frameworks/native/libs/ui/
DTransform.cpp133 float Transform::dsdy() const { in dsdy() function in android::ui::Transform
146 return sqrt((dtdy() * dtdy()) + (dsdy() * dsdy())); in getScaleY()
/frameworks/native/services/surfaceflinger/layerproto/include/layerproto/
DLayerProtoParser.h48 float dsdy; variable
/frameworks/native/libs/input/
DInputTransport.cpp253 msg->body.motion.dsdy = body.motion.dsdy; in getSanitizedCopy()
640 msg.body.motion.dsdy = transform.dsdy(); in publishMotionEvent()
650 msg.body.motion.dsdyRaw = rawTransform.dsdy(); in publishMotionEvent()
DInput.cpp800 float dsdx, dtdx, tx, dtdy, dsdy, ty; in readFromParcel() local
805 status |= parcel.readFloat(&dsdy); in readFromParcel()
808 transform.set({dsdx, dtdx, tx, dtdy, dsdy, ty, 0, 0, 1}); in readFromParcel()
817 status |= parcel.writeFloat(transform.dsdy()); in writeToParcel()
/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.h133 float dsdy; // member
/frameworks/native/libs/input/tests/
DStructLayout_test.cpp70 CHECK_OFFSET(InputMessage::Body::Motion, dsdy, 108); in TestInputMessageAlignment()
/frameworks/base/core/java/android/view/
DSurfaceControl.java142 float dtdy, float dsdy); 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