Searched defs:factor (Results 1 - 25 of 27) sorted by relevance

12

/frameworks/av/libvideoeditor/osal/src/
H A DM4OSA_Clock.c64 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 DDecelerateInterpolator.java35 * @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 DAccelerateInterpolator.java40 * @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 DLVEQNB_CalcCoef.c66 /* 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/voip/jni/rtp/
H A DEchoSuppressor.cpp185 int factor = (corr2 > 1.0f) ? 0 : (1.0f - sqrtf(corr2)) * 4096; local
187 recorded[i] = recorded[i] * factor >> 16;
/frameworks/base/media/mca/filterpacks/native/imageproc/
H A Dbrightness.c80 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/base/media/mca/filterfw/native/core/
H A Dgeometry.cpp59 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 Dgeometry.cpp58 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 DLVPSA_Control.c275 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/native/opengl/libagl/
H A Dmatrix.cpp1106 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 Dprimitives.cpp265 // factor for deltas/area:
666 const GLfixed factor = c->polygonOffset.factor; local
667 if (factor) {
672 + uint32_t((maxDepthSlope*factor)>>16) + units;
H A Dcontext.h168 GLfixed factor; member in struct:android::gl::polygon_offset_t
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES10.cpp3180 /* void glPolygonOffset ( GLfloat factor, GLfloat units ) */
3183 (JNIEnv *_env, jobject _this, jfloat factor, jfloat units) {
3185 (GLfloat)factor,
3190 /* void glPolygonOffsetx ( GLfixed factor, GLfixed units ) */
3193 (JNIEnv *_env, jobject _this, jint factor, jint units) {
3195 (GLfixed)factor,
3182 android_glPolygonOffset__FF(JNIEnv *_env, jobject _this, jfloat factor, jfloat units) argument
3192 android_glPolygonOffsetx__II(JNIEnv *_env, jobject _this, jint factor, jint units) argument
H A Dandroid_opengl_GLES11Ext.cpp1714 /* void glPolygonOffsetxOES ( GLfixed factor, GLfixed units ) */
1717 (JNIEnv *_env, jobject _this, jint factor, jint units) {
1719 (GLfixed)factor,
1716 android_glPolygonOffsetxOES__II(JNIEnv *_env, jobject _this, jint factor, jint units) argument
H A Dandroid_opengl_GLES20.cpp4270 /* void glPolygonOffset ( GLfloat factor, GLfloat units ) */
4273 (JNIEnv *_env, jobject _this, jfloat factor, jfloat units) {
4275 (GLfloat)factor,
4272 android_glPolygonOffset__FF(JNIEnv *_env, jobject _this, jfloat factor, jfloat units) argument
H A Dcom_google_android_gles_jni_GLImpl.cpp3308 /* void glPolygonOffset ( GLfloat factor, GLfloat units ) */
3311 (JNIEnv *_env, jobject _this, jfloat factor, jfloat units) {
3313 (GLfloat)factor,
3318 /* void glPolygonOffsetx ( GLfixed factor, GLfixed units ) */
3321 (JNIEnv *_env, jobject _this, jint factor, jint units) {
3323 (GLfixed)factor,
3310 android_glPolygonOffset__FF(JNIEnv *_env, jobject _this, jfloat factor, jfloat units) argument
3320 android_glPolygonOffsetx__II(JNIEnv *_env, jobject _this, jint factor, jint units) argument
/frameworks/base/tools/aapt/
H A DImages.cpp1220 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/opengl/java/android/opengl/
H A DGLES11Ext.java617 // C function void glPolygonOffsetxOES ( GLfixed factor, GLfixed units )
620 int factor,
619 glPolygonOffsetxOES( int factor, int units ) argument
H A DGLErrorWrapper.java639 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 DGLES10.java1031 // C function void glPolygonOffset ( GLfloat factor, GLfloat units )
1034 float factor,
1038 // C function void glPolygonOffsetx ( GLfixed factor, GLfixed units )
1041 int factor,
1033 glPolygonOffset( float factor, float units ) argument
1040 glPolygonOffsetx( int factor, int units ) argument
H A DGLLogWrapper.java303 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/graphics/java/android/graphics/
H A DPaint.java443 public void setCompatibilityScaling(float factor) { argument
444 if (factor == 1.0) {
449 mCompatScaling = factor;
450 mInvCompatScaling = 1.0f/factor;
1131 * Return the paint's horizontal scale factor for text. The default value
1134 * @return the paint's scale factor in X for drawing/measuring text
1139 * Set the paint's horizontal scale factor for text. The default value
1148 * Return the paint's horizontal skew factor for text. The default value
1151 * @return the paint's skew factor in X for drawing text.
1156 * Set the paint's horizontal skew factor fo
[all...]
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DGLImpl.java840 // 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 DMPEG4Writer.cpp469 static const int32_t factor = mUse32BitOffset? 1: 2; local
510 return factor * size;
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL10.java777 float factor,
782 int factor,
776 glPolygonOffset( float factor, float units ) argument
781 glPolygonOffsetx( int factor, int units ) argument

Completed in 3931 milliseconds

12