Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DTexture.cpp59 void Texture::setFilterMinMag(GLenum min, GLenum mag, bool bindTexture, bool force, in setFilterMinMag() argument
62 if (mFirstFilter || force || min != mMinFilter || mag != mMagFilter) { in setFilterMinMag()
66 mMagFilter = mag; in setFilterMinMag()
75 glTexParameteri(renderTarget, GL_TEXTURE_MAG_FILTER, mag); in setFilterMinMag()
DAssetAtlas.cpp99 virtual void setFilterMinMag(GLenum min, GLenum mag, bool bindTexture = false, in setFilterMinMag()
101 mDelegate->setFilterMinMag(min, mag, bindTexture, force, renderTarget); in setFilterMinMag()
DTexture.h51 virtual void setFilterMinMag(GLenum min, GLenum mag, bool bindTexture = false,
DSkiaShader.cpp176 const float mag = vec.length(); in toUnitMatrix() local
177 const float inv = mag ? 1.0f / mag : 0; in toUnitMatrix()
/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/rs/cpp/
DSampler.cpp52 sp<Sampler> Sampler::create(sp<RS> rs, RsSamplerValue min, RsSamplerValue mag, RsSamplerValue wrapS… in create() argument
54 …void* id = RS::dispatch->SamplerCreate(rs.get(), min, mag, wrapS, wrapT, RS_SAMPLER_WRAP, anisotro… in create()
DrsCppStructs.h1889 …static sp<Sampler> create(sp<RS> rs, RsSamplerValue min, RsSamplerValue mag, RsSamplerValue wrapS,…
/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.java924 private void dimChildView(View v, float mag, int fadeColor) { in dimChildView() argument
927 if (mag > 0 && fadeColor != 0) { in dimChildView()
929 int imag = (int) (baseAlpha * mag); in dimChildView()
/frameworks/base/docs/html/guide/topics/sensors/
Dsensors_position.jd10 <li><a href="#sensors-pos-mag">Using the Geomagnetic Field Sensor</a></li>
230 <h2 id="sensors-pos-mag">Using the Geomagnetic Field Sensor</h2>
Dsensors_overview.jd721 href="{@docRoot}guide/topics/sensors/sensors_position.html#sensors-pos-mag">Geomagnetic field