Home
last modified time | relevance | path

Searched refs:axisX (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/materials/
DGlassView.kt73 var axisX: Float = event.values[0] in onSensorChanged() variable
78 val omegaMagnitude: Float = sqrt(axisX * axisX + axisY * axisY + axisZ * axisZ) in onSensorChanged()
83 axisX /= omegaMagnitude in onSensorChanged()
94 gyroXRotation += sinThetaOverTwo * axisX in onSensorChanged()
/frameworks/libs/systemui/toruslib/torus-utils/src/main/java/com/google/android/torus/utils/interaction/
DGyro2dController.kt242 var axisX: Float = when (displayRotation) { in updateGyroRotation() variable
256 axisX *= RAD_TO_DEG * dT * config.intensity in updateGyroRotation()
259 angles[0] = updateAngle(angles[0], axisX, config.maxAngleRotation.x) in updateGyroRotation()
/frameworks/native/services/inputflinger/
DUnwantedInteractionBlocker.cpp236 const InputDeviceInfo::MotionRange* axisX = in createPalmFilterDeviceInfo() local
238 if (axisX != nullptr) { in createPalmFilterDeviceInfo()
239 out.max_x = axisX->max; in createPalmFilterDeviceInfo()
240 out.x_res = axisX->resolution; in createPalmFilterDeviceInfo()