/frameworks/av/libvideoeditor/osal/src/ |
H A D | M4OSA_Clock.c | 64 M4OSA_UInt32 factor; local 74 factor = 1000000 / timescale; 81 u32_time_lo += tv.tv_usec / factor;
|
/frameworks/base/core/java/android/view/animation/ |
H A D | DecelerateInterpolator.java | 35 * @param factor Degree to which the animation should be eased. Setting factor to 1.0f produces 36 * an upside-down y=x^2 parabola. Increasing factor above 1.0f makes exaggerates the 39 public DecelerateInterpolator(float factor) { argument 40 mFactor = factor;
|
H A D | AccelerateInterpolator.java | 40 * @param factor Degree to which the animation should be eased. Seting 41 * factor to 1.0f produces a y=x^2 parabola. Increasing factor above 45 public AccelerateInterpolator(float factor) { argument 46 mFactor = factor;
|
/frameworks/av/media/libeffects/lvm/lib/Eq/src/ |
H A D | LVEQNB_CalcCoef.c | 66 /* Q is the Q factor, 0.25 to 12 (represented by 25 to 1200) */ 110 LVM_INT32 factor; local 142 factor = 0x7fff; /* Initialise to 1.0 for the a0 coefficient */ 147 CosErr += (factor * coef) >> 5; /* The nth partial sum */ 148 factor = (factor * t0) >> 15; /* Calculate t0^n */ 204 /* Q is the Q factor, 0.25 to 12 */ 241 LVM_INT32 factor; local 273 factor = 0x7fff; /* Initialise to 1.0 for the a0 coefficient */ 278 COS_T0 += (factor * coe [all...] |
/frameworks/base/media/mca/filterpacks/native/imageproc/ |
H A D | brightness.c | 80 const int factor = (int)(brightness * 255.0f); local 85 const short r = (pixel.rgba[0] * factor) / 255; 86 const short g = (pixel.rgba[1] * factor) / 255; 87 const short b = (pixel.rgba[2] * factor) / 255;
|
/frameworks/opt/net/voip/src/jni/rtp/ |
H A D | EchoSuppressor.cpp | 185 int factor = (corr2 > 1.0f) ? 0 : (1.0f - sqrtf(corr2)) * 4096; local 187 recorded[i] = recorded[i] * factor >> 16;
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | geometry.cpp | 59 Point Point::operator*(float factor) const { 61 out.x_ = factor * x_; 62 out.y_ = factor * y_; 107 bool Rect::ScaleWithLengthLimit(float factor, float max_length) { argument 108 if (width <= 0.0f || height <= 0.0f || factor <= 0.0f) { 117 float f = factor;
|
/frameworks/base/media/mca/filterpacks/native/base/ |
H A D | geometry.cpp | 58 Point Point::operator*(float factor) const { 60 out.x_ = factor * x_; 61 out.y_ = factor * y_; 106 bool Rect::ScaleWithLengthLimit(float factor, float max_length) { argument 107 if (width <= 0.0f || height <= 0.0f || factor <= 0.0f) { 116 float f = factor;
|
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/ |
H A D | LVPSA_Control.c | 275 LVM_INT16 QFactor; /* Filter Q factor */ 283 QFactor =(LVM_INT16) pInst->pFiltersParams[ii].QFactor; /* Get the band Q factor */ 457 /* Q is the Q factor, 0.25 to 12 */ 485 LVM_INT32 factor; local 520 factor = 0x7fff; /* Initialise to 1.0 for the a0 coefficient */ 525 COS_T0 += (factor * coef) >> 5; /* The nth partial sum */ 526 factor = (factor * t0) >> 15; /* Calculate t0^n */ 572 /* Q is the Q factor, 0.25 to 12 (represented by 25 to 1200) */ 608 LVM_INT32 factor; local [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/ |
H A D | Quad.java | 239 * Grow the Quad outwards by the specified factor. 242 * them to the centroid. A factor of 1.0 moves the quad outwards by the distance of the corners 245 * @param factor the growth factor 248 public Quad grow(float factor) { argument 250 return new Quad(factor * (mTopLeft.x - pc.x) + pc.x, 251 factor * (mTopLeft.y - pc.y) + pc.y, 252 factor * (mTopRight.x - pc.x) + pc.x, 253 factor * (mTopRight.y - pc.y) + pc.y, 254 factor * (mBottomLef 266 scale(float factor) argument [all...] |
/frameworks/native/opengl/libagl/ |
H A D | matrix.cpp | 1106 void glPolygonOffsetx(GLfixed factor, GLfixed units) argument 1109 c->polygonOffset.factor = factor; 1113 void glPolygonOffset(GLfloat factor, GLfloat units) argument 1116 c->polygonOffset.factor = gglFloatToFixed(factor);
|
H A D | primitives.cpp | 265 // factor for deltas/area: 666 const GLfixed factor = c->polygonOffset.factor; local 667 if (factor) { 672 + uint32_t((maxDepthSlope*factor)>>16) + units;
|
H A D | context.h | 168 GLfixed factor; member in struct:android::gl::polygon_offset_t
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLES11Ext.java | 617 // C function void glPolygonOffsetxOES ( GLfixed factor, GLfixed units ) 620 int factor, 619 glPolygonOffsetxOES( int factor, int units ) argument
|
H A D | GLErrorWrapper.java | 639 public void glPolygonOffset(float factor, float units) { argument 641 mgl.glPolygonOffset(factor, units); 645 public void glPolygonOffsetx(int factor, int units) { argument 647 mgl.glPolygonOffsetx(factor, units);
|
H A D | GLES10.java | 1015 // C function void glPolygonOffset ( GLfloat factor, GLfloat units ) 1018 float factor, 1022 // C function void glPolygonOffsetx ( GLfixed factor, GLfixed units ) 1025 int factor, 1017 glPolygonOffset( float factor, float units ) argument 1024 glPolygonOffsetx( int factor, int units ) argument
|
H A D | GLLogWrapper.java | 303 private String getFactor(int factor) { argument 304 switch(factor) { 329 return getHex(factor); 2216 public void glPolygonOffset(float factor, float units) { argument 2218 arg("factor", factor); 2221 mgl.glPolygonOffset(factor, units); 2225 public void glPolygonOffsetx(int factor, int units) { argument 2227 arg("factor", factor); [all...] |
/frameworks/base/tools/aapt/ |
H A D | Images.cpp | 1220 float factor = ((float)newSize)/oldSize; local 1221 int percent = (int)(factor*100); 1357 float factor = ((float)newSize)/oldSize; local 1358 int percent = (int)(factor*100);
|
/frameworks/base/core/jni/ |
H A D | android_opengl_GLES10.cpp | 2476 /* void glPolygonOffset ( GLfloat factor, GLfloat units ) */ 2479 (JNIEnv *_env, jobject _this, jfloat factor, jfloat units) { 2481 (GLfloat)factor, 2486 /* void glPolygonOffsetx ( GLfixed factor, GLfixed units ) */ 2489 (JNIEnv *_env, jobject _this, jint factor, jint units) { 2491 (GLfixed)factor, 2478 android_glPolygonOffset__FF(JNIEnv *_env, jobject _this, jfloat factor, jfloat units) argument 2488 android_glPolygonOffsetx__II(JNIEnv *_env, jobject _this, jint factor, jint units) argument
|
H A D | android_opengl_GLES11Ext.cpp | 1919 /* void glPolygonOffsetxOES ( GLfixed factor, GLfixed units ) */ 1922 (JNIEnv *_env, jobject _this, jint factor, jint units) { 1924 (GLfixed)factor, 1921 android_glPolygonOffsetxOES__II(JNIEnv *_env, jobject _this, jint factor, jint units) argument
|
H A D | android_opengl_GLES20.cpp | 3962 /* void glPolygonOffset ( GLfloat factor, GLfloat units ) */ 3965 (JNIEnv *_env, jobject _this, jfloat factor, jfloat units) { 3967 (GLfloat)factor, 3964 android_glPolygonOffset__FF(JNIEnv *_env, jobject _this, jfloat factor, jfloat units) argument
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Paint.java | 163 * scale factor is adjusted.</p> 545 public void setCompatibilityScaling(float factor) { argument 546 if (factor == 1.0) { 551 mCompatScaling = factor; 552 mInvCompatScaling = 1.0f/factor; 1231 * Return the paint's horizontal scale factor for text. The default value 1234 * @return the paint's scale factor in X for drawing/measuring text 1239 * Set the paint's horizontal scale factor for text. The default value 1248 * Return the paint's horizontal skew factor for text. The default value 1251 * @return the paint's skew factor i [all...] |
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
H A D | GLImpl.java | 840 // C function void glPolygonOffset ( GLfloat factor, GLfloat units ) 843 float factor, 847 // C function void glPolygonOffsetx ( GLfixed factor, GLfixed units ) 850 int factor, 842 glPolygonOffset( float factor, float units ) argument 849 glPolygonOffsetx( int factor, int units ) argument
|
/frameworks/av/media/libstagefright/ |
H A D | MPEG4Writer.cpp | 511 static const int32_t factor = mUse32BitOffset? 1: 2; local 552 return factor * size;
|
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
H A D | GL10.java | 777 float factor, 782 int factor, 776 glPolygonOffset( float factor, float units ) argument 781 glPolygonOffsetx( int factor, int units ) argument
|