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

/frameworks/base/libs/hwui/
H A DTexture.cpp59 void Texture::setFilterMinMag(GLenum min, GLenum mag, bool bindTexture, bool force, argument
62 if (mFirstFilter || force || min != mMinFilter || mag != mMagFilter) {
66 mMagFilter = mag;
75 glTexParameteri(renderTarget, GL_TEXTURE_MAG_FILTER, mag);
H A DTexture.h51 virtual void setFilterMinMag(GLenum min, GLenum mag, bool bindTexture = false,
H A DAssetAtlas.cpp105 virtual void setFilterMinMag(GLenum min, GLenum mag, bool bindTexture = false, argument
107 mDelegate->setFilterMinMag(min, mag, bindTexture, force, renderTarget);
H A DSkiaShader.cpp305 const float mag = vec.length(); local
306 const float inv = mag ? 1.0f / mag : 0;
/frameworks/rs/cpp/
H A DSampler.cpp52 sp<Sampler> Sampler::create(sp<RS> rs, RsSamplerValue min, RsSamplerValue mag, RsSamplerValue wrapS, RsSamplerValue wrapT, float anisotropy) { argument
54 void* id = RS::dispatch->SamplerCreate(rs->getContext(), min, mag, wrapS, wrapT, RS_SAMPLER_WRAP, anisotropy);
H A DrsCppStructs.h1897 * @param[in] mag magnification
1902 static sp<Sampler> create(sp<RS> rs, RsSamplerValue min, RsSamplerValue mag, RsSamplerValue wrapS, RsSamplerValue wrapT, float anisotropy);
1926 * Retrieve a sampler with min and mag set to nearest and wrap modes set to
1935 * Retrieve a sampler with min and mag set to linear and wrap modes set to
1944 * Retrieve a sampler with mag set to linear, min linear mipmap linear, and
1953 * Retrieve a sampler with min and mag set to nearest and wrap modes set to
1962 * Retrieve a sampler with min and mag set to linear and wrap modes set to
1971 * Retrieve a sampler with mag set to linear, min linear mipmap linear, and
1980 * Retrieve a sampler with min and mag set to nearest and wrap modes set to
1989 * 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/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/native/services/sensorservice/
H A DSensorFusion.cpp76 const vec3_t mag(event.data);
77 mFusion.handleMag(mag);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dsobeloperator.cpp84 unsigned char* mag = magPtr; local
/frameworks/support/v4/java/android/support/v4/widget/
H A DSlidingPaneLayout.java967 private void dimChildView(View v, float mag, int fadeColor) { argument
970 if (mag > 0 && fadeColor != 0) {
972 int imag = (int) (baseAlpha * mag);

Completed in 112 milliseconds