Home
last modified time | relevance | path

Searched refs:angles (Results 1 – 11 of 11) sorted by relevance

/frameworks/libs/systemui/toruslib/torus-utils/src/main/java/com/google/android/torus/utils/interaction/
DGyro2dController.kt80 private val angles: FloatArray = FloatArray(3) constant
150 angles[0] = 0f in resetValues()
151 angles[1] = 0f in resetValues()
168 MathUtils.lerp(rotation.x, angles[0], easingMul * deltaSeconds), in update()
169 MathUtils.lerp(rotation.y, angles[1], easingMul * deltaSeconds) in update()
172 Vector2(angles[0], angles[1]) in update()
217 val targetOrientation = Vector2(angles[0], angles[1]) in isCurrentlySettled()
259 angles[0] = updateAngle(angles[0], axisX, config.maxAngleRotation.x) in updateGyroRotation()
260 angles[1] = updateAngle(angles[1], axisY, config.maxAngleRotation.y) in updateGyroRotation()
/frameworks/base/media/java/android/media/audiofx/
DVirtualizer.java188 private boolean getAnglesInt(int inputChannelMask, int deviceType, int[] angles) in getAnglesInt() argument
198 if ((angles != null) && (angles.length < (nbChannels * 3))) { in getAnglesInt()
202 "Virtualizer: array for channel / angle pairs is too small: is " + angles.length in getAnglesInt()
224 if (angles != null) { in getAnglesInt()
230 angles[3 * i] = AudioFormat.convertNativeChannelMaskToOutMask( in getAnglesInt()
233 angles[3 * i + 1] = resultConverter.getInt(i * 4 * 3 + 4); in getAnglesInt()
235 angles[3 * i + 2] = resultConverter.getInt(i * 4 * 3 + 8); in getAnglesInt()
237 Log.v(TAG, "channel 0x" + Integer.toHexString(angles[3*i]).toUpperCase() in getAnglesInt()
238 + " at az=" + angles[3*i+1] + "deg" in getAnglesInt()
239 + " elev=" + angles[3*i+2] + "deg"); in getAnglesInt()
[all …]
/frameworks/native/libs/vr/libdvr/include/dvr/
Ddvr_tracking_types.h78 float* angles; member
/frameworks/av/media/libaudiohal/impl/effectsAidlConversion/
DAidlConversionVirtualizer.cpp129 const auto& angles = VALUE_OR_RETURN_STATUS(GET_PARAMETER_SPECIFIC_FIELD( in getParameter() local
132 for (const auto& angle : angles) { in getParameter()
/frameworks/base/packages/EasterEgg/src/com/android/egg/landroid/
DUniverse.kt420 private val angles = ArrayDeque<Float>(TRACK_LENGTH) constant in Track
424 angles.removeFirst() in add()
426 angles.removeFirst() in add()
429 angles.addLast(a) in add()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DIconNormalizer.java362 float[] angles = new float[total - 1]; in convertToConvexArray() local
386 if ((currentAngle - angles[start]) * direction >= 0) { in convertToConvexArray()
397 angles[j] = lastAngle; in convertToConvexArray()
/frameworks/av/media/libeffects/lvm/wrapper/Aidl/
DBundleContext.cpp702 std::vector<Virtualizer::ChannelAngle> angles; in getSpeakerAngles() local
704 RETURN_VALUE_IF(!isConfigSupportedVirtualizer(chCount, payload.device), angles, in getSpeakerAngles()
708 angles = {{.channel = (int32_t)AudioChannelLayout::CHANNEL_FRONT_LEFT, in getSpeakerAngles()
712 angles = {{.channel = (int32_t)AudioChannelLayout::CHANNEL_FRONT_LEFT, in getSpeakerAngles()
719 return angles; in getSpeakerAngles()
DEffectBundleAidl.cpp381 auto angles = mContext->getSpeakerAngles(id.get<Virtualizer::Id::speakerAnglesPayload>()); in getParameterVirtualizer() local
382 RETURN_IF(angles.size() == 0, EX_ILLEGAL_ARGUMENT, "getSpeakerAnglesFailed"); in getParameterVirtualizer()
383 Virtualizer param = Virtualizer::make<Virtualizer::speakerAngles>(angles); in getParameterVirtualizer()
/frameworks/base/tools/orientationplot/
DREADME.txt50 2. Ensure that there is an appropriate gap between adjacent orientation angles
81 5. Each orientation has its own bound on allowable tilt angles. It's a good idea to
/frameworks/base/core/java/com/android/internal/app/
DSimpleIconFactory.java621 float[] angles = new float[total - 1]; in convertToConvexArray() local
645 if ((currentAngle - angles[start]) * direction >= 0) { in convertToConvexArray()
656 angles[j] = lastAngle; in convertToConvexArray()
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
Dcanny.rscript502 /* input is the range of angles to cover */