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

/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/media/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/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/libstagefright/codecs/aacdec/
H A Dps_decorrelate.cpp381 Int32 factor = aTransRatio[NO_BINS-2]; local
414 aRightReal[sb] = fxp_mul32_Q31(factor, tmp) << 1;
415 aRightImag[sb] = fxp_mul32_Q31(factor, tmp2) << 1;
/frameworks/base/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/base/media/libstagefright/
H A DMPEG4Writer.cpp371 static const int32_t factor = mUse32BitOffset? 1: 2; local
412 return factor * size;
/frameworks/base/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;
/frameworks/base/tools/aapt/
H A DImages.cpp1064 float factor = ((float)newSize)/oldSize; local
1065 int percent = (int)(factor*100);
1201 float factor = ((float)newSize)/oldSize; local
1202 int percent = (int)(factor*100);
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES10.cpp2835 /* void glPolygonOffset ( GLfloat factor, GLfloat units ) */
2838 (JNIEnv *_env, jobject _this, jfloat factor, jfloat units) {
2840 (GLfloat)factor,
2845 /* void glPolygonOffsetx ( GLfixed factor, GLfixed units ) */
2848 (JNIEnv *_env, jobject _this, jint factor, jint units) {
2850 (GLfixed)factor,
2837 android_glPolygonOffset__FF(JNIEnv *_env, jobject _this, jfloat factor, jfloat units) argument
2847 android_glPolygonOffsetx__II(JNIEnv *_env, jobject _this, jint factor, jint units) argument
H A Dandroid_opengl_GLES11Ext.cpp1416 /* void glPolygonOffsetxOES ( GLfixed factor, GLfixed units ) */
1419 (JNIEnv *_env, jobject _this, jint factor, jint units) {
1421 (GLfixed)factor,
1418 android_glPolygonOffsetxOES__II(JNIEnv *_env, jobject _this, jint factor, jint units) argument
H A Dandroid_opengl_GLES20.cpp3438 /* void glPolygonOffset ( GLfloat factor, GLfloat units ) */
3441 (JNIEnv *_env, jobject _this, jfloat factor, jfloat units) {
3443 (GLfloat)factor,
3440 android_glPolygonOffset__FF(JNIEnv *_env, jobject _this, jfloat factor, jfloat units) argument
H A Dcom_google_android_gles_jni_GLImpl.cpp2961 /* void glPolygonOffset ( GLfloat factor, GLfloat units ) */
2964 (JNIEnv *_env, jobject _this, jfloat factor, jfloat units) {
2966 (GLfloat)factor,
2971 /* void glPolygonOffsetx ( GLfixed factor, GLfixed units ) */
2974 (JNIEnv *_env, jobject _this, jint factor, jint units) {
2976 (GLfixed)factor,
2963 android_glPolygonOffset__FF(JNIEnv *_env, jobject _this, jfloat factor, jfloat units) argument
2973 android_glPolygonOffsetx__II(JNIEnv *_env, jobject _this, jint factor, jint units) argument
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java418 public void setCompatibilityScaling(float factor) { argument
419 if (factor == 1.0) {
424 mCompatScaling = factor;
425 mInvCompatScaling = 1.0f/factor;
1060 * Return the paint's horizontal scale factor for text. The default value
1063 * @return the paint's scale factor in X for drawing/measuring text
1068 * Set the paint's horizontal scale factor for text. The default value
1077 * Return the paint's horizontal skew factor for text. The default value
1080 * @return the paint's skew factor in X for drawing text.
1085 * Set the paint's horizontal skew factor fo
[all...]
/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...]
H A DGLES20.java1306 // C function void glPolygonOffset ( GLfloat factor, GLfloat units )
1309 float factor,
1308 glPolygonOffset( float factor, float units ) argument
/frameworks/base/opengl/libs/GLES2_dbg/src/
H A Dapi.cpp2161 void Debug_glPolygonOffset(GLfloat factor, GLfloat units) argument
2165 GLfloat factor; member in struct:__anon1093
2169 _c->glPolygonOffset(factor, units);
2173 caller.factor = factor;
2176 msg.set_arg0(ToInt(factor));
/frameworks/base/include/private/opengles/
H A Dgl_context.h168 GLfixed factor; member in struct:android::gl::polygon_offset_t
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DGLImpl.java839 // C function void glPolygonOffset ( GLfloat factor, GLfloat units )
842 float factor,
846 // C function void glPolygonOffsetx ( GLfixed factor, GLfixed units )
849 int factor,
841 glPolygonOffset( float factor, float units ) argument
848 glPolygonOffsetx( int factor, int units ) argument
/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 1773 milliseconds