Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DTexture.cpp45 void Texture::setFilterMinMag(GLenum min, GLenum mag, bool bindTexture, bool force, in setFilterMinMag() argument
48 if (mFirstFilter || force || min != mMinFilter || mag != mMagFilter) { in setFilterMinMag()
52 mMagFilter = mag; in setFilterMinMag()
61 glTexParameteri(renderTarget, GL_TEXTURE_MAG_FILTER, mag); in setFilterMinMag()
DAssetAtlas.cpp106 virtual void setFilterMinMag(GLenum min, GLenum mag, bool bindTexture = false, in setFilterMinMag()
108 mDelegate->setFilterMinMag(min, mag, bindTexture, force, renderTarget); in setFilterMinMag()
DTexture.h50 virtual void setFilterMinMag(GLenum min, GLenum mag, bool bindTexture = false,
DSkiaShader.cpp83 const float mag = vec.length(); in toLinearUnitMatrix() local
84 const float inv = mag ? 1.0f / mag : 0; in toLinearUnitMatrix()
/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.h1989 Sampler(sp<RS> rs, void* id, RsSamplerValue min, RsSamplerValue mag,
2007 …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/services/core/java/com/android/server/
DAnyMotionDetector.java318 float mag = norm(); in normalized() local
319 return new Vector3(timeMillisSinceBoot, x / mag, y / mag, z / mag); in normalized()
/frameworks/native/services/sensorservice/
DSensorFusion.cpp76 const vec3_t mag(event.data); in process() local
77 mFusion.handleMag(mag); in process()
/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/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
Dsobeloperator.cpp84 unsigned char* mag = magPtr; in Java_androidx_media_filterpacks_image_SobelFilter_sobelOperator() local
/frameworks/support/v4/java/android/support/v4/widget/
DSlidingPaneLayout.java970 private void dimChildView(View v, float mag, int fadeColor) { in dimChildView() argument
973 if (mag > 0 && fadeColor != 0) { in dimChildView()
975 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>
333 <h2 id="sensors-pos-mag">Using the Geomagnetic Field Sensor</h2>
357 <p>The uncalibrated magnetometer is similar to the <a href="#sensors-pos-mag">geomagnetic field
Dsensors_overview.jd721 href="{@docRoot}guide/topics/sensors/sensors_position.html#sensors-pos-mag">Geomagnetic field
/frameworks/base/graphics/java/android/graphics/drawable/
DVectorDrawable.java1168 float scaleX = MathUtils.mag(unitVectors[0], unitVectors[1]); in getMatrixScale()
1169 float scaleY = MathUtils.mag(unitVectors[2], unitVectors[3]); in getMatrixScale()