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

/frameworks/base/libs/hwui/
H A DTexture.cpp45 void Texture::setFilterMinMag(GLenum min, GLenum mag, bool bindTexture, bool force, argument
48 if (mFirstFilter || force || min != mMinFilter || mag != mMagFilter) {
52 mMagFilter = mag;
61 glTexParameteri(renderTarget, GL_TEXTURE_MAG_FILTER, mag);
H A DTexture.h50 virtual void setFilterMinMag(GLenum min, GLenum mag, bool bindTexture = false,
H A DAssetAtlas.cpp106 virtual void setFilterMinMag(GLenum min, GLenum mag, bool bindTexture = false,
108 mDelegate->setFilterMinMag(min, mag, bindTexture, force, renderTarget);
H A DSkiaShader.cpp83 const float mag = vec.length(); local
84 const float inv = mag ? 1.0f / mag : 0;
/frameworks/rs/cpp/
H A DSampler.cpp33 Sampler::Sampler(sp<RS> rs, void* id, RsSamplerValue min, RsSamplerValue mag, argument
38 RsSamplerValue mMag = mag;
64 sp<Sampler> Sampler::create(sp<RS> rs, RsSamplerValue min, RsSamplerValue mag, argument
67 void* id = RS::dispatch->SamplerCreate(rs->getContext(), min, mag, wrapS, wrapT,
69 return new Sampler(rs, id, min, mag, wrapS, wrapT, anisotropy);
H A DrsCppStructs.h1989 Sampler(sp<RS> rs, void* id, RsSamplerValue min, RsSamplerValue mag,
2002 * @param[in] mag magnification
2007 static sp<Sampler> create(sp<RS> rs, RsSamplerValue min, RsSamplerValue mag, RsSamplerValue wrapS, RsSamplerValue wrapT, float anisotropy);
2031 * Retrieve a sampler with min and mag set to nearest and wrap modes set to
2040 * Retrieve a sampler with min and mag set to linear and wrap modes set to
2049 * Retrieve a sampler with mag set to linear, min linear mipmap linear, and
2058 * Retrieve a sampler with min and mag set to nearest and wrap modes set to
2067 * Retrieve a sampler with min and mag set to linear and wrap modes set to
2076 * Retrieve a sampler with mag set to linear, min linear mipmap linear, and
2085 * Retrieve a sampler with min and mag se
[all...]
/frameworks/native/opengl/tests/angeles/
H A Ddemo.c620 GLfloat mag; local
628 mag = (float)sqrt(z[0] * z[0] + z[1] * z[1] + z[2] * z[2]);
629 if (mag) { /* mpichler, 19950515 */
630 z[0] /= mag;
631 z[1] /= mag;
632 z[2] /= mag;
655 mag = (float)sqrt(x[0] * x[0] + x[1] * x[1] + x[2] * x[2]);
656 if (mag) {
657 x[0] /= mag;
658 x[1] /= mag;
[all...]
/frameworks/native/services/sensorservice/
H A DSensorFusion.cpp76 const vec3_t mag(event.data);
77 mFusion.handleMag(mag);
/frameworks/base/services/core/java/com/android/server/
H A DAnyMotionDetector.java318 float mag = norm();
319 return new Vector3(timeMillisSinceBoot, x / mag, y / mag, z / mag);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dsobeloperator.cpp84 unsigned char* mag = magPtr; local
/frameworks/base/core/java/android/util/
H A DMathUtils.java107 public static float mag(float a, float b) { method in class:MathUtils
111 public static float mag(float a, float b, float c) { method in class:MathUtils
/frameworks/support/v4/java/android/support/v4/widget/
H A DSlidingPaneLayout.java970 private void dimChildView(View v, float mag, int fadeColor) { argument
973 if (mag > 0 && fadeColor != 0) {
975 int imag = (int) (baseAlpha * mag);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DVectorDrawable.java1168 float scaleX = MathUtils.mag(unitVectors[0], unitVectors[1]);
1169 float scaleY = MathUtils.mag(unitVectors[2], unitVectors[3]);

Completed in 391 milliseconds