Home
last modified time | relevance | path

Searched refs:dsdx (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()
37 float dsdx; member
43 return dsdx == other.dsdx
DSpriteController.cpp235 update.state.transformationMatrix.dsdx, in doUpdateSprites()
/frameworks/native/libs/gui/
DDisplayInfo.cpp41 float dsdx, dtdx, tx, dtdy, dsdy, ty; in readFromParcel() local
45 SAFE_PARCEL(parcel->readFloat, &dsdx); in readFromParcel()
53 transform.set({dsdx, dtdx, tx, dtdy, dsdy, ty, 0, 0, 1}); in readFromParcel()
67 SAFE_PARCEL(parcel->writeFloat, transform.dsdx()); in writeToParcel()
DWindowInfo.cpp138 parcel->writeFloat(transform.dsdx()) ?: in writeToParcel()
177 float dsdx, dtdx, tx, dtdy, dsdy, ty; in readFromParcel() local
191 parcel->readFloat(&dsdx) ?: in readFromParcel()
219 transform.set({dsdx, dtdx, tx, dtdy, dsdy, ty, 0, 0, 1}); in readFromParcel()
DLayerState.cpp96 matrix.dsdx = matrix.dtdy = 1.0f; in layer_state_t()
457 t.set(matrix.dsdx, matrix.dtdy, matrix.dtdx, matrix.dsdy); in sanitize()
805 SAFE_PARCEL(output.writeFloat, dsdx); in write()
813 SAFE_PARCEL(input.readFloat, &dsdx); in read()
/frameworks/native/services/surfaceflinger/tests/unittests/
DTransactionProtoParserTest.cpp44 layer.matrix.dsdx = 15; in TEST()
98 ASSERT_EQ(t1.states[0].state.matrix.dsdx, t2.states[0].state.matrix.dsdx); in TEST()
134 EXPECT_EQ(d1.info.transform.dsdx(), d2.info.transform.dsdx()); in TEST()
139 EXPECT_EQ(d1.transform.dsdx(), d2.transform.dsdx()); 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.h43 << " lh=" << info.logicalHeight << " transform={" << transform.dsdx() << " ," in getDebugString()
/frameworks/native/libs/gui/include/gui/
DLayerState.h293 float dsdx{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.cpp118 matrixProto->set_dsdx(layer.matrix.dsdx); in toProto()
210 transformProto->set_dsdx(inputInfo->transform.dsdx()); in toProto()
389 layer.matrix.dsdx = matrixProto.dsdx(); in fromProto()
481 inputInfo.transform.set(transformProto.dsdx(), transformProto.dtdx(), transformProto.dtdy(), in fromProto()
560 proto->set_dsdx(transform.dsdx()); in asProto()
587 outTransform.set(proto.dsdx(), proto.dtdx(), proto.dtdy(), proto.dsdy()); in fromProto2()
/frameworks/native/services/surfaceflinger/tests/utils/
DTransactionUtils.h174 float dsdx = dest.getWidth() / static_cast<float>(sourceWidth); variable
177 t.setMatrix(sc, dsdx, 0, 0, dsdy);
/frameworks/native/services/surfaceflinger/layerproto/
DLayerProtoParser.cpp161 transform.dsdx = transformProto.dsdx(); in generateTransform()
259 return StringPrintf("[%.2f, %.2f][%.2f, %.2f]", static_cast<double>(dsdx), in to_string()
/frameworks/native/libs/ui/include/ui/
DTransform.h76 float dsdx() const;
/frameworks/native/libs/ui/include_vndk/ui/
DTransform.h76 float dsdx() const;
/frameworks/native/include/ui/
DTransform.h76 float dsdx() const;
/frameworks/native/libs/ui/
DTransform.cpp121 float Transform::dsdx() const { in dsdx() function in android::ui::Transform
142 return sqrt((dsdx() * dsdx()) + (dtdx() * dtdx())); in getScaleX()
/frameworks/native/services/surfaceflinger/layerproto/include/layerproto/
DLayerProtoParser.h46 float dsdx;
/frameworks/native/libs/input/
DInputTransport.cpp250 msg->body.motion.dsdx = body.motion.dsdx; in getSanitizedCopy()
637 msg.body.motion.dsdx = transform.dsdx(); in publishMotionEvent()
647 msg.body.motion.dsdxRaw = rawTransform.dsdx(); in publishMotionEvent()
DInput.cpp800 float dsdx, dtdx, tx, dtdy, dsdy, ty; in readFromParcel() local
801 status_t status = parcel.readFloat(&dsdx); in readFromParcel()
808 transform.set({dsdx, dtdx, tx, dtdy, dsdy, ty, 0, 0, 1}); in readFromParcel()
813 status_t status = parcel.writeFloat(transform.dsdx()); 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.h130 float dsdx; // Begin window transform member
/frameworks/native/libs/input/tests/
DStructLayout_test.cpp67 CHECK_OFFSET(InputMessage::Body::Motion, dsdx, 96); 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