Home
last modified time | relevance | path

Searched refs:mag (Results 1 – 13 of 13) sorted by relevance

/frameworks/rs/cpp/
DSampler.cpp33 Sampler::Sampler(sp<RS> rs, void* id, RsSamplerValue min, RsSamplerValue mag, in Sampler() argument
38 RsSamplerValue mMag = mag; in Sampler()
64 sp<Sampler> Sampler::create(const sp<RS>& rs, RsSamplerValue min, RsSamplerValue mag, in create() argument
67 void* id = RS::dispatch->SamplerCreate(rs->getContext(), min, mag, wrapS, wrapT, in create()
69 return new Sampler(rs, id, min, mag, wrapS, wrapT, anisotropy); in create()
DrsCppStructs.h4229 Sampler(sp<RS> rs, void* id, RsSamplerValue min, RsSamplerValue mag,
4247 …static sp<Sampler> create(const sp<RS>& rs, RsSamplerValue min, RsSamplerValue mag, RsSamplerValue…
/frameworks/base/packages/EasterEgg/src/com/android/egg/landroid/
DAutopilot.kt89 .sortedBy { (it.pos - ship.pos).mag() } in <lambda>()
101 val altitude = targetVector.mag() - target.radius in <lambda>()
107 val projection = relativeV.dot(targetVector / targetVector.mag()) in <lambda>()
108 val relativeSpeed = relativeV.mag() * projection.sign in <lambda>()
122 min(altitude / 2, target.velocity.mag()) in <lambda>()
DUniverse.kt248 val d = vector.mag() in updateAll()
271 .sortedBy { it.first.mag() } in closestPlanet()
281 val d = (ship.pos - planet.pos).mag() - ship.radius - planet.radius in solveAll()
288 val vDiff = (ship.velocity - planet.velocity).mag() in solveAll()
451 val thrustMag = thrust.mag() in update()
478 if (velocity.mag() > CRAFT_SPEED_LIMIT) in update()
491 val mag = thrust.mag() in postUpdate() constant
492 if (sim.rng.nextFloat() < mag) { in postUpdate()
510 -MAIN_ENGINE_ACCEL * mag * 10f * dt in postUpdate()
DMainActivity.kt226 val distToClosest = ((closest.pos - pos).mag() - closest.radius).toInt() in Telemetry()
234 "THR: %.0f%%".format(thrust.mag() * 100f), in Telemetry()
236 "VEL: %.0f".format(velocity.mag()) in Telemetry()
338 val m = vec.mag() in onCreate()
429 val mag = min(maxRadius, delta.mag()) in FlightStick() constant
430 val r = max(minRadius, mag) in FlightStick()
440 if (mag < minRadius) in FlightStick()
450 end = origin.value + Vec2.makeWithAngleMag(a, mag), in FlightStick()
499 val distToNearestSurf = max(0f, (u.ship.pos - closest.pos).mag() - closest.radius * 1.2f) in Spaaaace()
539 it.velocity.mag(), in Spaaaace()
[all …]
DVec2.kt34 fun Vec2.mag(): Float { in str() method
39 return (this - other).mag() in distance()
DPhysics.kt114 if ((p.pos.mag() + p.radius) > radius) { in solve()
/frameworks/native/opengl/tests/angeles/
Ddemo.c620 GLfloat mag; in gluLookAt() local
628 mag = (float)sqrt(z[0] * z[0] + z[1] * z[1] + z[2] * z[2]); in gluLookAt()
629 if (mag) { /* mpichler, 19950515 */ in gluLookAt()
630 z[0] /= mag; in gluLookAt()
631 z[1] /= mag; in gluLookAt()
632 z[2] /= mag; in gluLookAt()
655 mag = (float)sqrt(x[0] * x[0] + x[1] * x[1] + x[2] * x[2]); in gluLookAt()
656 if (mag) { in gluLookAt()
657 x[0] /= mag; in gluLookAt()
658 x[1] /= mag; in gluLookAt()
[all …]
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DAnyMotionDetector.java403 float mag = norm(); in normalized() local
404 return new Vector3(timeMillisSinceBoot, x / mag, y / mag, z / mag); in normalized()
/frameworks/base/core/java/android/util/
DMathUtils.java116 public static float mag(float a, float b) { in mag() method in MathUtils
120 public static float mag(float a, float b, float c) { in mag() method in MathUtils
/frameworks/native/services/sensorservice/
DSensorFusion.cpp105 const vec3_t mag(event.data); in process() local
108 mFusions[i].handleMag(mag);// fusion in no mag mode will ignore in process()
/frameworks/base/services/core/java/com/android/server/pm/
DSettings.java6066 double mag = high - low;
6067 return (long) (sRandom.nextDouble() * mag + low);
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt57373 Landroid/util/MathUtils;->mag(FF)F
57374 Landroid/util/MathUtils;->mag(FFF)F