Home
last modified time | relevance | path

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

/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/materials/
DGlassView.kt74 var axisY: Float = event.values[1] in onSensorChanged() variable
78 val omegaMagnitude: Float = sqrt(axisX * axisX + axisY * axisY + axisZ * axisZ) in onSensorChanged()
84 axisY /= omegaMagnitude in onSensorChanged()
95 gyroYRotation += sinThetaOverTwo * axisY in onSensorChanged()
/frameworks/libs/systemui/toruslib/torus-utils/src/main/java/com/google/android/torus/utils/interaction/
DGyro2dController.kt249 var axisY: Float = when (displayRotation) { in updateGyroRotation() variable
257 axisY *= RAD_TO_DEG * dT * config.intensity in updateGyroRotation()
260 angles[1] = updateAngle(angles[1], axisY, config.maxAngleRotation.y) in updateGyroRotation()
/frameworks/native/services/inputflinger/
DUnwantedInteractionBlocker.cpp246 const InputDeviceInfo::MotionRange* axisY = in createPalmFilterDeviceInfo() local
248 if (axisY != nullptr) { in createPalmFilterDeviceInfo()
249 out.max_y = axisY->max; in createPalmFilterDeviceInfo()
250 out.y_res = axisY->resolution; in createPalmFilterDeviceInfo()