Home
last modified time | relevance | path

Searched refs:mag (Results 1 – 14 of 14) 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(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(sp<RS> rs, RsSamplerValue min, RsSamplerValue mag, RsSamplerValue wrapS,…
/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/libs/hwui/
DTexture.cpp63 void Texture::setFilterMinMag(GLenum min, GLenum mag, bool bindTexture, bool force, in setFilterMinMag() argument
66 if (force || min != mMinFilter || mag != mMagFilter) { in setFilterMinMag()
68 mMagFilter = mag; in setFilterMinMag()
77 glTexParameteri(renderTarget, GL_TEXTURE_MAG_FILTER, mag); in setFilterMinMag()
DAssetAtlas.cpp87 virtual void setFilterMinMag(GLenum min, GLenum mag, bool bindTexture = false, in setFilterMinMag()
89 mDelegate->setFilterMinMag(min, mag, bindTexture, force, renderTarget); in setFilterMinMag()
DSkiaShader.cpp88 const float mag = vec.length(); in toLinearUnitMatrix() local
89 const float inv = mag ? 1.0f / mag : 0; in toLinearUnitMatrix()
DTexture.h57 virtual void setFilterMinMag(GLenum min, GLenum mag, bool bindTexture = false,
/frameworks/base/services/core/java/com/android/server/
DAnyMotionDetector.java382 float mag = norm(); in normalized() local
383 return new Vector3(timeMillisSinceBoot, x / mag, y / mag, z / mag); in normalized()
/frameworks/base/core/java/android/util/
DMathUtils.java107 public static float mag(float a, float b) { in mag() method in MathUtils
111 public static float mag(float a, float b, float c) { in mag() method in MathUtils
/frameworks/native/services/sensorservice/
DSensorFusion.cpp96 const vec3_t mag(event.data); in process() local
99 mFusions[i].handleMag(mag);// fusion in no mag mode will ignore in process()
/frameworks/support/core-ui/java/android/support/v4/widget/
DSlidingPaneLayout.java977 private void dimChildView(View v, float mag, int fadeColor) { in dimChildView() argument
980 if (mag > 0 && fadeColor != 0) { in dimChildView()
982 int imag = (int) (baseAlpha * mag); in dimChildView()
/frameworks/base/docs/html/guide/topics/sensors/
Dsensors_position.jd12 <li><a href="#sensors-pos-mag">Using the Geomagnetic Field Sensor</a></li>
414 <h2 id="sensors-pos-mag">Using the Geomagnetic Field Sensor</h2>
438 <p>The uncalibrated magnetometer is similar to the <a href="#sensors-pos-mag">geomagnetic field
Dsensors_overview.jd722 href="{@docRoot}guide/topics/sensors/sensors_position.html#sensors-pos-mag">Geomagnetic field
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/
DVectorDrawable_Delegate.java1193 float scaleX = MathUtils.mag(unitVectors[0], unitVectors[1]); in getMatrixScale()
1194 float scaleY = MathUtils.mag(unitVectors[2], unitVectors[3]); in getMatrixScale()