/frameworks/base/libs/hwui/ |
H A D | Texture.cpp | 45 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 D | Texture.h | 50 virtual void setFilterMinMag(GLenum min, GLenum mag, bool bindTexture = false,
|
H A D | AssetAtlas.cpp | 106 virtual void setFilterMinMag(GLenum min, GLenum mag, bool bindTexture = false, 108 mDelegate->setFilterMinMag(min, mag, bindTexture, force, renderTarget);
|
H A D | SkiaShader.cpp | 83 const float mag = vec.length(); local 84 const float inv = mag ? 1.0f / mag : 0;
|
/frameworks/rs/cpp/ |
H A D | Sampler.cpp | 33 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 D | rsCppStructs.h | 1989 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 D | demo.c | 620 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 D | SensorFusion.cpp | 76 const vec3_t mag(event.data); 77 mFusion.handleMag(mag);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | AnyMotionDetector.java | 318 float mag = norm(); 319 return new Vector3(timeMillisSinceBoot, x / mag, y / mag, z / mag);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
H A D | sobeloperator.cpp | 84 unsigned char* mag = magPtr; local
|
/frameworks/base/core/java/android/util/ |
H A D | MathUtils.java | 107 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 D | SlidingPaneLayout.java | 970 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 D | VectorDrawable.java | 1168 float scaleX = MathUtils.mag(unitVectors[0], unitVectors[1]); 1169 float scaleY = MathUtils.mag(unitVectors[2], unitVectors[3]);
|